Pull request #530 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from b7f5e1dc7cbb96752ce6f40494097d80e5475506+64e14a40a239d934ad2ac2e5656398ec3b76321c (38e2346bcd5e465aa3e3e4b870c38fd345d19bcd) 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-ssh16668957206456856980.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17223851858037032105.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-530/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-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3580110770873333473.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-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11638628525011486841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh7318260274040643831.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-530/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-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5895357429466136325.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-210 in /w/workspace/_app-service-configurable_PR-530 [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-530 # 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/530/head:refs/remotes/origin/PR-530 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 64e14a40a239d934ad2ac2e5656398ec3b76321c into PR head commit b7f5e1dc7cbb96752ce6f40494097d80e5475506 Merge succeeded, producing b7f5e1dc7cbb96752ce6f40494097d80e5475506 Checking out Revision b7f5e1dc7cbb96752ce6f40494097d80e5475506 (PR-530) > git config core.sparsecheckout # timeout=10 > git checkout -f b7f5e1dc7cbb96752ce6f40494097d80e5475506 # 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 64e14a40a239d934ad2ac2e5656398ec3b76321c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7f5e1dc7cbb96752ce6f40494097d80e5475506 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:27:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:27:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:27:05 ========================================================= 18:27:05 EdgeX Global Pipelines Version Info 18:27:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:27:06 ------------------- 18:27:06 stable info: 18:27:06 ------------------- 18:27:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:27:06 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:27:06 Message: update stable to v1.0.245 18:27:06 ------------------- 18:27:06 experimental info: 18:27:06 ------------------- 18:27:06 Commited By: **** collab-it+edgex@linuxfoundation.org 18:27:06 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:27:06 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:27:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:27:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:27:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:27:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:27:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-530 [Pipeline] echo 18:27:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-530 [Pipeline] echo 18:27:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-530 [Pipeline] echo 18:27:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7f5e1dc7cbb96752ce6f40494097d80e5475506 [Pipeline] echo 18:27:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7f5e1d [Pipeline] echo 18:27:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:08 provisioning config files... 18:27:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-530@tmp/config2003581528978437278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:08 ---> docker-login.sh 18:27:08 nexus3.edgexfoundry.org:10001 18:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:08 Configure a credential helper to remove this warning. See 18:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:08 18:27:08 Login Succeeded 18:27:08 nexus3.edgexfoundry.org:10002 18:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:08 Configure a credential helper to remove this warning. See 18:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:08 18:27:08 Login Succeeded 18:27:08 nexus3.edgexfoundry.org:10003 18:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:09 Configure a credential helper to remove this warning. See 18:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:09 18:27:09 Login Succeeded 18:27:09 nexus3.edgexfoundry.org:10004 18:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:09 Configure a credential helper to remove this warning. See 18:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:09 18:27:09 Login Succeeded 18:27:09 docker.io 18:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:09 Configure a credential helper to remove this warning. See 18:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:09 18:27:09 Login Succeeded 18:27:09 ---> docker-login.sh ends [Pipeline] } 18:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:27:10 + git rev-list -1 --merges b7f5e1dc7cbb96752ce6f40494097d80e5475506~1..b7f5e1dc7cbb96752ce6f40494097d80e5475506 [Pipeline] echo 18:27:10 -----------> git rev-list -1 --merges b7f5e1dc7cbb96752ce6f40494097d80e5475506~1..b7f5e1dc7cbb96752ce6f40494097d80e5475506 b7f5e1dc7cbb96752ce6f40494097d80e5475506 [false] [Pipeline] sh 18:27:10 + git log --format=format:%s -1 b7f5e1dc7cbb96752ce6f40494097d80e5475506 [Pipeline] echo 18:27:10 ========================================================= 18:27:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:27:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:11 + git log --format=format:%s -1 b7f5e1dc7cbb96752ce6f40494097d80e5475506 [Pipeline] echo 18:27:11 [semverPrep] GIT_COMMIT: b7f5e1dc7cbb96752ce6f40494097d80e5475506, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo 18:27:11 [semverPrep] This is not a build commit. [Pipeline] sh 18:27:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:27:11 + grep -v github /etc/ssh/ssh_known_hosts 18:27:11 + [ -e /tmp/ssh_known_hosts ] 18:27:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:27:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:27:11 sudo tee -a /etc/ssh/ssh_known_hosts 18:27:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:12 18:27:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:12 0.1.4: Pulling from edgex-devops/py-git-semver 18:27:12 b85a868b505f: Pulling fs layer 18:27:12 e2be974225ed: Pulling fs layer 18:27:12 339a4e72a1f5: Pulling fs layer 18:27:12 988bab9f4d93: Pulling fs layer 18:27:12 1469e6f7b9e6: Pulling fs layer 18:27:12 eaf3925da568: Pulling fs layer 18:27:12 bab4dde63d76: Pulling fs layer 18:27:12 bde34c3a00c8: Pulling fs layer 18:27:12 b352a97aabf1: Pulling fs layer 18:27:12 4872d77fe225: Pulling fs layer 18:27:12 5851b861e8e6: Pulling fs layer 18:27:12 bde34c3a00c8: Waiting 18:27:12 5851b861e8e6: Waiting 18:27:12 1469e6f7b9e6: Waiting 18:27:12 b352a97aabf1: Waiting 18:27:12 eaf3925da568: Waiting 18:27:12 4872d77fe225: Waiting 18:27:12 988bab9f4d93: Waiting 18:27:13 e2be974225ed: Verifying Checksum 18:27:13 e2be974225ed: Download complete 18:27:13 988bab9f4d93: Download complete 18:27:13 339a4e72a1f5: Verifying Checksum 18:27:13 339a4e72a1f5: Download complete 18:27:13 eaf3925da568: Download complete 18:27:13 1469e6f7b9e6: Verifying Checksum 18:27:13 1469e6f7b9e6: Download complete 18:27:13 bde34c3a00c8: Verifying Checksum 18:27:13 bde34c3a00c8: Download complete 18:27:13 b352a97aabf1: Verifying Checksum 18:27:13 b352a97aabf1: Download complete 18:27:13 4872d77fe225: Verifying Checksum 18:27:13 4872d77fe225: Download complete 18:27:13 5851b861e8e6: Verifying Checksum 18:27:13 5851b861e8e6: Download complete 18:27:13 b85a868b505f: Verifying Checksum 18:27:13 b85a868b505f: Download complete 18:27:13 bab4dde63d76: Verifying Checksum 18:27:13 bab4dde63d76: Download complete 18:27:14 b85a868b505f: Pull complete 18:27:14 e2be974225ed: Pull complete 18:27:15 339a4e72a1f5: Pull complete 18:27:15 988bab9f4d93: Pull complete 18:27:15 1469e6f7b9e6: Pull complete 18:27:15 eaf3925da568: Pull complete 18:27:17 bab4dde63d76: Pull complete 18:27:17 bde34c3a00c8: Pull complete 18:27:17 b352a97aabf1: Pull complete 18:27:17 4872d77fe225: Pull complete 18:27:17 5851b861e8e6: Pull complete 18:27:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:27:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:18 prd-ubuntu20.04-docker-8c-8g-210 does not seem to be running inside a container 18:27:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-530 -v /w/workspace/_app-service-configurable_PR-530:/w/workspace/_app-service-configurable_PR-530:rw,z -v /w/workspace/_app-service-configurable_PR-530@tmp:/w/workspace/_app-service-configurable_PR-530@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-devops/py-git-semver:0.1.4 cat 18:27:20 $ docker top 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c -eo pid,comm 18:27:20 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). 18:27:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:27:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:20 [ssh-agent] Looking for ssh-agent implementation... 18:27:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:21 $ docker exec 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c ssh-agent 18:27:21 SSH_AUTH_SOCK=/tmp/ssh-Q4xpQIZyFZI0/agent.31 18:27:21 SSH_AGENT_PID=37 18:27:21 Running ssh-add (command line suppressed) 18:27:21 Identity added: /w/workspace/_app-service-configurable_PR-530@tmp/private_key_16890829240426169273.key (/w/workspace/_app-service-configurable_PR-530@tmp/private_key_16890829240426169273.key) 18:27:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:21 + git tag --points-at HEAD [Pipeline] } 18:27:21 $ docker exec --env ******** --env ******** 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c ssh-agent -k 18:27:21 unset SSH_AUTH_SOCK; 18:27:21 unset SSH_AGENT_PID; 18:27:21 echo Agent pid 37 killed; 18:27:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:27:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:21 [ssh-agent] Looking for ssh-agent implementation... 18:27:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:21 $ docker exec 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c ssh-agent 18:27:22 SSH_AUTH_SOCK=/tmp/ssh-ySP4xOcIKkrc/agent.71 18:27:22 SSH_AGENT_PID=77 18:27:22 Running ssh-add (command line suppressed) 18:27:22 Identity added: /w/workspace/_app-service-configurable_PR-530@tmp/private_key_321140675931177481.key (/w/workspace/_app-service-configurable_PR-530@tmp/private_key_321140675931177481.key) 18:27:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:22 + git semver init 18:27:22 2023-03-14 18:27:22,682 [run_init] DEBUG init version:0.0.0 force:False 18:27:22 2023-03-14 18:27:22,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-530/.semver 18:27:22 2023-03-14 18:27:22,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-530/.semver 18:27:22 2023-03-14 18:27:22,683 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-530/.semver'], cwd=/w/workspace/_app-service-configurable_PR-530, universal_newlines=False, shell=None, istream=None) 18:27:23 2023-03-14 18:27:23,537 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-530/.git/info/exclude 18:27:23 2023-03-14 18:27:23,538 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-530/.semver/PR-530 with force:False 18:27:23 2023-03-14 18:27:23,538 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-530/.semver/PR-530 18:27:23 2023-03-14 18:27:23,542 [execute] INFO git cat-file --batch-check 18:27:23 2023-03-14 18:27:23,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-530/.semver, universal_newlines=False, shell=None, istream=) 18:27:23 2023-03-14 18:27:23,548 [execute] INFO git cat-file --batch 18:27:23 2023-03-14 18:27:23,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-530/.semver, universal_newlines=False, shell=None, istream=) 18:27:23 2023-03-14 18:27:23,554 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-530/.semver/PR-530 18:27:23 0.0.0 [Pipeline] } 18:27:23 $ docker exec --env ******** --env ******** 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c ssh-agent -k 18:27:23 unset SSH_AUTH_SOCK; 18:27:23 unset SSH_AGENT_PID; 18:27:23 echo Agent pid 77 killed; 18:27:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:27:24 + git semver [Pipeline] } 18:27:24 $ docker stop --time=1 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c 18:27:25 $ docker rm -f --volumes 0c8844852a12fb9d0e6cac4d1913764d556963a959d4cfaf85b980ec3e9b192c [Pipeline] // withDockerContainer [Pipeline] sh 18:27:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:27:26 Stashed 1 file(s) [Pipeline] echo 18:27:26 [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 18:27:27 provisioning config files... 18:27:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-530@tmp/config3126211140287928302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:27 ---> docker-login.sh 18:27:27 nexus3.edgexfoundry.org:10001 18:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:27 Configure a credential helper to remove this warning. See 18:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:27 18:27:27 Login Succeeded 18:27:27 nexus3.edgexfoundry.org:10002 18:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:27 Configure a credential helper to remove this warning. See 18:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:27 18:27:27 Login Succeeded 18:27:27 nexus3.edgexfoundry.org:10003 18:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:27 Configure a credential helper to remove this warning. See 18:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:27 18:27:27 Login Succeeded 18:27:27 nexus3.edgexfoundry.org:10004 18:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:28 Configure a credential helper to remove this warning. See 18:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:28 18:27:28 Login Succeeded 18:27:28 docker.io 18:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:28 Configure a credential helper to remove this warning. See 18:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:28 18:27:28 Login Succeeded 18:27:28 ---> docker-login.sh ends [Pipeline] } 18:27:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:28 ========================================================= 18:27:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:27:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:29 + 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 . 18:27:29 Sending build context to Docker daemon 3.23MB 18:27:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:27:29 Step 2/12 : FROM ${BASE} AS builder 18:27:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:27:29 63b65145d645: Pulling fs layer 18:27:29 a2d21d5440eb: Pulling fs layer 18:27:29 935e6c44a52c: Pulling fs layer 18:27:29 94cc34f8dd06: Pulling fs layer 18:27:29 30dea6a524f1: Pulling fs layer 18:27:29 94cc34f8dd06: Waiting 18:27:29 a2aff8979fd8: Pulling fs layer 18:27:29 30dea6a524f1: Waiting 18:27:29 6808be2612f2: Pulling fs layer 18:27:29 f25807f1079a: Pulling fs layer 18:27:29 6808be2612f2: Waiting 18:27:29 a2d21d5440eb: Verifying Checksum 18:27:29 a2d21d5440eb: Download complete 18:27:29 94cc34f8dd06: Verifying Checksum 18:27:29 94cc34f8dd06: Download complete 18:27:29 30dea6a524f1: Download complete 18:27:29 63b65145d645: Verifying Checksum 18:27:29 63b65145d645: Download complete 18:27:29 a2aff8979fd8: Verifying Checksum 18:27:29 a2aff8979fd8: Download complete 18:27:29 63b65145d645: Pull complete 18:27:29 a2d21d5440eb: Pull complete 18:27:29 f25807f1079a: Verifying Checksum 18:27:30 935e6c44a52c: Verifying Checksum 18:27:30 935e6c44a52c: Download complete 18:27:30 6808be2612f2: Verifying Checksum 18:27:30 6808be2612f2: Download complete 18:27:33 935e6c44a52c: Pull complete 18:27:33 94cc34f8dd06: Pull complete 18:27:33 30dea6a524f1: Pull complete 18:27:33 a2aff8979fd8: Pull complete 18:27:36 6808be2612f2: Pull complete 18:27:36 f25807f1079a: Pull complete 18:27:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:27:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:27:36 ---> 3b553350e43f 18:27:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:27:39 ---> Running in e4d42a6afdf6 18:27:39 Removing intermediate container e4d42a6afdf6 18:27:39 ---> 1059525ce4d5 18:27:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:27:39 ---> Running in 5b4ab239a905 18:27:39 Removing intermediate container 5b4ab239a905 18:27:39 ---> edb78ea4a288 18:27:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:27:39 ---> Running in 3caf1ce041bd 18:27:40 Removing intermediate container 3caf1ce041bd 18:27:40 ---> 9bfeb2ae57c0 18:27:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:27:40 ---> Running in e09c5238acdb 18:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:27:40 OK: 265 MiB in 53 packages 18:27:40 Removing intermediate container e09c5238acdb 18:27:40 ---> 857409b4215e 18:27:40 Step 7/12 : WORKDIR /app 18:27:41 ---> Running in a3a1b3210044 18:27:41 Removing intermediate container a3a1b3210044 18:27:41 ---> 9bac3bfcf797 18:27:41 Step 8/12 : COPY go.mod vendor* ./ 18:27:41 ---> 4a5f9a70e678 18:27:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:27:41 ---> Running in 7d9bfc1a54fc 18:27:41 Still waiting to schedule task 18:27:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:28:19 Removing intermediate container 7d9bfc1a54fc 18:28:19 ---> 70e099bca020 18:28:19 Step 10/12 : COPY . . 18:28:19 ---> 122fb2a8528f 18:28:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:19 ---> Running in 249be804c0af 18:28:19 Removing intermediate container 249be804c0af 18:28:19 ---> 348ec4a95af4 18:28:19 Step 12/12 : RUN $MAKE 18:28:19 ---> Running in 7970b7b9c63c 18:28:19 noop 18:28:19 Removing intermediate container 7970b7b9c63c 18:28:19 ---> ab35e1cb65ef 18:28:19 Successfully built ab35e1cb65ef 18:28:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:20 + docker inspect -f . ci-base-image-x86_64 18:28:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:20 prd-ubuntu20.04-docker-8c-8g-210 does not seem to be running inside a container 18:28:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-530 -v /w/workspace/_app-service-configurable_PR-530:/w/workspace/_app-service-configurable_PR-530:rw,z -v /w/workspace/_app-service-configurable_PR-530@tmp:/w/workspace/_app-service-configurable_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:28:20 $ docker top b6d51e902d9317499921dae16d6cc09ec1ccc96aa313c506c8cb43071f45d0bf -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:21 + go version 18:28:21 go version go1.20.2 linux/amd64 [Pipeline] } 18:28:21 $ docker stop --time=1 b6d51e902d9317499921dae16d6cc09ec1ccc96aa313c506c8cb43071f45d0bf 18:28:22 $ docker rm -f --volumes b6d51e902d9317499921dae16d6cc09ec1ccc96aa313c506c8cb43071f45d0bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:23 + docker inspect -f . ci-base-image-x86_64 18:28:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:23 prd-ubuntu20.04-docker-8c-8g-210 does not seem to be running inside a container 18:28:23 $ 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-530 -v /w/workspace/_app-service-configurable_PR-530:/w/workspace/_app-service-configurable_PR-530:rw,z -v /w/workspace/_app-service-configurable_PR-530@tmp:/w/workspace/_app-service-configurable_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:28:24 $ docker top e3220f494450c2717802b840b3b918e610be7f1fa9147ac21449ca380392dedd -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:24 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-530 [Pipeline] fileExists [Pipeline] sh 18:28:24 + make test 18:28:24 go test -race -coverprofile=coverage.out ./... 18:28:46 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:29:04 go vet ./... 18:29:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:08 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:08 $ docker stop --time=1 e3220f494450c2717802b840b3b918e610be7f1fa9147ac21449ca380392dedd 18:29:12 $ docker rm -f --volumes e3220f494450c2717802b840b3b918e610be7f1fa9147ac21449ca380392dedd [Pipeline] // withDockerContainer [Pipeline] sh 18:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:29:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:13 + ls -al . 18:29:13 total 176 18:29:13 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:28 . 18:29:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:26 .. 18:29:13 -rw-rw-r-- 1 jenkins jenkins 119 Mar 14 18:27 .dockerignore 18:29:13 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:27 .git 18:29:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:27 .github 18:29:13 -rw-rw-r-- 1 jenkins jenkins 171 Mar 14 18:27 .gitignore 18:29:13 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:27 .golangci.yml 18:29:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:27 .semver 18:29:13 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 14 18:27 Attribution.txt 18:29:13 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 14 18:27 CHANGELOG.md 18:29:13 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 14 18:27 Dockerfile 18:29:13 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:27 GOVERNANCE.md 18:29:13 -rw-rw-r-- 1 jenkins jenkins 688 Mar 14 18:27 Jenkinsfile 18:29:13 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 14 18:27 LICENSE 18:29:13 -rw-rw-r-- 1 jenkins jenkins 618 Mar 14 18:27 OWNERS.md 18:29:13 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 14 18:27 README.md 18:29:13 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 18:27 VERSION 18:29:13 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:27 bin 18:29:13 -rw-r--r-- 1 jenkins jenkins 13 Mar 14 18:28 coverage.out 18:29:13 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 14 18:27 go.mod 18:29:13 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 14 18:27 go.sum 18:29:13 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 14 18:27 main.go 18:29:13 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 14 18:27 makefile 18:29:13 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 18:27 res 18:29:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:27 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:14 + 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=b7f5e1dc7cbb96752ce6f40494097d80e5475506 --label arch=amd64 --label version=0.0.0 . 18:29:14 Sending build context to Docker daemon 3.231MB 18:29:14 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:29:14 Step 2/26 : FROM ${BASE} AS builder 18:29:14 ---> ab35e1cb65ef 18:29:14 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:29:14 ---> Running in 4af8fc33c618 18:29:14 Removing intermediate container 4af8fc33c618 18:29:14 ---> 6eeade2ed40e 18:29:14 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:29:14 ---> Running in 296239fd82cd 18:29:14 Removing intermediate container 296239fd82cd 18:29:14 ---> d2f02f5afce4 18:29:14 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:29:14 ---> Running in 5b61f066df7b 18:29:14 Removing intermediate container 5b61f066df7b 18:29:14 ---> 65a25b29230e 18:29:14 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:14 ---> Running in 5970b810c35c 18:29:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:29:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:29:15 OK: 265 MiB in 53 packages 18:29:15 Removing intermediate container 5970b810c35c 18:29:15 ---> f0c4d017c403 18:29:15 Step 7/26 : WORKDIR /app 18:29:15 ---> Running in 132cb119e7a1 18:29:15 Removing intermediate container 132cb119e7a1 18:29:15 ---> e3f4b82779d7 18:29:15 Step 8/26 : COPY go.mod vendor* ./ 18:29:15 ---> 7ce6d5433338 18:29:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:15 ---> Running in 04d5ef034ec4 18:29:17 Removing intermediate container 04d5ef034ec4 18:29:17 ---> 57258ff79ce9 18:29:17 Step 10/26 : COPY . . 18:29:17 ---> 11737136542e 18:29:17 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:29:17 ---> Running in 9730048348c2 18:29:17 Removing intermediate container 9730048348c2 18:29:17 ---> ec9df5325b9e 18:29:17 Step 12/26 : RUN $MAKE 18:29:17 ---> Running in ec494ffb81b6 18:29:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:29:39 Removing intermediate container ec494ffb81b6 18:29:39 ---> 28fd39970e0d 18:29:39 Step 13/26 : FROM alpine:3.17 18:29:39 3.17: Pulling from library/alpine 18:29:39 63b65145d645: Already exists 18:29:39 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:29:39 Status: Downloaded newer image for alpine:3.17 18:29:39 ---> b2aa39c304c2 18:29:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:29:39 ---> Running in 9f0a26f4eefc 18:29:39 Removing intermediate container 9f0a26f4eefc 18:29:39 ---> 916a88f4cf8b 18:29:39 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:29:39 ---> Running in 21bbae213610 18:29:39 Removing intermediate container 21bbae213610 18:29:39 ---> 433a6dd8bdf7 18:29:39 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:29:39 ---> Running in 06a4bfb18829 18:29:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:29:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:29:39 (1/2) Installing ca-certificates (20220614-r4) 18:29:39 (2/2) Installing dumb-init (1.2.5-r2) 18:29:39 Executing busybox-1.35.0-r29.trigger 18:29:39 Executing ca-certificates-20220614-r4.trigger 18:29:39 OK: 8 MiB in 17 packages 18:29:39 Removing intermediate container 06a4bfb18829 18:29:39 ---> 8ba0beee8be3 18:29:39 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:29:39 ---> e03b15b305ef 18:29:39 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:29:39 ---> 9babb52ea660 18:29:39 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:29:39 ---> 6c152c632901 18:29:39 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:29:39 ---> f8501eaf92a9 18:29:39 Step 21/26 : EXPOSE 48095 18:29:39 ---> Running in 41b651a056eb 18:29:39 Removing intermediate container 41b651a056eb 18:29:39 ---> a14228218e23 18:29:39 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:29:39 ---> Running in e3f30ef38542 18:29:39 Removing intermediate container e3f30ef38542 18:29:39 ---> 7cbf369fe766 18:29:39 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:29:39 ---> Running in 864c0caf3c6b 18:29:39 Removing intermediate container 864c0caf3c6b 18:29:39 ---> cf56e2606703 18:29:39 Step 24/26 : LABEL arch=amd64 18:29:39 ---> Running in 4d7e6907a4d3 18:29:39 Removing intermediate container 4d7e6907a4d3 18:29:39 ---> bcd21148a571 18:29:39 Step 25/26 : LABEL git_sha=b7f5e1dc7cbb96752ce6f40494097d80e5475506 18:29:39 ---> Running in 73c08e8f83e9 18:29:39 Removing intermediate container 73c08e8f83e9 18:29:39 ---> 7dcadf541e71 18:29:39 Step 26/26 : LABEL version=0.0.0 18:29:39 ---> Running in 352bc5ae8c8a 18:29:39 Removing intermediate container 352bc5ae8c8a 18:29:39 ---> cf39edbfb923 18:29:39 [Warning] One or more build-args [ARCH] were not consumed 18:29:39 Successfully built cf39edbfb923 18:29:39 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 18:29:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:40 18:29:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:41 latest: Pulling from edgex-lftools-log-publisher 18:29:41 5eb5b503b376: Pulling fs layer 18:29:41 5c69ac0246d0: Pulling fs layer 18:29:41 ec43610c2a17: Pulling fs layer 18:29:41 3a2ae6a8a46f: Pulling fs layer 18:29:41 33b1e0a273af: Pulling fs layer 18:29:41 5d3b04190fa2: Pulling fs layer 18:29:41 2f39f015ded8: Pulling fs layer 18:29:41 3a2ae6a8a46f: Waiting 18:29:41 5d3b04190fa2: Waiting 18:29:41 33b1e0a273af: Waiting 18:29:41 5c69ac0246d0: Download complete 18:29:41 3a2ae6a8a46f: Verifying Checksum 18:29:41 3a2ae6a8a46f: Download complete 18:29:41 ec43610c2a17: Verifying Checksum 18:29:41 ec43610c2a17: Download complete 18:29:41 33b1e0a273af: Verifying Checksum 18:29:41 33b1e0a273af: Download complete 18:29:41 5d3b04190fa2: Verifying Checksum 18:29:41 5d3b04190fa2: Download complete 18:29:41 5eb5b503b376: Verifying Checksum 18:29:41 5eb5b503b376: Download complete 18:29:41 2f39f015ded8: Download complete 18:29:42 5eb5b503b376: Pull complete 18:29:42 5c69ac0246d0: Pull complete 18:29:42 ec43610c2a17: Pull complete 18:29:43 3a2ae6a8a46f: Pull complete 18:29:43 33b1e0a273af: Pull complete 18:29:43 5d3b04190fa2: Pull complete 18:29:47 2f39f015ded8: Pull complete 18:29:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:29:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:47 prd-ubuntu20.04-docker-8c-8g-210 does not seem to be running inside a container 18:29:47 $ 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-530 -v /w/workspace/_app-service-configurable_PR-530:/w/workspace/_app-service-configurable_PR-530:rw,z -v /w/workspace/_app-service-configurable_PR-530@tmp:/w/workspace/_app-service-configurable_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:29:50 $ docker top dff3505523a290c17a515b47099a641e1f5b0fe883fbac00dae006160cd811a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:51 ---> job-cost.sh 18:29:51 lf-activate-venv: SKIPPING 18:29:51 INFO: No Stack... 18:29:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:29:51 INFO: Archiving Costs [Pipeline] sh 18:29:52 + cat /w/workspace/_app-service-configurable_PR-530/archives/cost.csv 18:29:52 + cut -d, -f6 [Pipeline] lock 18:29:52 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] 18:29:52 Resource [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] did not exist. Created. 18:29:52 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:29:52 + echo total: 0.2199999988079071 [Pipeline] stash 18:29:52 Stashed 1 file(s) [Pipeline] } 18:29:52 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:29:52 $ docker stop --time=1 dff3505523a290c17a515b47099a641e1f5b0fe883fbac00dae006160cd811a8 18:29:53 $ docker rm -f --volumes dff3505523a290c17a515b47099a641e1f5b0fe883fbac00dae006160cd811a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:30:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-215 in /w/workspace/_app-service-configurable_PR-530 [Pipeline] { [Pipeline] ws 18:30:12 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:30:13 Selected Git installation does not exist. Using Default 18:30:13 The recommended git tool is: NONE 18:30:19 using credential edgex-jenkins-ssh 18:30:19 Cloning the remote Git repository 18:30:19 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:30:19 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:30:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:30:19 > git --version # timeout=10 18:30:19 > git --version # 'git version 2.25.1' 18:30:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:30:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:30:21 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:30:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:30:23 Merging remotes/origin/main commit 64e14a40a239d934ad2ac2e5656398ec3b76321c into PR head commit b7f5e1dc7cbb96752ce6f40494097d80e5475506 18:30:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:30:22 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:30:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:30:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/530/head:refs/remotes/origin/PR-530 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:30:23 > git config core.sparsecheckout # timeout=10 18:30:23 > git checkout -f b7f5e1dc7cbb96752ce6f40494097d80e5475506 # timeout=10 18:30:23 Merge succeeded, producing b7f5e1dc7cbb96752ce6f40494097d80e5475506 18:30:23 Checking out Revision b7f5e1dc7cbb96752ce6f40494097d80e5475506 (PR-530) 18:30:23 > git remote # timeout=10 18:30:23 > git config --get remote.origin.url # timeout=10 18:30:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:30:23 > git merge 64e14a40a239d934ad2ac2e5656398ec3b76321c # timeout=10 18:30:23 > git rev-parse HEAD^{commit} # timeout=10 18:30:23 > git config core.sparsecheckout # timeout=10 18:30:23 > git checkout -f b7f5e1dc7cbb96752ce6f40494097d80e5475506 # timeout=10 18:30:27 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" 18:30:27 > git --version # timeout=10 18:30:27 > git --version # 'git version 2.25.1' 18:30:27 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:30:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:30:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:30:28 Dload Upload Total Spent Left Speed 18:30:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 18:30:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:30:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:30:29 + sudo tee /etc/docker/daemon.new 18:30:29 { 18:30:29 "registry-mirrors": [ 18:30:29 "https://nexus3.edgexfoundry.org:10001" 18:30:29 ], 18:30:29 "bip": "10.250.0.254/24", 18:30:29 "hosts": [ 18:30:29 "tcp://0.0.0.0:5555", 18:30:29 "unix:///var/run/docker.sock" 18:30:29 ], 18:30:29 "mtu": 1458, 18:30:29 "selinux-enabled": true, 18:30:29 "seccomp-profile": "/etc/docker/seccomp.json" 18:30:29 } [Pipeline] sh 18:30:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:30:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:30:48 provisioning config files... 18:30:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3625822310887858699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:48 ---> docker-login.sh 18:30:48 nexus3.edgexfoundry.org:10001 18:30:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:49 Configure a credential helper to remove this warning. See 18:30:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:49 18:30:49 Login Succeeded 18:30:49 nexus3.edgexfoundry.org:10002 18:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:50 Configure a credential helper to remove this warning. See 18:30:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:50 18:30:50 Login Succeeded 18:30:50 nexus3.edgexfoundry.org:10003 18:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:50 Configure a credential helper to remove this warning. See 18:30:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:50 18:30:50 Login Succeeded 18:30:50 nexus3.edgexfoundry.org:10004 18:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:50 Configure a credential helper to remove this warning. See 18:30:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:50 18:30:50 Login Succeeded 18:30:50 docker.io 18:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:51 Configure a credential helper to remove this warning. See 18:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:51 18:30:51 Login Succeeded 18:30:51 ---> docker-login.sh ends [Pipeline] } 18:30:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:30:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:51 ========================================================= 18:30:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:30:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:52 + 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 . 18:30:52 Sending build context to Docker daemon 174.1kB 18:30:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:30:52 Step 2/12 : FROM ${BASE} AS builder 18:30:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:30:53 af6eaf76a39c: Pulling fs layer 18:30:53 55522c791124: Pulling fs layer 18:30:53 ce5c4a1c91eb: Pulling fs layer 18:30:53 169dfbe0d373: Pulling fs layer 18:30:53 e1ff8fa3b103: Pulling fs layer 18:30:53 52ebb69f0ebf: Pulling fs layer 18:30:53 5abe8eddf0d5: Pulling fs layer 18:30:53 169dfbe0d373: Waiting 18:30:53 e1ff8fa3b103: Waiting 18:30:53 52ebb69f0ebf: Waiting 18:30:53 5abe8eddf0d5: Waiting 18:30:53 55522c791124: Verifying Checksum 18:30:53 55522c791124: Download complete 18:30:53 169dfbe0d373: Verifying Checksum 18:30:53 169dfbe0d373: Download complete 18:30:53 e1ff8fa3b103: Verifying Checksum 18:30:53 e1ff8fa3b103: Download complete 18:30:53 af6eaf76a39c: Verifying Checksum 18:30:54 af6eaf76a39c: Pull complete 18:30:54 5abe8eddf0d5: Verifying Checksum 18:30:54 5abe8eddf0d5: Download complete 18:30:54 55522c791124: Pull complete 18:30:55 ce5c4a1c91eb: Verifying Checksum 18:30:55 ce5c4a1c91eb: Download complete 18:30:55 52ebb69f0ebf: Verifying Checksum 18:30:55 52ebb69f0ebf: Download complete 18:31:08 ce5c4a1c91eb: Pull complete 18:31:08 169dfbe0d373: Pull complete 18:31:08 e1ff8fa3b103: Pull complete 18:31:14 52ebb69f0ebf: Pull complete 18:31:20 5abe8eddf0d5: Pull complete 18:31:20 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:31:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:31:20 ---> 6cb57ee374ae 18:31:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:31:22 ---> Running in fb0e2ffe95e2 18:31:22 Removing intermediate container fb0e2ffe95e2 18:31:22 ---> b35596789855 18:31:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:31:22 ---> Running in c5d4aa1494da 18:31:23 Removing intermediate container c5d4aa1494da 18:31:23 ---> 063617f189d1 18:31:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:31:23 ---> Running in 0ae49b8f7459 18:31:23 Removing intermediate container 0ae49b8f7459 18:31:23 ---> ad051762dc61 18:31:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:31:23 ---> Running in c3cd52113594 18:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:31:26 OK: 263 MiB in 53 packages 18:31:27 Removing intermediate container c3cd52113594 18:31:27 ---> 9ae3045da3be 18:31:27 Step 7/12 : WORKDIR /app 18:31:27 ---> Running in dd1df375c6f1 18:31:28 Removing intermediate container dd1df375c6f1 18:31:28 ---> ae5160c21142 18:31:28 Step 8/12 : COPY go.mod vendor* ./ 18:31:28 ---> 295fad15b5a5 18:31:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:31:28 ---> Running in 3330ccf8b5c9 18:32:37 Removing intermediate container 3330ccf8b5c9 18:32:37 ---> a501b0513ec3 18:32:37 Step 10/12 : COPY . . 18:32:37 ---> c801e0c63c87 18:32:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:37 ---> Running in e3469353a367 18:32:37 Removing intermediate container e3469353a367 18:32:37 ---> c913d47abe5c 18:32:37 Step 12/12 : RUN $MAKE 18:32:37 ---> Running in 9fe25ad631ad 18:32:37 noop 18:32:37 Removing intermediate container 9fe25ad631ad 18:32:37 ---> 038fe43114fc 18:32:37 Successfully built 038fe43114fc 18:32:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:37 + docker inspect -f . ci-base-image-arm64 18:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:38 prd-ubuntu20.04-docker-arm64-4c-16g-215 does not seem to be running inside a container 18:32:38 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:32:41 $ docker top 2662599b8d7c5a31b5224ef0d0fa2a46de2faca0eaaf78be5d4b12be7ea7fea1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:42 + go version 18:32:42 go version go1.20.2 linux/arm64 [Pipeline] } 18:32:42 $ docker stop --time=1 2662599b8d7c5a31b5224ef0d0fa2a46de2faca0eaaf78be5d4b12be7ea7fea1 18:32:44 $ docker rm -f --volumes 2662599b8d7c5a31b5224ef0d0fa2a46de2faca0eaaf78be5d4b12be7ea7fea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:45 + docker inspect -f . ci-base-image-arm64 18:32:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:45 prd-ubuntu20.04-docker-arm64-4c-16g-215 does not seem to be running inside a container 18:32:45 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:32:46 $ docker top cc7e70dc2af9c24d5c9d7cb2f04d6980f824986f5e829934b948c986600593e7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:32:48 + make test 18:32:48 go test -race -coverprofile=coverage.out ./... 18:36:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:36:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:36:10 go vet ./... 18:38:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:46 ./bin/test-attribution-txt.sh [Pipeline] echo 18:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:38:47 $ docker stop --time=1 cc7e70dc2af9c24d5c9d7cb2f04d6980f824986f5e829934b948c986600593e7 18:38:49 $ docker rm -f --volumes cc7e70dc2af9c24d5c9d7cb2f04d6980f824986f5e829934b948c986600593e7 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:38:50 Warning: overwriting stash ‘coverage-report’ 18:38:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:52 + ls -al . 18:38:52 total 172 18:38:52 drwxrwxr-x 7 jenkins jenkins 4096 Mar 14 18:32 . 18:38:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:30 .. 18:38:52 -rw-rw-r-- 1 jenkins jenkins 119 Mar 14 18:30 .dockerignore 18:38:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:30 .git 18:38:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:30 .github 18:38:52 -rw-rw-r-- 1 jenkins jenkins 171 Mar 14 18:30 .gitignore 18:38:52 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:30 .golangci.yml 18:38:52 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 14 18:30 Attribution.txt 18:38:52 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 14 18:30 CHANGELOG.md 18:38:52 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 14 18:30 Dockerfile 18:38:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:30 GOVERNANCE.md 18:38:52 -rw-rw-r-- 1 jenkins jenkins 688 Mar 14 18:30 Jenkinsfile 18:38:52 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 14 18:30 LICENSE 18:38:52 -rw-rw-r-- 1 jenkins jenkins 618 Mar 14 18:30 OWNERS.md 18:38:52 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 14 18:30 README.md 18:38:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 18:27 VERSION 18:38:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:30 bin 18:38:52 -rw-r--r-- 1 jenkins jenkins 13 Mar 14 18:32 coverage.out 18:38:52 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 14 18:30 go.mod 18:38:52 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 14 18:30 go.sum 18:38:52 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 14 18:30 main.go 18:38:52 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 14 18:30 makefile 18:38:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 18:30 res 18:38:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:30 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:52 + 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=b7f5e1dc7cbb96752ce6f40494097d80e5475506 --label arch=arm64 --label version=0.0.0 . 18:38:52 Sending build context to Docker daemon 175.1kB 18:38:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:38:53 Step 2/26 : FROM ${BASE} AS builder 18:38:53 ---> 038fe43114fc 18:38:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:38:53 ---> Running in 7e68e68a9f03 18:38:53 Removing intermediate container 7e68e68a9f03 18:38:53 ---> 65f9cefc2aac 18:38:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:38:53 ---> Running in 24bdc4019f39 18:38:53 Removing intermediate container 24bdc4019f39 18:38:53 ---> cc5fed08eabb 18:38:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:38:53 ---> Running in e8874eada2d3 18:38:54 Removing intermediate container e8874eada2d3 18:38:54 ---> 4fed943e0fca 18:38:54 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:54 ---> Running in d3c8916cd5cb 18:38:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:38:56 OK: 263 MiB in 53 packages 18:38:57 Removing intermediate container d3c8916cd5cb 18:38:57 ---> ce3faa1662e5 18:38:57 Step 7/26 : WORKDIR /app 18:38:57 ---> Running in e8a33281ce10 18:38:58 Removing intermediate container e8a33281ce10 18:38:58 ---> 8d0cb9516970 18:38:58 Step 8/26 : COPY go.mod vendor* ./ 18:38:58 ---> 562c21d2d294 18:38:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:58 ---> Running in 67e988f2ca98 18:39:02 Removing intermediate container 67e988f2ca98 18:39:02 ---> 6c4a14bdc58b 18:39:02 Step 10/26 : COPY . . 18:39:02 ---> ff243bc1fb97 18:39:02 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:02 ---> Running in ea07c218d27a 18:39:02 Removing intermediate container ea07c218d27a 18:39:02 ---> 4b9371d1c031 18:39:02 Step 12/26 : RUN $MAKE 18:39:02 ---> Running in 62c74339798c 18:39:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:41:25 Removing intermediate container 62c74339798c 18:41:25 ---> e93d281c359c 18:41:25 Step 13/26 : FROM alpine:3.17 18:41:25 3.17: Pulling from library/alpine 18:41:25 af6eaf76a39c: Already exists 18:41:25 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:41:25 Status: Downloaded newer image for alpine:3.17 18:41:25 ---> d74e625d9115 18:41:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:41:25 ---> Running in 1560ed8e8ab9 18:41:25 Removing intermediate container 1560ed8e8ab9 18:41:25 ---> 8c7b24861b16 18:41:25 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:41:25 ---> Running in 28eea17388f9 18:41:25 Removing intermediate container 28eea17388f9 18:41:25 ---> 016081983e63 18:41:25 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:41:25 ---> Running in bcc659f490ae 18:41:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:41:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:41:25 (1/2) Installing ca-certificates (20220614-r4) 18:41:25 (2/2) Installing dumb-init (1.2.5-r2) 18:41:25 Executing busybox-1.35.0-r29.trigger 18:41:25 Executing ca-certificates-20220614-r4.trigger 18:41:25 OK: 8 MiB in 17 packages 18:41:26 Removing intermediate container bcc659f490ae 18:41:26 ---> dc108ff15513 18:41:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:41:26 ---> c83ea2bde26f 18:41:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:41:27 ---> 212e98ff5038 18:41:27 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:41:28 ---> 431f92224c95 18:41:28 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:41:29 ---> ad7e22f73f21 18:41:29 Step 21/26 : EXPOSE 48095 18:41:29 ---> Running in 93203f41c595 18:41:29 Removing intermediate container 93203f41c595 18:41:29 ---> ccee0ca1c5f0 18:41:29 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:41:29 ---> Running in 6c4e6cea4be1 18:41:30 Removing intermediate container 6c4e6cea4be1 18:41:30 ---> d7c3e3bbdf86 18:41:30 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:41:30 ---> Running in 02554b9405d8 18:41:32 Removing intermediate container 02554b9405d8 18:41:32 ---> 8517d5431a91 18:41:32 Step 24/26 : LABEL arch=arm64 18:41:32 ---> Running in 07ffc655608e 18:41:32 Removing intermediate container 07ffc655608e 18:41:32 ---> db54ffcd7323 18:41:32 Step 25/26 : LABEL git_sha=b7f5e1dc7cbb96752ce6f40494097d80e5475506 18:41:32 ---> Running in 4dd9857e0d52 18:41:32 Removing intermediate container 4dd9857e0d52 18:41:32 ---> 6bd0edbf105f 18:41:32 Step 26/26 : LABEL version=0.0.0 18:41:32 ---> Running in 17b91a313d20 18:41:32 Removing intermediate container 17b91a313d20 18:41:32 ---> f72c0195e62f 18:41:32 [Warning] One or more build-args [ARCH] were not consumed 18:41:32 Successfully built f72c0195e62f 18:41:32 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 18:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:33 18:41:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:34 arm64: Pulling from edgex-lftools-log-publisher 18:41:34 8998bd30e6a1: Pulling fs layer 18:41:34 04944245beec: Pulling fs layer 18:41:34 699f458cf7ca: Pulling fs layer 18:41:34 765212b225bb: Pulling fs layer 18:41:34 f23df028b6ca: Pulling fs layer 18:41:34 d65c8cfc05b1: Pulling fs layer 18:41:34 2437ff75d9bd: Pulling fs layer 18:41:34 f23df028b6ca: Waiting 18:41:34 765212b225bb: Waiting 18:41:34 d65c8cfc05b1: Waiting 18:41:34 2437ff75d9bd: Waiting 18:41:34 04944245beec: Verifying Checksum 18:41:34 04944245beec: Download complete 18:41:34 765212b225bb: Verifying Checksum 18:41:34 765212b225bb: Download complete 18:41:34 f23df028b6ca: Download complete 18:41:34 d65c8cfc05b1: Verifying Checksum 18:41:34 d65c8cfc05b1: Download complete 18:41:34 699f458cf7ca: Verifying Checksum 18:41:34 699f458cf7ca: Download complete 18:41:34 8998bd30e6a1: Verifying Checksum 18:41:34 8998bd30e6a1: Download complete 18:41:36 2437ff75d9bd: Verifying Checksum 18:41:36 2437ff75d9bd: Download complete 18:41:38 8998bd30e6a1: Pull complete 18:41:39 04944245beec: Pull complete 18:41:40 699f458cf7ca: Pull complete 18:41:40 765212b225bb: Pull complete 18:41:41 f23df028b6ca: Pull complete 18:41:41 d65c8cfc05b1: Pull complete 18:41:56 2437ff75d9bd: Pull complete 18:41:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:56 prd-ubuntu20.04-docker-arm64-4c-16g-215 does not seem to be running inside a container 18:41:56 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:41:59 $ docker top 3e704281491433fc0757fbc6037b8e9a7215a669e3a1f5de688e920f94c29b3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:00 ---> job-cost.sh 18:42:00 lf-activate-venv: SKIPPING 18:42:00 INFO: No Stack... 18:42:01 INFO: Retrieving Pricing Info for: v3-standard-4 18:42:01 INFO: Archiving Costs [Pipeline] sh 18:42:02 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 18:42:02 + cut -d, -f6 [Pipeline] lock 18:42:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] 18:42:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] did not exist. Created. 18:42:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:02 /w/workspace/app-service-configurable/1@tmp/durable-df325fe7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:42:03 + echo total: 0.10999999940395355 [Pipeline] stash 18:42:03 Warning: overwriting stash ‘stack-cost’ 18:42:03 Stashed 1 file(s) [Pipeline] } 18:42:03 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-530-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:03 $ docker stop --time=1 3e704281491433fc0757fbc6037b8e9a7215a669e3a1f5de688e920f94c29b3d 18:42:05 $ docker rm -f --volumes 3e704281491433fc0757fbc6037b8e9a7215a669e3a1f5de688e920f94c29b3d [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 18:42:06 provisioning config files... 18:42:06 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-530@tmp/config14558719177721541966tmp [Pipeline] { [Pipeline] sh 18:42:06 + set +x 18:42:06 + curl -s https://codecov.io/bash 18:42:06 + bash -s -- 18:42:06 18:42:06 _____ _ 18:42:06 / ____| | | 18:42:06 | | ___ __| | ___ ___ _____ __ 18:42:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:42:06 | |___| (_) | (_| | __/ (_| (_) \ V / 18:42:06 \_____\___/ \__,_|\___|\___\___/ \_/ 18:42:06 Bash-1.0.6 18:42:06 18:42:06 18:42:06 ==> git version 2.25.1 found 18:42:06 ==> 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 18:42:06 Release-Date: 2020-01-08 18:42:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:42:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:42:06 ==> Jenkins CI detected. 18:42:06 current dir:  /w/workspace/_app-service-configurable_PR-530 18:42:06 project root: . 18:42:06 --> token set from env 18:42:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:42:06 ==> Running gcov in . (disable via -X gcov) 18:42:06 ==> Python coveragepy not found 18:42:06 ==> Searching for coverage reports in: 18:42:06 + . 18:42:06 -> Found 1 reports 18:42:06 ==> Detecting git/mercurial file structure 18:42:06 ==> Reading reports 18:42:06 + ./coverage.out bytes=13 18:42:06 ==> Appending adjustments 18:42:06 https://docs.codecov.io/docs/fixing-reports 18:42:06 + Found adjustments 18:42:06 ==> Gzipping contents 18:42:06 4.0K /tmp/codecov.4iLf2l.gz 18:42:06 ==> Uploading reports 18:42:06 url: https://codecov.io 18:42:06 query: branch=PR-530&commit=b7f5e1dc7cbb96752ce6f40494097d80e5475506&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-530%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=530&job=&cmd_args= 18:42:06 -> Pinging Codecov 18:42:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-530&commit=b7f5e1dc7cbb96752ce6f40494097d80e5475506&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-530%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=530&job=&cmd_args= 18:42:07 -> Uploading to 18:42:07 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/A97CA9966030D2A3747ED39772930CCE/b7f5e1dc7cbb96752ce6f40494097d80e5475506/67b6d2c1-4a57-4638-931c-fe9a7a27ef45.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T184207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db434c0ea7159fb7bdc9d7b2f1e8f7c4dc6b8cf7b858de7c36a558198f009da6 18:42:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:07 Dload Upload Total Spent Left Speed 18:42:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 509 0 0 100 509 0 1864 --:--:-- --:--:-- --:--:-- 1857 100 509 0 0 100 509 0 1864 --:--:-- --:--:-- --:--:-- 1857 18:42:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/b7f5e1dc7cbb96752ce6f40494097d80e5475506 [Pipeline] } 18:42:07 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 18:42:09 + [ -d /w/workspace/_app-service-configurable_PR-530/archives ] 18:42:09 + ls -al /w/workspace/_app-service-configurable_PR-530/archives 18:42:09 total 16 18:42:09 drwxr-xr-x 3 root root 4096 Mar 14 18:29 . 18:42:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 18:29 .. 18:42:09 drwxr-xr-x 2 root root 4096 Mar 14 18:29 cost 18:42:09 -rw-r--r-- 1 root root 96 Mar 14 18:29 cost.csv 18:42:09 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-530/archives 18:42:09 + ls -al /w/workspace/_app-service-configurable_PR-530/archives 18:42:09 total 16 18:42:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:29 . 18:42:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 18:29 .. 18:42:09 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 18:29 cost 18:42:09 -rw-r--r-- 1 jenkins jenkins 96 Mar 14 18:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:42:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:42:10 ---> package-listing.sh 18:42:10 ++ tr '[:upper:]' '[:lower:]' 18:42:10 ++ facter osfamily 18:42:10 + OS_FAMILY=debian 18:42:10 + workspace=/w/workspace/_app-service-configurable_PR-530 18:42:10 + START_PACKAGES=/tmp/packages_start.txt 18:42:10 + END_PACKAGES=/tmp/packages_end.txt 18:42:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:42:10 + PACKAGES=/tmp/packages_start.txt 18:42:10 + '[' /w/workspace/_app-service-configurable_PR-530 ']' 18:42:10 + PACKAGES=/tmp/packages_end.txt 18:42:10 + case "${OS_FAMILY}" in 18:42:10 + dpkg -l 18:42:10 + grep '^ii' 18:42:10 + '[' -f /tmp/packages_start.txt ']' 18:42:10 + '[' -f /tmp/packages_end.txt ']' 18:42:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:42:10 + '[' /w/workspace/_app-service-configurable_PR-530 ']' 18:42:10 + mkdir -p /w/workspace/_app-service-configurable_PR-530/archives/ 18:42:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-530/archives/ [Pipeline] echo 18:42:10 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-530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:42:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:11 prd-ubuntu20.04-docker-8c-8g-210 does not seem to be running inside a container 18:42:11 $ 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-530/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-530 -v /w/workspace/_app-service-configurable_PR-530:/w/workspace/_app-service-configurable_PR-530:rw,z -v /w/workspace/_app-service-configurable_PR-530@tmp:/w/workspace/_app-service-configurable_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:42:11 $ docker top 350173acf88608f705cc33b80dd5e48ffda92ae161953ab963cd7eeaf7b8cd45 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:12 + touch /tmp/pre-build-complete [Pipeline] sh 18:42:12 + mkdir -p /var/log/sysstat [Pipeline] sh 18:42:12 + ls /var/log/sa-host 18:42:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:12 provisioning config files... 18:42:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-530@tmp/config14190106040336746163tmp [Pipeline] { [Pipeline] echo 18:42:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:42:13 ---> create-netrc.sh [Pipeline] } 18:42:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:42:13 ---> python-tools-install.sh [Pipeline] echo 18:42:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:42:14 ---> sudo-logs.sh 18:42:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:42:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:42:14 ---> job-cost.sh 18:42:14 lf-activate-venv: SKIPPING 18:42:14 DEBUG: total: 0.2199999988079071 18:42:14 INFO: Retrieving Stack Cost... 18:42:15 INFO: Retrieving Pricing Info for: v3-standard-8 18:42:15 INFO: Archiving Costs [Pipeline] echo 18:42:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:42:15 ---> logs-deploy.sh 18:42:15 lf-activate-venv: SKIPPING 18:42:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-530/1 18:42:15 INFO: archiving workspace using pattern(s): 18:42:16 Archives upload complete. 18:42:16 INFO: archiving logs to Nexus