Pull request #574 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a260da5722bd66c01b40221d5335c25ea966f43+93d90b48a51af33a455c91ffa40f40acde6e8968 (fc754f657a5877c5872ad08119cd75212f255fcd) 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-ssh1088051603702815959.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15045247924682765010.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11472781501317029593.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2760543839589221760.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15508038160217410077.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-574/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-574/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12795297424423012465.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1532 in /w/workspace/_app-service-configurable_PR-574 [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-574 # 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/574/head:refs/remotes/origin/PR-574 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93d90b48a51af33a455c91ffa40f40acde6e8968 into PR head commit 4a260da5722bd66c01b40221d5335c25ea966f43 Merge succeeded, producing 4a260da5722bd66c01b40221d5335c25ea966f43 Checking out Revision 4a260da5722bd66c01b40221d5335c25ea966f43 (PR-574) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:57:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4a260da5722bd66c01b40221d5335c25ea966f43 # 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 93d90b48a51af33a455c91ffa40f40acde6e8968 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a260da5722bd66c01b40221d5335c25ea966f43 # timeout=10 [Pipeline] withCredentials 12:57:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:57:44 ========================================================= 12:57:44 EdgeX Global Pipelines Version Info 12:57:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:57:45 ------------------- 12:57:45 stable info: 12:57:45 ------------------- 12:57:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:57:45 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:57:45 Message: update stable to v1.0.250 12:57:45 ------------------- 12:57:45 experimental info: 12:57:45 ------------------- 12:57:45 Commited By: **** collab-it+edgex@linuxfoundation.org 12:57:45 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:57:45 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:57:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-574 [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-574 [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-574 [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a260da5722bd66c01b40221d5335c25ea966f43 [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a260da [Pipeline] echo 12:57:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:57:47 provisioning config files... 12:57:47 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-574@tmp/config17901564359087278895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:57:47 ---> docker-login.sh 12:57:47 nexus3.edgexfoundry.org:10001 12:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:48 Configure a credential helper to remove this warning. See 12:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:48 12:57:48 Login Succeeded 12:57:48 nexus3.edgexfoundry.org:10002 12:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:48 Configure a credential helper to remove this warning. See 12:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:48 12:57:48 Login Succeeded 12:57:48 nexus3.edgexfoundry.org:10003 12:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:48 Configure a credential helper to remove this warning. See 12:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:48 12:57:48 Login Succeeded 12:57:48 nexus3.edgexfoundry.org:10004 12:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:48 Configure a credential helper to remove this warning. See 12:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:48 12:57:48 Login Succeeded 12:57:48 docker.io 12:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:49 Configure a credential helper to remove this warning. See 12:57:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:49 12:57:49 Login Succeeded 12:57:49 ---> docker-login.sh ends [Pipeline] } 12:57:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:57:49 + git rev-list -1 --merges 4a260da5722bd66c01b40221d5335c25ea966f43~1..4a260da5722bd66c01b40221d5335c25ea966f43 [Pipeline] echo 12:57:49 -----------> git rev-list -1 --merges 4a260da5722bd66c01b40221d5335c25ea966f43~1..4a260da5722bd66c01b40221d5335c25ea966f43 4a260da5722bd66c01b40221d5335c25ea966f43 [false] [Pipeline] sh 12:57:50 + git log --format=format:%s -1 4a260da5722bd66c01b40221d5335c25ea966f43 [Pipeline] echo 12:57:50 ========================================================= 12:57:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:57:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:50 + git log --format=format:%s -1 4a260da5722bd66c01b40221d5335c25ea966f43 [Pipeline] echo 12:57:50 [semverPrep] GIT_COMMIT: 4a260da5722bd66c01b40221d5335c25ea966f43, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:57:50 [semverPrep] This is not a build commit. [Pipeline] sh 12:57:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:57:51 + grep -v github /etc/ssh/ssh_known_hosts 12:57:51 + [ -e /tmp/ssh_known_hosts ] 12:57:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:57:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:57:51 + sudo tee -a /etc/ssh/ssh_known_hosts 12:57:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:57:51 12:57:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:57:52 0.1.4: Pulling from edgex-devops/py-git-semver 12:57:52 b85a868b505f: Pulling fs layer 12:57:52 e2be974225ed: Pulling fs layer 12:57:52 339a4e72a1f5: Pulling fs layer 12:57:52 988bab9f4d93: Pulling fs layer 12:57:52 1469e6f7b9e6: Pulling fs layer 12:57:52 eaf3925da568: Pulling fs layer 12:57:52 bab4dde63d76: Pulling fs layer 12:57:52 bde34c3a00c8: Pulling fs layer 12:57:52 b352a97aabf1: Pulling fs layer 12:57:52 4872d77fe225: Pulling fs layer 12:57:52 5851b861e8e6: Pulling fs layer 12:57:52 1469e6f7b9e6: Waiting 12:57:52 eaf3925da568: Waiting 12:57:52 bab4dde63d76: Waiting 12:57:52 bde34c3a00c8: Waiting 12:57:52 b352a97aabf1: Waiting 12:57:52 4872d77fe225: Waiting 12:57:52 5851b861e8e6: Waiting 12:57:52 988bab9f4d93: Waiting 12:57:52 e2be974225ed: Verifying Checksum 12:57:52 988bab9f4d93: Verifying Checksum 12:57:52 988bab9f4d93: Download complete 12:57:52 1469e6f7b9e6: Verifying Checksum 12:57:52 1469e6f7b9e6: Download complete 12:57:52 eaf3925da568: Verifying Checksum 12:57:52 eaf3925da568: Download complete 12:57:52 339a4e72a1f5: Verifying Checksum 12:57:52 339a4e72a1f5: Download complete 12:57:52 bde34c3a00c8: Verifying Checksum 12:57:52 bde34c3a00c8: Download complete 12:57:52 b352a97aabf1: Download complete 12:57:52 4872d77fe225: Verifying Checksum 12:57:52 4872d77fe225: Download complete 12:57:52 5851b861e8e6: Verifying Checksum 12:57:52 5851b861e8e6: Download complete 12:57:52 b85a868b505f: Verifying Checksum 12:57:52 b85a868b505f: Download complete 12:57:52 bab4dde63d76: Verifying Checksum 12:57:52 bab4dde63d76: Download complete 12:57:53 b85a868b505f: Pull complete 12:57:53 e2be974225ed: Pull complete 12:57:54 339a4e72a1f5: Pull complete 12:57:54 988bab9f4d93: Pull complete 12:57:54 1469e6f7b9e6: Pull complete 12:57:54 eaf3925da568: Pull complete 12:57:56 bab4dde63d76: Pull complete 12:57:56 bde34c3a00c8: Pull complete 12:57:56 b352a97aabf1: Pull complete 12:57:56 4872d77fe225: Pull complete 12:57:56 5851b861e8e6: Pull complete 12:57:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:57:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:57:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:57 prd-ubuntu20.04-docker-8c-8g-1532 does not seem to be running inside a container 12:57:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-574 -v /w/workspace/_app-service-configurable_PR-574:/w/workspace/_app-service-configurable_PR-574:rw,z -v /w/workspace/_app-service-configurable_PR-574@tmp:/w/workspace/_app-service-configurable_PR-574@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:57:59 $ docker top 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 -eo pid,comm 12:57:59 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). 12:57:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:57:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:57:59 [ssh-agent] Looking for ssh-agent implementation... 12:58:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:00 $ docker exec 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 ssh-agent 12:58:00 SSH_AUTH_SOCK=/tmp/ssh-Cx2aOvvNQVwv/agent.32 12:58:00 SSH_AGENT_PID=39 12:58:00 Running ssh-add (command line suppressed) 12:58:00 Identity added: /w/workspace/_app-service-configurable_PR-574@tmp/private_key_14051867460108106691.key (/w/workspace/_app-service-configurable_PR-574@tmp/private_key_14051867460108106691.key) 12:58:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:00 + git tag --points-at HEAD [Pipeline] } 12:58:00 $ docker exec --env ******** --env ******** 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 ssh-agent -k 12:58:00 unset SSH_AUTH_SOCK; 12:58:00 unset SSH_AGENT_PID; 12:58:00 echo Agent pid 39 killed; 12:58:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:00 [ssh-agent] Looking for ssh-agent implementation... 12:58:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:01 $ docker exec 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 ssh-agent 12:58:01 SSH_AUTH_SOCK=/tmp/ssh-feTo7FYrVB7W/agent.71 12:58:01 SSH_AGENT_PID=77 12:58:01 Running ssh-add (command line suppressed) 12:58:01 Identity added: /w/workspace/_app-service-configurable_PR-574@tmp/private_key_8711223783873031196.key (/w/workspace/_app-service-configurable_PR-574@tmp/private_key_8711223783873031196.key) 12:58:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:01 + git semver init 12:58:01 2023-07-19 12:58:01,806 [run_init] DEBUG init version:0.0.0 force:False 12:58:01 2023-07-19 12:58:01,806 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-574/.semver 12:58:01 2023-07-19 12:58:01,807 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-574/.semver 12:58:01 2023-07-19 12:58:01,807 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-574/.semver'], cwd=/w/workspace/_app-service-configurable_PR-574, universal_newlines=False, shell=None, istream=None) 12:58:02 2023-07-19 12:58:02,693 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-574/.git/info/exclude 12:58:02 2023-07-19 12:58:02,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-574/.semver/PR-574 with force:False 12:58:02 2023-07-19 12:58:02,694 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-574/.semver/PR-574 12:58:02 2023-07-19 12:58:02,698 [execute] INFO git cat-file --batch-check 12:58:02 2023-07-19 12:58:02,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-574/.semver, universal_newlines=False, shell=None, istream=) 12:58:02 2023-07-19 12:58:02,704 [execute] INFO git cat-file --batch 12:58:02 2023-07-19 12:58:02,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-574/.semver, universal_newlines=False, shell=None, istream=) 12:58:02 2023-07-19 12:58:02,709 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-574/.semver/PR-574 12:58:02 0.0.0 [Pipeline] } 12:58:02 $ docker exec --env ******** --env ******** 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 ssh-agent -k 12:58:02 unset SSH_AUTH_SOCK; 12:58:02 unset SSH_AGENT_PID; 12:58:02 echo Agent pid 77 killed; 12:58:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:03 + git semver [Pipeline] } 12:58:03 $ docker stop --time=1 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 12:58:05 $ docker rm -f --volumes 12a7ec6de58cefa0a8f750aa9fec5eb081227c895fb439db620a72be0ebb1ab7 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:05 Stashed 1 file(s) [Pipeline] echo 12:58:05 [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 12:58:06 provisioning config files... 12:58:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-574@tmp/config13630770974985180763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:06 ---> docker-login.sh 12:58:06 nexus3.edgexfoundry.org:10001 12:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:06 Configure a credential helper to remove this warning. See 12:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:06 12:58:06 Login Succeeded 12:58:06 nexus3.edgexfoundry.org:10002 12:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:06 Configure a credential helper to remove this warning. See 12:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:06 12:58:06 Login Succeeded 12:58:06 nexus3.edgexfoundry.org:10003 12:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:06 Configure a credential helper to remove this warning. See 12:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:06 12:58:06 Login Succeeded 12:58:06 nexus3.edgexfoundry.org:10004 12:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:06 Configure a credential helper to remove this warning. See 12:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:06 12:58:06 Login Succeeded 12:58:06 docker.io 12:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:07 Configure a credential helper to remove this warning. See 12:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:07 12:58:07 Login Succeeded 12:58:07 ---> docker-login.sh ends [Pipeline] } 12:58:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:07 ========================================================= 12:58:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:07 Sending build context to Docker daemon 3.304MB 12:58:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:07 Step 2/12 : FROM ${BASE} AS builder 12:58:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:07 4db1b89c0bd1: Pulling fs layer 12:58:07 6911f1a30b25: Pulling fs layer 12:58:07 e194b8c5c2a9: Pulling fs layer 12:58:07 6863d3e3a2b1: Pulling fs layer 12:58:07 ec0bb842ea78: Pulling fs layer 12:58:07 40a00589a448: Pulling fs layer 12:58:07 6c08303d61cc: Pulling fs layer 12:58:07 798269fcf238: Pulling fs layer 12:58:07 ec0bb842ea78: Waiting 12:58:07 40a00589a448: Waiting 12:58:07 6c08303d61cc: Waiting 12:58:07 798269fcf238: Waiting 12:58:07 6863d3e3a2b1: Waiting 12:58:07 6911f1a30b25: Download complete 12:58:07 6863d3e3a2b1: Download complete 12:58:07 ec0bb842ea78: Download complete 12:58:07 4db1b89c0bd1: Verifying Checksum 12:58:07 4db1b89c0bd1: Download complete 12:58:08 40a00589a448: Verifying Checksum 12:58:08 40a00589a448: Download complete 12:58:08 4db1b89c0bd1: Pull complete 12:58:08 6911f1a30b25: Pull complete 12:58:08 798269fcf238: Verifying Checksum 12:58:08 798269fcf238: Download complete 12:58:08 e194b8c5c2a9: Verifying Checksum 12:58:08 e194b8c5c2a9: Download complete 12:58:09 6c08303d61cc: Verifying Checksum 12:58:09 6c08303d61cc: Download complete 12:58:12 e194b8c5c2a9: Pull complete 12:58:12 6863d3e3a2b1: Pull complete 12:58:12 ec0bb842ea78: Pull complete 12:58:12 40a00589a448: Pull complete 12:58:15 6c08303d61cc: Pull complete 12:58:16 798269fcf238: Pull complete 12:58:16 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:58:16 ---> ec979cd7f677 12:58:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:58:19 ---> Running in 0b3ae036a130 12:58:19 Removing intermediate container 0b3ae036a130 12:58:19 ---> 4596911579a5 12:58:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:58:19 ---> Running in 535dbfb0cdf3 12:58:19 Removing intermediate container 535dbfb0cdf3 12:58:19 ---> 653345d3c883 12:58:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:58:19 ---> Running in b55cb732913b 12:58:19 Removing intermediate container b55cb732913b 12:58:19 ---> 10427b4c722e 12:58:19 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:20 ---> Running in 3b5079662481 12:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:58:20 OK: 265 MiB in 53 packages 12:58:21 Removing intermediate container 3b5079662481 12:58:21 ---> 769cc785c7d9 12:58:21 Step 7/12 : WORKDIR /app 12:58:21 ---> Running in f899b5ed06f7 12:58:21 Still waiting to schedule task 12:58:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:58:21 Removing intermediate container f899b5ed06f7 12:58:21 ---> 4e7006c444df 12:58:21 Step 8/12 : COPY go.mod vendor* ./ 12:58:21 ---> 1ecc68de8a01 12:58:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:21 ---> Running in 3d8a26bc7127 12:59:08 Removing intermediate container 3d8a26bc7127 12:59:08 ---> c82b7036c8b8 12:59:08 Step 10/12 : COPY . . 12:59:08 ---> e7eacd2a85d9 12:59:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:08 ---> Running in 651b679d7c9e 12:59:08 Removing intermediate container 651b679d7c9e 12:59:08 ---> 8b26af315a5b 12:59:08 Step 12/12 : RUN $MAKE 12:59:08 ---> Running in f05416e22a74 12:59:08 noop 12:59:08 Removing intermediate container f05416e22a74 12:59:08 ---> b40c44a9b44c 12:59:08 Successfully built b40c44a9b44c 12:59:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:08 + docker inspect -f . ci-base-image-x86_64 12:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:08 prd-ubuntu20.04-docker-8c-8g-1532 does not seem to be running inside a container 12:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-574 -v /w/workspace/_app-service-configurable_PR-574:/w/workspace/_app-service-configurable_PR-574:rw,z -v /w/workspace/_app-service-configurable_PR-574@tmp:/w/workspace/_app-service-configurable_PR-574@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 ******** ci-base-image-x86_64 cat 12:59:08 $ docker top 20fafc96a5a0dfe7b40113f97df566e565233669b1bf61e774101393c9cfde7d -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:09 + go version 12:59:09 go version go1.20.6 linux/amd64 [Pipeline] } 12:59:09 $ docker stop --time=1 20fafc96a5a0dfe7b40113f97df566e565233669b1bf61e774101393c9cfde7d 12:59:10 $ docker rm -f --volumes 20fafc96a5a0dfe7b40113f97df566e565233669b1bf61e774101393c9cfde7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:11 + docker inspect -f . ci-base-image-x86_64 12:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:11 prd-ubuntu20.04-docker-8c-8g-1532 does not seem to be running inside a container 12:59:11 $ 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-574 -v /w/workspace/_app-service-configurable_PR-574:/w/workspace/_app-service-configurable_PR-574:rw,z -v /w/workspace/_app-service-configurable_PR-574@tmp:/w/workspace/_app-service-configurable_PR-574@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 ******** ci-base-image-x86_64 cat 12:59:11 $ docker top 501e2c6f541ac6bf4b2fdd722b42656520c807713842f256505afd4d050effc0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:12 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-574 [Pipeline] fileExists [Pipeline] sh 12:59:12 + make test 12:59:12 go test -race -coverprofile=coverage.out ./... 12:59:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:59:52 go vet ./... 12:59:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1533 in /w/workspace/_app-service-configurable_PR-574 [Pipeline] { [Pipeline] ws 12:59:53 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:59:53 Selected Git installation does not exist. Using Default 12:59:53 The recommended git tool is: NONE 12:59:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:59:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:59:54 ./bin/test-attribution-txt.sh [Pipeline] echo 12:59:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:59:54 $ docker stop --time=1 501e2c6f541ac6bf4b2fdd722b42656520c807713842f256505afd4d050effc0 12:59:58 using credential edgex-jenkins-ssh 12:59:58 Cloning the remote Git repository 12:59:58 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:59:58 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:59:58 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:59:58 > git --version # timeout=10 12:59:58 > git --version # 'git version 2.25.1' 12:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:59:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:00 $ docker rm -f --volumes 501e2c6f541ac6bf4b2fdd722b42656520c807713842f256505afd4d050effc0 [Pipeline] // withDockerContainer [Pipeline] sh 12:59:59 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:59:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:00 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/574/head:refs/remotes/origin/PR-574 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:01 Merging remotes/origin/main commit 93d90b48a51af33a455c91ffa40f40acde6e8968 into PR head commit 4a260da5722bd66c01b40221d5335c25ea966f43 13:00:01 Merge succeeded, producing 4a260da5722bd66c01b40221d5335c25ea966f43 13:00:01 Checking out Revision 4a260da5722bd66c01b40221d5335c25ea966f43 (PR-574) 13:00:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:02 + ls -al . 13:00:02 total 180 13:00:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 12:59 . 13:00:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 12:57 .. 13:00:02 -rw-rw-r-- 1 jenkins jenkins 119 Jul 19 12:57 .dockerignore 13:00:02 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 12:58 .git 13:00:02 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 12:57 .github 13:00:02 -rw-rw-r-- 1 jenkins jenkins 171 Jul 19 12:57 .gitignore 13:00:02 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 12:57 .golangci.yml 13:00:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 12:58 .semver 13:00:02 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 19 12:57 Attribution.txt 13:00:02 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 19 12:57 CHANGELOG.md 13:00:02 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 19 12:57 Dockerfile 13:00:02 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 12:57 GOVERNANCE.md 13:00:02 -rw-rw-r-- 1 jenkins jenkins 688 Jul 19 12:57 Jenkinsfile 13:00:02 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 19 12:57 LICENSE 13:00:02 -rw-rw-r-- 1 jenkins jenkins 618 Jul 19 12:57 OWNERS.md 13:00:02 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 19 12:57 README.md 13:00:02 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 12:58 VERSION 13:00:02 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 12:57 bin 13:00:02 -rw-r--r-- 1 jenkins jenkins 13 Jul 19 12:59 coverage.out 13:00:02 -rw-rw-r-- 1 jenkins jenkins 3468 Jul 19 12:57 go.mod 13:00:02 -rw-rw-r-- 1 jenkins jenkins 32450 Jul 19 12:57 go.sum 13:00:02 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 19 12:57 main.go 13:00:02 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 19 12:57 makefile 13:00:02 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 12:57 res 13:00:02 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 12:57 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 13:00:02 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:01 > git config core.sparsecheckout # timeout=10 13:00:01 > git checkout -f 4a260da5722bd66c01b40221d5335c25ea966f43 # timeout=10 13:00:01 > git remote # timeout=10 13:00:01 > git config --get remote.origin.url # timeout=10 13:00:01 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:01 > git merge 93d90b48a51af33a455c91ffa40f40acde6e8968 # timeout=10 13:00:01 > git rev-parse HEAD^{commit} # timeout=10 13:00:01 > git config core.sparsecheckout # timeout=10 13:00:01 > git checkout -f 4a260da5722bd66c01b40221d5335c25ea966f43 # timeout=10 [Pipeline] sh 13:00:02 > git --version # timeout=10 13:00:02 > git --version # 'git version 2.25.1' 13:00:02 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 13:00:02 + 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=4a260da5722bd66c01b40221d5335c25ea966f43 --label arch=amd64 --label version=0.0.0 . 13:00:02 Sending build context to Docker daemon 3.305MB 13:00:02 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:02 Step 2/26 : FROM ${BASE} AS builder 13:00:02 ---> b40c44a9b44c 13:00:02 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:02 ---> Running in 650a699edbee 13:00:02 Removing intermediate container 650a699edbee 13:00:02 ---> 4aae2f96f6d9 13:00:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:02 ---> Running in 2acc5ceb59f0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 13:00:02 Removing intermediate container 2acc5ceb59f0 13:00:02 ---> 6fdd12e0fdac 13:00:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:02 ---> Running in 657061d6dc1d 13:00:02 Removing intermediate container 657061d6dc1d 13:00:02 ---> 98b55ddbfbc9 13:00:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:02 ---> Running in 9abce01d5e8a [Pipeline] sh 13:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:03 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:03 Dload Upload Total Spent Left Speed 13:00:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 13:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] sh 13:00:03 OK: 265 MiB in 53 packages 13:00:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:04 Removing intermediate container 9abce01d5e8a 13:00:04 ---> eef930d07e78 13:00:04 Step 7/26 : WORKDIR /app 13:00:04 ---> Running in 5f1adbc1e13d 13:00:04 Removing intermediate container 5f1adbc1e13d 13:00:04 ---> 994e13dfeb8b 13:00:04 Step 8/26 : COPY go.mod vendor* ./ 13:00:04 ---> 3512309dff63 13:00:04 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:04 ---> Running in 5c10af2b0315 13:00:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:04 + sudo tee /etc/docker/daemon.new 13:00:04 { 13:00:04 "registry-mirrors": [ 13:00:04 "https://nexus3.edgexfoundry.org:10001" 13:00:04 ], 13:00:04 "bip": "10.250.0.254/24", 13:00:04 "hosts": [ 13:00:04 "tcp://0.0.0.0:5555", 13:00:04 "unix:///var/run/docker.sock" 13:00:04 ], 13:00:04 "mtu": 1458, 13:00:04 "selinux-enabled": true, 13:00:04 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:04 } [Pipeline] sh 13:00:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:05 + sudo service docker restart 13:00:05 Removing intermediate container 5c10af2b0315 13:00:05 ---> d5bd61576250 13:00:05 Step 10/26 : COPY . . 13:00:05 ---> ef012bad8538 13:00:05 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:05 ---> Running in 070d921839fb 13:00:05 Removing intermediate container 070d921839fb 13:00:05 ---> 28938678966f 13:00:05 Step 12/26 : RUN $MAKE 13:00:05 ---> Running in e95b3b83dd97 13:00:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.8 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:27 provisioning config files... 13:00:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3174790551829822219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:27 ---> docker-login.sh 13:00:27 nexus3.edgexfoundry.org:10001 13:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:27 Removing intermediate container e95b3b83dd97 13:00:27 ---> 139e66f27dad 13:00:27 Step 13/26 : FROM alpine:3.17 13:00:27 3.17: Pulling from library/alpine 13:00:28 4db1b89c0bd1: Already exists 13:00:28 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 13:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:28 Configure a credential helper to remove this warning. See 13:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:28 13:00:28 Login Succeeded 13:00:28 nexus3.edgexfoundry.org:10002 13:00:28 Status: Downloaded newer image for alpine:3.17 13:00:28 ---> 1f73a9d63274 13:00:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:28 ---> Running in c5245f84f9bc 13:00:28 Removing intermediate container c5245f84f9bc 13:00:28 ---> f16063ae0304 13:00:28 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:28 ---> Running in 30e415e367b4 13:00:28 Removing intermediate container 30e415e367b4 13:00:28 ---> d31abac9c207 13:00:28 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:28 Configure a credential helper to remove this warning. See 13:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:28 13:00:28 Login Succeeded 13:00:28 nexus3.edgexfoundry.org:10003 13:00:28 ---> Running in 621b4fcf7ee5 13:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:29 Configure a credential helper to remove this warning. See 13:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:29 13:00:29 Login Succeeded 13:00:29 nexus3.edgexfoundry.org:10004 13:00:29 (1/2) Installing ca-certificates (20230506-r0) 13:00:29 (2/2) Installing dumb-init (1.2.5-r2) 13:00:29 Executing busybox-1.35.0-r29.trigger 13:00:29 Executing ca-certificates-20230506-r0.trigger 13:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:29 Configure a credential helper to remove this warning. See 13:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:29 13:00:29 Login Succeeded 13:00:29 docker.io 13:00:29 OK: 8 MiB in 17 packages 13:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:29 Removing intermediate container 621b4fcf7ee5 13:00:29 ---> f323ee588faf 13:00:29 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:29 Configure a credential helper to remove this warning. See 13:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:29 13:00:29 Login Succeeded 13:00:29 ---> docker-login.sh ends [Pipeline] } 13:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:00:30 ---> 696ce564b16e 13:00:30 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:30 ---> 13f25dc61ded 13:00:30 Step 19/26 : COPY --from=builder /app/res/ /res/ [Pipeline] echo 13:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 13:00:30 ---> 1f3d18fc5266 13:00:30 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable [Pipeline] echo 13:00:30 ========================================================= 13:00:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:00:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:00:30 Sending build context to Docker daemon 176.1kB 13:00:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:00:31 Step 2/12 : FROM ${BASE} AS builder 13:00:31 ---> da49a41770de 13:00:31 Step 21/26 : EXPOSE 48095 13:00:31 ---> Running in 7889e27f2e53 13:00:31 Removing intermediate container 7889e27f2e53 13:00:31 ---> 7a2ae20b8ecb 13:00:31 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:31 ---> Running in b2e95737067e 13:00:31 Removing intermediate container b2e95737067e 13:00:31 ---> 6eb004053c9a 13:00:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:31 ---> Running in a049a9a17489 13:00:31 Removing intermediate container a049a9a17489 13:00:31 ---> 336a5ada9436 13:00:31 Step 24/26 : LABEL arch=amd64 13:00:31 ---> Running in 969cfa69931d 13:00:31 Removing intermediate container 969cfa69931d 13:00:31 ---> e70122e4b12a 13:00:31 Step 25/26 : LABEL git_sha=4a260da5722bd66c01b40221d5335c25ea966f43 13:00:31 ---> Running in 5f7a442864c7 13:00:31 Removing intermediate container 5f7a442864c7 13:00:31 ---> 09ec0d84cd38 13:00:31 Step 26/26 : LABEL version=0.0.0 13:00:31 ---> Running in 83ac7d1e6f16 13:00:31 Removing intermediate container 83ac7d1e6f16 13:00:31 ---> 2fc556233231 13:00:31 [Warning] One or more build-args [ARCH] were not consumed 13:00:31 Successfully built 2fc556233231 13:00:31 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 13:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:32 13:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:33 latest: Pulling from edgex-lftools-log-publisher 13:00:33 5eb5b503b376: Pulling fs layer 13:00:33 5c69ac0246d0: Pulling fs layer 13:00:33 ec43610c2a17: Pulling fs layer 13:00:33 3a2ae6a8a46f: Pulling fs layer 13:00:33 33b1e0a273af: Pulling fs layer 13:00:33 5d3b04190fa2: Pulling fs layer 13:00:33 2f39f015ded8: Pulling fs layer 13:00:33 3a2ae6a8a46f: Waiting 13:00:33 33b1e0a273af: Waiting 13:00:33 5d3b04190fa2: Waiting 13:00:33 2f39f015ded8: Waiting 13:00:33 5c69ac0246d0: Verifying Checksum 13:00:33 5c69ac0246d0: Download complete 13:00:33 3a2ae6a8a46f: Verifying Checksum 13:00:33 3a2ae6a8a46f: Download complete 13:00:33 33b1e0a273af: Verifying Checksum 13:00:33 33b1e0a273af: Download complete 13:00:33 ec43610c2a17: Verifying Checksum 13:00:33 ec43610c2a17: Download complete 13:00:33 5eb5b503b376: Verifying Checksum 13:00:33 5eb5b503b376: Download complete 13:00:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:00:33 edb6bdbacee9: Pulling fs layer 13:00:33 5f9638ab2659: Pulling fs layer 13:00:33 8d51d6327a98: Pulling fs layer 13:00:33 8b374f2dd631: Pulling fs layer 13:00:33 ec14aa9079de: Pulling fs layer 13:00:33 2f466654f4bb: Pulling fs layer 13:00:33 554e91adad29: Pulling fs layer 13:00:33 ec14aa9079de: Waiting 13:00:33 2f466654f4bb: Waiting 13:00:33 8b374f2dd631: Waiting 13:00:33 554e91adad29: Waiting 13:00:33 5f9638ab2659: Verifying Checksum 13:00:33 5f9638ab2659: Download complete 13:00:33 8b374f2dd631: Verifying Checksum 13:00:33 8b374f2dd631: Download complete 13:00:33 ec14aa9079de: Verifying Checksum 13:00:33 ec14aa9079de: Download complete 13:00:33 edb6bdbacee9: Verifying Checksum 13:00:33 edb6bdbacee9: Download complete 13:00:33 2f39f015ded8: Verifying Checksum 13:00:33 2f39f015ded8: Download complete 13:00:34 5eb5b503b376: Pull complete 13:00:34 edb6bdbacee9: Pull complete 13:00:34 5c69ac0246d0: Pull complete 13:00:34 554e91adad29: Verifying Checksum 13:00:34 554e91adad29: Download complete 13:00:35 ec43610c2a17: Pull complete 13:00:35 5f9638ab2659: Pull complete 13:00:35 3a2ae6a8a46f: Pull complete 13:00:35 33b1e0a273af: Pull complete 13:00:35 5d3b04190fa2: Pull complete 13:00:36 8d51d6327a98: Verifying Checksum 13:00:36 8d51d6327a98: Download complete 13:00:36 2f466654f4bb: Verifying Checksum 13:00:36 2f466654f4bb: Download complete 13:00:40 2f39f015ded8: Pull complete 13:00:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:41 prd-ubuntu20.04-docker-8c-8g-1532 does not seem to be running inside a container 13:00:41 $ 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-574 -v /w/workspace/_app-service-configurable_PR-574:/w/workspace/_app-service-configurable_PR-574:rw,z -v /w/workspace/_app-service-configurable_PR-574@tmp:/w/workspace/_app-service-configurable_PR-574@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:00:48 8d51d6327a98: Pull complete 13:00:48 8b374f2dd631: Pull complete 13:00:48 ec14aa9079de: Pull complete 13:00:49 $ docker top 5e5ad17e09c7d84d2468b72c1363d6b448b1391f26cfae86ddd3eb21c17371ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:49 ---> job-cost.sh 13:00:49 lf-activate-venv: SKIPPING 13:00:49 INFO: No Stack... 13:00:49 INFO: Retrieving Pricing Info for: v3-standard-8 13:00:50 INFO: Archiving Costs [Pipeline] sh 13:00:50 + cat /w/workspace/_app-service-configurable_PR-574/archives/cost.csv 13:00:50 + cut -d, -f6 [Pipeline] lock 13:00:50 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] 13:00:50 Resource [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] did not exist. Created. 13:00:50 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:00:50 + echo total: 0.2199999988079071 [Pipeline] stash 13:00:50 Stashed 1 file(s) [Pipeline] } 13:00:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:00:50 $ docker stop --time=1 5e5ad17e09c7d84d2468b72c1363d6b448b1391f26cfae86ddd3eb21c17371ba 13:00:52 $ docker rm -f --volumes 5e5ad17e09c7d84d2468b72c1363d6b448b1391f26cfae86ddd3eb21c17371ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:00:54 2f466654f4bb: Pull complete 13:00:56 554e91adad29: Pull complete 13:00:56 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 13:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:00:56 ---> 1e15ea492957 13:00:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:00:58 ---> Running in 88752767ec45 13:00:58 Removing intermediate container 88752767ec45 13:00:58 ---> 2d27c5d45928 13:00:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:00:58 ---> Running in 3b35da341164 13:00:58 Removing intermediate container 3b35da341164 13:00:58 ---> 1c30641e4644 13:00:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:00:59 ---> Running in 6e41a1db70bc 13:00:59 Removing intermediate container 6e41a1db70bc 13:00:59 ---> f4295261a948 13:00:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:59 ---> Running in 9a05ce42f2a0 13:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:01 OK: 263 MiB in 53 packages 13:01:02 Removing intermediate container 9a05ce42f2a0 13:01:02 ---> ee6810e2b744 13:01:02 Step 7/12 : WORKDIR /app 13:01:02 ---> Running in 4d301506fed6 13:01:03 Removing intermediate container 4d301506fed6 13:01:03 ---> 09e6efbe356a 13:01:03 Step 8/12 : COPY go.mod vendor* ./ 13:01:03 ---> 363c4815de81 13:01:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:03 ---> Running in 38c07fa28c9b 13:02:11 Removing intermediate container 38c07fa28c9b 13:02:11 ---> 8755b8fbc086 13:02:11 Step 10/12 : COPY . . 13:02:11 ---> 065ed88ef852 13:02:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:11 ---> Running in 1cbdf836830b 13:02:11 Removing intermediate container 1cbdf836830b 13:02:11 ---> d2e20e78ef7d 13:02:11 Step 12/12 : RUN $MAKE 13:02:11 ---> Running in e763e09b94f7 13:02:11 noop 13:02:11 Removing intermediate container e763e09b94f7 13:02:11 ---> 20c81fa97f58 13:02:11 Successfully built 20c81fa97f58 13:02:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:11 + docker inspect -f . ci-base-image-arm64 13:02:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:12 prd-ubuntu20.04-docker-arm64-4c-16g-1533 does not seem to be running inside a container 13:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat 13:02:13 $ docker top eadb79ce59e0b215f6e59165b5e71fcb0b6eefba37681584de35891e53efb5ed -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:14 + go version 13:02:14 go version go1.20.6 linux/arm64 [Pipeline] } 13:02:14 $ docker stop --time=1 eadb79ce59e0b215f6e59165b5e71fcb0b6eefba37681584de35891e53efb5ed 13:02:15 $ docker rm -f --volumes eadb79ce59e0b215f6e59165b5e71fcb0b6eefba37681584de35891e53efb5ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:16 + docker inspect -f . ci-base-image-arm64 13:02:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:17 prd-ubuntu20.04-docker-arm64-4c-16g-1533 does not seem to be running inside a container 13:02:17 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat 13:02:19 $ docker top 877f04caa4157fab36525228bd1767f4885ee2cbb17053b969193ca3c4f76830 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:20 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:02:20 + make test 13:02:20 go test -race -coverprofile=coverage.out ./... 13:04:57 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:04:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:04:57 go vet ./... 13:07:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:19 ./bin/test-attribution-txt.sh [Pipeline] echo 13:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:19 $ docker stop --time=1 877f04caa4157fab36525228bd1767f4885ee2cbb17053b969193ca3c4f76830 13:07:21 $ docker rm -f --volumes 877f04caa4157fab36525228bd1767f4885ee2cbb17053b969193ca3c4f76830 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:07:22 Warning: overwriting stash ‘coverage-report’ 13:07:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:07:24 + ls -al . 13:07:24 total 176 13:07:24 drwxrwxr-x 7 jenkins jenkins 4096 Jul 19 13:02 . 13:07:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 12:59 .. 13:07:24 -rw-rw-r-- 1 jenkins jenkins 119 Jul 19 13:00 .dockerignore 13:07:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 13:00 .git 13:07:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 13:00 .github 13:07:24 -rw-rw-r-- 1 jenkins jenkins 171 Jul 19 13:00 .gitignore 13:07:24 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 13:00 .golangci.yml 13:07:24 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 19 13:00 Attribution.txt 13:07:24 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 19 13:00 CHANGELOG.md 13:07:24 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 19 13:00 Dockerfile 13:07:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 13:00 GOVERNANCE.md 13:07:24 -rw-rw-r-- 1 jenkins jenkins 688 Jul 19 13:00 Jenkinsfile 13:07:24 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 19 13:00 LICENSE 13:07:24 -rw-rw-r-- 1 jenkins jenkins 618 Jul 19 13:00 OWNERS.md 13:07:24 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 19 13:00 README.md 13:07:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 12:58 VERSION 13:07:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 13:00 bin 13:07:24 -rw-r--r-- 1 jenkins jenkins 13 Jul 19 13:02 coverage.out 13:07:24 -rw-rw-r-- 1 jenkins jenkins 3468 Jul 19 13:00 go.mod 13:07:24 -rw-rw-r-- 1 jenkins jenkins 32450 Jul 19 13:00 go.sum 13:07:24 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 19 13:00 main.go 13:07:24 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 19 13:00 makefile 13:07:24 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 13:00 res 13:07:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:24 + 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=4a260da5722bd66c01b40221d5335c25ea966f43 --label arch=arm64 --label version=0.0.0 . 13:07:24 Sending build context to Docker daemon 177.2kB 13:07:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:07:24 Step 2/26 : FROM ${BASE} AS builder 13:07:24 ---> 20c81fa97f58 13:07:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:07:24 ---> Running in ea10ec17abe3 13:07:25 Removing intermediate container ea10ec17abe3 13:07:25 ---> d41c717d906f 13:07:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:07:25 ---> Running in 042583e3b4a1 13:07:25 Removing intermediate container 042583e3b4a1 13:07:25 ---> b9f59cd8f3d7 13:07:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:07:25 ---> Running in c9616759e21b 13:07:25 Removing intermediate container c9616759e21b 13:07:25 ---> 11159b4fe245 13:07:25 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:25 ---> Running in c5b16fc87afb 13:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:07:28 OK: 263 MiB in 53 packages 13:07:29 Removing intermediate container c5b16fc87afb 13:07:29 ---> 78b790e4401e 13:07:29 Step 7/26 : WORKDIR /app 13:07:29 ---> Running in 12fc61a6ff99 13:07:29 Removing intermediate container 12fc61a6ff99 13:07:29 ---> 91d412aeaffc 13:07:29 Step 8/26 : COPY go.mod vendor* ./ 13:07:30 ---> c7e51faa6a88 13:07:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:30 ---> Running in 3626c63a87d8 13:07:32 Removing intermediate container 3626c63a87d8 13:07:32 ---> 47c693f672ba 13:07:32 Step 10/26 : COPY . . 13:07:33 ---> 099b3ce032dd 13:07:33 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:33 ---> Running in bfa08f368e0b 13:07:33 Removing intermediate container bfa08f368e0b 13:07:33 ---> a4a8f96aee97 13:07:33 Step 12/26 : RUN $MAKE 13:07:33 ---> Running in 574a41a1bfba 13:07:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.8 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:09:40 Removing intermediate container 574a41a1bfba 13:09:40 ---> 168a7c46f0eb 13:09:40 Step 13/26 : FROM alpine:3.17 13:09:40 3.17: Pulling from library/alpine 13:09:40 edb6bdbacee9: Already exists 13:09:40 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 13:09:40 Status: Downloaded newer image for alpine:3.17 13:09:40 ---> 779605e5fbc0 13:09:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:09:40 ---> Running in 80b8214004ea 13:09:40 Removing intermediate container 80b8214004ea 13:09:40 ---> 82c74a8fec29 13:09:40 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:09:40 ---> Running in f2daa60be6ee 13:09:40 Removing intermediate container f2daa60be6ee 13:09:40 ---> 72c3a6bf207d 13:09:40 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:09:40 ---> Running in 7f8b3cfd0a62 13:09:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:09:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:09:40 (1/2) Installing ca-certificates (20230506-r0) 13:09:41 (2/2) Installing dumb-init (1.2.5-r2) 13:09:41 Executing busybox-1.35.0-r29.trigger 13:09:41 Executing ca-certificates-20230506-r0.trigger 13:09:41 OK: 8 MiB in 17 packages 13:09:42 Removing intermediate container 7f8b3cfd0a62 13:09:42 ---> 46a3516813a2 13:09:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:09:43 ---> f2918967b170 13:09:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:09:43 ---> 52eac965ca22 13:09:43 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:09:44 ---> b655070bd572 13:09:44 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:09:45 ---> 63ded453819e 13:09:45 Step 21/26 : EXPOSE 48095 13:09:45 ---> Running in 47812db8d113 13:09:45 Removing intermediate container 47812db8d113 13:09:45 ---> a9568f05dca5 13:09:45 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:09:45 ---> Running in c59f787d5939 13:09:46 Removing intermediate container c59f787d5939 13:09:46 ---> 17e540c5dded 13:09:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:09:46 ---> Running in ac5a063dc4f6 13:09:46 Removing intermediate container ac5a063dc4f6 13:09:46 ---> 5b2242e2bfbf 13:09:46 Step 24/26 : LABEL arch=arm64 13:09:46 ---> Running in 7de92cbf2788 13:09:46 Removing intermediate container 7de92cbf2788 13:09:46 ---> a70f6a23da86 13:09:46 Step 25/26 : LABEL git_sha=4a260da5722bd66c01b40221d5335c25ea966f43 13:09:46 ---> Running in a45f9fcd7cba 13:09:47 Removing intermediate container a45f9fcd7cba 13:09:47 ---> beccac9a103b 13:09:47 Step 26/26 : LABEL version=0.0.0 13:09:47 ---> Running in e2d64c4e725d 13:09:47 Removing intermediate container e2d64c4e725d 13:09:47 ---> f14fb1c656ad 13:09:47 [Warning] One or more build-args [ARCH] were not consumed 13:09:47 Successfully built f14fb1c656ad 13:09:47 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 13:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:48 13:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:48 arm64: Pulling from edgex-lftools-log-publisher 13:09:48 8998bd30e6a1: Pulling fs layer 13:09:48 04944245beec: Pulling fs layer 13:09:48 699f458cf7ca: Pulling fs layer 13:09:48 765212b225bb: Pulling fs layer 13:09:48 f23df028b6ca: Pulling fs layer 13:09:48 d65c8cfc05b1: Pulling fs layer 13:09:48 2437ff75d9bd: Pulling fs layer 13:09:48 f23df028b6ca: Waiting 13:09:48 d65c8cfc05b1: Waiting 13:09:48 2437ff75d9bd: Waiting 13:09:48 765212b225bb: Waiting 13:09:49 04944245beec: Verifying Checksum 13:09:49 04944245beec: Download complete 13:09:49 765212b225bb: Verifying Checksum 13:09:49 765212b225bb: Download complete 13:09:49 f23df028b6ca: Download complete 13:09:49 d65c8cfc05b1: Download complete 13:09:49 699f458cf7ca: Verifying Checksum 13:09:49 699f458cf7ca: Download complete 13:09:49 8998bd30e6a1: Download complete 13:09:51 2437ff75d9bd: Verifying Checksum 13:09:51 2437ff75d9bd: Download complete 13:09:55 8998bd30e6a1: Pull complete 13:09:55 04944245beec: Pull complete 13:09:57 699f458cf7ca: Pull complete 13:09:57 765212b225bb: Pull complete 13:09:57 f23df028b6ca: Pull complete 13:09:57 d65c8cfc05b1: Pull complete 13:10:13 2437ff75d9bd: Pull complete 13:10:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:13 prd-ubuntu20.04-docker-arm64-4c-16g-1533 does not seem to be running inside a container 13:10:13 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:10:15 $ docker top c269f22540d50972d4e415d5a14be9cafde94e08bb00b03b094813d036cde900 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:16 ---> job-cost.sh 13:10:16 lf-activate-venv: SKIPPING 13:10:16 INFO: No Stack... 13:10:17 INFO: Retrieving Pricing Info for: v3-standard-4 13:10:17 INFO: Archiving Costs [Pipeline] sh 13:10:18 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:10:18 + cut -d, -f6 [Pipeline] lock 13:10:18 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] 13:10:18 Resource [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] did not exist. Created. 13:10:18 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:18 /w/workspace/app-service-configurable/1@tmp/durable-8dee47da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:10:19 + echo total: 0.10999999940395355 [Pipeline] stash 13:10:19 Warning: overwriting stash ‘stack-cost’ 13:10:19 Stashed 1 file(s) [Pipeline] } 13:10:19 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-574-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:19 $ docker stop --time=1 c269f22540d50972d4e415d5a14be9cafde94e08bb00b03b094813d036cde900 13:10:21 $ docker rm -f --volumes c269f22540d50972d4e415d5a14be9cafde94e08bb00b03b094813d036cde900 [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 13:10:22 provisioning config files... 13:10:22 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-574@tmp/config17488792200328131474tmp [Pipeline] { [Pipeline] sh 13:10:22 + set +x 13:10:22 + curl -s https://codecov.io/bash 13:10:22 + bash -s -- 13:10:22 13:10:22 _____ _ 13:10:22 / ____| | | 13:10:22 | | ___ __| | ___ ___ _____ __ 13:10:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:10:22 | |___| (_) | (_| | __/ (_| (_) \ V / 13:10:22 \_____\___/ \__,_|\___|\___\___/ \_/ 13:10:22 Bash-1.0.6 13:10:22 13:10:22 13:10:22 ==> git version 2.25.1 found 13:10:22 ==> 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 13:10:22 Release-Date: 2020-01-08 13:10:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:10:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:10:22 ==> Jenkins CI detected. 13:10:22 current dir:  /w/workspace/_app-service-configurable_PR-574 13:10:22 project root: . 13:10:22 --> token set from env 13:10:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:10:22 ==> Running gcov in . (disable via -X gcov) 13:10:22 ==> Python coveragepy not found 13:10:22 ==> Searching for coverage reports in: 13:10:22 + . 13:10:22 -> Found 1 reports 13:10:22 ==> Detecting git/mercurial file structure 13:10:22 ==> Reading reports 13:10:22 + ./coverage.out bytes=13 13:10:22 ==> Appending adjustments 13:10:22 https://docs.codecov.io/docs/fixing-reports 13:10:22 + Found adjustments 13:10:22 ==> Gzipping contents 13:10:22 4.0K /tmp/codecov.2pttWl.gz 13:10:22 ==> Uploading reports 13:10:22 url: https://codecov.io 13:10:22 query: branch=PR-574&commit=4a260da5722bd66c01b40221d5335c25ea966f43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-574%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=574&job=&cmd_args= 13:10:22 -> Pinging Codecov 13:10:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-574&commit=4a260da5722bd66c01b40221d5335c25ea966f43&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-574%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=574&job=&cmd_args= 13:10:23 -> Uploading to 13:10:23 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/A97CA9966030D2A3747ED39772930CCE/4a260da5722bd66c01b40221d5335c25ea966f43/3234052a-0926-4297-95e3-a0c253441c6c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T131022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0009c49e5bc0f75af1937e12a5445a08bdc9a6df16ebbf4af87d2c3772a2ed0 13:10:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:23 Dload Upload Total Spent Left Speed 13:10:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2269 --:--:-- --:--:-- --:--:-- 2269 13:10:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4a260da5722bd66c01b40221d5335c25ea966f43 [Pipeline] } 13:10:23 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 13:10:25 + [ -d /w/workspace/_app-service-configurable_PR-574/archives ] 13:10:25 + ls -al /w/workspace/_app-service-configurable_PR-574/archives 13:10:25 total 16 13:10:25 drwxr-xr-x 3 root root 4096 Jul 19 13:00 . 13:10:25 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 13:00 .. 13:10:25 drwxr-xr-x 2 root root 4096 Jul 19 13:00 cost 13:10:25 -rw-r--r-- 1 root root 96 Jul 19 13:00 cost.csv 13:10:25 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-574/archives 13:10:25 + ls -al /w/workspace/_app-service-configurable_PR-574/archives 13:10:25 total 16 13:10:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 13:00 . 13:10:25 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 13:00 .. 13:10:25 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 13:00 cost 13:10:25 -rw-r--r-- 1 jenkins jenkins 96 Jul 19 13:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:10:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:26 ---> package-listing.sh 13:10:26 ++ facter osfamily 13:10:26 ++ tr '[:upper:]' '[:lower:]' 13:10:26 + OS_FAMILY=debian 13:10:26 + workspace=/w/workspace/_app-service-configurable_PR-574 13:10:26 + START_PACKAGES=/tmp/packages_start.txt 13:10:26 + END_PACKAGES=/tmp/packages_end.txt 13:10:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:26 + PACKAGES=/tmp/packages_start.txt 13:10:26 + '[' /w/workspace/_app-service-configurable_PR-574 ']' 13:10:26 + PACKAGES=/tmp/packages_end.txt 13:10:26 + case "${OS_FAMILY}" in 13:10:26 + dpkg -l 13:10:26 + grep '^ii' 13:10:26 + '[' -f /tmp/packages_start.txt ']' 13:10:26 + '[' -f /tmp/packages_end.txt ']' 13:10:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:26 + '[' /w/workspace/_app-service-configurable_PR-574 ']' 13:10:26 + mkdir -p /w/workspace/_app-service-configurable_PR-574/archives/ 13:10:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-574/archives/ [Pipeline] echo 13:10:26 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-574/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:27 prd-ubuntu20.04-docker-8c-8g-1532 does not seem to be running inside a container 13:10:27 $ 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-574/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-574 -v /w/workspace/_app-service-configurable_PR-574:/w/workspace/_app-service-configurable_PR-574:rw,z -v /w/workspace/_app-service-configurable_PR-574@tmp:/w/workspace/_app-service-configurable_PR-574@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:10:27 $ docker top fe1c32924d9acd2b4a98429f38127d1bc60d3de991b8c4e622e8496a796b83e1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:28 + touch /tmp/pre-build-complete [Pipeline] sh 13:10:28 + mkdir -p /var/log/sysstat [Pipeline] sh 13:10:28 + ls /var/log/sa-host 13:10:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:29 provisioning config files... 13:10:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-574@tmp/config13274903785409272720tmp [Pipeline] { [Pipeline] echo 13:10:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:10:29 ---> create-netrc.sh [Pipeline] } 13:10:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:10:29 ---> python-tools-install.sh [Pipeline] echo 13:10:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:10:30 ---> sudo-logs.sh 13:10:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:10:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:10:30 ---> job-cost.sh 13:10:30 lf-activate-venv: SKIPPING 13:10:30 DEBUG: total: 0.2199999988079071 13:10:30 INFO: Retrieving Stack Cost... 13:10:30 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:31 INFO: Archiving Costs [Pipeline] echo 13:10:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:10:31 ---> logs-deploy.sh 13:10:31 lf-activate-venv: SKIPPING 13:10:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-574/1 13:10:31 INFO: archiving workspace using pattern(s): 13:10:32 Archives upload complete. 13:10:32 INFO: archiving logs to Nexus