Pull request #535 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 11af183f2194c3fd12bdcc9d8b6be264b57aff6c rather than e4128b23ac1a9fc7236503158b55226b4e236dc8 Obtained Jenkinsfile from 11af183f2194c3fd12bdcc9d8b6be264b57aff6c Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6314609036708034326.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16750158263817676353.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3082524410175790301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13535190696681732344.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3080551374288696440.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5340 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-535 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit e4128b23ac1a9fc7236503158b55226b4e236dc8 Merge succeeded, producing e4128b23ac1a9fc7236503158b55226b4e236dc8 Checking out Revision e4128b23ac1a9fc7236503158b55226b4e236dc8 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f e4128b23ac1a9fc7236503158b55226b4e236dc8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4128b23ac1a9fc7236503158b55226b4e236dc8 # timeout=10 Commit message: "refactor!:Change configuration profile formats to YAML" First time build. Skipping changelog. > git rev-list --no-walk 2445641463aab16da5db84950a6ea9d646baa681 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:55:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:55:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:55:25 ========================================================= 23:55:25 EdgeX Global Pipelines Version Info 23:55:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:55:26 ------------------- 23:55:26 stable info: 23:55:26 ------------------- 23:55:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:55:26 Message: update stable to v1.0.245 23:55:26 ------------------- 23:55:26 experimental info: 23:55:26 ------------------- 23:55:26 Commited By: **** collab-it+edgex@linuxfoundation.org 23:55:26 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:55:26 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:55:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4128b23ac1a9fc7236503158b55226b4e236dc8 [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4128b2 [Pipeline] echo 23:55:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:27 provisioning config files... 23:55:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config9319104151014804116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:27 ---> docker-login.sh 23:55:27 nexus3.edgexfoundry.org:10001 23:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:27 Configure a credential helper to remove this warning. See 23:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:27 23:55:27 Login Succeeded 23:55:27 nexus3.edgexfoundry.org:10002 23:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:27 Configure a credential helper to remove this warning. See 23:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:27 23:55:27 Login Succeeded 23:55:28 nexus3.edgexfoundry.org:10003 23:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:28 Configure a credential helper to remove this warning. See 23:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:28 23:55:28 Login Succeeded 23:55:28 nexus3.edgexfoundry.org:10004 23:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:28 Configure a credential helper to remove this warning. See 23:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:28 23:55:28 Login Succeeded 23:55:28 docker.io 23:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:28 Configure a credential helper to remove this warning. See 23:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:28 23:55:28 Login Succeeded 23:55:28 ---> docker-login.sh ends [Pipeline] } 23:55:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:55:29 + git rev-list -1 --merges e4128b23ac1a9fc7236503158b55226b4e236dc8~1..e4128b23ac1a9fc7236503158b55226b4e236dc8 [Pipeline] echo 23:55:29 -----------> git rev-list -1 --merges e4128b23ac1a9fc7236503158b55226b4e236dc8~1..e4128b23ac1a9fc7236503158b55226b4e236dc8 e4128b23ac1a9fc7236503158b55226b4e236dc8 [false] [Pipeline] sh 23:55:29 + git log --format=format:%s -1 e4128b23ac1a9fc7236503158b55226b4e236dc8 [Pipeline] echo 23:55:29 ========================================================= 23:55:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:55:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:29 + git log --format=format:%s -1 e4128b23ac1a9fc7236503158b55226b4e236dc8 [Pipeline] echo 23:55:29 [semverPrep] GIT_COMMIT: e4128b23ac1a9fc7236503158b55226b4e236dc8, Commit Message: refactor!:Change configuration profile formats to YAML [Pipeline] echo 23:55:29 [semverPrep] This is not a build commit. [Pipeline] sh 23:55:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:30 + grep -v github /etc/ssh/ssh_known_hosts 23:55:30 + [ -e /tmp/ssh_known_hosts ] 23:55:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:55:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:55:30 + sudo tee -a /etc/ssh/ssh_known_hosts 23:55:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:30 23:55:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:30 0.1.4: Pulling from edgex-devops/py-git-semver 23:55:30 b85a868b505f: Pulling fs layer 23:55:30 e2be974225ed: Pulling fs layer 23:55:30 339a4e72a1f5: Pulling fs layer 23:55:30 988bab9f4d93: Pulling fs layer 23:55:30 1469e6f7b9e6: Pulling fs layer 23:55:30 eaf3925da568: Pulling fs layer 23:55:30 bab4dde63d76: Pulling fs layer 23:55:30 bde34c3a00c8: Pulling fs layer 23:55:30 b352a97aabf1: Pulling fs layer 23:55:30 4872d77fe225: Pulling fs layer 23:55:30 5851b861e8e6: Pulling fs layer 23:55:30 bde34c3a00c8: Waiting 23:55:30 988bab9f4d93: Waiting 23:55:30 b352a97aabf1: Waiting 23:55:30 5851b861e8e6: Waiting 23:55:30 4872d77fe225: Waiting 23:55:30 bab4dde63d76: Waiting 23:55:30 eaf3925da568: Waiting 23:55:30 e2be974225ed: Verifying Checksum 23:55:30 e2be974225ed: Download complete 23:55:30 988bab9f4d93: Verifying Checksum 23:55:30 988bab9f4d93: Download complete 23:55:31 1469e6f7b9e6: Verifying Checksum 23:55:31 1469e6f7b9e6: Download complete 23:55:31 339a4e72a1f5: Verifying Checksum 23:55:31 339a4e72a1f5: Download complete 23:55:31 eaf3925da568: Verifying Checksum 23:55:31 eaf3925da568: Download complete 23:55:31 bde34c3a00c8: Verifying Checksum 23:55:31 bde34c3a00c8: Download complete 23:55:31 b352a97aabf1: Verifying Checksum 23:55:31 b352a97aabf1: Download complete 23:55:31 4872d77fe225: Verifying Checksum 23:55:31 4872d77fe225: Download complete 23:55:31 5851b861e8e6: Verifying Checksum 23:55:31 5851b861e8e6: Download complete 23:55:31 b85a868b505f: Verifying Checksum 23:55:31 b85a868b505f: Download complete 23:55:31 bab4dde63d76: Verifying Checksum 23:55:31 bab4dde63d76: Download complete 23:55:32 b85a868b505f: Pull complete 23:55:32 e2be974225ed: Pull complete 23:55:33 339a4e72a1f5: Pull complete 23:55:33 988bab9f4d93: Pull complete 23:55:33 1469e6f7b9e6: Pull complete 23:55:33 eaf3925da568: Pull complete 23:55:35 bab4dde63d76: Pull complete 23:55:35 bde34c3a00c8: Pull complete 23:55:35 b352a97aabf1: Pull complete 23:55:35 4872d77fe225: Pull complete 23:55:35 5851b861e8e6: Pull complete 23:55:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:55:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:35 prd-ubuntu20.04-docker-8c-8g-5340 does not seem to be running inside a container 23:55:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:55:38 $ docker top 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d -eo pid,comm 23:55:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:55:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:38 [ssh-agent] Looking for ssh-agent implementation... 23:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:38 $ docker exec 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d ssh-agent 23:55:38 SSH_AUTH_SOCK=/tmp/ssh-o8YJDFoyH13p/agent.32 23:55:38 SSH_AGENT_PID=38 23:55:38 Running ssh-add (command line suppressed) 23:55:38 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_4987015666141303343.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_4987015666141303343.key) 23:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:38 + git tag --points-at HEAD [Pipeline] } 23:55:38 $ docker exec --env ******** --env ******** 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d ssh-agent -k 23:55:39 unset SSH_AUTH_SOCK; 23:55:39 unset SSH_AGENT_PID; 23:55:39 echo Agent pid 38 killed; 23:55:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:55:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:39 [ssh-agent] Looking for ssh-agent implementation... 23:55:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:39 $ docker exec 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d ssh-agent 23:55:39 SSH_AUTH_SOCK=/tmp/ssh-I4uuUpx1wuQB/agent.70 23:55:39 SSH_AGENT_PID=76 23:55:39 Running ssh-add (command line suppressed) 23:55:39 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_5622373155109270879.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_5622373155109270879.key) 23:55:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:39 + git semver init 23:55:40 2023-03-22 23:55:39,999 [run_init] DEBUG init version:0.0.0 force:False 23:55:40 2023-03-22 23:55:39,999 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 23:55:40 2023-03-22 23:55:40,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 23:55:40 2023-03-22 23:55:40,000 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 23:55:40 2023-03-22 23:55:40,795 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 23:55:40 2023-03-22 23:55:40,796 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 23:55:40 2023-03-22 23:55:40,796 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 23:55:40 2023-03-22 23:55:40,801 [execute] INFO git cat-file --batch-check 23:55:40 2023-03-22 23:55:40,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 23:55:40 2023-03-22 23:55:40,808 [execute] INFO git cat-file --batch 23:55:40 2023-03-22 23:55:40,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 23:55:40 2023-03-22 23:55:40,815 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 23:55:40 0.0.0 [Pipeline] } 23:55:40 $ docker exec --env ******** --env ******** 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d ssh-agent -k 23:55:41 unset SSH_AUTH_SOCK; 23:55:41 unset SSH_AGENT_PID; 23:55:41 echo Agent pid 76 killed; 23:55:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:41 + git semver [Pipeline] } 23:55:41 $ docker stop --time=1 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d 23:55:43 $ docker rm -f --volumes 5b4c37d0ee8430d572f14ab9b3fd182f4658969df5d0eb9793e326bdea3e776d [Pipeline] // withDockerContainer [Pipeline] sh 23:55:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:55:43 Stashed 1 file(s) [Pipeline] echo 23:55:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:43 provisioning config files... 23:55:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config13528684972404561478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:43 ---> docker-login.sh 23:55:43 nexus3.edgexfoundry.org:10001 23:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:43 Configure a credential helper to remove this warning. See 23:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:43 23:55:43 Login Succeeded 23:55:43 nexus3.edgexfoundry.org:10002 23:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:43 Configure a credential helper to remove this warning. See 23:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:43 23:55:43 Login Succeeded 23:55:43 nexus3.edgexfoundry.org:10003 23:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:44 Configure a credential helper to remove this warning. See 23:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:44 23:55:44 Login Succeeded 23:55:44 nexus3.edgexfoundry.org:10004 23:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:44 Configure a credential helper to remove this warning. See 23:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:44 23:55:44 Login Succeeded 23:55:44 docker.io 23:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:44 Configure a credential helper to remove this warning. See 23:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:44 23:55:44 Login Succeeded 23:55:44 ---> docker-login.sh ends [Pipeline] } 23:55:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:44 ========================================================= 23:55:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:55:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:55:44 Sending build context to Docker daemon 3.241MB 23:55:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:55:44 Step 2/12 : FROM ${BASE} AS builder 23:55:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:55:44 63b65145d645: Pulling fs layer 23:55:44 a2d21d5440eb: Pulling fs layer 23:55:44 935e6c44a52c: Pulling fs layer 23:55:44 94cc34f8dd06: Pulling fs layer 23:55:44 30dea6a524f1: Pulling fs layer 23:55:44 a2aff8979fd8: Pulling fs layer 23:55:44 6808be2612f2: Pulling fs layer 23:55:44 f25807f1079a: Pulling fs layer 23:55:44 a2aff8979fd8: Waiting 23:55:44 6808be2612f2: Waiting 23:55:44 f25807f1079a: Waiting 23:55:44 30dea6a524f1: Waiting 23:55:44 94cc34f8dd06: Waiting 23:55:44 a2d21d5440eb: Download complete 23:55:44 94cc34f8dd06: Verifying Checksum 23:55:44 94cc34f8dd06: Download complete 23:55:44 30dea6a524f1: Verifying Checksum 23:55:44 30dea6a524f1: Download complete 23:55:45 63b65145d645: Verifying Checksum 23:55:45 63b65145d645: Download complete 23:55:45 a2aff8979fd8: Verifying Checksum 23:55:45 a2aff8979fd8: Download complete 23:55:45 63b65145d645: Pull complete 23:55:45 a2d21d5440eb: Pull complete 23:55:45 f25807f1079a: Verifying Checksum 23:55:45 f25807f1079a: Download complete 23:55:45 935e6c44a52c: Download complete 23:55:45 6808be2612f2: Verifying Checksum 23:55:45 6808be2612f2: Download complete 23:55:49 935e6c44a52c: Pull complete 23:55:49 94cc34f8dd06: Pull complete 23:55:49 30dea6a524f1: Pull complete 23:55:49 a2aff8979fd8: Pull complete 23:55:51 6808be2612f2: Pull complete 23:55:52 f25807f1079a: Pull complete 23:55:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:55:52 ---> 3b553350e43f 23:55:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:55:55 ---> Running in 0a69f94d4099 23:55:55 Removing intermediate container 0a69f94d4099 23:55:55 ---> 0fcc570023ab 23:55:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:55:55 ---> Running in 6ffaf669b01a 23:55:55 Removing intermediate container 6ffaf669b01a 23:55:55 ---> 612826157d98 23:55:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:55:55 ---> Running in f8b7606951ae 23:55:55 Removing intermediate container f8b7606951ae 23:55:55 ---> 087b439c2572 23:55:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:55 ---> Running in aac35556fbcc 23:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:56 OK: 265 MiB in 53 packages 23:55:56 Removing intermediate container aac35556fbcc 23:55:56 ---> 7703ad453321 23:55:56 Step 7/12 : WORKDIR /app 23:55:56 ---> Running in 0f5884dfd74b 23:55:56 Removing intermediate container 0f5884dfd74b 23:55:56 ---> 25aff45b1b62 23:55:56 Step 8/12 : COPY go.mod vendor* ./ 23:55:57 ---> 8a0731186f7d 23:55:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:57 ---> Running in 8efb8f45b80e 23:55:58 Still waiting to schedule task 23:55:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:56:29 Removing intermediate container 8efb8f45b80e 23:56:29 ---> 8d0204c45f70 23:56:29 Step 10/12 : COPY . . 23:56:29 ---> 985065244fb1 23:56:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:56:29 ---> Running in 9f270da80dec 23:56:29 Removing intermediate container 9f270da80dec 23:56:29 ---> c92e1b545da1 23:56:29 Step 12/12 : RUN $MAKE 23:56:29 ---> Running in 5060f770ba4c 23:56:29 noop 23:56:29 Removing intermediate container 5060f770ba4c 23:56:29 ---> b52cfe0620be 23:56:29 Successfully built b52cfe0620be 23:56:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:29 + docker inspect -f . ci-base-image-x86_64 23:56:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:29 prd-ubuntu20.04-docker-8c-8g-5340 does not seem to be running inside a container 23:56:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:30 $ docker top f22c8460747ff56ac119e3bece9085d53fac3d6c545bc306772da88eb1603b99 -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:30 + go version 23:56:30 go version go1.20.2 linux/amd64 [Pipeline] } 23:56:30 $ docker stop --time=1 f22c8460747ff56ac119e3bece9085d53fac3d6c545bc306772da88eb1603b99 23:56:31 $ docker rm -f --volumes f22c8460747ff56ac119e3bece9085d53fac3d6c545bc306772da88eb1603b99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:32 + docker inspect -f . ci-base-image-x86_64 23:56:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:32 prd-ubuntu20.04-docker-8c-8g-5340 does not seem to be running inside a container 23:56:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:32 $ docker top accbbee427f8170c566eab90658c8e4118d63c91198e074f0f19a0ef613f50bd -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:32 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 23:56:33 + make test 23:56:33 go test -race -coverprofile=coverage.out ./... 23:56:51 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:57:09 go vet ./... 23:57:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:57:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:57:12 ./bin/test-attribution-txt.sh 23:57:12 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 23:57:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:57:12 $ docker stop --time=1 accbbee427f8170c566eab90658c8e4118d63c91198e074f0f19a0ef613f50bd 23:57:15 $ docker rm -f --volumes accbbee427f8170c566eab90658c8e4118d63c91198e074f0f19a0ef613f50bd [Pipeline] // withDockerContainer [Pipeline] sh 23:57:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:57:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:57:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:57:17 + ls -al . 23:57:17 total 176 23:57:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:56 . 23:57:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:55 .. 23:57:17 -rw-rw-r-- 1 jenkins jenkins 119 Mar 22 23:55 .dockerignore 23:57:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:55 .git 23:57:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 23:55 .github 23:57:17 -rw-rw-r-- 1 jenkins jenkins 171 Mar 22 23:55 .gitignore 23:57:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 23:55 .golangci.yml 23:57:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 23:55 .semver 23:57:17 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 22 23:55 Attribution.txt 23:57:17 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 22 23:55 CHANGELOG.md 23:57:17 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 22 23:55 Dockerfile 23:57:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 23:55 GOVERNANCE.md 23:57:17 -rw-rw-r-- 1 jenkins jenkins 688 Mar 22 23:55 Jenkinsfile 23:57:17 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 22 23:55 LICENSE 23:57:17 -rw-rw-r-- 1 jenkins jenkins 618 Mar 22 23:55 OWNERS.md 23:57:17 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 22 23:55 README.md 23:57:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 23:55 VERSION 23:57:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:55 bin 23:57:17 -rw-r--r-- 1 jenkins jenkins 13 Mar 22 23:56 coverage.out 23:57:17 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 22 23:55 go.mod 23:57:17 -rw-rw-r-- 1 jenkins jenkins 31037 Mar 22 23:55 go.sum 23:57:17 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 22 23:55 main.go 23:57:17 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 22 23:55 makefile 23:57:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:55 res 23:57:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:17 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e4128b23ac1a9fc7236503158b55226b4e236dc8 --label arch=amd64 --label version=0.0.0 . 23:57:17 Sending build context to Docker daemon 3.242MB 23:57:17 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:57:17 Step 2/26 : FROM ${BASE} AS builder 23:57:17 ---> b52cfe0620be 23:57:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:57:17 ---> Running in 433e47d3a96e 23:57:17 Removing intermediate container 433e47d3a96e 23:57:17 ---> ee0869aaacb9 23:57:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:57:17 ---> Running in 8297f8f8c219 23:57:17 Removing intermediate container 8297f8f8c219 23:57:17 ---> 761697bbff0e 23:57:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:57:17 ---> Running in 765a76871b01 23:57:17 Removing intermediate container 765a76871b01 23:57:17 ---> ac5d49e0b994 23:57:17 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:17 ---> Running in ab35deb538be 23:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:57:18 OK: 265 MiB in 53 packages 23:57:18 Removing intermediate container ab35deb538be 23:57:18 ---> e3b49adeb721 23:57:18 Step 7/26 : WORKDIR /app 23:57:18 ---> Running in 8be6bf11f6de 23:57:18 Removing intermediate container 8be6bf11f6de 23:57:18 ---> 7e466710f358 23:57:18 Step 8/26 : COPY go.mod vendor* ./ 23:57:19 ---> 3e48fef798e6 23:57:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:19 ---> Running in 68b6141b3f58 23:57:20 Removing intermediate container 68b6141b3f58 23:57:20 ---> f6954010a5ce 23:57:20 Step 10/26 : COPY . . 23:57:20 ---> 1969a0bfeac4 23:57:20 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:20 ---> Running in 5bef2c6da330 23:57:20 Removing intermediate container 5bef2c6da330 23:57:20 ---> 122169dd733b 23:57:20 Step 12/26 : RUN $MAKE 23:57:20 ---> Running in 029c2ac37696 23:57:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.43 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:57:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5341 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] ws 23:57:38 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 23:57:38 Selected Git installation does not exist. Using Default 23:57:38 The recommended git tool is: NONE 23:57:38 Removing intermediate container 029c2ac37696 23:57:38 ---> f2f24d62410a 23:57:38 Step 13/26 : FROM alpine:3.17 23:57:38 3.17: Pulling from library/alpine 23:57:38 63b65145d645: Already exists 23:57:38 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:57:38 Status: Downloaded newer image for alpine:3.17 23:57:38 ---> b2aa39c304c2 23:57:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:57:38 ---> Running in dcd62a31dd11 23:57:38 Removing intermediate container dcd62a31dd11 23:57:38 ---> 90b47bc63670 23:57:38 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:57:38 ---> Running in 1d68fdaf3255 23:57:38 Removing intermediate container 1d68fdaf3255 23:57:38 ---> 7d802caa808b 23:57:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:57:38 ---> Running in 562341914afb 23:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:57:39 (1/2) Installing ca-certificates (20220614-r4) 23:57:39 (2/2) Installing dumb-init (1.2.5-r2) 23:57:39 Executing busybox-1.35.0-r29.trigger 23:57:39 Executing ca-certificates-20220614-r4.trigger 23:57:39 OK: 8 MiB in 17 packages 23:57:39 Removing intermediate container 562341914afb 23:57:39 ---> cca7616a46a7 23:57:39 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:57:40 ---> 4035db6cbd1b 23:57:40 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:57:40 ---> 08c535c80fff 23:57:40 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:57:40 ---> e6232475da9a 23:57:40 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:57:40 ---> de23f058c5d1 23:57:40 Step 21/26 : EXPOSE 48095 23:57:40 ---> Running in 465913c1a145 23:57:40 Removing intermediate container 465913c1a145 23:57:40 ---> 250479e53a5c 23:57:40 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:57:40 ---> Running in 7f8fc5042ad4 23:57:41 Removing intermediate container 7f8fc5042ad4 23:57:41 ---> 0cbd8b691476 23:57:41 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:57:41 ---> Running in 172aa9d314e4 23:57:41 Removing intermediate container 172aa9d314e4 23:57:41 ---> 89a6b0f30ea2 23:57:41 Step 24/26 : LABEL arch=amd64 23:57:41 ---> Running in 2e14f5721efb 23:57:41 Removing intermediate container 2e14f5721efb 23:57:41 ---> 7917c7268aa4 23:57:41 Step 25/26 : LABEL git_sha=e4128b23ac1a9fc7236503158b55226b4e236dc8 23:57:41 ---> Running in f4aebae9581f 23:57:41 Removing intermediate container f4aebae9581f 23:57:41 ---> af57e7d67111 23:57:41 Step 26/26 : LABEL version=0.0.0 23:57:41 ---> Running in 6396d28dc0e2 23:57:41 Removing intermediate container 6396d28dc0e2 23:57:41 ---> 6171041cefd1 23:57:41 [Warning] One or more build-args [ARCH] were not consumed 23:57:41 Successfully built 6171041cefd1 23:57:41 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:41 23:57:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:42 latest: Pulling from edgex-lftools-log-publisher 23:57:42 5eb5b503b376: Pulling fs layer 23:57:42 5c69ac0246d0: Pulling fs layer 23:57:42 ec43610c2a17: Pulling fs layer 23:57:42 3a2ae6a8a46f: Pulling fs layer 23:57:42 33b1e0a273af: Pulling fs layer 23:57:42 5d3b04190fa2: Pulling fs layer 23:57:42 2f39f015ded8: Pulling fs layer 23:57:42 3a2ae6a8a46f: Waiting 23:57:42 33b1e0a273af: Waiting 23:57:42 5d3b04190fa2: Waiting 23:57:42 2f39f015ded8: Waiting 23:57:42 5c69ac0246d0: Verifying Checksum 23:57:42 5c69ac0246d0: Download complete 23:57:42 3a2ae6a8a46f: Verifying Checksum 23:57:42 3a2ae6a8a46f: Download complete 23:57:42 33b1e0a273af: Verifying Checksum 23:57:42 33b1e0a273af: Download complete 23:57:42 ec43610c2a17: Verifying Checksum 23:57:42 ec43610c2a17: Download complete 23:57:42 5d3b04190fa2: Verifying Checksum 23:57:42 5d3b04190fa2: Download complete 23:57:42 5eb5b503b376: Verifying Checksum 23:57:42 5eb5b503b376: Download complete 23:57:43 2f39f015ded8: Download complete 23:57:43 5eb5b503b376: Pull complete 23:57:43 5c69ac0246d0: Pull complete 23:57:44 ec43610c2a17: Pull complete 23:57:44 3a2ae6a8a46f: Pull complete 23:57:44 33b1e0a273af: Pull complete 23:57:44 5d3b04190fa2: Pull complete 23:57:44 using credential edgex-jenkins-ssh 23:57:44 Cloning the remote Git repository 23:57:44 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:57:44 > git init /w/workspace/app-service-configurable/2 # timeout=10 23:57:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:57:45 > git --version # timeout=10 23:57:45 > git --version # 'git version 2.25.1' 23:57:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:57:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:57:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:57:48 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit e4128b23ac1a9fc7236503158b55226b4e236dc8 23:57:48 2f39f015ded8: Pull complete 23:57:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:57:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:48 prd-ubuntu20.04-docker-8c-8g-5340 does not seem to be running inside a container 23:57:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:57:48 Merge succeeded, producing e4128b23ac1a9fc7236503158b55226b4e236dc8 23:57:48 Checking out Revision e4128b23ac1a9fc7236503158b55226b4e236dc8 (PR-535) 23:57:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:57:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:57:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:57:48 > git config core.sparsecheckout # timeout=10 23:57:48 > git checkout -f e4128b23ac1a9fc7236503158b55226b4e236dc8 # timeout=10 23:57:48 > git remote # timeout=10 23:57:48 > git config --get remote.origin.url # timeout=10 23:57:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:48 > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 23:57:48 > git rev-parse HEAD^{commit} # timeout=10 23:57:48 > git config core.sparsecheckout # timeout=10 23:57:48 > git checkout -f e4128b23ac1a9fc7236503158b55226b4e236dc8 # timeout=10 23:57:51 $ docker top ad2744fe5ec1a65f5149e4430349f81dc46d4d49e7f675f1be5e920a73d3fb30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:51 ---> job-cost.sh 23:57:51 lf-activate-venv: SKIPPING 23:57:51 INFO: No Stack... 23:57:52 Commit message: "refactor!:Change configuration profile formats to YAML" 23:57:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:57:52 23:57:52 GitHub has been notified of this commit’s build result 23:57:52 [Pipeline] withEnv [Pipeline] { 23:57:52 INFO: Archiving Costs [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:52 + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 23:57:52 + cut -d, -f6 [Pipeline] lock 23:57:52 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] 23:57:52 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] did not exist. Created. 23:57:52 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:57:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:57:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:57:53 Dload Upload Total Spent Left Speed 23:57:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 23:57:53 + echo total: 0.2199999988079071 [Pipeline] stash 23:57:53 Stashed 1 file(s) [Pipeline] } 23:57:53 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:57:53 $ docker stop --time=1 ad2744fe5ec1a65f5149e4430349f81dc46d4d49e7f675f1be5e920a73d3fb30 23:57:54 $ docker rm -f --volumes ad2744fe5ec1a65f5149e4430349f81dc46d4d49e7f675f1be5e920a73d3fb30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:57:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:57:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:57:55 + sudo tee /etc/docker/daemon.new 23:57:55 { 23:57:55 "registry-mirrors": [ 23:57:55 "https://nexus3.edgexfoundry.org:10001" 23:57:55 ], 23:57:55 "bip": "10.250.0.254/24", 23:57:55 "hosts": [ 23:57:55 "tcp://0.0.0.0:5555", 23:57:55 "unix:///var/run/docker.sock" 23:57:55 ], 23:57:55 "mtu": 1458, 23:57:55 "selinux-enabled": true, 23:57:55 "seccomp-profile": "/etc/docker/seccomp.json" 23:57:55 } [Pipeline] sh 23:57:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:57:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:14 provisioning config files... 23:58:14 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config9830035196678050251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:14 ---> docker-login.sh 23:58:14 nexus3.edgexfoundry.org:10001 23:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:15 Configure a credential helper to remove this warning. See 23:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:15 23:58:15 Login Succeeded 23:58:15 nexus3.edgexfoundry.org:10002 23:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:15 Configure a credential helper to remove this warning. See 23:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:15 23:58:15 Login Succeeded 23:58:15 nexus3.edgexfoundry.org:10003 23:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:15 Configure a credential helper to remove this warning. See 23:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:15 23:58:15 Login Succeeded 23:58:15 nexus3.edgexfoundry.org:10004 23:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:16 Configure a credential helper to remove this warning. See 23:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:16 23:58:16 Login Succeeded 23:58:16 docker.io 23:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:16 Configure a credential helper to remove this warning. See 23:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:16 23:58:16 Login Succeeded 23:58:16 ---> docker-login.sh ends [Pipeline] } 23:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:17 ========================================================= 23:58:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:58:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:58:17 Sending build context to Docker daemon 170.5kB 23:58:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:58:17 Step 2/12 : FROM ${BASE} AS builder 23:58:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:58:18 af6eaf76a39c: Pulling fs layer 23:58:18 55522c791124: Pulling fs layer 23:58:18 ce5c4a1c91eb: Pulling fs layer 23:58:18 169dfbe0d373: Pulling fs layer 23:58:18 e1ff8fa3b103: Pulling fs layer 23:58:18 52ebb69f0ebf: Pulling fs layer 23:58:18 5abe8eddf0d5: Pulling fs layer 23:58:18 169dfbe0d373: Waiting 23:58:18 e1ff8fa3b103: Waiting 23:58:18 52ebb69f0ebf: Waiting 23:58:18 5abe8eddf0d5: Waiting 23:58:18 55522c791124: Download complete 23:58:18 169dfbe0d373: Verifying Checksum 23:58:18 169dfbe0d373: Download complete 23:58:18 e1ff8fa3b103: Verifying Checksum 23:58:18 e1ff8fa3b103: Download complete 23:58:18 af6eaf76a39c: Download complete 23:58:19 af6eaf76a39c: Pull complete 23:58:19 5abe8eddf0d5: Verifying Checksum 23:58:19 5abe8eddf0d5: Download complete 23:58:19 55522c791124: Pull complete 23:58:20 ce5c4a1c91eb: Verifying Checksum 23:58:20 ce5c4a1c91eb: Download complete 23:58:20 52ebb69f0ebf: Verifying Checksum 23:58:20 52ebb69f0ebf: Download complete 23:58:33 ce5c4a1c91eb: Pull complete 23:58:33 169dfbe0d373: Pull complete 23:58:33 e1ff8fa3b103: Pull complete 23:58:39 52ebb69f0ebf: Pull complete 23:58:42 5abe8eddf0d5: Pull complete 23:58:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:58:42 ---> 6cb57ee374ae 23:58:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:58:44 ---> Running in e8fdf86091ab 23:58:44 Removing intermediate container e8fdf86091ab 23:58:44 ---> b8b4a5cdfe1d 23:58:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:58:44 ---> Running in bd7798d71e62 23:58:44 Removing intermediate container bd7798d71e62 23:58:44 ---> 1bddbc121405 23:58:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:58:45 ---> Running in 2d330b0e2a1d 23:58:45 Removing intermediate container 2d330b0e2a1d 23:58:45 ---> d6f0b7105c3b 23:58:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:45 ---> Running in 94582bd2377e 23:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:58:48 OK: 263 MiB in 53 packages 23:58:49 Removing intermediate container 94582bd2377e 23:58:49 ---> 14eb1dc96983 23:58:49 Step 7/12 : WORKDIR /app 23:58:50 ---> Running in 1d1e239dfaf9 23:58:50 Removing intermediate container 1d1e239dfaf9 23:58:50 ---> e49ce6d79e90 23:58:50 Step 8/12 : COPY go.mod vendor* ./ 23:58:51 ---> 69eb72895271 23:58:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:51 ---> Running in f45edda0d6dc 00:00:12 Removing intermediate container f45edda0d6dc 00:00:12 ---> 3172194ce02b 00:00:12 Step 10/12 : COPY . . 00:00:12 ---> 2f67822dd87d 00:00:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:00:12 ---> Running in 3aa9289f5298 00:00:12 Removing intermediate container 3aa9289f5298 00:00:12 ---> f5609aa0d723 00:00:12 Step 12/12 : RUN $MAKE 00:00:12 ---> Running in 7bf701a22d6c 00:00:12 noop 00:00:12 Removing intermediate container 7bf701a22d6c 00:00:12 ---> cca41eea890b 00:00:12 Successfully built cca41eea890b 00:00:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:13 + docker inspect -f . ci-base-image-arm64 00:00:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:13 prd-ubuntu20.04-docker-arm64-4c-16g-5341 does not seem to be running inside a container 00:00:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:14 $ docker top 3dd3ac93864820d56dc6c804b8a461466e72d0286c27129cc42a222a0b4ac602 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:15 + go version 00:00:15 go version go1.20.2 linux/arm64 [Pipeline] } 00:00:15 $ docker stop --time=1 3dd3ac93864820d56dc6c804b8a461466e72d0286c27129cc42a222a0b4ac602 00:00:17 $ docker rm -f --volumes 3dd3ac93864820d56dc6c804b8a461466e72d0286c27129cc42a222a0b4ac602 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:17 + docker inspect -f . ci-base-image-arm64 00:00:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:18 prd-ubuntu20.04-docker-arm64-4c-16g-5341 does not seem to be running inside a container 00:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:19 $ docker top d21abdf1423b9a55b63554c02f5fbd53ae91b8b5ca015a359203e15c7d14a989 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:20 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 00:00:20 + make test 00:00:20 go test -race -coverprofile=coverage.out ./... 00:03:57 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:03:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:57 go vet ./... 00:06:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:06:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:06:34 ./bin/test-attribution-txt.sh 00:06:34 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 00:06:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:06:34 $ docker stop --time=1 d21abdf1423b9a55b63554c02f5fbd53ae91b8b5ca015a359203e15c7d14a989 00:06:36 $ docker rm -f --volumes d21abdf1423b9a55b63554c02f5fbd53ae91b8b5ca015a359203e15c7d14a989 [Pipeline] // withDockerContainer [Pipeline] sh 00:06:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:38 Warning: overwriting stash ‘coverage-report’ 00:06:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:06:39 + ls -al . 00:06:39 total 172 00:06:39 drwxrwxr-x 7 jenkins jenkins 4096 Mar 23 00:00 . 00:06:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:57 .. 00:06:39 -rw-rw-r-- 1 jenkins jenkins 119 Mar 22 23:57 .dockerignore 00:06:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:57 .git 00:06:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 23:57 .github 00:06:39 -rw-rw-r-- 1 jenkins jenkins 171 Mar 22 23:57 .gitignore 00:06:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 23:57 .golangci.yml 00:06:39 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 22 23:57 Attribution.txt 00:06:39 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 22 23:57 CHANGELOG.md 00:06:39 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 22 23:57 Dockerfile 00:06:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 23:57 GOVERNANCE.md 00:06:39 -rw-rw-r-- 1 jenkins jenkins 688 Mar 22 23:57 Jenkinsfile 00:06:39 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 22 23:57 LICENSE 00:06:39 -rw-rw-r-- 1 jenkins jenkins 618 Mar 22 23:57 OWNERS.md 00:06:39 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 22 23:57 README.md 00:06:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 23:55 VERSION 00:06:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:57 bin 00:06:39 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 00:00 coverage.out 00:06:39 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 22 23:57 go.mod 00:06:39 -rw-rw-r-- 1 jenkins jenkins 31037 Mar 22 23:57 go.sum 00:06:39 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 22 23:57 main.go 00:06:39 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 22 23:57 makefile 00:06:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:57 res 00:06:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:57 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:40 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e4128b23ac1a9fc7236503158b55226b4e236dc8 --label arch=arm64 --label version=0.0.0 . 00:06:40 Sending build context to Docker daemon 171.5kB 00:06:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:06:40 Step 2/26 : FROM ${BASE} AS builder 00:06:40 ---> cca41eea890b 00:06:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:06:40 ---> Running in 0cb1479700d4 00:06:41 Removing intermediate container 0cb1479700d4 00:06:41 ---> ce1f6e22a548 00:06:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:06:41 ---> Running in 1a7555e60f51 00:06:41 Removing intermediate container 1a7555e60f51 00:06:41 ---> 94e6b411e95a 00:06:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:06:41 ---> Running in 8ae6093d7456 00:06:42 Removing intermediate container 8ae6093d7456 00:06:42 ---> 223b3efee708 00:06:42 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:42 ---> Running in 7b0b44400320 00:06:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:06:45 OK: 263 MiB in 53 packages 00:06:46 Removing intermediate container 7b0b44400320 00:06:46 ---> b75b2d47cccd 00:06:46 Step 7/26 : WORKDIR /app 00:06:46 ---> Running in ef996225c8c9 00:06:46 Removing intermediate container ef996225c8c9 00:06:46 ---> 913f8ed0a859 00:06:46 Step 8/26 : COPY go.mod vendor* ./ 00:06:47 ---> 3edb0869d831 00:06:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:47 ---> Running in 2deaf79eafb8 00:06:50 Removing intermediate container 2deaf79eafb8 00:06:50 ---> fc942ed9b82c 00:06:50 Step 10/26 : COPY . . 00:06:51 ---> e9e1a3d9b8ab 00:06:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:06:51 ---> Running in e59199661f4c 00:06:51 Removing intermediate container e59199661f4c 00:06:51 ---> 7d8ba3740727 00:06:51 Step 12/26 : RUN $MAKE 00:06:51 ---> Running in 65dd02135283 00:06:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.43 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:09:29 Removing intermediate container 65dd02135283 00:09:29 ---> d393a68ce90d 00:09:29 Step 13/26 : FROM alpine:3.17 00:09:29 3.17: Pulling from library/alpine 00:09:29 af6eaf76a39c: Already exists 00:09:29 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:09:29 Status: Downloaded newer image for alpine:3.17 00:09:29 ---> d74e625d9115 00:09:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:09:29 ---> Running in 8f3309729293 00:09:29 Removing intermediate container 8f3309729293 00:09:29 ---> a33653d23fc4 00:09:29 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:09:29 ---> Running in 8c5e8c3b139c 00:09:29 Removing intermediate container 8c5e8c3b139c 00:09:29 ---> a7ef5c3efbd7 00:09:29 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:09:29 ---> Running in a2ecb3b9ab64 00:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:09:29 (1/2) Installing ca-certificates (20220614-r4) 00:09:29 (2/2) Installing dumb-init (1.2.5-r2) 00:09:29 Executing busybox-1.35.0-r29.trigger 00:09:29 Executing ca-certificates-20220614-r4.trigger 00:09:29 OK: 8 MiB in 17 packages 00:09:30 Removing intermediate container a2ecb3b9ab64 00:09:30 ---> 1fe33c91a930 00:09:30 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:09:30 ---> 535905026f09 00:09:30 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:09:31 ---> becb8ab6524a 00:09:31 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:09:32 ---> 4bd1ac45bccf 00:09:32 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:09:34 ---> 12bc5e527ba6 00:09:34 Step 21/26 : EXPOSE 48095 00:09:34 ---> Running in 918996d2262e 00:09:34 Removing intermediate container 918996d2262e 00:09:34 ---> 4414dcdf306d 00:09:34 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:09:34 ---> Running in 2d7f842b8859 00:09:34 Removing intermediate container 2d7f842b8859 00:09:34 ---> 306d6d0eed5b 00:09:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:09:34 ---> Running in 5d01c3ef7d7a 00:09:34 Removing intermediate container 5d01c3ef7d7a 00:09:34 ---> f62bf2dddbf2 00:09:34 Step 24/26 : LABEL arch=arm64 00:09:34 ---> Running in 2a0b5ebf71f3 00:09:35 Removing intermediate container 2a0b5ebf71f3 00:09:35 ---> 402cd4f30c36 00:09:35 Step 25/26 : LABEL git_sha=e4128b23ac1a9fc7236503158b55226b4e236dc8 00:09:35 ---> Running in df14f68659aa 00:09:35 Removing intermediate container df14f68659aa 00:09:35 ---> 2d14e68b8821 00:09:35 Step 26/26 : LABEL version=0.0.0 00:09:35 ---> Running in bd0a88100e3c 00:09:36 Removing intermediate container bd0a88100e3c 00:09:36 ---> b613ae62bdb7 00:09:36 [Warning] One or more build-args [ARCH] were not consumed 00:09:36 Successfully built b613ae62bdb7 00:09:36 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:36 00:09:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:37 arm64: Pulling from edgex-lftools-log-publisher 00:09:37 8998bd30e6a1: Pulling fs layer 00:09:37 04944245beec: Pulling fs layer 00:09:37 699f458cf7ca: Pulling fs layer 00:09:37 765212b225bb: Pulling fs layer 00:09:37 f23df028b6ca: Pulling fs layer 00:09:37 d65c8cfc05b1: Pulling fs layer 00:09:37 2437ff75d9bd: Pulling fs layer 00:09:37 765212b225bb: Waiting 00:09:37 f23df028b6ca: Waiting 00:09:37 d65c8cfc05b1: Waiting 00:09:37 2437ff75d9bd: Waiting 00:09:37 04944245beec: Verifying Checksum 00:09:37 04944245beec: Download complete 00:09:37 765212b225bb: Verifying Checksum 00:09:37 765212b225bb: Download complete 00:09:37 f23df028b6ca: Download complete 00:09:37 d65c8cfc05b1: Verifying Checksum 00:09:37 d65c8cfc05b1: Download complete 00:09:37 699f458cf7ca: Verifying Checksum 00:09:37 699f458cf7ca: Download complete 00:09:38 8998bd30e6a1: Verifying Checksum 00:09:38 8998bd30e6a1: Download complete 00:09:40 2437ff75d9bd: Verifying Checksum 00:09:40 2437ff75d9bd: Download complete 00:09:42 8998bd30e6a1: Pull complete 00:09:42 04944245beec: Pull complete 00:09:43 699f458cf7ca: Pull complete 00:09:44 765212b225bb: Pull complete 00:09:44 f23df028b6ca: Pull complete 00:09:45 d65c8cfc05b1: Pull complete 00:10:00 2437ff75d9bd: Pull complete 00:10:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:00 prd-ubuntu20.04-docker-arm64-4c-16g-5341 does not seem to be running inside a container 00:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:10:03 $ docker top 01dd54ae1ab7a91eb6d8f1182e5a7ef643bc70a343d474ed9292f6c3100062d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:04 ---> job-cost.sh 00:10:04 lf-activate-venv: SKIPPING 00:10:04 INFO: No Stack... 00:10:04 INFO: Retrieving Pricing Info for: v3-standard-4 00:10:05 INFO: Archiving Costs [Pipeline] sh 00:10:05 + cut -d, -f6 00:10:05 + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 00:10:05 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] 00:10:05 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] did not exist. Created. 00:10:05 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:06 /w/workspace/app-service-configurable/2@tmp/durable-57accd8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:10:07 + echo total: 0.10999999940395355 [Pipeline] stash 00:10:07 Warning: overwriting stash ‘stack-cost’ 00:10:07 Stashed 1 file(s) [Pipeline] } 00:10:07 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:10:07 $ docker stop --time=1 01dd54ae1ab7a91eb6d8f1182e5a7ef643bc70a343d474ed9292f6c3100062d3 00:10:08 $ docker rm -f --volumes 01dd54ae1ab7a91eb6d8f1182e5a7ef643bc70a343d474ed9292f6c3100062d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:10:09 provisioning config files... 00:10:09 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config3446253980301942102tmp [Pipeline] { [Pipeline] sh 00:10:09 + set +x 00:10:09 + curl -s https://codecov.io/bash 00:10:09 + bash -s -- 00:10:09 00:10:09 _____ _ 00:10:09 / ____| | | 00:10:09 | | ___ __| | ___ ___ _____ __ 00:10:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:10:09 | |___| (_) | (_| | __/ (_| (_) \ V / 00:10:09 \_____\___/ \__,_|\___|\___\___/ \_/ 00:10:09 Bash-1.0.6 00:10:09 00:10:09 00:10:09 ==> git version 2.25.1 found 00:10:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:10:09 Release-Date: 2020-01-08 00:10:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:10:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:10:09 ==> Jenkins CI detected. 00:10:09 current dir:  /w/workspace/_app-service-configurable_PR-535 00:10:09 project root: . 00:10:09 --> token set from env 00:10:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:10:09 ==> Running gcov in . (disable via -X gcov) 00:10:09 ==> Python coveragepy not found 00:10:09 ==> Searching for coverage reports in: 00:10:09 + . 00:10:09 -> Found 1 reports 00:10:09 ==> Detecting git/mercurial file structure 00:10:09 ==> Reading reports 00:10:09 + ./coverage.out bytes=13 00:10:09 ==> Appending adjustments 00:10:09 https://docs.codecov.io/docs/fixing-reports 00:10:09 + Found adjustments 00:10:09 ==> Gzipping contents 00:10:09 4.0K /tmp/codecov.15Qdoo.gz 00:10:09 ==> Uploading reports 00:10:09 url: https://codecov.io 00:10:09 query: branch=PR-535&commit=e4128b23ac1a9fc7236503158b55226b4e236dc8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 00:10:09 -> Pinging Codecov 00:10:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-535&commit=e4128b23ac1a9fc7236503158b55226b4e236dc8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 00:10:09 -> Uploading to 00:10:09 https://storage.googleapis.com/codecov/v4/raw/2023-03-23/A97CA9966030D2A3747ED39772930CCE/e4128b23ac1a9fc7236503158b55226b4e236dc8/39e3254c-adca-46ae-8482-c4c42e41fa73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T001009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f225cbd737bf9f5a1902d40dcd6bf397b7233003820edb54dea62013944cee7 00:10:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:09 Dload Upload Total Spent Left Speed 00:10:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1434 --:--:-- --:--:-- --:--:-- 1434 00:10:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/e4128b23ac1a9fc7236503158b55226b4e236dc8 [Pipeline] } 00:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:10:11 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 00:10:11 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 00:10:11 total 16 00:10:11 drwxr-xr-x 3 root root 4096 Mar 22 23:57 . 00:10:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:57 .. 00:10:11 drwxr-xr-x 2 root root 4096 Mar 22 23:57 cost 00:10:11 -rw-r--r-- 1 root root 96 Mar 22 23:57 cost.csv 00:10:11 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 00:10:11 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 00:10:11 total 16 00:10:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 23:57 . 00:10:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:57 .. 00:10:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 23:57 cost 00:10:11 -rw-r--r-- 1 jenkins jenkins 96 Mar 22 23:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:10:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:10:12 ---> package-listing.sh 00:10:12 ++ tr '[:upper:]' '[:lower:]' 00:10:12 ++ facter osfamily 00:10:12 + OS_FAMILY=debian 00:10:12 + workspace=/w/workspace/_app-service-configurable_PR-535 00:10:12 + START_PACKAGES=/tmp/packages_start.txt 00:10:12 + END_PACKAGES=/tmp/packages_end.txt 00:10:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:10:12 + PACKAGES=/tmp/packages_start.txt 00:10:12 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 00:10:12 + PACKAGES=/tmp/packages_end.txt 00:10:12 + case "${OS_FAMILY}" in 00:10:12 + dpkg -l 00:10:12 + grep '^ii' 00:10:12 + '[' -f /tmp/packages_start.txt ']' 00:10:12 + '[' -f /tmp/packages_end.txt ']' 00:10:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:10:12 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 00:10:12 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 00:10:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 00:10:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:10:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:13 prd-ubuntu20.04-docker-8c-8g-5340 does not seem to be running inside a container 00:10:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:10:13 $ docker top 17740b7c3bc4e4bc63d8743f50393cc1079c851ff0e9afe0a5672b9e20d6045b -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:14 + touch /tmp/pre-build-complete [Pipeline] sh 00:10:14 + mkdir -p /var/log/sysstat [Pipeline] sh 00:10:14 + ls /var/log/sa-host 00:10:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:14 provisioning config files... 00:10:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config15467148602556293572tmp [Pipeline] { [Pipeline] echo 00:10:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:10:15 ---> create-netrc.sh [Pipeline] } 00:10:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:10:15 ---> python-tools-install.sh [Pipeline] echo 00:10:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:10:15 ---> sudo-logs.sh 00:10:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:10:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:10:16 ---> job-cost.sh 00:10:16 lf-activate-venv: SKIPPING 00:10:16 DEBUG: total: 0.2199999988079071 00:10:16 INFO: Retrieving Stack Cost... 00:10:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:17 INFO: Archiving Costs [Pipeline] echo 00:10:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:10:17 ---> logs-deploy.sh 00:10:17 lf-activate-venv: SKIPPING 00:10:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/2 00:10:17 INFO: archiving workspace using pattern(s): 00:10:18 Archives upload complete. 00:10:18 INFO: archiving logs to Nexus