Pull request #560 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4b3478ab1e12328ee6a49560d74da6437f8d5838+023efeb58b72985ebd230dffc6fa2da5abccc86b (0326544d925b1bac52f51cf0609eb2ff28e87faa) 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-ssh15557947175395175319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh104518226228417085.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-560/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-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11708582393366816452.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-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5633490092795377087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3702584269192898329.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-560/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-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4209467530795030690.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-14857 in /w/workspace/_app-service-configurable_PR-560 [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-560 # 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/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 023efeb58b72985ebd230dffc6fa2da5abccc86b into PR head commit 4b3478ab1e12328ee6a49560d74da6437f8d5838 Merge succeeded, producing 4b3478ab1e12328ee6a49560d74da6437f8d5838 Checking out Revision 4b3478ab1e12328ee6a49560d74da6437f8d5838 (PR-560) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config core.sparsecheckout # timeout=10 > git checkout -f 4b3478ab1e12328ee6a49560d74da6437f8d5838 # 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 023efeb58b72985ebd230dffc6fa2da5abccc86b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b3478ab1e12328ee6a49560d74da6437f8d5838 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:38:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:38:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:38:33 ========================================================= 01:38:33 EdgeX Global Pipelines Version Info 01:38:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:38:33 ------------------- 01:38:33 stable info: 01:38:33 ------------------- 01:38:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:38:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:38:33 Message: update stable to v1.0.249 01:38:34 ------------------- 01:38:34 experimental info: 01:38:34 ------------------- 01:38:34 Commited By: **** collab-it+edgex@linuxfoundation.org 01:38:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:38:34 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:38:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo 01:38:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo 01:38:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo 01:38:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b3478ab1e12328ee6a49560d74da6437f8d5838 [Pipeline] echo 01:38:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b3478a [Pipeline] echo 01:38:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:36 provisioning config files... 01:38:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-560@tmp/config3371425718878807612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:36 ---> docker-login.sh 01:38:36 nexus3.edgexfoundry.org:10001 01:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:36 Configure a credential helper to remove this warning. See 01:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:36 01:38:36 Login Succeeded 01:38:36 nexus3.edgexfoundry.org:10002 01:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:36 Configure a credential helper to remove this warning. See 01:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:36 01:38:36 Login Succeeded 01:38:36 nexus3.edgexfoundry.org:10003 01:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:37 Configure a credential helper to remove this warning. See 01:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:37 01:38:37 Login Succeeded 01:38:37 nexus3.edgexfoundry.org:10004 01:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:37 Configure a credential helper to remove this warning. See 01:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:37 01:38:37 Login Succeeded 01:38:37 docker.io 01:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:37 Configure a credential helper to remove this warning. See 01:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:37 01:38:37 Login Succeeded 01:38:37 ---> docker-login.sh ends [Pipeline] } 01:38:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:38:38 + git rev-list -1 --merges 4b3478ab1e12328ee6a49560d74da6437f8d5838~1..4b3478ab1e12328ee6a49560d74da6437f8d5838 [Pipeline] echo 01:38:38 -----------> git rev-list -1 --merges 4b3478ab1e12328ee6a49560d74da6437f8d5838~1..4b3478ab1e12328ee6a49560d74da6437f8d5838 4b3478ab1e12328ee6a49560d74da6437f8d5838 [false] [Pipeline] sh 01:38:38 + git log --format=format:%s -1 4b3478ab1e12328ee6a49560d74da6437f8d5838 [Pipeline] echo 01:38:38 ========================================================= 01:38:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:38:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:38:38 + git log --format=format:%s -1 4b3478ab1e12328ee6a49560d74da6437f8d5838 [Pipeline] echo 01:38:38 [semverPrep] GIT_COMMIT: 4b3478ab1e12328ee6a49560d74da6437f8d5838, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 01:38:39 [semverPrep] This is not a build commit. [Pipeline] sh 01:38:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:38:39 + grep -v github /etc/ssh/ssh_known_hosts 01:38:39 + [ -e /tmp/ssh_known_hosts ] 01:38:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:38:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:38:39 + sudo tee -a /etc/ssh/ssh_known_hosts 01:38:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:38:39 01:38:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:38:40 0.1.4: Pulling from edgex-devops/py-git-semver 01:38:40 b85a868b505f: Pulling fs layer 01:38:40 e2be974225ed: Pulling fs layer 01:38:40 339a4e72a1f5: Pulling fs layer 01:38:40 988bab9f4d93: Pulling fs layer 01:38:40 1469e6f7b9e6: Pulling fs layer 01:38:40 eaf3925da568: Pulling fs layer 01:38:40 bab4dde63d76: Pulling fs layer 01:38:40 bde34c3a00c8: Pulling fs layer 01:38:40 b352a97aabf1: Pulling fs layer 01:38:40 4872d77fe225: Pulling fs layer 01:38:40 5851b861e8e6: Pulling fs layer 01:38:40 988bab9f4d93: Waiting 01:38:40 4872d77fe225: Waiting 01:38:40 5851b861e8e6: Waiting 01:38:40 bde34c3a00c8: Waiting 01:38:40 1469e6f7b9e6: Waiting 01:38:40 eaf3925da568: Waiting 01:38:40 bab4dde63d76: Waiting 01:38:40 b352a97aabf1: Waiting 01:38:40 e2be974225ed: Download complete 01:38:40 988bab9f4d93: Download complete 01:38:40 1469e6f7b9e6: Verifying Checksum 01:38:40 1469e6f7b9e6: Download complete 01:38:40 339a4e72a1f5: Verifying Checksum 01:38:40 339a4e72a1f5: Download complete 01:38:40 eaf3925da568: Verifying Checksum 01:38:40 eaf3925da568: Download complete 01:38:40 bde34c3a00c8: Verifying Checksum 01:38:40 bde34c3a00c8: Download complete 01:38:40 b352a97aabf1: Download complete 01:38:40 4872d77fe225: Download complete 01:38:40 5851b861e8e6: Download complete 01:38:40 b85a868b505f: Verifying Checksum 01:38:40 b85a868b505f: Download complete 01:38:40 bab4dde63d76: Verifying Checksum 01:38:40 bab4dde63d76: Download complete 01:38:41 b85a868b505f: Pull complete 01:38:43 e2be974225ed: Pull complete 01:38:43 339a4e72a1f5: Pull complete 01:38:43 988bab9f4d93: Pull complete 01:38:43 1469e6f7b9e6: Pull complete 01:38:43 eaf3925da568: Pull complete 01:38:45 bab4dde63d76: Pull complete 01:38:45 bde34c3a00c8: Pull complete 01:38:45 b352a97aabf1: Pull complete 01:38:45 4872d77fe225: Pull complete 01:38:45 5851b861e8e6: Pull complete 01:38:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:38:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:38:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:46 prd-ubuntu20.04-docker-8c-8g-14857 does not seem to be running inside a container 01:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-560 -v /w/workspace/_app-service-configurable_PR-560:/w/workspace/_app-service-configurable_PR-560:rw,z -v /w/workspace/_app-service-configurable_PR-560@tmp:/w/workspace/_app-service-configurable_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:38:48 $ docker top 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e -eo pid,comm 01:38:48 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). 01:38:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:38:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:38:48 [ssh-agent] Looking for ssh-agent implementation... 01:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:38:48 $ docker exec 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e ssh-agent 01:38:48 SSH_AUTH_SOCK=/tmp/ssh-3mgjyW9radel/agent.33 01:38:48 SSH_AGENT_PID=39 01:38:48 Running ssh-add (command line suppressed) 01:38:48 Identity added: /w/workspace/_app-service-configurable_PR-560@tmp/private_key_9732743112059384379.key (/w/workspace/_app-service-configurable_PR-560@tmp/private_key_9732743112059384379.key) 01:38:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:38:49 + git tag --points-at HEAD [Pipeline] } 01:38:49 $ docker exec --env ******** --env ******** 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e ssh-agent -k 01:38:49 unset SSH_AUTH_SOCK; 01:38:49 unset SSH_AGENT_PID; 01:38:49 echo Agent pid 39 killed; 01:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:38:49 [ssh-agent] Looking for ssh-agent implementation... 01:38:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:38:49 $ docker exec 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e ssh-agent 01:38:49 SSH_AUTH_SOCK=/tmp/ssh-LGhT1P7iSzy7/agent.71 01:38:49 SSH_AGENT_PID=77 01:38:49 Running ssh-add (command line suppressed) 01:38:49 Identity added: /w/workspace/_app-service-configurable_PR-560@tmp/private_key_16697693872280407787.key (/w/workspace/_app-service-configurable_PR-560@tmp/private_key_16697693872280407787.key) 01:38:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:38:50 + git semver init 01:38:50 2023-05-10 01:38:50,343 [run_init] DEBUG init version:0.0.0 force:False 01:38:50 2023-05-10 01:38:50,344 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-560/.semver 01:38:50 2023-05-10 01:38:50,345 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-560/.semver 01:38:50 2023-05-10 01:38:50,345 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-560/.semver'], cwd=/w/workspace/_app-service-configurable_PR-560, universal_newlines=False, shell=None, istream=None) 01:38:51 2023-05-10 01:38:51,160 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-560/.git/info/exclude 01:38:51 2023-05-10 01:38:51,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-560/.semver/PR-560 with force:False 01:38:51 2023-05-10 01:38:51,161 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-560/.semver/PR-560 01:38:51 2023-05-10 01:38:51,167 [execute] INFO git cat-file --batch-check 01:38:51 2023-05-10 01:38:51,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-560/.semver, universal_newlines=False, shell=None, istream=) 01:38:51 2023-05-10 01:38:51,175 [execute] INFO git cat-file --batch 01:38:51 2023-05-10 01:38:51,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-560/.semver, universal_newlines=False, shell=None, istream=) 01:38:51 2023-05-10 01:38:51,181 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-560/.semver/PR-560 01:38:51 0.0.0 [Pipeline] } 01:38:51 $ docker exec --env ******** --env ******** 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e ssh-agent -k 01:38:51 unset SSH_AUTH_SOCK; 01:38:51 unset SSH_AGENT_PID; 01:38:51 echo Agent pid 77 killed; 01:38:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:38:52 + git semver [Pipeline] } 01:38:52 $ docker stop --time=1 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e 01:38:53 $ docker rm -f --volumes 0a8a0de661e22ed83109168857067c126ed87ca92e3b265a1e96d3b686f12b5e [Pipeline] // withDockerContainer [Pipeline] sh 01:38:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:38:54 Stashed 1 file(s) [Pipeline] echo 01:38:54 [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 01:38:55 provisioning config files... 01:38:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-560@tmp/config14947177004582098913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:55 ---> docker-login.sh 01:38:55 nexus3.edgexfoundry.org:10001 01:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:55 Configure a credential helper to remove this warning. See 01:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:55 01:38:55 Login Succeeded 01:38:55 nexus3.edgexfoundry.org:10002 01:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:55 Configure a credential helper to remove this warning. See 01:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:55 01:38:55 Login Succeeded 01:38:55 nexus3.edgexfoundry.org:10003 01:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:55 Configure a credential helper to remove this warning. See 01:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:55 01:38:55 Login Succeeded 01:38:55 nexus3.edgexfoundry.org:10004 01:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:55 Configure a credential helper to remove this warning. See 01:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:55 01:38:55 Login Succeeded 01:38:55 docker.io 01:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:56 Configure a credential helper to remove this warning. See 01:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:56 01:38:56 Login Succeeded 01:38:56 ---> docker-login.sh ends [Pipeline] } 01:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:56 ========================================================= 01:38:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:38:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:56 + 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 . 01:38:56 Sending build context to Docker daemon 3.317MB 01:38:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:38:56 Step 2/12 : FROM ${BASE} AS builder 01:38:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:38:56 f56be85fc22e: Pulling fs layer 01:38:56 85791d961cd3: Pulling fs layer 01:38:56 d694b5ae8c79: Pulling fs layer 01:38:56 9f32a84ed3da: Pulling fs layer 01:38:56 4d19c01a9841: Pulling fs layer 01:38:56 9325e15d5711: Pulling fs layer 01:38:56 556b6ee489ea: Pulling fs layer 01:38:56 c5a4b2cf53e6: Pulling fs layer 01:38:56 4d19c01a9841: Waiting 01:38:56 9325e15d5711: Waiting 01:38:56 556b6ee489ea: Waiting 01:38:56 c5a4b2cf53e6: Waiting 01:38:56 9f32a84ed3da: Waiting 01:38:56 85791d961cd3: Verifying Checksum 01:38:56 85791d961cd3: Download complete 01:38:56 9f32a84ed3da: Download complete 01:38:56 4d19c01a9841: Verifying Checksum 01:38:56 4d19c01a9841: Download complete 01:38:56 f56be85fc22e: Download complete 01:38:57 9325e15d5711: Verifying Checksum 01:38:57 9325e15d5711: Download complete 01:38:57 f56be85fc22e: Pull complete 01:38:57 85791d961cd3: Pull complete 01:38:57 c5a4b2cf53e6: Verifying Checksum 01:38:57 c5a4b2cf53e6: Download complete 01:38:57 d694b5ae8c79: Verifying Checksum 01:38:57 d694b5ae8c79: Download complete 01:38:57 556b6ee489ea: Verifying Checksum 01:38:57 556b6ee489ea: Download complete 01:39:01 d694b5ae8c79: Pull complete 01:39:01 9f32a84ed3da: Pull complete 01:39:01 4d19c01a9841: Pull complete 01:39:01 9325e15d5711: Pull complete 01:39:03 556b6ee489ea: Pull complete 01:39:04 c5a4b2cf53e6: Pull complete 01:39:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:39:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:39:04 ---> c4be618373d6 01:39:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:39:08 ---> Running in b694850611bc 01:39:08 Removing intermediate container b694850611bc 01:39:08 ---> 51d9fd885451 01:39:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:39:08 ---> Running in 7fbe085bc388 01:39:08 Removing intermediate container 7fbe085bc388 01:39:08 ---> 47ab1773d1cd 01:39:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:39:08 ---> Running in a11144d16c96 01:39:08 Removing intermediate container a11144d16c96 01:39:08 ---> 7651fc6f4a75 01:39:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:08 ---> Running in ce6f8a94a8d9 01:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:39:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:39:09 OK: 265 MiB in 53 packages 01:39:09 Removing intermediate container ce6f8a94a8d9 01:39:09 ---> 235d18669268 01:39:09 Step 7/12 : WORKDIR /app 01:39:09 ---> Running in e18d351b9078 01:39:09 Removing intermediate container e18d351b9078 01:39:09 ---> f8398c39c15d 01:39:09 Step 8/12 : COPY go.mod vendor* ./ 01:39:09 ---> 45365085a6f0 01:39:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:09 ---> Running in 63afe90f07ba 01:39:09 Still waiting to schedule task 01:39:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:39:56 Removing intermediate container 63afe90f07ba 01:39:56 ---> 57bc26770dbf 01:39:56 Step 10/12 : COPY . . 01:39:56 ---> 9178b4f68985 01:39:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:39:56 ---> Running in e1835077b575 01:39:56 Removing intermediate container e1835077b575 01:39:56 ---> f79289187a3f 01:39:56 Step 12/12 : RUN $MAKE 01:39:56 ---> Running in 27d39e2093d2 01:39:56 noop 01:39:56 Removing intermediate container 27d39e2093d2 01:39:56 ---> ef2a148fab85 01:39:56 Successfully built ef2a148fab85 01:39:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:57 + docker inspect -f . ci-base-image-x86_64 01:39:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:57 prd-ubuntu20.04-docker-8c-8g-14857 does not seem to be running inside a container 01:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-560 -v /w/workspace/_app-service-configurable_PR-560:/w/workspace/_app-service-configurable_PR-560:rw,z -v /w/workspace/_app-service-configurable_PR-560@tmp:/w/workspace/_app-service-configurable_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:39:57 $ docker top 8c88326ad1c597e8e66fcdb571d59db116fed1b3634e476c2d589384e67e3ad9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:58 + go version 01:39:58 go version go1.20.2 linux/amd64 [Pipeline] } 01:39:58 $ docker stop --time=1 8c88326ad1c597e8e66fcdb571d59db116fed1b3634e476c2d589384e67e3ad9 01:39:59 $ docker rm -f --volumes 8c88326ad1c597e8e66fcdb571d59db116fed1b3634e476c2d589384e67e3ad9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:00 + docker inspect -f . ci-base-image-x86_64 01:40:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:00 prd-ubuntu20.04-docker-8c-8g-14857 does not seem to be running inside a container 01:40:00 $ 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-560 -v /w/workspace/_app-service-configurable_PR-560:/w/workspace/_app-service-configurable_PR-560:rw,z -v /w/workspace/_app-service-configurable_PR-560@tmp:/w/workspace/_app-service-configurable_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:40:00 $ docker top 0bc68e17eec448415b526234257992f65a557698bd38b6e03870be8faac6a6a4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:01 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-560 [Pipeline] fileExists [Pipeline] sh 01:40:01 + make test 01:40:01 go test -race -coverprofile=coverage.out ./... 01:40:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 01:40:37 go vet ./... 01:40:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:40 ./bin/test-attribution-txt.sh 01:40:40 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 01:40:40 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 01:40:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:40 $ docker stop --time=1 0bc68e17eec448415b526234257992f65a557698bd38b6e03870be8faac6a6a4 01:40:45 $ docker rm -f --volumes 0bc68e17eec448415b526234257992f65a557698bd38b6e03870be8faac6a6a4 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:47 + ls -al . 01:40:47 total 176 01:40:47 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:40 . 01:40:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:38 .. 01:40:47 -rw-rw-r-- 1 jenkins jenkins 119 May 10 01:38 .dockerignore 01:40:47 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:38 .git 01:40:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:38 .github 01:40:47 -rw-rw-r-- 1 jenkins jenkins 171 May 10 01:38 .gitignore 01:40:47 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:38 .golangci.yml 01:40:47 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:38 .semver 01:40:47 -rw-rw-r-- 1 jenkins jenkins 9088 May 10 01:38 Attribution.txt 01:40:47 -rw-rw-r-- 1 jenkins jenkins 29118 May 10 01:38 CHANGELOG.md 01:40:47 -rw-rw-r-- 1 jenkins jenkins 1898 May 10 01:38 Dockerfile 01:40:47 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:38 GOVERNANCE.md 01:40:47 -rw-rw-r-- 1 jenkins jenkins 688 May 10 01:38 Jenkinsfile 01:40:47 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 01:38 LICENSE 01:40:47 -rw-rw-r-- 1 jenkins jenkins 618 May 10 01:38 OWNERS.md 01:40:47 -rw-rw-r-- 1 jenkins jenkins 4369 May 10 01:38 README.md 01:40:47 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:38 VERSION 01:40:47 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:38 bin 01:40:47 -rw-r--r-- 1 jenkins jenkins 13 May 10 01:40 coverage.out 01:40:47 -rw-rw-r-- 1 jenkins jenkins 3302 May 10 01:38 go.mod 01:40:47 -rw-rw-r-- 1 jenkins jenkins 31421 May 10 01:38 go.sum 01:40:47 -rw-rw-r-- 1 jenkins jenkins 1937 May 10 01:38 main.go 01:40:47 -rw-rw-r-- 1 jenkins jenkins 2569 May 10 01:38 makefile 01:40:47 drwxrwxr-x 9 jenkins jenkins 4096 May 10 01:38 res 01:40:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:38 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:47 + 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=4b3478ab1e12328ee6a49560d74da6437f8d5838 --label arch=amd64 --label version=0.0.0 . 01:40:47 Sending build context to Docker daemon 3.318MB 01:40:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:40:47 Step 2/26 : FROM ${BASE} AS builder 01:40:47 ---> ef2a148fab85 01:40:47 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 01:40:47 ---> Running in 249e74aa8c0c 01:40:47 Removing intermediate container 249e74aa8c0c 01:40:47 ---> 217da72fa318 01:40:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:40:47 ---> Running in 9ec6a936cf01 01:40:47 Removing intermediate container 9ec6a936cf01 01:40:47 ---> 3da314bf961e 01:40:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:40:47 ---> Running in f173ff46fe62 01:40:47 Removing intermediate container f173ff46fe62 01:40:47 ---> 5d8f9d7d1b7a 01:40:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:47 ---> Running in 753a78d5844b 01:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:40:48 OK: 265 MiB in 53 packages 01:40:48 Removing intermediate container 753a78d5844b 01:40:48 ---> 5501dadb05cd 01:40:48 Step 7/26 : WORKDIR /app 01:40:48 ---> Running in 91ffc164cc54 01:40:48 Removing intermediate container 91ffc164cc54 01:40:48 ---> 806a540691db 01:40:48 Step 8/26 : COPY go.mod vendor* ./ 01:40:49 ---> a93e65688f7c 01:40:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:49 ---> Running in 2a21dad18019 01:40:49 Removing intermediate container 2a21dad18019 01:40:49 ---> e6493c37f1c5 01:40:49 Step 10/26 : COPY . . 01:40:49 ---> 200233946beb 01:40:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:49 ---> Running in e6843d87c77f 01:40:50 Removing intermediate container e6843d87c77f 01:40:50 ---> 43f1cff3f690 01:40:50 Step 12/26 : RUN $MAKE 01:40:50 ---> Running in 159dc2f2dfe2 01:40:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 01:41:12 Removing intermediate container 159dc2f2dfe2 01:41:12 ---> a7c2278670d0 01:41:12 Step 13/26 : FROM alpine:3.17 01:41:12 3.17: Pulling from library/alpine 01:41:12 f56be85fc22e: Already exists 01:41:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:41:12 Status: Downloaded newer image for alpine:3.17 01:41:12 ---> 9ed4aefc74f6 01:41:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:41:12 ---> Running in cc4147233ea9 01:41:12 Removing intermediate container cc4147233ea9 01:41:12 ---> 8164c0595ba5 01:41:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 01:41:12 ---> Running in b40b47473e86 01:41:12 Removing intermediate container b40b47473e86 01:41:12 ---> 115aa464a57f 01:41:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 01:41:12 ---> Running in da7522413e3f 01:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:41:12 (1/2) Installing ca-certificates (20230506-r0) 01:41:12 (2/2) Installing dumb-init (1.2.5-r2) 01:41:12 Executing busybox-1.35.0-r29.trigger 01:41:12 Executing ca-certificates-20230506-r0.trigger 01:41:12 OK: 8 MiB in 17 packages 01:41:12 Removing intermediate container da7522413e3f 01:41:12 ---> 98127207437c 01:41:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:41:12 ---> 99df795c7f2d 01:41:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 01:41:12 ---> 8533b9f7046f 01:41:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 01:41:12 ---> fc448c6e9ee1 01:41:12 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 01:41:12 ---> 17f5c33f6b3f 01:41:12 Step 21/26 : EXPOSE 48095 01:41:12 ---> Running in 431761f21417 01:41:12 Removing intermediate container 431761f21417 01:41:12 ---> 7883d2c1d800 01:41:12 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 01:41:12 ---> Running in 2932b632d80a 01:41:12 Removing intermediate container 2932b632d80a 01:41:12 ---> 19be45783ed0 01:41:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:41:12 ---> Running in 5b7a5dff2c71 01:41:12 Removing intermediate container 5b7a5dff2c71 01:41:12 ---> 1db279e97bb3 01:41:12 Step 24/26 : LABEL arch=amd64 01:41:12 ---> Running in cd904ccf7a52 01:41:12 Removing intermediate container cd904ccf7a52 01:41:12 ---> 43dd1a1333e6 01:41:12 Step 25/26 : LABEL git_sha=4b3478ab1e12328ee6a49560d74da6437f8d5838 01:41:12 ---> Running in e0dbc1d84513 01:41:12 Removing intermediate container e0dbc1d84513 01:41:12 ---> a4a3adaddc0b 01:41:12 Step 26/26 : LABEL version=0.0.0 01:41:12 ---> Running in 776db77c97d5 01:41:12 Removing intermediate container 776db77c97d5 01:41:12 ---> b69a22e46591 01:41:12 [Warning] One or more build-args [ARCH] were not consumed 01:41:12 Successfully built b69a22e46591 01:41:12 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 01:41:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:13 01:41:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:13 latest: Pulling from edgex-lftools-log-publisher 01:41:13 5eb5b503b376: Pulling fs layer 01:41:13 5c69ac0246d0: Pulling fs layer 01:41:13 ec43610c2a17: Pulling fs layer 01:41:13 3a2ae6a8a46f: Pulling fs layer 01:41:13 33b1e0a273af: Pulling fs layer 01:41:13 5d3b04190fa2: Pulling fs layer 01:41:13 3a2ae6a8a46f: Waiting 01:41:13 33b1e0a273af: Waiting 01:41:13 2f39f015ded8: Pulling fs layer 01:41:13 5d3b04190fa2: Waiting 01:41:13 2f39f015ded8: Waiting 01:41:13 5c69ac0246d0: Download complete 01:41:13 3a2ae6a8a46f: Verifying Checksum 01:41:13 3a2ae6a8a46f: Download complete 01:41:13 33b1e0a273af: Verifying Checksum 01:41:13 33b1e0a273af: Download complete 01:41:13 5d3b04190fa2: Verifying Checksum 01:41:13 5d3b04190fa2: Download complete 01:41:13 ec43610c2a17: Verifying Checksum 01:41:13 ec43610c2a17: Download complete 01:41:13 5eb5b503b376: Verifying Checksum 01:41:13 5eb5b503b376: Download complete 01:41:14 2f39f015ded8: Download complete 01:41:14 5eb5b503b376: Pull complete 01:41:14 5c69ac0246d0: Pull complete 01:41:15 ec43610c2a17: Pull complete 01:41:15 3a2ae6a8a46f: Pull complete 01:41:15 33b1e0a273af: Pull complete 01:41:15 5d3b04190fa2: Pull complete 01:41:19 2f39f015ded8: Pull complete 01:41:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:41:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:20 prd-ubuntu20.04-docker-8c-8g-14857 does not seem to be running inside a container 01:41:20 $ 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-560 -v /w/workspace/_app-service-configurable_PR-560:/w/workspace/_app-service-configurable_PR-560:rw,z -v /w/workspace/_app-service-configurable_PR-560@tmp:/w/workspace/_app-service-configurable_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:41:24 $ docker top e2296f35cf40f4b143e495ad5117618be7c6d13ea67aa3caab2bbce8cb8855f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:24 ---> job-cost.sh 01:41:24 lf-activate-venv: SKIPPING 01:41:24 INFO: No Stack... 01:41:24 INFO: Retrieving Pricing Info for: v3-standard-8 01:41:25 INFO: Archiving Costs [Pipeline] sh 01:41:25 + cat /w/workspace/_app-service-configurable_PR-560/archives/cost.csv 01:41:25 + cut -d, -f6 [Pipeline] lock 01:41:25 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] 01:41:25 Resource [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] did not exist. Created. 01:41:25 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:41:25 + echo total: 0.2199999988079071 [Pipeline] stash 01:41:25 Stashed 1 file(s) [Pipeline] } 01:41:25 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:41:25 $ docker stop --time=1 e2296f35cf40f4b143e495ad5117618be7c6d13ea67aa3caab2bbce8cb8855f7 01:41:27 $ docker rm -f --volumes e2296f35cf40f4b143e495ad5117618be7c6d13ea67aa3caab2bbce8cb8855f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:41:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14859 in /w/workspace/_app-service-configurable_PR-560 [Pipeline] { [Pipeline] ws 01:41:39 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 01:41:39 Selected Git installation does not exist. Using Default 01:41:39 The recommended git tool is: NONE 01:41:44 using credential edgex-jenkins-ssh 01:41:44 Cloning the remote Git repository 01:41:44 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 01:41:44 > git init /w/workspace/app-service-configurable/1 # timeout=10 01:41:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 01:41:45 > git --version # timeout=10 01:41:45 > git --version # 'git version 2.25.1' 01:41:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:41:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 01:41:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:41:47 Merging remotes/origin/main commit 023efeb58b72985ebd230dffc6fa2da5abccc86b into PR head commit 4b3478ab1e12328ee6a49560d74da6437f8d5838 01:41:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 01:41:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 01:41:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:41:48 > git config core.sparsecheckout # timeout=10 01:41:48 > git checkout -f 4b3478ab1e12328ee6a49560d74da6437f8d5838 # timeout=10 01:41:48 Merge succeeded, producing 4b3478ab1e12328ee6a49560d74da6437f8d5838 01:41:48 Checking out Revision 4b3478ab1e12328ee6a49560d74da6437f8d5838 (PR-560) 01:41:48 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 01:41:48 > git --version # timeout=10 01:41:48 > git --version # 'git version 2.25.1' 01:41:48 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:48 > git remote # timeout=10 01:41:48 > git config --get remote.origin.url # timeout=10 01:41:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:41:48 > git merge 023efeb58b72985ebd230dffc6fa2da5abccc86b # timeout=10 01:41:48 > git rev-parse HEAD^{commit} # timeout=10 01:41:48 > git config core.sparsecheckout # timeout=10 01:41:48 > git checkout -f 4b3478ab1e12328ee6a49560d74da6437f8d5838 # timeout=10 01:41:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:41:49 % Total % Received % Xferd Average Speed Time Time Time Current 01:41:49 Dload Upload Total Spent Left Speed 01:41:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 01:41:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:41:50 + sudo tee /etc/docker/daemon.new 01:41:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:41:50 { 01:41:50 "registry-mirrors": [ 01:41:50 "https://nexus3.edgexfoundry.org:10001" 01:41:50 ], 01:41:50 "bip": "10.250.0.254/24", 01:41:50 "hosts": [ 01:41:50 "tcp://0.0.0.0:5555", 01:41:50 "unix:///var/run/docker.sock" 01:41:50 ], 01:41:50 "mtu": 1458, 01:41:50 "selinux-enabled": true, 01:41:50 "seccomp-profile": "/etc/docker/seccomp.json" 01:41:50 } [Pipeline] sh 01:41:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:41:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:42:09 provisioning config files... 01:42:09 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5456458556915120164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:10 ---> docker-login.sh 01:42:10 nexus3.edgexfoundry.org:10001 01:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:10 Configure a credential helper to remove this warning. See 01:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:10 01:42:10 Login Succeeded 01:42:10 nexus3.edgexfoundry.org:10002 01:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:11 Configure a credential helper to remove this warning. See 01:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:11 01:42:11 Login Succeeded 01:42:11 nexus3.edgexfoundry.org:10003 01:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:11 Configure a credential helper to remove this warning. See 01:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:11 01:42:11 Login Succeeded 01:42:11 nexus3.edgexfoundry.org:10004 01:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:12 Configure a credential helper to remove this warning. See 01:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:12 01:42:12 Login Succeeded 01:42:12 docker.io 01:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:42:12 Configure a credential helper to remove this warning. See 01:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:42:12 01:42:12 Login Succeeded 01:42:12 ---> docker-login.sh ends [Pipeline] } 01:42:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:42:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:42:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:42:13 ========================================================= 01:42:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:42:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:13 + 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 . 01:42:13 Sending build context to Docker daemon 168.4kB 01:42:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:42:13 Step 2/12 : FROM ${BASE} AS builder 01:42:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:42:13 c41833b44d91: Pulling fs layer 01:42:13 ed15518f5707: Pulling fs layer 01:42:13 feae8fd75edb: Pulling fs layer 01:42:13 242c74f7c9fa: Pulling fs layer 01:42:13 3cdef696dda3: Pulling fs layer 01:42:13 242c74f7c9fa: Waiting 01:42:13 3cdef696dda3: Waiting 01:42:13 2ced38df9373: Pulling fs layer 01:42:13 58f1dce35555: Pulling fs layer 01:42:13 2ced38df9373: Waiting 01:42:13 ed15518f5707: Verifying Checksum 01:42:13 ed15518f5707: Download complete 01:42:14 242c74f7c9fa: Verifying Checksum 01:42:14 242c74f7c9fa: Download complete 01:42:14 3cdef696dda3: Verifying Checksum 01:42:14 3cdef696dda3: Download complete 01:42:14 c41833b44d91: Download complete 01:42:15 c41833b44d91: Pull complete 01:42:15 58f1dce35555: Verifying Checksum 01:42:15 58f1dce35555: Download complete 01:42:15 ed15518f5707: Pull complete 01:42:16 feae8fd75edb: Verifying Checksum 01:42:16 feae8fd75edb: Download complete 01:42:16 2ced38df9373: Verifying Checksum 01:42:26 feae8fd75edb: Pull complete 01:42:26 242c74f7c9fa: Pull complete 01:42:27 3cdef696dda3: Pull complete 01:42:35 2ced38df9373: Pull complete 01:42:36 58f1dce35555: Pull complete 01:42:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:42:36 ---> fadd8f120f05 01:42:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:42:38 ---> Running in 8fd5da332cda 01:42:39 Removing intermediate container 8fd5da332cda 01:42:39 ---> bae7ddd76a26 01:42:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:42:39 ---> Running in c19543c1dfaf 01:42:39 Removing intermediate container c19543c1dfaf 01:42:39 ---> bcdf88fa523c 01:42:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:42:39 ---> Running in a61f221e8263 01:42:39 Removing intermediate container a61f221e8263 01:42:39 ---> 34985e107695 01:42:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:39 ---> Running in dc7df88fbc96 01:42:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:42:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:42:42 OK: 263 MiB in 53 packages 01:42:43 Removing intermediate container dc7df88fbc96 01:42:43 ---> 7f161b5374ee 01:42:43 Step 7/12 : WORKDIR /app 01:42:43 ---> Running in 4d4f52c46532 01:42:44 Removing intermediate container 4d4f52c46532 01:42:44 ---> fa8a4910bd5e 01:42:44 Step 8/12 : COPY go.mod vendor* ./ 01:42:46 ---> 5273810af9fd 01:42:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:46 ---> Running in 80ab34cf0a60 01:43:54 Removing intermediate container 80ab34cf0a60 01:43:54 ---> a57b152522e8 01:43:54 Step 10/12 : COPY . . 01:43:54 ---> 18e873304c19 01:43:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:43:54 ---> Running in b3e9813aef5d 01:43:54 Removing intermediate container b3e9813aef5d 01:43:54 ---> 15afec64cc8c 01:43:54 Step 12/12 : RUN $MAKE 01:43:54 ---> Running in 6cc1ead4e1cb 01:43:54 noop 01:43:54 Removing intermediate container 6cc1ead4e1cb 01:43:54 ---> fb78ceb423c9 01:43:54 Successfully built fb78ceb423c9 01:43:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:55 + docker inspect -f . ci-base-image-arm64 01:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:55 prd-ubuntu20.04-docker-arm64-4c-16g-14859 does not seem to be running inside a container 01:43:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:43:56 $ docker top 9c0695bc818572183833bf5c8b68099efb4e2c3366eae707449908b2534cc2c8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:57 + go version 01:43:57 go version go1.20.2 linux/arm64 [Pipeline] } 01:43:57 $ docker stop --time=1 9c0695bc818572183833bf5c8b68099efb4e2c3366eae707449908b2534cc2c8 01:43:59 $ docker rm -f --volumes 9c0695bc818572183833bf5c8b68099efb4e2c3366eae707449908b2534cc2c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:00 + docker inspect -f . ci-base-image-arm64 01:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:00 prd-ubuntu20.04-docker-arm64-4c-16g-14859 does not seem to be running inside a container 01:44:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:44:02 $ docker top 89607ae3a39fda13d281808733a0610b613f467965ce467a87fd4f90520d0086 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:03 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 01:44:03 + make test 01:44:03 go test -race -coverprofile=coverage.out ./... 01:47:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 01:47:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:47:10 go vet ./... 01:49:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:49:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:49:32 ./bin/test-attribution-txt.sh 01:49:32 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 01:49:32 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 01:49:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:49:32 $ docker stop --time=1 89607ae3a39fda13d281808733a0610b613f467965ce467a87fd4f90520d0086 01:49:34 $ docker rm -f --volumes 89607ae3a39fda13d281808733a0610b613f467965ce467a87fd4f90520d0086 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:35 Warning: overwriting stash ‘coverage-report’ 01:49:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:37 + ls -al . 01:49:37 total 172 01:49:37 drwxrwxr-x 7 jenkins jenkins 4096 May 10 01:44 . 01:49:37 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:41 .. 01:49:37 -rw-rw-r-- 1 jenkins jenkins 119 May 10 01:41 .dockerignore 01:49:37 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:41 .git 01:49:37 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:41 .github 01:49:37 -rw-rw-r-- 1 jenkins jenkins 171 May 10 01:41 .gitignore 01:49:37 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:41 .golangci.yml 01:49:37 -rw-rw-r-- 1 jenkins jenkins 9088 May 10 01:41 Attribution.txt 01:49:37 -rw-rw-r-- 1 jenkins jenkins 29118 May 10 01:41 CHANGELOG.md 01:49:37 -rw-rw-r-- 1 jenkins jenkins 1898 May 10 01:41 Dockerfile 01:49:37 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:41 GOVERNANCE.md 01:49:37 -rw-rw-r-- 1 jenkins jenkins 688 May 10 01:41 Jenkinsfile 01:49:37 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 01:41 LICENSE 01:49:37 -rw-rw-r-- 1 jenkins jenkins 618 May 10 01:41 OWNERS.md 01:49:37 -rw-rw-r-- 1 jenkins jenkins 4369 May 10 01:41 README.md 01:49:37 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:38 VERSION 01:49:37 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:41 bin 01:49:37 -rw-r--r-- 1 jenkins jenkins 13 May 10 01:44 coverage.out 01:49:37 -rw-rw-r-- 1 jenkins jenkins 3302 May 10 01:41 go.mod 01:49:37 -rw-rw-r-- 1 jenkins jenkins 31421 May 10 01:41 go.sum 01:49:37 -rw-rw-r-- 1 jenkins jenkins 1937 May 10 01:41 main.go 01:49:37 -rw-rw-r-- 1 jenkins jenkins 2569 May 10 01:41 makefile 01:49:37 drwxrwxr-x 9 jenkins jenkins 4096 May 10 01:41 res 01:49:37 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:41 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:37 + 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=4b3478ab1e12328ee6a49560d74da6437f8d5838 --label arch=arm64 --label version=0.0.0 . 01:49:37 Sending build context to Docker daemon 169.5kB 01:49:37 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:49:37 Step 2/26 : FROM ${BASE} AS builder 01:49:37 ---> fb78ceb423c9 01:49:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 01:49:37 ---> Running in b8ed502aba82 01:49:38 Removing intermediate container b8ed502aba82 01:49:38 ---> 1f93eb5f6c3b 01:49:38 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:49:38 ---> Running in ae32b54be35b 01:49:38 Removing intermediate container ae32b54be35b 01:49:38 ---> 6a47594a6dbd 01:49:38 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:49:38 ---> Running in 7e99213afffa 01:49:39 Removing intermediate container 7e99213afffa 01:49:39 ---> a8d1a55c70d0 01:49:39 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:39 ---> Running in 0dba98586ff5 01:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:49:41 OK: 263 MiB in 53 packages 01:49:43 Removing intermediate container 0dba98586ff5 01:49:43 ---> 3c778296002b 01:49:43 Step 7/26 : WORKDIR /app 01:49:43 ---> Running in cac1db2eb582 01:49:43 Removing intermediate container cac1db2eb582 01:49:43 ---> be98874fcbdf 01:49:43 Step 8/26 : COPY go.mod vendor* ./ 01:49:44 ---> c11797b9e419 01:49:44 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:44 ---> Running in d3eb6f9065de 01:49:47 Removing intermediate container d3eb6f9065de 01:49:47 ---> 5bbbf987975e 01:49:47 Step 10/26 : COPY . . 01:49:47 ---> 6f9133b0dc4d 01:49:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:47 ---> Running in ddaf8a4440b7 01:49:48 Removing intermediate container ddaf8a4440b7 01:49:48 ---> f2bab483a022 01:49:48 Step 12/26 : RUN $MAKE 01:49:48 ---> Running in a1bcd3ad3f5d 01:49:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 01:52:10 Removing intermediate container a1bcd3ad3f5d 01:52:10 ---> 43b9f5c64aef 01:52:10 Step 13/26 : FROM alpine:3.17 01:52:10 3.17: Pulling from library/alpine 01:52:10 c41833b44d91: Already exists 01:52:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:52:10 Status: Downloaded newer image for alpine:3.17 01:52:10 ---> 51e60588ff2c 01:52:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:52:10 ---> Running in e1bc47543fdd 01:52:10 Removing intermediate container e1bc47543fdd 01:52:10 ---> 17ffb1c56c75 01:52:10 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 01:52:10 ---> Running in 4b83690c6eb1 01:52:10 Removing intermediate container 4b83690c6eb1 01:52:10 ---> 99b876aff239 01:52:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 01:52:10 ---> Running in 99ee8726576a 01:52:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:52:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:52:10 (1/2) Installing ca-certificates (20230506-r0) 01:52:10 (2/2) Installing dumb-init (1.2.5-r2) 01:52:10 Executing busybox-1.35.0-r29.trigger 01:52:10 Executing ca-certificates-20230506-r0.trigger 01:52:10 OK: 8 MiB in 17 packages 01:52:14 Removing intermediate container 99ee8726576a 01:52:14 ---> c2c02c69fc5f 01:52:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:52:14 ---> f404540e8f63 01:52:14 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 01:52:14 ---> a49871319bc9 01:52:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 01:52:15 ---> a3fa0486f09b 01:52:15 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 01:52:16 ---> fb26c18520c7 01:52:16 Step 21/26 : EXPOSE 48095 01:52:16 ---> Running in d9d136944a1a 01:52:17 Removing intermediate container d9d136944a1a 01:52:17 ---> 3b38f1ac653b 01:52:17 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 01:52:17 ---> Running in fdd2f788d5b7 01:52:17 Removing intermediate container fdd2f788d5b7 01:52:17 ---> df063393c9dc 01:52:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:52:17 ---> Running in 9ea69c35842f 01:52:17 Removing intermediate container 9ea69c35842f 01:52:17 ---> f4523f2bf06b 01:52:17 Step 24/26 : LABEL arch=arm64 01:52:17 ---> Running in 2d00ca8c3708 01:52:18 Removing intermediate container 2d00ca8c3708 01:52:18 ---> 8dc6b69362fd 01:52:18 Step 25/26 : LABEL git_sha=4b3478ab1e12328ee6a49560d74da6437f8d5838 01:52:18 ---> Running in c97d90e0d197 01:52:18 Removing intermediate container c97d90e0d197 01:52:18 ---> f66aa45182c1 01:52:18 Step 26/26 : LABEL version=0.0.0 01:52:18 ---> Running in c3873e23f651 01:52:19 Removing intermediate container c3873e23f651 01:52:19 ---> b38854606e61 01:52:19 [Warning] One or more build-args [ARCH] were not consumed 01:52:19 Successfully built b38854606e61 01:52:19 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 01:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:19 01:52:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:20 arm64: Pulling from edgex-lftools-log-publisher 01:52:20 8998bd30e6a1: Pulling fs layer 01:52:20 04944245beec: Pulling fs layer 01:52:20 699f458cf7ca: Pulling fs layer 01:52:20 765212b225bb: Pulling fs layer 01:52:20 f23df028b6ca: Pulling fs layer 01:52:20 d65c8cfc05b1: Pulling fs layer 01:52:20 2437ff75d9bd: Pulling fs layer 01:52:20 765212b225bb: Waiting 01:52:20 d65c8cfc05b1: Waiting 01:52:20 f23df028b6ca: Waiting 01:52:20 2437ff75d9bd: Waiting 01:52:20 04944245beec: Verifying Checksum 01:52:20 04944245beec: Download complete 01:52:20 765212b225bb: Verifying Checksum 01:52:20 765212b225bb: Download complete 01:52:20 f23df028b6ca: Verifying Checksum 01:52:20 f23df028b6ca: Download complete 01:52:20 d65c8cfc05b1: Verifying Checksum 01:52:20 d65c8cfc05b1: Download complete 01:52:20 699f458cf7ca: Verifying Checksum 01:52:20 699f458cf7ca: Download complete 01:52:21 8998bd30e6a1: Verifying Checksum 01:52:21 8998bd30e6a1: Download complete 01:52:23 2437ff75d9bd: Verifying Checksum 01:52:23 2437ff75d9bd: Download complete 01:52:25 8998bd30e6a1: Pull complete 01:52:27 04944245beec: Pull complete 01:52:28 699f458cf7ca: Pull complete 01:52:28 765212b225bb: Pull complete 01:52:29 f23df028b6ca: Pull complete 01:52:29 d65c8cfc05b1: Pull complete 01:52:41 2437ff75d9bd: Pull complete 01:52:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:52:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:42 prd-ubuntu20.04-docker-arm64-4c-16g-14859 does not seem to be running inside a container 01:52:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:52:45 $ docker top cacbcee8b017c0155845fa8cc873d74fa4927e8cb5534b458553b87eea6c9eac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:46 ---> job-cost.sh 01:52:46 lf-activate-venv: SKIPPING 01:52:46 INFO: No Stack... 01:52:46 INFO: Retrieving Pricing Info for: v3-standard-4 01:52:47 INFO: Archiving Costs [Pipeline] sh 01:52:48 + + cutcat -d, /w/workspace/app-service-configurable/1/archives/cost.csv -f6 01:52:48 [Pipeline] lock 01:52:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] 01:52:48 Resource [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] did not exist. Created. 01:52:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:52:48 /w/workspace/app-service-configurable/1@tmp/durable-c47a989c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:52:49 + echo total: 0.10999999940395355 [Pipeline] stash 01:52:49 Warning: overwriting stash ‘stack-cost’ 01:52:49 Stashed 1 file(s) [Pipeline] } 01:52:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:52:49 $ docker stop --time=1 cacbcee8b017c0155845fa8cc873d74fa4927e8cb5534b458553b87eea6c9eac 01:52:51 $ docker rm -f --volumes cacbcee8b017c0155845fa8cc873d74fa4927e8cb5534b458553b87eea6c9eac [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 01:52:52 provisioning config files... 01:52:52 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-560@tmp/config10164531616106386808tmp [Pipeline] { [Pipeline] sh 01:52:52 + set +x 01:52:52 + curl -s https://codecov.io/bash 01:52:52 + bash -s -- 01:52:52 01:52:52 _____ _ 01:52:52 / ____| | | 01:52:52 | | ___ __| | ___ ___ _____ __ 01:52:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:52:52 | |___| (_) | (_| | __/ (_| (_) \ V / 01:52:52 \_____\___/ \__,_|\___|\___\___/ \_/ 01:52:52 Bash-1.0.6 01:52:52 01:52:52 01:52:52 ==> git version 2.25.1 found 01:52:52 ==> 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 01:52:52 Release-Date: 2020-01-08 01:52:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:52:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:52:52 ==> Jenkins CI detected. 01:52:52 current dir:  /w/workspace/_app-service-configurable_PR-560 01:52:52 project root: . 01:52:52 --> token set from env 01:52:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:52:52 ==> Running gcov in . (disable via -X gcov) 01:52:52 ==> Python coveragepy not found 01:52:52 ==> Searching for coverage reports in: 01:52:52 + . 01:52:52 -> Found 1 reports 01:52:52 ==> Detecting git/mercurial file structure 01:52:52 ==> Reading reports 01:52:52 + ./coverage.out bytes=13 01:52:52 ==> Appending adjustments 01:52:52 https://docs.codecov.io/docs/fixing-reports 01:52:52 + Found adjustments 01:52:52 ==> Gzipping contents 01:52:52 4.0K /tmp/codecov.wqKaEZ.gz 01:52:52 ==> Uploading reports 01:52:52 url: https://codecov.io 01:52:52 query: branch=PR-560&commit=4b3478ab1e12328ee6a49560d74da6437f8d5838&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-560%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=560&job=&cmd_args= 01:52:52 -> Pinging Codecov 01:52:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-560&commit=4b3478ab1e12328ee6a49560d74da6437f8d5838&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-560%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=560&job=&cmd_args= 01:52:53 -> Uploading to 01:52:53 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/A97CA9966030D2A3747ED39772930CCE/4b3478ab1e12328ee6a49560d74da6437f8d5838/4d256228-514e-4c32-a822-6f3503c7d19e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T015253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d671c4582feac2660dba8097af4b0de03fd5dcb604cbc6b0f4af4f925ad899d3 01:52:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:52:53 Dload Upload Total Spent Left Speed 01:52:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1881 --:--:-- --:--:-- --:--:-- 1881 01:52:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4b3478ab1e12328ee6a49560d74da6437f8d5838 [Pipeline] } 01:52:53 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 01:52:55 + [ -d /w/workspace/_app-service-configurable_PR-560/archives ] 01:52:55 + ls -al /w/workspace/_app-service-configurable_PR-560/archives 01:52:55 total 16 01:52:55 drwxr-xr-x 3 root root 4096 May 10 01:41 . 01:52:55 drwxrwxr-x 9 jenkins jenkins 4096 May 10 01:41 .. 01:52:55 drwxr-xr-x 2 root root 4096 May 10 01:41 cost 01:52:55 -rw-r--r-- 1 root root 96 May 10 01:41 cost.csv 01:52:55 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-560/archives 01:52:55 + ls -al /w/workspace/_app-service-configurable_PR-560/archives 01:52:55 total 16 01:52:55 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:41 . 01:52:55 drwxrwxr-x 9 jenkins jenkins 4096 May 10 01:41 .. 01:52:55 drwxr-xr-x 2 jenkins jenkins 4096 May 10 01:41 cost 01:52:55 -rw-r--r-- 1 jenkins jenkins 96 May 10 01:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:52:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:52:56 ---> package-listing.sh 01:52:56 ++ facter osfamily 01:52:56 ++ tr '[:upper:]' '[:lower:]' 01:52:56 + OS_FAMILY=debian 01:52:56 + workspace=/w/workspace/_app-service-configurable_PR-560 01:52:56 + START_PACKAGES=/tmp/packages_start.txt 01:52:56 + END_PACKAGES=/tmp/packages_end.txt 01:52:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:52:56 + PACKAGES=/tmp/packages_start.txt 01:52:56 + '[' /w/workspace/_app-service-configurable_PR-560 ']' 01:52:56 + PACKAGES=/tmp/packages_end.txt 01:52:56 + case "${OS_FAMILY}" in 01:52:56 + dpkg -l 01:52:56 + grep '^ii' 01:52:56 + '[' -f /tmp/packages_start.txt ']' 01:52:56 + '[' -f /tmp/packages_end.txt ']' 01:52:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:52:56 + '[' /w/workspace/_app-service-configurable_PR-560 ']' 01:52:56 + mkdir -p /w/workspace/_app-service-configurable_PR-560/archives/ 01:52:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-560/archives/ [Pipeline] echo 01:52:56 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-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:52:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:58 prd-ubuntu20.04-docker-8c-8g-14857 does not seem to be running inside a container 01:52:58 $ 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-560/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-560 -v /w/workspace/_app-service-configurable_PR-560:/w/workspace/_app-service-configurable_PR-560:rw,z -v /w/workspace/_app-service-configurable_PR-560@tmp:/w/workspace/_app-service-configurable_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:52:58 $ docker top 3c1765becfa99919dc2ddd9eea3e82bef07940a9ddf2f94736552fe7ed7bcf2c -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:58 + touch /tmp/pre-build-complete [Pipeline] sh 01:52:58 + mkdir -p /var/log/sysstat [Pipeline] sh 01:52:59 + ls /var/log/sa-host 01:52:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:59 provisioning config files... 01:52:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-560@tmp/config13393877205690717420tmp [Pipeline] { [Pipeline] echo 01:52:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:52:59 ---> create-netrc.sh [Pipeline] } 01:52:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:53:00 ---> python-tools-install.sh [Pipeline] echo 01:53:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:53:00 ---> sudo-logs.sh 01:53:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:53:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:53:01 ---> job-cost.sh 01:53:01 lf-activate-venv: SKIPPING 01:53:01 DEBUG: total: 0.2199999988079071 01:53:01 INFO: Retrieving Stack Cost... 01:53:01 INFO: Retrieving Pricing Info for: v3-standard-8 01:53:02 INFO: Archiving Costs [Pipeline] echo 01:53:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:53:02 ---> logs-deploy.sh 01:53:02 lf-activate-venv: SKIPPING 01:53:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-560/1 01:53:02 INFO: archiving workspace using pattern(s): 01:53:03 Archives upload complete. 01:53:03 INFO: archiving logs to Nexus