Branch indexing 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 lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from ed1050ab7232a92da1b6fd4b15169768fe1cdff4+731cbe338f54dd8dac0167938734c2fced573176 (2aa13a6785923e7647fe9ed3adceffb735a956c3) 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-ssh4814758944115205604.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4288267669619083696.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-515/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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1389057871042610864.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12582264896974065091.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-515/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-515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11458458698791124828.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.18 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-6257 in /w/workspace/_app-service-configurable_PR-515 [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-515 # 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/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 731cbe338f54dd8dac0167938734c2fced573176 into PR head commit ed1050ab7232a92da1b6fd4b15169768fe1cdff4 Merge succeeded, producing f491455e01b282f044c961f4b65f7e4702ff0130 Checking out Revision f491455e01b282f044c961f4b65f7e4702ff0130 (PR-515) > git config core.sparsecheckout # timeout=10 > git checkout -f ed1050ab7232a92da1b6fd4b15169768fe1cdff4 # 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 731cbe338f54dd8dac0167938734c2fced573176 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f491455e01b282f044c961f4b65f7e4702ff0130 # timeout=10 Commit message: "Merge commit '731cbe338f54dd8dac0167938734c2fced573176' into HEAD" > git rev-list --no-walk ed1050ab7232a92da1b6fd4b15169768fe1cdff4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:22 ========================================================= 04:52:22 EdgeX Global Pipelines Version Info 04:52:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:23 ------------------- 04:52:23 stable info: 04:52:23 ------------------- 04:52:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:52:23 Message: update stable to v1.0.244 04:52:23 ------------------- 04:52:23 experimental info: 04:52:23 ------------------- 04:52:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:52:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-515 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-515 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-515 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f491455e01b282f044c961f4b65f7e4702ff0130 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f491455 [Pipeline] echo 04:52:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:24 provisioning config files... 04:52:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-515@tmp/config8288706924337152016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:24 ---> docker-login.sh 04:52:24 nexus3.edgexfoundry.org:10001 04:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:25 Configure a credential helper to remove this warning. See 04:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:25 04:52:25 Login Succeeded 04:52:25 nexus3.edgexfoundry.org:10002 04:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:25 Configure a credential helper to remove this warning. See 04:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:25 04:52:25 Login Succeeded 04:52:25 nexus3.edgexfoundry.org:10003 04:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:25 Configure a credential helper to remove this warning. See 04:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:25 04:52:25 Login Succeeded 04:52:25 nexus3.edgexfoundry.org:10004 04:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:25 Configure a credential helper to remove this warning. See 04:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:25 04:52:25 Login Succeeded 04:52:25 docker.io 04:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:25 Configure a credential helper to remove this warning. See 04:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:25 04:52:25 Login Succeeded 04:52:25 ---> docker-login.sh ends [Pipeline] } 04:52:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:26 + git rev-list -1 --merges f491455e01b282f044c961f4b65f7e4702ff0130~1..f491455e01b282f044c961f4b65f7e4702ff0130 [Pipeline] echo 04:52:26 -----------> git rev-list -1 --merges f491455e01b282f044c961f4b65f7e4702ff0130~1..f491455e01b282f044c961f4b65f7e4702ff0130 f491455e01b282f044c961f4b65f7e4702ff0130 04:52:26 f491455e01b282f044c961f4b65f7e4702ff0130 [false] [Pipeline] sh 04:52:26 + git log --format=format:%s -1 f491455e01b282f044c961f4b65f7e4702ff0130 [Pipeline] echo 04:52:26 ========================================================= 04:52:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:26 + git log --format=format:%s -1 f491455e01b282f044c961f4b65f7e4702ff0130 [Pipeline] echo 04:52:26 [semverPrep] GIT_COMMIT: f491455e01b282f044c961f4b65f7e4702ff0130, Commit Message: Merge commit '731cbe338f54dd8dac0167938734c2fced573176' into HEAD [Pipeline] echo 04:52:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:27 + grep -v github /etc/ssh/ssh_known_hosts 04:52:27 + [ -e /tmp/ssh_known_hosts ] 04:52:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:27 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:27 04:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:28 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:28 b85a868b505f: Pulling fs layer 04:52:28 e2be974225ed: Pulling fs layer 04:52:28 339a4e72a1f5: Pulling fs layer 04:52:28 988bab9f4d93: Pulling fs layer 04:52:28 1469e6f7b9e6: Pulling fs layer 04:52:28 eaf3925da568: Pulling fs layer 04:52:28 bab4dde63d76: Pulling fs layer 04:52:28 bde34c3a00c8: Pulling fs layer 04:52:28 b352a97aabf1: Pulling fs layer 04:52:28 4872d77fe225: Pulling fs layer 04:52:28 5851b861e8e6: Pulling fs layer 04:52:28 1469e6f7b9e6: Waiting 04:52:28 b352a97aabf1: Waiting 04:52:28 4872d77fe225: Waiting 04:52:28 5851b861e8e6: Waiting 04:52:28 eaf3925da568: Waiting 04:52:28 bab4dde63d76: Waiting 04:52:28 988bab9f4d93: Waiting 04:52:28 e2be974225ed: Download complete 04:52:28 988bab9f4d93: Verifying Checksum 04:52:28 988bab9f4d93: Download complete 04:52:28 339a4e72a1f5: Verifying Checksum 04:52:28 339a4e72a1f5: Download complete 04:52:28 1469e6f7b9e6: Verifying Checksum 04:52:28 1469e6f7b9e6: Download complete 04:52:28 eaf3925da568: Verifying Checksum 04:52:28 eaf3925da568: Download complete 04:52:28 bde34c3a00c8: Download complete 04:52:28 b352a97aabf1: Download complete 04:52:28 4872d77fe225: Download complete 04:52:28 5851b861e8e6: Verifying Checksum 04:52:28 5851b861e8e6: Download complete 04:52:28 b85a868b505f: Verifying Checksum 04:52:28 b85a868b505f: Download complete 04:52:29 bab4dde63d76: Verifying Checksum 04:52:29 bab4dde63d76: Download complete 04:52:29 b85a868b505f: Pull complete 04:52:29 e2be974225ed: Pull complete 04:52:30 339a4e72a1f5: Pull complete 04:52:30 988bab9f4d93: Pull complete 04:52:30 1469e6f7b9e6: Pull complete 04:52:30 eaf3925da568: Pull complete 04:52:32 bab4dde63d76: Pull complete 04:52:32 bde34c3a00c8: Pull complete 04:52:32 b352a97aabf1: Pull complete 04:52:32 4872d77fe225: Pull complete 04:52:32 5851b861e8e6: Pull complete 04:52:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:32 prd-ubuntu20.04-docker-8c-8g-6257 does not seem to be running inside a container 04:52:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-515 -v /w/workspace/_app-service-configurable_PR-515:/w/workspace/_app-service-configurable_PR-515:rw,z -v /w/workspace/_app-service-configurable_PR-515@tmp:/w/workspace/_app-service-configurable_PR-515@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 04:52:34 $ docker top bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc -eo pid,comm 04:52:34 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). 04:52:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:34 [ssh-agent] Looking for ssh-agent implementation... 04:52:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:34 $ docker exec bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc ssh-agent 04:52:34 SSH_AUTH_SOCK=/tmp/ssh-ouOZfDV4gX3s/agent.32 04:52:34 SSH_AGENT_PID=38 04:52:34 Running ssh-add (command line suppressed) 04:52:34 Identity added: /w/workspace/_app-service-configurable_PR-515@tmp/private_key_14382517322391355374.key (/w/workspace/_app-service-configurable_PR-515@tmp/private_key_14382517322391355374.key) 04:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:35 + git tag --points-at HEAD [Pipeline] } 04:52:35 $ docker exec --env ******** --env ******** bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc ssh-agent -k 04:52:35 unset SSH_AUTH_SOCK; 04:52:35 unset SSH_AGENT_PID; 04:52:35 echo Agent pid 38 killed; 04:52:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:35 [ssh-agent] Looking for ssh-agent implementation... 04:52:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:35 $ docker exec bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc ssh-agent 04:52:35 SSH_AUTH_SOCK=/tmp/ssh-xLFJp7JosYpg/agent.70 04:52:35 SSH_AGENT_PID=76 04:52:35 Running ssh-add (command line suppressed) 04:52:35 Identity added: /w/workspace/_app-service-configurable_PR-515@tmp/private_key_4250787896622989203.key (/w/workspace/_app-service-configurable_PR-515@tmp/private_key_4250787896622989203.key) 04:52:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:36 + git semver init 04:52:36 2023-02-16 04:52:36,192 [run_init] DEBUG init version:0.0.0 force:False 04:52:36 2023-02-16 04:52:36,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-515/.semver 04:52:36 2023-02-16 04:52:36,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-515/.semver 04:52:36 2023-02-16 04:52:36,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-515/.semver'], cwd=/w/workspace/_app-service-configurable_PR-515, universal_newlines=False, shell=None, istream=None) 04:52:37 2023-02-16 04:52:37,112 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-515/.git/info/exclude 04:52:37 2023-02-16 04:52:37,113 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-515/.semver/PR-515 with force:False 04:52:37 2023-02-16 04:52:37,113 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-515/.semver/PR-515 04:52:37 2023-02-16 04:52:37,116 [execute] INFO git cat-file --batch-check 04:52:37 2023-02-16 04:52:37,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-515/.semver, universal_newlines=False, shell=None, istream=) 04:52:37 2023-02-16 04:52:37,122 [execute] INFO git cat-file --batch 04:52:37 2023-02-16 04:52:37,123 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-515/.semver, universal_newlines=False, shell=None, istream=) 04:52:37 2023-02-16 04:52:37,128 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-515/.semver/PR-515 04:52:37 0.0.0 [Pipeline] } 04:52:37 $ docker exec --env ******** --env ******** bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc ssh-agent -k 04:52:37 unset SSH_AUTH_SOCK; 04:52:37 unset SSH_AGENT_PID; 04:52:37 echo Agent pid 76 killed; 04:52:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:37 + git semver [Pipeline] } 04:52:37 $ docker stop --time=1 bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc 04:52:39 $ docker rm -f --volumes bd56b4ffc804d1efbe45a527469df572a52474a7fb23348482e861127eb35bcc [Pipeline] // withDockerContainer [Pipeline] sh 04:52:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:39 Stashed 1 file(s) [Pipeline] echo 04:52:39 [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 04:52:39 provisioning config files... 04:52:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-515@tmp/config8074593658513803051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:40 ---> docker-login.sh 04:52:40 nexus3.edgexfoundry.org:10001 04:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:40 Configure a credential helper to remove this warning. See 04:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:40 04:52:40 Login Succeeded 04:52:40 nexus3.edgexfoundry.org:10002 04:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:40 Configure a credential helper to remove this warning. See 04:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:40 04:52:40 Login Succeeded 04:52:40 nexus3.edgexfoundry.org:10003 04:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:40 Configure a credential helper to remove this warning. See 04:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:40 04:52:40 Login Succeeded 04:52:40 nexus3.edgexfoundry.org:10004 04:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:40 Configure a credential helper to remove this warning. See 04:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:40 04:52:40 Login Succeeded 04:52:40 docker.io 04:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:40 Configure a credential helper to remove this warning. See 04:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:40 04:52:40 Login Succeeded 04:52:40 ---> docker-login.sh ends [Pipeline] } 04:52:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:40 ========================================================= 04:52:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:52:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:52:41 Sending build context to Docker daemon 3.211MB 04:52:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:52:41 Step 2/12 : FROM ${BASE} AS builder 04:52:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:41 213ec9aee27d: Pulling fs layer 04:52:41 4583459ba037: Pulling fs layer 04:52:41 93c1e223e6f2: Pulling fs layer 04:52:41 53926ce57604: Pulling fs layer 04:52:41 21b2b0c7a3f4: Pulling fs layer 04:52:41 22ff95d597cd: Pulling fs layer 04:52:41 12d6caf4c0d1: Pulling fs layer 04:52:41 96b7cbca73a9: Pulling fs layer 04:52:41 a7acece74701: Pulling fs layer 04:52:41 53926ce57604: Waiting 04:52:41 21b2b0c7a3f4: Waiting 04:52:41 96b7cbca73a9: Waiting 04:52:41 a7acece74701: Waiting 04:52:41 22ff95d597cd: Waiting 04:52:41 12d6caf4c0d1: Waiting 04:52:41 93c1e223e6f2: Verifying Checksum 04:52:41 93c1e223e6f2: Download complete 04:52:41 4583459ba037: Download complete 04:52:41 21b2b0c7a3f4: Download complete 04:52:41 22ff95d597cd: Verifying Checksum 04:52:41 22ff95d597cd: Download complete 04:52:41 213ec9aee27d: Verifying Checksum 04:52:41 213ec9aee27d: Download complete 04:52:41 213ec9aee27d: Pull complete 04:52:41 12d6caf4c0d1: Download complete 04:52:41 4583459ba037: Pull complete 04:52:41 93c1e223e6f2: Pull complete 04:52:43 53926ce57604: Verifying Checksum 04:52:43 53926ce57604: Download complete 04:52:43 a7acece74701: Verifying Checksum 04:52:43 a7acece74701: Download complete 04:52:43 96b7cbca73a9: Verifying Checksum 04:52:43 96b7cbca73a9: Download complete 04:52:46 53926ce57604: Pull complete 04:52:46 21b2b0c7a3f4: Pull complete 04:52:46 22ff95d597cd: Pull complete 04:52:46 12d6caf4c0d1: Pull complete 04:52:48 96b7cbca73a9: Pull complete 04:52:49 a7acece74701: Pull complete 04:52:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:52:49 ---> db6d94c90886 04:52:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:52:53 ---> Running in 14c388ba72ac 04:52:53 Removing intermediate container 14c388ba72ac 04:52:53 ---> a4fa3490862d 04:52:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:52:53 ---> Running in 03054a3a30d5 04:52:53 Removing intermediate container 03054a3a30d5 04:52:53 ---> 7d260258df68 04:52:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:52:53 ---> Running in 89bee71f2d63 04:52:53 Removing intermediate container 89bee71f2d63 04:52:53 ---> 7dcefab8b5b3 04:52:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:53 ---> Running in c2d3ba3d8538 04:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:52:54 OK: 211 MiB in 51 packages 04:52:54 Removing intermediate container c2d3ba3d8538 04:52:54 ---> 460de2772ac2 04:52:54 Step 7/12 : WORKDIR /app 04:52:54 ---> Running in a4bb843ef5b5 04:52:54 Still waiting to schedule task 04:52:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:52:55 Removing intermediate container a4bb843ef5b5 04:52:55 ---> 7e9b31e080e8 04:52:55 Step 8/12 : COPY go.mod vendor* ./ 04:52:55 ---> 63f0c3d86406 04:52:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:55 ---> Running in 93106e1bec42 04:53:27 Removing intermediate container 93106e1bec42 04:53:27 ---> 5d4ea4784d05 04:53:27 Step 10/12 : COPY . . 04:53:27 ---> 25fb24fbe171 04:53:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:53:27 ---> Running in 88561c15385f 04:53:27 Removing intermediate container 88561c15385f 04:53:27 ---> 9891bdc7c032 04:53:27 Step 12/12 : RUN $MAKE 04:53:27 ---> Running in 20e5e9b86be0 04:53:27 noop 04:53:27 Removing intermediate container 20e5e9b86be0 04:53:27 ---> db81b3430926 04:53:27 Successfully built db81b3430926 04:53:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:27 + docker inspect -f . ci-base-image-x86_64 04:53:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:27 prd-ubuntu20.04-docker-8c-8g-6257 does not seem to be running inside a container 04:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-515 -v /w/workspace/_app-service-configurable_PR-515:/w/workspace/_app-service-configurable_PR-515:rw,z -v /w/workspace/_app-service-configurable_PR-515@tmp:/w/workspace/_app-service-configurable_PR-515@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 04:53:27 $ docker top 840494049e0440386de46adf2f9c5515af542147400fa23e3b8c16917bee1f65 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:28 + go version 04:53:28 go version go1.18.7 linux/amd64 [Pipeline] } 04:53:28 $ docker stop --time=1 840494049e0440386de46adf2f9c5515af542147400fa23e3b8c16917bee1f65 04:53:29 $ docker rm -f --volumes 840494049e0440386de46adf2f9c5515af542147400fa23e3b8c16917bee1f65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:29 + docker inspect -f . ci-base-image-x86_64 04:53:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:30 prd-ubuntu20.04-docker-8c-8g-6257 does not seem to be running inside a container 04:53:30 $ 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-515 -v /w/workspace/_app-service-configurable_PR-515:/w/workspace/_app-service-configurable_PR-515:rw,z -v /w/workspace/_app-service-configurable_PR-515@tmp:/w/workspace/_app-service-configurable_PR-515@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 04:53:30 $ docker top fbf294e85023017ed4f45a9f0a67c5486cd1ab21d27a60bb6b3264d91eb1e3fe -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:30 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-515 [Pipeline] fileExists [Pipeline] sh 04:53:31 + make test 04:53:31 go test -race -coverprofile=coverage.out ./... 04:53:49 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:53:49 go vet ./... 04:53:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:53:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:53:57 ./bin/test-attribution-txt.sh 04:53:57 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:53:57 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:53:57 $ docker stop --time=1 fbf294e85023017ed4f45a9f0a67c5486cd1ab21d27a60bb6b3264d91eb1e3fe 04:54:00 $ docker rm -f --volumes fbf294e85023017ed4f45a9f0a67c5486cd1ab21d27a60bb6b3264d91eb1e3fe [Pipeline] // withDockerContainer [Pipeline] sh 04:54:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:54:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:01 + ls -al . 04:54:01 total 172 04:54:01 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 04:53 . 04:54:01 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:52 .. 04:54:01 -rw-rw-r-- 1 jenkins jenkins 119 Feb 16 04:52 .dockerignore 04:54:01 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 04:52 .git 04:54:01 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 04:52 .github 04:54:01 -rw-rw-r-- 1 jenkins jenkins 171 Feb 16 04:52 .gitignore 04:54:01 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 04:52 .semver 04:54:01 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 16 04:52 Attribution.txt 04:54:01 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 16 04:52 CHANGELOG.md 04:54:01 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 16 04:52 Dockerfile 04:54:01 -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 04:52 GOVERNANCE.md 04:54:01 -rw-rw-r-- 1 jenkins jenkins 688 Feb 16 04:52 Jenkinsfile 04:54:01 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 16 04:52 LICENSE 04:54:01 -rw-rw-r-- 1 jenkins jenkins 618 Feb 16 04:52 OWNERS.md 04:54:01 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 16 04:52 README.md 04:54:01 -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 04:52 VERSION 04:54:01 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 04:52 bin 04:54:01 -rw-r--r-- 1 jenkins jenkins 13 Feb 16 04:53 coverage.out 04:54:01 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 16 04:52 go.mod 04:54:01 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 16 04:52 go.sum 04:54:01 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 16 04:52 main.go 04:54:01 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 16 04:52 makefile 04:54:01 drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 04:52 res 04:54:01 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:01 + 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=f491455e01b282f044c961f4b65f7e4702ff0130 --label arch=amd64 --label version=0.0.0 . 04:54:01 Sending build context to Docker daemon 3.212MB 04:54:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:54:01 Step 2/26 : FROM ${BASE} AS builder 04:54:01 ---> db81b3430926 04:54:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:54:01 ---> Running in f0e7632b62a3 04:54:01 Removing intermediate container f0e7632b62a3 04:54:01 ---> 2de45994e347 04:54:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:54:01 ---> Running in 3235d930dd0d 04:54:02 Removing intermediate container 3235d930dd0d 04:54:02 ---> 2a923a7792ed 04:54:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:54:02 ---> Running in b7b44550d552 04:54:02 Removing intermediate container b7b44550d552 04:54:02 ---> d7f78aefbcb0 04:54:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:02 ---> Running in b98400a7de98 04:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:54:03 OK: 211 MiB in 51 packages 04:54:03 Removing intermediate container b98400a7de98 04:54:03 ---> 7c0ef4ed2556 04:54:03 Step 7/26 : WORKDIR /app 04:54:03 ---> Running in 4d71a278f3ef 04:54:03 Removing intermediate container 4d71a278f3ef 04:54:03 ---> 1df70d45a2f5 04:54:03 Step 8/26 : COPY go.mod vendor* ./ 04:54:03 ---> f1b5b18c3561 04:54:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:03 ---> Running in a8638ad8fefa 04:54:04 Removing intermediate container a8638ad8fefa 04:54:04 ---> 3845ff744723 04:54:04 Step 10/26 : COPY . . 04:54:04 ---> 32fa2dec3e79 04:54:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:04 ---> Running in 7d00e3420a62 04:54:04 Removing intermediate container 7d00e3420a62 04:54:04 ---> b89d7f8a2d59 04:54:04 Step 12/26 : RUN $MAKE 04:54:04 ---> Running in 57f021ea0732 04:54:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.29 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 04:54:23 Removing intermediate container 57f021ea0732 04:54:23 ---> 9e445088958e 04:54:23 Step 13/26 : FROM alpine:3.16 04:54:23 3.16: Pulling from library/alpine 04:54:23 ef5531b6e74e: Pulling fs layer 04:54:23 ef5531b6e74e: Verifying Checksum 04:54:23 ef5531b6e74e: Download complete 04:54:23 ef5531b6e74e: Pull complete 04:54:23 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:54:23 Status: Downloaded newer image for alpine:3.16 04:54:23 ---> dfd21b5a31f5 04:54:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:23 ---> Running in 2bd68c8b6a68 04:54:23 Removing intermediate container 2bd68c8b6a68 04:54:23 ---> 54d273308a11 04:54:23 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:54:23 ---> Running in ae2b9d77a6df 04:54:24 Removing intermediate container ae2b9d77a6df 04:54:24 ---> adb6bf5c79f3 04:54:24 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:54:24 ---> Running in 9431b8139adf 04:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:54:24 (1/2) Installing ca-certificates (20220614-r0) 04:54:24 (2/2) Installing dumb-init (1.2.5-r1) 04:54:24 Executing busybox-1.35.0-r17.trigger 04:54:24 Executing ca-certificates-20220614-r0.trigger 04:54:24 OK: 6 MiB in 16 packages 04:54:25 Removing intermediate container 9431b8139adf 04:54:25 ---> bba7ddd17aa0 04:54:25 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:54:25 ---> 170ca343da25 04:54:25 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:54:25 ---> 13f4fb5466a3 04:54:25 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:54:25 ---> 1d1374918819 04:54:25 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:54:26 ---> 0b0dec6aea3d 04:54:26 Step 21/26 : EXPOSE 48095 04:54:26 ---> Running in 42776fa532e4 04:54:26 Removing intermediate container 42776fa532e4 04:54:26 ---> 6428498f5b66 04:54:26 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:54:26 ---> Running in 4af6c848c5c4 04:54:26 Removing intermediate container 4af6c848c5c4 04:54:26 ---> 14c4bc7fe5d2 04:54:26 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:54:26 ---> Running in c2557257dc27 04:54:26 Removing intermediate container c2557257dc27 04:54:26 ---> f0ec0129c047 04:54:26 Step 24/26 : LABEL arch=amd64 04:54:27 ---> Running in dc1411546024 04:54:27 Removing intermediate container dc1411546024 04:54:27 ---> a99bd580816f 04:54:27 Step 25/26 : LABEL git_sha=f491455e01b282f044c961f4b65f7e4702ff0130 04:54:27 ---> Running in da0c49b09649 04:54:27 Removing intermediate container da0c49b09649 04:54:27 ---> 3ba1e98fda2f 04:54:27 Step 26/26 : LABEL version=0.0.0 04:54:27 ---> Running in 29ce0ecd4ac5 04:54:27 Removing intermediate container 29ce0ecd4ac5 04:54:27 ---> fb768ad66d00 04:54:27 [Warning] One or more build-args [ARCH] were not consumed 04:54:27 Successfully built fb768ad66d00 04:54:27 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 04:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:27 04:54:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:28 latest: Pulling from edgex-lftools-log-publisher 04:54:28 5eb5b503b376: Pulling fs layer 04:54:28 5c69ac0246d0: Pulling fs layer 04:54:28 ec43610c2a17: Pulling fs layer 04:54:28 3a2ae6a8a46f: Pulling fs layer 04:54:28 33b1e0a273af: Pulling fs layer 04:54:28 5d3b04190fa2: Pulling fs layer 04:54:28 2f39f015ded8: Pulling fs layer 04:54:28 3a2ae6a8a46f: Waiting 04:54:28 33b1e0a273af: Waiting 04:54:28 5d3b04190fa2: Waiting 04:54:28 2f39f015ded8: Waiting 04:54:28 5c69ac0246d0: Download complete 04:54:28 3a2ae6a8a46f: Download complete 04:54:28 33b1e0a273af: Verifying Checksum 04:54:28 33b1e0a273af: Download complete 04:54:28 5d3b04190fa2: Verifying Checksum 04:54:28 5d3b04190fa2: Download complete 04:54:28 ec43610c2a17: Verifying Checksum 04:54:28 5eb5b503b376: Verifying Checksum 04:54:28 5eb5b503b376: Download complete 04:54:29 2f39f015ded8: Verifying Checksum 04:54:29 2f39f015ded8: Download complete 04:54:29 5eb5b503b376: Pull complete 04:54:29 5c69ac0246d0: Pull complete 04:54:30 ec43610c2a17: Pull complete 04:54:30 3a2ae6a8a46f: Pull complete 04:54:30 33b1e0a273af: Pull complete 04:54:30 5d3b04190fa2: Pull complete 04:54:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6258 in /w/workspace/_app-service-configurable_PR-515 [Pipeline] { [Pipeline] ws 04:54:31 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 04:54:32 Selected Git installation does not exist. Using Default 04:54:32 The recommended git tool is: NONE 04:54:34 2f39f015ded8: Pull complete 04:54:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:34 prd-ubuntu20.04-docker-8c-8g-6257 does not seem to be running inside a container 04:54:34 $ 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-515 -v /w/workspace/_app-service-configurable_PR-515:/w/workspace/_app-service-configurable_PR-515:rw,z -v /w/workspace/_app-service-configurable_PR-515@tmp:/w/workspace/_app-service-configurable_PR-515@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 04:54:36 using credential edgex-jenkins-ssh 04:54:36 Cloning the remote Git repository 04:54:36 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:54:36 > git init /w/workspace/app-service-configurable/2 # timeout=10 04:54:37 $ docker top b71444399d4ab88f3c02f58adab988d5bd2d15ae03a1555dc550e369a66edbeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:37 > git --version # timeout=10 04:54:37 > git --version # 'git version 2.25.1' 04:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:38 ---> job-cost.sh 04:54:38 lf-activate-venv: SKIPPING 04:54:38 INFO: No Stack... 04:54:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:39 INFO: Archiving Costs [Pipeline] sh 04:54:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:39 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:54:39 + cat /w/workspace/_app-service-configurable_PR-515/archives/cost.csv 04:54:39 + cut -d, -f6 [Pipeline] lock 04:54:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] 04:54:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] did not exist. Created. 04:54:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:39 Merging remotes/origin/main commit 731cbe338f54dd8dac0167938734c2fced573176 into PR head commit ed1050ab7232a92da1b6fd4b15169768fe1cdff4 04:54:40 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:40 Stashed 1 file(s) [Pipeline] } 04:54:40 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:40 $ docker stop --time=1 b71444399d4ab88f3c02f58adab988d5bd2d15ae03a1555dc550e369a66edbeb 04:54:40 Merge succeeded, producing bc71e3564b47a46c3067e3b2ffe29459e57836e3 04:54:40 Checking out Revision bc71e3564b47a46c3067e3b2ffe29459e57836e3 (PR-515) 04:54:39 > git config core.sparsecheckout # timeout=10 04:54:39 > git checkout -f ed1050ab7232a92da1b6fd4b15169768fe1cdff4 # timeout=10 04:54:39 > git remote # timeout=10 04:54:39 > git config --get remote.origin.url # timeout=10 04:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:39 > git merge 731cbe338f54dd8dac0167938734c2fced573176 # timeout=10 04:54:40 > git rev-parse HEAD^{commit} # timeout=10 04:54:40 > git config core.sparsecheckout # timeout=10 04:54:40 > git checkout -f bc71e3564b47a46c3067e3b2ffe29459e57836e3 # timeout=10 04:54:41 $ docker rm -f --volumes b71444399d4ab88f3c02f58adab988d5bd2d15ae03a1555dc550e369a66edbeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:54:43 Commit message: "Merge commit '731cbe338f54dd8dac0167938734c2fced573176' into HEAD" 04:54:43 > git rev-list --no-walk ed1050ab7232a92da1b6fd4b15169768fe1cdff4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:44 Dload Upload Total Spent Left Speed 04:54:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10501 0 0 88991 0 --:--:-- --:--:-- --:--:-- 88243 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 04:54:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:54:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:54:45 + sudo tee /etc/docker/daemon.new 04:54:45 { 04:54:45 "registry-mirrors": [ 04:54:45 "https://nexus3.edgexfoundry.org:10001" 04:54:45 ], 04:54:45 "bip": "10.250.0.254/24", 04:54:45 "hosts": [ 04:54:45 "tcp://0.0.0.0:5555", 04:54:45 "unix:///var/run/docker.sock" 04:54:45 ], 04:54:45 "mtu": 1458, 04:54:45 "selinux-enabled": true, 04:54:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:54:45 } [Pipeline] sh 04:54:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:54:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:04 provisioning config files... 04:55:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config2012013124455507527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:04 ---> docker-login.sh 04:55:04 nexus3.edgexfoundry.org:10001 04:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:05 Configure a credential helper to remove this warning. See 04:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:05 04:55:05 Login Succeeded 04:55:05 nexus3.edgexfoundry.org:10002 04:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:05 Configure a credential helper to remove this warning. See 04:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:05 04:55:05 Login Succeeded 04:55:05 nexus3.edgexfoundry.org:10003 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 nexus3.edgexfoundry.org:10004 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 docker.io 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:07 Configure a credential helper to remove this warning. See 04:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:07 04:55:07 Login Succeeded 04:55:07 ---> docker-login.sh ends [Pipeline] } 04:55:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:07 ========================================================= 04:55:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:55:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:55:07 Sending build context to Docker daemon 178.2kB 04:55:08 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:55:08 Step 2/12 : FROM ${BASE} AS builder 04:55:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:08 9b18e9b68314: Pulling fs layer 04:55:08 35d82f9e3411: Pulling fs layer 04:55:08 e16973657156: Pulling fs layer 04:55:08 fc693d55d65f: Pulling fs layer 04:55:08 7e9fc2657dce: Pulling fs layer 04:55:08 dda99020689f: Pulling fs layer 04:55:08 db1c61fa0a46: Pulling fs layer 04:55:08 891c053d2c06: Pulling fs layer 04:55:08 fc693d55d65f: Waiting 04:55:08 7e9fc2657dce: Waiting 04:55:08 dda99020689f: Waiting 04:55:08 db1c61fa0a46: Waiting 04:55:08 891c053d2c06: Waiting 04:55:08 e16973657156: Download complete 04:55:08 35d82f9e3411: Download complete 04:55:08 7e9fc2657dce: Verifying Checksum 04:55:08 7e9fc2657dce: Download complete 04:55:08 dda99020689f: Download complete 04:55:08 9b18e9b68314: Verifying Checksum 04:55:08 9b18e9b68314: Download complete 04:55:09 9b18e9b68314: Pull complete 04:55:09 891c053d2c06: Verifying Checksum 04:55:09 891c053d2c06: Download complete 04:55:10 35d82f9e3411: Pull complete 04:55:10 e16973657156: Pull complete 04:55:11 db1c61fa0a46: Verifying Checksum 04:55:11 db1c61fa0a46: Download complete 04:55:12 fc693d55d65f: Verifying Checksum 04:55:12 fc693d55d65f: Download complete 04:55:24 fc693d55d65f: Pull complete 04:55:24 7e9fc2657dce: Pull complete 04:55:24 dda99020689f: Pull complete 04:55:29 db1c61fa0a46: Pull complete 04:55:31 891c053d2c06: Pull complete 04:55:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:55:31 ---> f96f9c87975a 04:55:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:33 ---> Running in 1ce060f4ddfa 04:55:33 Removing intermediate container 1ce060f4ddfa 04:55:33 ---> 88d34e5a4edf 04:55:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:33 ---> Running in 44c962812f76 04:55:33 Removing intermediate container 44c962812f76 04:55:33 ---> 0c72fc71f7e8 04:55:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:33 ---> Running in dd63f3177e72 04:55:33 Removing intermediate container dd63f3177e72 04:55:33 ---> fa34cb543d7b 04:55:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:34 ---> Running in 9c20dc0b5ffa 04:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:55:36 OK: 221 MiB in 51 packages 04:55:37 Removing intermediate container 9c20dc0b5ffa 04:55:37 ---> b17d3465cfc7 04:55:37 Step 7/12 : WORKDIR /app 04:55:37 ---> Running in dac43b76b51f 04:55:37 Removing intermediate container dac43b76b51f 04:55:37 ---> 42e034198afe 04:55:37 Step 8/12 : COPY go.mod vendor* ./ 04:55:38 ---> ff641abff37f 04:55:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:38 ---> Running in 82b0b35cf895 04:56:46 Removing intermediate container 82b0b35cf895 04:56:46 ---> ec27db26f393 04:56:46 Step 10/12 : COPY . . 04:56:46 ---> 0c2dc458b246 04:56:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:46 ---> Running in e8da03e99d43 04:56:46 Removing intermediate container e8da03e99d43 04:56:46 ---> 5c645d985103 04:56:46 Step 12/12 : RUN $MAKE 04:56:46 ---> Running in db4bc322ce05 04:56:46 noop 04:56:46 Removing intermediate container db4bc322ce05 04:56:46 ---> d4654fbaa721 04:56:46 Successfully built d4654fbaa721 04:56:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:46 + docker inspect -f . ci-base-image-arm64 04:56:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:46 prd-ubuntu20.04-docker-arm64-4c-16g-6258 does not seem to be running inside a container 04:56:46 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:56:47 $ docker top d0ab2383cd68aa0c31391e4d107657c0e07aef8daf9c0cf08fd45443733e2ac0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:48 + go version 04:56:48 go version go1.18.7 linux/arm64 [Pipeline] } 04:56:48 $ docker stop --time=1 d0ab2383cd68aa0c31391e4d107657c0e07aef8daf9c0cf08fd45443733e2ac0 04:56:50 $ docker rm -f --volumes d0ab2383cd68aa0c31391e4d107657c0e07aef8daf9c0cf08fd45443733e2ac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:50 + docker inspect -f . ci-base-image-arm64 04:56:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:51 prd-ubuntu20.04-docker-arm64-4c-16g-6258 does not seem to be running inside a container 04:56:51 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:56:52 $ docker top d5a439748cff0356bbe5ec5118e81500d02836c16cbdd204f38f544325161751 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:53 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 04:56:53 + make test 04:56:53 go test -race -coverprofile=coverage.out ./... 04:59:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:59:02 go vet ./... 05:00:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:23 ./bin/test-attribution-txt.sh 05:00:23 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 05:00:23 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 05:00:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:23 $ docker stop --time=1 d5a439748cff0356bbe5ec5118e81500d02836c16cbdd204f38f544325161751 05:00:25 $ docker rm -f --volumes d5a439748cff0356bbe5ec5118e81500d02836c16cbdd204f38f544325161751 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:26 Warning: overwriting stash ‘coverage-report’ 05:00:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:27 + ls -al . 05:00:27 total 168 05:00:27 drwxrwxr-x 7 jenkins jenkins 4096 Feb 16 04:56 . 05:00:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:54 .. 05:00:27 -rw-rw-r-- 1 jenkins jenkins 119 Feb 16 04:54 .dockerignore 05:00:27 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 04:54 .git 05:00:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 04:54 .github 05:00:27 -rw-rw-r-- 1 jenkins jenkins 171 Feb 16 04:54 .gitignore 05:00:27 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 16 04:54 Attribution.txt 05:00:27 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 16 04:54 CHANGELOG.md 05:00:27 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 16 04:54 Dockerfile 05:00:27 -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 04:54 GOVERNANCE.md 05:00:27 -rw-rw-r-- 1 jenkins jenkins 688 Feb 16 04:54 Jenkinsfile 05:00:27 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 16 04:54 LICENSE 05:00:27 -rw-rw-r-- 1 jenkins jenkins 618 Feb 16 04:54 OWNERS.md 05:00:27 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 16 04:54 README.md 05:00:27 -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 04:52 VERSION 05:00:27 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 04:54 bin 05:00:27 -rw-r--r-- 1 jenkins jenkins 13 Feb 16 04:56 coverage.out 05:00:27 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 16 04:54 go.mod 05:00:27 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 16 04:54 go.sum 05:00:27 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 16 04:54 main.go 05:00:27 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 16 04:54 makefile 05:00:27 drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 04:54 res 05:00:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:28 + 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=bc71e3564b47a46c3067e3b2ffe29459e57836e3 --label arch=arm64 --label version=0.0.0 . 05:00:28 Sending build context to Docker daemon 179.2kB 05:00:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:00:28 Step 2/26 : FROM ${BASE} AS builder 05:00:28 ---> d4654fbaa721 05:00:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:00:28 ---> Running in ed662454e9e5 05:00:28 Removing intermediate container ed662454e9e5 05:00:28 ---> 911e535d02d7 05:00:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:00:28 ---> Running in 1ca48d7d68b9 05:00:29 Removing intermediate container 1ca48d7d68b9 05:00:29 ---> e79fc504e738 05:00:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:00:29 ---> Running in 93d729ef46e4 05:00:29 Removing intermediate container 93d729ef46e4 05:00:29 ---> 8529d9dbd7b6 05:00:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:00:29 ---> Running in 9eed4b5dba17 05:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:00:31 OK: 221 MiB in 51 packages 05:00:32 Removing intermediate container 9eed4b5dba17 05:00:32 ---> 8cf1259485c5 05:00:32 Step 7/26 : WORKDIR /app 05:00:32 ---> Running in 17ea4b5b000c 05:00:33 Removing intermediate container 17ea4b5b000c 05:00:33 ---> 6213e3544e61 05:00:33 Step 8/26 : COPY go.mod vendor* ./ 05:00:33 ---> a4f4fa40aece 05:00:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:33 ---> Running in 459d000d9f85 05:00:36 Removing intermediate container 459d000d9f85 05:00:36 ---> 1817cf121e4e 05:00:36 Step 10/26 : COPY . . 05:00:36 ---> 8ca702e1343d 05:00:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:00:36 ---> Running in fd7d57239f38 05:00:37 Removing intermediate container fd7d57239f38 05:00:37 ---> 337983021f11 05:00:37 Step 12/26 : RUN $MAKE 05:00:37 ---> Running in fdab80aab19d 05:00:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.29 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:02:44 Removing intermediate container fdab80aab19d 05:02:44 ---> 2fa8f706fa76 05:02:44 Step 13/26 : FROM alpine:3.16 05:02:44 3.16: Pulling from library/alpine 05:02:44 3760b48202b3: Pulling fs layer 05:02:44 3760b48202b3: Verifying Checksum 05:02:44 3760b48202b3: Download complete 05:02:44 3760b48202b3: Pull complete 05:02:44 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:02:44 Status: Downloaded newer image for alpine:3.16 05:02:44 ---> 4c81e5bf8899 05:02:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:02:44 ---> Running in af1f6f092886 05:02:44 Removing intermediate container af1f6f092886 05:02:44 ---> 4e9f8496913e 05:02:44 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:02:44 ---> Running in cb61c7dce55c 05:02:44 Removing intermediate container cb61c7dce55c 05:02:44 ---> 91af5647b518 05:02:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:02:44 ---> Running in 1fa6c4d3db72 05:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:02:44 (1/2) Installing ca-certificates (20220614-r0) 05:02:44 (2/2) Installing dumb-init (1.2.5-r1) 05:02:44 Executing busybox-1.35.0-r17.trigger 05:02:44 Executing ca-certificates-20220614-r0.trigger 05:02:44 OK: 6 MiB in 16 packages 05:02:44 Removing intermediate container 1fa6c4d3db72 05:02:44 ---> bd8bb3f47608 05:02:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:02:44 ---> a763007ea926 05:02:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:02:44 ---> 12071528392c 05:02:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:02:44 ---> 5c9abaa9f822 05:02:44 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:02:44 ---> b49a11bec13d 05:02:44 Step 21/26 : EXPOSE 48095 05:02:44 ---> Running in 397ef64f8fad 05:02:44 Removing intermediate container 397ef64f8fad 05:02:44 ---> ec4e0944a66a 05:02:44 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:02:44 ---> Running in ddd39854ce39 05:02:44 Removing intermediate container ddd39854ce39 05:02:44 ---> da5f020a43fc 05:02:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:02:44 ---> Running in 3e62fadcb0c9 05:02:44 Removing intermediate container 3e62fadcb0c9 05:02:44 ---> 0dc6affc5c5c 05:02:44 Step 24/26 : LABEL arch=arm64 05:02:44 ---> Running in 33c6aa0607a0 05:02:44 Removing intermediate container 33c6aa0607a0 05:02:44 ---> 0211854f24ec 05:02:44 Step 25/26 : LABEL git_sha=bc71e3564b47a46c3067e3b2ffe29459e57836e3 05:02:44 ---> Running in b4d56b2ed537 05:02:44 Removing intermediate container b4d56b2ed537 05:02:44 ---> 53a23ef00782 05:02:44 Step 26/26 : LABEL version=0.0.0 05:02:44 ---> Running in 2c525b2147d5 05:02:44 Removing intermediate container 2c525b2147d5 05:02:44 ---> 282fbb9c7a87 05:02:44 [Warning] One or more build-args [ARCH] were not consumed 05:02:44 Successfully built 282fbb9c7a87 05:02:44 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 05:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:45 05:02:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:45 arm64: Pulling from edgex-lftools-log-publisher 05:02:45 8998bd30e6a1: Pulling fs layer 05:02:45 04944245beec: Pulling fs layer 05:02:45 699f458cf7ca: Pulling fs layer 05:02:45 765212b225bb: Pulling fs layer 05:02:45 f23df028b6ca: Pulling fs layer 05:02:45 d65c8cfc05b1: Pulling fs layer 05:02:45 2437ff75d9bd: Pulling fs layer 05:02:45 f23df028b6ca: Waiting 05:02:45 2437ff75d9bd: Waiting 05:02:45 d65c8cfc05b1: Waiting 05:02:45 765212b225bb: Waiting 05:02:46 04944245beec: Verifying Checksum 05:02:46 04944245beec: Download complete 05:02:46 765212b225bb: Download complete 05:02:46 f23df028b6ca: Verifying Checksum 05:02:46 f23df028b6ca: Download complete 05:02:46 d65c8cfc05b1: Verifying Checksum 05:02:46 d65c8cfc05b1: Download complete 05:02:46 699f458cf7ca: Verifying Checksum 05:02:46 699f458cf7ca: Download complete 05:02:46 8998bd30e6a1: Verifying Checksum 05:02:46 8998bd30e6a1: Download complete 05:02:49 2437ff75d9bd: Verifying Checksum 05:02:49 2437ff75d9bd: Download complete 05:02:50 8998bd30e6a1: Pull complete 05:02:51 04944245beec: Pull complete 05:02:52 699f458cf7ca: Pull complete 05:02:52 765212b225bb: Pull complete 05:02:53 f23df028b6ca: Pull complete 05:02:53 d65c8cfc05b1: Pull complete 05:03:08 2437ff75d9bd: Pull complete 05:03:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:03:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:08 prd-ubuntu20.04-docker-arm64-4c-16g-6258 does not seem to be running inside a container 05:03:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:03:11 $ docker top e264adb469a6cf37042ae96f92fac04b333d9a906d9a40a1d52d3fc0ff614637 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:11 ---> job-cost.sh 05:03:11 lf-activate-venv: SKIPPING 05:03:11 INFO: No Stack... 05:03:13 INFO: Retrieving Pricing Info for: v3-standard-4 05:03:14 INFO: Archiving Costs [Pipeline] sh 05:03:14 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 05:03:14 + cut -d, -f6 [Pipeline] lock 05:03:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] 05:03:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] did not exist. Created. 05:03:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:15 /w/workspace/app-service-configurable/2@tmp/durable-9dbe6a4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:03:15 + echo total: 0.10999999940395355 [Pipeline] stash 05:03:15 Warning: overwriting stash ‘stack-cost’ 05:03:15 Stashed 1 file(s) [Pipeline] } 05:03:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-515-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:15 $ docker stop --time=1 e264adb469a6cf37042ae96f92fac04b333d9a906d9a40a1d52d3fc0ff614637 05:03:17 $ docker rm -f --volumes e264adb469a6cf37042ae96f92fac04b333d9a906d9a40a1d52d3fc0ff614637 [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 05:03:17 provisioning config files... 05:03:17 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-515@tmp/config16134880570427506349tmp [Pipeline] { [Pipeline] sh 05:03:17 + set +x 05:03:17 + curl -s https://codecov.io/bash 05:03:17 + bash -s -- 05:03:17 05:03:17 _____ _ 05:03:17 / ____| | | 05:03:17 | | ___ __| | ___ ___ _____ __ 05:03:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:03:17 | |___| (_) | (_| | __/ (_| (_) \ V / 05:03:17 \_____\___/ \__,_|\___|\___\___/ \_/ 05:03:17 Bash-1.0.6 05:03:17 05:03:17 05:03:17 ==> git version 2.25.1 found 05:03:17 ==> 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 05:03:17 Release-Date: 2020-01-08 05:03:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:03:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:03:17 ==> Jenkins CI detected. 05:03:17 current dir:  /w/workspace/_app-service-configurable_PR-515 05:03:17 project root: . 05:03:17 --> token set from env 05:03:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:03:17 ==> Running gcov in . (disable via -X gcov) 05:03:17 ==> Python coveragepy not found 05:03:17 ==> Searching for coverage reports in: 05:03:17 + . 05:03:17 -> Found 1 reports 05:03:17 ==> Detecting git/mercurial file structure 05:03:17 ==> Reading reports 05:03:17 + ./coverage.out bytes=13 05:03:17 ==> Appending adjustments 05:03:17 https://docs.codecov.io/docs/fixing-reports 05:03:17 + Found adjustments 05:03:17 ==> Gzipping contents 05:03:17 4.0K /tmp/codecov.CM4lGP.gz 05:03:17 ==> Uploading reports 05:03:17 url: https://codecov.io 05:03:17 query: branch=PR-515&commit=f491455e01b282f044c961f4b65f7e4702ff0130&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-515%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=515&job=&cmd_args= 05:03:17 -> Pinging Codecov 05:03:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-515&commit=f491455e01b282f044c961f4b65f7e4702ff0130&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-515%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=515&job=&cmd_args= 05:03:18 -> Uploading to 05:03:18 https://storage.googleapis.com/codecov/v4/raw/2023-02-16/A97CA9966030D2A3747ED39772930CCE/f491455e01b282f044c961f4b65f7e4702ff0130/b49d7c7c-17ad-4771-b588-d778268a0246.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T050317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69807f1661f15db6b0f17a55af7a25fc323c00428f5ed9dadda6cc5237b17837 05:03:18 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:18 Dload Upload Total Spent Left Speed 05:03:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1850 --:--:-- --:--:-- --:--:-- 1850 05:03:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/f491455e01b282f044c961f4b65f7e4702ff0130 [Pipeline] } 05:03:18 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 05:03:19 + [ -d /w/workspace/_app-service-configurable_PR-515/archives ] 05:03:19 + ls -al /w/workspace/_app-service-configurable_PR-515/archives 05:03:19 total 16 05:03:19 drwxr-xr-x 3 root root 4096 Feb 16 04:54 . 05:03:19 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 04:54 .. 05:03:19 drwxr-xr-x 2 root root 4096 Feb 16 04:54 cost 05:03:19 -rw-r--r-- 1 root root 96 Feb 16 04:54 cost.csv 05:03:19 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-515/archives 05:03:19 + ls -al /w/workspace/_app-service-configurable_PR-515/archives 05:03:19 total 16 05:03:19 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 04:54 . 05:03:19 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 04:54 .. 05:03:19 drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 04:54 cost 05:03:19 -rw-r--r-- 1 jenkins jenkins 96 Feb 16 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:03:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:03:20 ---> package-listing.sh 05:03:20 ++ facter osfamily 05:03:20 ++ tr '[:upper:]' '[:lower:]' 05:03:20 + OS_FAMILY=debian 05:03:20 + workspace=/w/workspace/_app-service-configurable_PR-515 05:03:20 + START_PACKAGES=/tmp/packages_start.txt 05:03:20 + END_PACKAGES=/tmp/packages_end.txt 05:03:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:03:20 + PACKAGES=/tmp/packages_start.txt 05:03:20 + '[' /w/workspace/_app-service-configurable_PR-515 ']' 05:03:20 + PACKAGES=/tmp/packages_end.txt 05:03:20 + case "${OS_FAMILY}" in 05:03:20 + dpkg -l 05:03:20 + grep '^ii' 05:03:20 + '[' -f /tmp/packages_start.txt ']' 05:03:20 + '[' -f /tmp/packages_end.txt ']' 05:03:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:03:20 + '[' /w/workspace/_app-service-configurable_PR-515 ']' 05:03:20 + mkdir -p /w/workspace/_app-service-configurable_PR-515/archives/ 05:03:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-515/archives/ [Pipeline] echo 05:03:20 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-515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:03:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:21 prd-ubuntu20.04-docker-8c-8g-6257 does not seem to be running inside a container 05:03:21 $ 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-515/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-515 -v /w/workspace/_app-service-configurable_PR-515:/w/workspace/_app-service-configurable_PR-515:rw,z -v /w/workspace/_app-service-configurable_PR-515@tmp:/w/workspace/_app-service-configurable_PR-515@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 05:03:21 $ docker top 522dd39af596d989908119aaf6f3081b972d2b6bf91160725ad9271a440826d6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:22 + touch /tmp/pre-build-complete [Pipeline] sh 05:03:22 + mkdir -p /var/log/sysstat [Pipeline] sh 05:03:22 + ls /var/log/sa-host 05:03:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:22 provisioning config files... 05:03:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-515@tmp/config14868839648635259616tmp [Pipeline] { [Pipeline] echo 05:03:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:03:23 ---> create-netrc.sh [Pipeline] } 05:03:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:03:23 ---> python-tools-install.sh [Pipeline] echo 05:03:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:03:23 ---> sudo-logs.sh 05:03:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:03:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:03:24 ---> job-cost.sh 05:03:24 lf-activate-venv: SKIPPING 05:03:24 DEBUG: total: 0.2199999988079071 05:03:24 INFO: Retrieving Stack Cost... 05:03:24 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:24 INFO: Archiving Costs [Pipeline] echo 05:03:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:03:25 ---> logs-deploy.sh 05:03:25 lf-activate-venv: SKIPPING 05:03:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-515/2 05:03:25 INFO: archiving workspace using pattern(s): 05:03:26 Archives upload complete. 05:03:26 INFO: archiving logs to Nexus