Pull request #600 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from caaaa20c198b9f00f8dba7095076e543a62c1178+0395e99d32a0d2d9a72dc5ab9b084062246bcd10 (a19611404c69ee9d274269df7cea9c2747649d61) 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-ssh1544859042717460915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10601786848097962874.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-600/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-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2998602886587561804.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-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3911789907485906474.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh5801250597904404616.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-600/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-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh79042271005433864.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7562 in /w/workspace/_app-service-configurable_PR-600 [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-600 # 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/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0395e99d32a0d2d9a72dc5ab9b084062246bcd10 into PR head commit caaaa20c198b9f00f8dba7095076e543a62c1178 Merge succeeded, producing caaaa20c198b9f00f8dba7095076e543a62c1178 Checking out Revision caaaa20c198b9f00f8dba7095076e543a62c1178 (PR-600) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:22:44 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f caaaa20c198b9f00f8dba7095076e543a62c1178 # 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 0395e99d32a0d2d9a72dc5ab9b084062246bcd10 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f caaaa20c198b9f00f8dba7095076e543a62c1178 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:22:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:22:44 ========================================================= 12:22:44 EdgeX Global Pipelines Version Info 12:22:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:22:45 ------------------- 12:22:45 stable info: 12:22:45 ------------------- 12:22:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:22:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:22:45 Message: update stable to v1.0.254 12:22:45 ------------------- 12:22:45 experimental info: 12:22:45 ------------------- 12:22:45 Commited By: **** collab-it+edgex@linuxfoundation.org 12:22:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:22:45 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:22:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = caaaa20c198b9f00f8dba7095076e543a62c1178 [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = caaaa20 [Pipeline] echo 12:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:47 provisioning config files... 12:22:47 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-600@tmp/config9878970152845502476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:47 ---> docker-login.sh 12:22:47 nexus3.edgexfoundry.org:10001 12:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:48 Configure a credential helper to remove this warning. See 12:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:48 12:22:48 Login Succeeded 12:22:48 nexus3.edgexfoundry.org:10002 12:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:48 Configure a credential helper to remove this warning. See 12:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:48 12:22:48 Login Succeeded 12:22:48 nexus3.edgexfoundry.org:10003 12:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:48 Configure a credential helper to remove this warning. See 12:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:48 12:22:48 Login Succeeded 12:22:48 nexus3.edgexfoundry.org:10004 12:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:48 Configure a credential helper to remove this warning. See 12:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:48 12:22:48 Login Succeeded 12:22:48 docker.io 12:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:49 Configure a credential helper to remove this warning. See 12:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:49 12:22:49 Login Succeeded 12:22:49 ---> docker-login.sh ends [Pipeline] } 12:22:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:22:49 + git rev-list -1 --merges caaaa20c198b9f00f8dba7095076e543a62c1178~1..caaaa20c198b9f00f8dba7095076e543a62c1178 [Pipeline] echo 12:22:49 -----------> git rev-list -1 --merges caaaa20c198b9f00f8dba7095076e543a62c1178~1..caaaa20c198b9f00f8dba7095076e543a62c1178 caaaa20c198b9f00f8dba7095076e543a62c1178 [false] [Pipeline] sh 12:22:50 + git log --format=format:%s -1 caaaa20c198b9f00f8dba7095076e543a62c1178 [Pipeline] echo 12:22:50 ========================================================= 12:22:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:22:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:22:50 + git log --format=format:%s -1 caaaa20c198b9f00f8dba7095076e543a62c1178 [Pipeline] echo 12:22:50 [semverPrep] GIT_COMMIT: caaaa20c198b9f00f8dba7095076e543a62c1178, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:22:50 [semverPrep] This is not a build commit. [Pipeline] sh 12:22:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:22:50 + grep -v github /etc/ssh/ssh_known_hosts 12:22:50 + [ -e /tmp/ssh_known_hosts ] 12:22:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:22:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:22:50 + sudo tee -a /etc/ssh/ssh_known_hosts 12:22:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:51 12:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:51 0.1.4: Pulling from edgex-devops/py-git-semver 12:22:51 b85a868b505f: Pulling fs layer 12:22:51 e2be974225ed: Pulling fs layer 12:22:51 339a4e72a1f5: Pulling fs layer 12:22:51 988bab9f4d93: Pulling fs layer 12:22:51 1469e6f7b9e6: Pulling fs layer 12:22:51 988bab9f4d93: Waiting 12:22:51 eaf3925da568: Pulling fs layer 12:22:51 bab4dde63d76: Pulling fs layer 12:22:51 bde34c3a00c8: Pulling fs layer 12:22:51 1469e6f7b9e6: Waiting 12:22:51 eaf3925da568: Waiting 12:22:51 bab4dde63d76: Waiting 12:22:51 b352a97aabf1: Pulling fs layer 12:22:51 bde34c3a00c8: Waiting 12:22:51 4872d77fe225: Pulling fs layer 12:22:51 5851b861e8e6: Pulling fs layer 12:22:51 b352a97aabf1: Waiting 12:22:51 4872d77fe225: Waiting 12:22:51 5851b861e8e6: Waiting 12:22:51 e2be974225ed: Download complete 12:22:51 988bab9f4d93: Download complete 12:22:51 1469e6f7b9e6: Verifying Checksum 12:22:51 1469e6f7b9e6: Download complete 12:22:52 eaf3925da568: Download complete 12:22:52 339a4e72a1f5: Verifying Checksum 12:22:52 339a4e72a1f5: Download complete 12:22:52 bde34c3a00c8: Verifying Checksum 12:22:52 bde34c3a00c8: Download complete 12:22:52 b352a97aabf1: Verifying Checksum 12:22:52 b352a97aabf1: Download complete 12:22:52 4872d77fe225: Download complete 12:22:52 5851b861e8e6: Verifying Checksum 12:22:52 5851b861e8e6: Download complete 12:22:52 b85a868b505f: Verifying Checksum 12:22:52 b85a868b505f: Download complete 12:22:52 bab4dde63d76: Verifying Checksum 12:22:52 bab4dde63d76: Download complete 12:22:53 b85a868b505f: Pull complete 12:22:53 e2be974225ed: Pull complete 12:22:54 339a4e72a1f5: Pull complete 12:22:54 988bab9f4d93: Pull complete 12:22:54 1469e6f7b9e6: Pull complete 12:22:54 eaf3925da568: Pull complete 12:22:56 bab4dde63d76: Pull complete 12:22:56 bde34c3a00c8: Pull complete 12:22:56 b352a97aabf1: Pull complete 12:22:56 4872d77fe225: Pull complete 12:22:56 5851b861e8e6: Pull complete 12:22:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:22:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:56 prd-ubuntu20.04-docker-8c-8g-7562 does not seem to be running inside a container 12:22:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-600 -v /w/workspace/_app-service-configurable_PR-600:/w/workspace/_app-service-configurable_PR-600:rw,z -v /w/workspace/_app-service-configurable_PR-600@tmp:/w/workspace/_app-service-configurable_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:23:00 $ docker top 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce -eo pid,comm 12:23:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:23:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:23:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:00 [ssh-agent] Looking for ssh-agent implementation... 12:23:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:00 $ docker exec 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce ssh-agent 12:23:00 SSH_AUTH_SOCK=/tmp/ssh-vju9yiO37CE4/agent.32 12:23:00 SSH_AGENT_PID=38 12:23:00 Running ssh-add (command line suppressed) 12:23:00 Identity added: /w/workspace/_app-service-configurable_PR-600@tmp/private_key_5073536302632189567.key (/w/workspace/_app-service-configurable_PR-600@tmp/private_key_5073536302632189567.key) 12:23:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:01 + git tag --points-at HEAD [Pipeline] } 12:23:01 $ docker exec --env ******** --env ******** 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce ssh-agent -k 12:23:01 unset SSH_AUTH_SOCK; 12:23:01 unset SSH_AGENT_PID; 12:23:01 echo Agent pid 38 killed; 12:23:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:23:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:01 [ssh-agent] Looking for ssh-agent implementation... 12:23:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:01 $ docker exec 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce ssh-agent 12:23:01 SSH_AUTH_SOCK=/tmp/ssh-1eLayBnGISwG/agent.70 12:23:01 SSH_AGENT_PID=76 12:23:01 Running ssh-add (command line suppressed) 12:23:01 Identity added: /w/workspace/_app-service-configurable_PR-600@tmp/private_key_3187515567391165327.key (/w/workspace/_app-service-configurable_PR-600@tmp/private_key_3187515567391165327.key) 12:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:02 + git semver init 12:23:02 2023-09-21 12:23:02,204 [run_init] DEBUG init version:0.0.0 force:False 12:23:02 2023-09-21 12:23:02,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-600/.semver 12:23:02 2023-09-21 12:23:02,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-600/.semver 12:23:02 2023-09-21 12:23:02,206 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-600/.semver'], cwd=/w/workspace/_app-service-configurable_PR-600, universal_newlines=False, shell=None, istream=None) 12:23:03 2023-09-21 12:23:03,006 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-600/.git/info/exclude 12:23:03 2023-09-21 12:23:03,007 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-600/.semver/PR-600 with force:False 12:23:03 2023-09-21 12:23:03,007 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-600/.semver/PR-600 12:23:03 2023-09-21 12:23:03,010 [execute] INFO git cat-file --batch-check 12:23:03 2023-09-21 12:23:03,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-600/.semver, universal_newlines=False, shell=None, istream=) 12:23:03 2023-09-21 12:23:03,016 [execute] INFO git cat-file --batch 12:23:03 2023-09-21 12:23:03,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-600/.semver, universal_newlines=False, shell=None, istream=) 12:23:03 2023-09-21 12:23:03,022 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-600/.semver/PR-600 12:23:03 0.0.0 [Pipeline] } 12:23:03 $ docker exec --env ******** --env ******** 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce ssh-agent -k 12:23:03 unset SSH_AUTH_SOCK; 12:23:03 unset SSH_AGENT_PID; 12:23:03 echo Agent pid 76 killed; 12:23:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:23:03 + git semver [Pipeline] } 12:23:04 $ docker stop --time=1 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce 12:23:05 $ docker rm -f --volumes 9c1594b61fd38d6b479f73e5e2a70b34571c3a6c41b4555d2347ff706441e5ce [Pipeline] // withDockerContainer [Pipeline] sh 12:23:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:23:06 Stashed 1 file(s) [Pipeline] echo 12:23:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:06 provisioning config files... 12:23:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-600@tmp/config10718049912765420569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:07 ---> docker-login.sh 12:23:07 nexus3.edgexfoundry.org:10001 12:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:07 Configure a credential helper to remove this warning. See 12:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:07 12:23:07 Login Succeeded 12:23:07 nexus3.edgexfoundry.org:10002 12:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:07 Configure a credential helper to remove this warning. See 12:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:07 12:23:07 Login Succeeded 12:23:07 nexus3.edgexfoundry.org:10003 12:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:07 Configure a credential helper to remove this warning. See 12:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:07 12:23:07 Login Succeeded 12:23:07 nexus3.edgexfoundry.org:10004 12:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:07 Configure a credential helper to remove this warning. See 12:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:07 12:23:07 Login Succeeded 12:23:07 docker.io 12:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:07 Configure a credential helper to remove this warning. See 12:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:07 12:23:07 Login Succeeded 12:23:07 ---> docker-login.sh ends [Pipeline] } 12:23:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:07 ========================================================= 12:23:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:23:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:23:08 Sending build context to Docker daemon 3.36MB 12:23:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:23:08 Step 2/12 : FROM ${BASE} AS builder 12:23:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:23:08 7264a8db6415: Pulling fs layer 12:23:08 c4d48a809fc2: Pulling fs layer 12:23:08 4f1c88b9dad5: Pulling fs layer 12:23:08 ad3a456e5733: Pulling fs layer 12:23:08 33e27b845d1e: Pulling fs layer 12:23:08 c68163c4e522: Pulling fs layer 12:23:08 50da416c3ac9: Pulling fs layer 12:23:08 23d2d4c4bb30: Pulling fs layer 12:23:08 ad3a456e5733: Waiting 12:23:08 33e27b845d1e: Waiting 12:23:08 c68163c4e522: Waiting 12:23:08 50da416c3ac9: Waiting 12:23:08 23d2d4c4bb30: Waiting 12:23:08 c4d48a809fc2: Download complete 12:23:08 ad3a456e5733: Verifying Checksum 12:23:08 ad3a456e5733: Download complete 12:23:08 33e27b845d1e: Download complete 12:23:08 7264a8db6415: Verifying Checksum 12:23:08 7264a8db6415: Download complete 12:23:08 c68163c4e522: Verifying Checksum 12:23:08 c68163c4e522: Download complete 12:23:08 7264a8db6415: Pull complete 12:23:08 23d2d4c4bb30: Verifying Checksum 12:23:08 23d2d4c4bb30: Download complete 12:23:08 c4d48a809fc2: Pull complete 12:23:08 4f1c88b9dad5: Verifying Checksum 12:23:08 4f1c88b9dad5: Download complete 12:23:09 50da416c3ac9: Verifying Checksum 12:23:09 50da416c3ac9: Download complete 12:23:12 4f1c88b9dad5: Pull complete 12:23:12 ad3a456e5733: Pull complete 12:23:12 33e27b845d1e: Pull complete 12:23:12 c68163c4e522: Pull complete 12:23:14 50da416c3ac9: Pull complete 12:23:14 23d2d4c4bb30: Pull complete 12:23:14 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:23:14 ---> 0786185ac409 12:23:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:23:20 ---> Running in 18d86b03086b 12:23:20 Removing intermediate container 18d86b03086b 12:23:20 ---> 5666c81015ab 12:23:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:23:20 ---> Running in 79d98e1975d4 12:23:20 Removing intermediate container 79d98e1975d4 12:23:20 ---> bc730113a839 12:23:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:23:20 ---> Running in 702a6f9e6917 12:23:20 Removing intermediate container 702a6f9e6917 12:23:20 ---> 84018a574380 12:23:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:23:20 ---> Running in 8c9096ecca25 12:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:23:20 OK: 264 MiB in 52 packages 12:23:20 Removing intermediate container 8c9096ecca25 12:23:20 ---> a06390f98167 12:23:20 Step 7/12 : WORKDIR /app 12:23:21 ---> Running in 427f1883c2b6 12:23:21 Removing intermediate container 427f1883c2b6 12:23:21 ---> 68e6601efdd4 12:23:21 Step 8/12 : COPY go.mod vendor* ./ 12:23:21 ---> ee932bfc3177 12:23:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:23:21 ---> Running in 0c142ef7cbf0 12:23:21 Still waiting to schedule task 12:23:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:23:59 Removing intermediate container 0c142ef7cbf0 12:23:59 ---> 61b691867781 12:23:59 Step 10/12 : COPY . . 12:23:59 ---> 260be2e1f37c 12:23:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:23:59 ---> Running in 51770bbc2dd9 12:23:59 Removing intermediate container 51770bbc2dd9 12:23:59 ---> b00f4d38aca2 12:23:59 Step 12/12 : RUN $MAKE 12:23:59 ---> Running in dd351d09e3cb 12:23:59 noop 12:23:59 Removing intermediate container dd351d09e3cb 12:23:59 ---> 9e9356f317a1 12:23:59 Successfully built 9e9356f317a1 12:23:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:00 + docker inspect -f . ci-base-image-x86_64 12:24:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:00 prd-ubuntu20.04-docker-8c-8g-7562 does not seem to be running inside a container 12:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-600 -v /w/workspace/_app-service-configurable_PR-600:/w/workspace/_app-service-configurable_PR-600:rw,z -v /w/workspace/_app-service-configurable_PR-600@tmp:/w/workspace/_app-service-configurable_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:00 $ docker top d6db09a3c5e62cd50cbead7f5fa5f315da9a57de24312d5bfedea4a2910c8555 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:01 + go version 12:24:01 go version go1.21.0 linux/amd64 [Pipeline] } 12:24:01 $ docker stop --time=1 d6db09a3c5e62cd50cbead7f5fa5f315da9a57de24312d5bfedea4a2910c8555 12:24:02 $ docker rm -f --volumes d6db09a3c5e62cd50cbead7f5fa5f315da9a57de24312d5bfedea4a2910c8555 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:03 + docker inspect -f . ci-base-image-x86_64 12:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:03 prd-ubuntu20.04-docker-8c-8g-7562 does not seem to be running inside a container 12:24:03 $ 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-600 -v /w/workspace/_app-service-configurable_PR-600:/w/workspace/_app-service-configurable_PR-600:rw,z -v /w/workspace/_app-service-configurable_PR-600@tmp:/w/workspace/_app-service-configurable_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:03 $ docker top e39cdde5ecd24daa2233841b2364b4f915cc83e215bf1f509803368608c9eeab -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:04 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-600 [Pipeline] fileExists [Pipeline] sh 12:24:04 + make test 12:24:04 go test -race -coverprofile=coverage.out ./... 12:24:26 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:24:38 go vet ./... 12:24:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:24:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:24:42 ./bin/test-attribution-txt.sh [Pipeline] echo 12:24:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:24:42 $ docker stop --time=1 e39cdde5ecd24daa2233841b2364b4f915cc83e215bf1f509803368608c9eeab 12:24:47 $ docker rm -f --volumes e39cdde5ecd24daa2233841b2364b4f915cc83e215bf1f509803368608c9eeab [Pipeline] // withDockerContainer [Pipeline] sh 12:24:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:24:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:24:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:24:48 + ls -al . 12:24:48 total 184 12:24:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 12:24 . 12:24:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 12:22 .. 12:24:48 -rw-rw-r-- 1 jenkins jenkins 119 Sep 21 12:22 .dockerignore 12:24:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 12:24 .git 12:24:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 12:22 .github 12:24:48 -rw-rw-r-- 1 jenkins jenkins 171 Sep 21 12:22 .gitignore 12:24:48 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 12:22 .golangci.yml 12:24:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 12:23 .semver 12:24:48 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 21 12:22 Attribution.txt 12:24:48 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 21 12:22 CHANGELOG.md 12:24:48 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 21 12:22 Dockerfile 12:24:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 12:22 GOVERNANCE.md 12:24:48 -rw-rw-r-- 1 jenkins jenkins 688 Sep 21 12:22 Jenkinsfile 12:24:48 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 21 12:22 LICENSE 12:24:48 -rw-rw-r-- 1 jenkins jenkins 618 Sep 21 12:22 OWNERS.md 12:24:48 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 21 12:22 README.md 12:24:48 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 12:23 VERSION 12:24:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 12:22 bin 12:24:48 -rw-r--r-- 1 jenkins jenkins 13 Sep 21 12:24 coverage.out 12:24:48 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 21 12:22 go.mod 12:24:48 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 21 12:22 go.sum 12:24:48 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 21 12:22 main.go 12:24:48 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 21 12:22 makefile 12:24:48 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 12:22 res 12:24:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 12:22 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:49 + 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=caaaa20c198b9f00f8dba7095076e543a62c1178 --label arch=amd64 --label version=0.0.0 . 12:24:49 Sending build context to Docker daemon 3.361MB 12:24:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:24:49 Step 2/26 : FROM ${BASE} AS builder 12:24:49 ---> 9e9356f317a1 12:24:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:24:49 ---> Running in 488bc56845cf 12:24:49 Removing intermediate container 488bc56845cf 12:24:49 ---> f8f56fc859c8 12:24:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:24:49 ---> Running in 1a1505d844d3 12:24:49 Removing intermediate container 1a1505d844d3 12:24:49 ---> ab75d149b5d2 12:24:49 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:24:49 ---> Running in 497cca9cffad 12:24:49 Removing intermediate container 497cca9cffad 12:24:49 ---> a6d966b7eac6 12:24:49 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:24:49 ---> Running in 61f0b8961bf5 12:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:24:50 OK: 264 MiB in 52 packages 12:24:50 Removing intermediate container 61f0b8961bf5 12:24:50 ---> 51a344d3672d 12:24:50 Step 7/26 : WORKDIR /app 12:24:50 ---> Running in 46ed468c9532 12:24:50 Removing intermediate container 46ed468c9532 12:24:50 ---> 9435192d8371 12:24:50 Step 8/26 : COPY go.mod vendor* ./ 12:24:50 ---> 4f04e5a44b48 12:24:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:24:50 ---> Running in 3e07d7beac21 12:24:51 Removing intermediate container 3e07d7beac21 12:24:51 ---> 27becdff05b3 12:24:51 Step 10/26 : COPY . . 12:24:52 ---> 03cd8cd46d27 12:24:52 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:24:52 ---> Running in ccd064d4ea46 12:24:52 Removing intermediate container ccd064d4ea46 12:24:52 ---> 47c689fb325c 12:24:52 Step 12/26 : RUN $MAKE 12:24:52 ---> Running in c824942789b0 12:24:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.34 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:24:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7563 in /w/workspace/_app-service-configurable_PR-600 [Pipeline] { [Pipeline] ws 12:24:55 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:24:55 Selected Git installation does not exist. Using Default 12:24:55 The recommended git tool is: NONE 12:25:00 using credential edgex-jenkins-ssh 12:25:00 Cloning the remote Git repository 12:25:00 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:25:00 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:25:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:25:00 > git --version # timeout=10 12:25:00 > git --version # 'git version 2.25.1' 12:25:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:02 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:25:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:03 Merging remotes/origin/main commit 0395e99d32a0d2d9a72dc5ab9b084062246bcd10 into PR head commit caaaa20c198b9f00f8dba7095076e543a62c1178 12:25:03 Merge succeeded, producing caaaa20c198b9f00f8dba7095076e543a62c1178 12:25:03 Checking out Revision caaaa20c198b9f00f8dba7095076e543a62c1178 (PR-600) 12:25:02 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:25:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:25:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:25:03 > git config core.sparsecheckout # timeout=10 12:25:03 > git checkout -f caaaa20c198b9f00f8dba7095076e543a62c1178 # timeout=10 12:25:03 > git remote # timeout=10 12:25:03 > git config --get remote.origin.url # timeout=10 12:25:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:03 > git merge 0395e99d32a0d2d9a72dc5ab9b084062246bcd10 # timeout=10 12:25:03 > git rev-parse HEAD^{commit} # timeout=10 12:25:03 > git config core.sparsecheckout # timeout=10 12:25:03 > git checkout -f caaaa20c198b9f00f8dba7095076e543a62c1178 # timeout=10 12:25:04 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:25:04 > git --version # timeout=10 12:25:04 > git --version # 'git version 2.25.1' 12:25:04 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:25:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:25:05 % Total % Received % Xferd Average Speed Time Time Time Current 12:25:05 Dload Upload Total Spent Left Speed 12:25:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 12:25:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:25:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:25:06 + sudo tee /etc/docker/daemon.new 12:25:06 { 12:25:06 "registry-mirrors": [ 12:25:06 "https://nexus3.edgexfoundry.org:10001" 12:25:06 ], 12:25:06 "bip": "10.250.0.254/24", 12:25:06 "hosts": [ 12:25:06 "tcp://0.0.0.0:5555", 12:25:06 "unix:///var/run/docker.sock" 12:25:06 ], 12:25:06 "mtu": 1458, 12:25:06 "selinux-enabled": true, 12:25:06 "seccomp-profile": "/etc/docker/seccomp.json" 12:25:06 } [Pipeline] sh 12:25:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:25:07 + sudo service docker restart 12:25:14 Removing intermediate container c824942789b0 12:25:14 ---> fb1a1859b64e 12:25:14 Step 13/26 : FROM alpine:3.18 12:25:14 3.18: Pulling from library/alpine 12:25:14 7264a8db6415: Already exists 12:25:14 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:25:14 Status: Downloaded newer image for alpine:3.18 12:25:14 ---> 7e01a0d0a1dc 12:25:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:25:14 ---> Running in 1fa115ac5d01 12:25:14 Removing intermediate container 1fa115ac5d01 12:25:14 ---> 712adf92b08b 12:25:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:25:14 ---> Running in f99a94bc8e89 12:25:14 Removing intermediate container f99a94bc8e89 12:25:14 ---> 4d793cdcf8b2 12:25:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:25:14 ---> Running in d3086e556550 12:25:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:25:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:25:14 (1/2) Installing ca-certificates (20230506-r0) 12:25:14 (2/2) Installing dumb-init (1.2.5-r2) 12:25:14 Executing busybox-1.36.1-r2.trigger 12:25:14 Executing ca-certificates-20230506-r0.trigger 12:25:14 OK: 8 MiB in 17 packages 12:25:14 Removing intermediate container d3086e556550 12:25:14 ---> dbc951e98317 12:25:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:25:14 ---> 8d8473092488 12:25:14 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:25:14 ---> 478f7ce2780a 12:25:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:25:14 ---> 3030631dcf40 12:25:14 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:25:15 ---> 044e90967793 12:25:15 Step 21/26 : EXPOSE 48095 12:25:15 ---> Running in c2e41d40b85b 12:25:15 Removing intermediate container c2e41d40b85b 12:25:15 ---> 6006fe486919 12:25:15 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:25:15 ---> Running in 05f2d943fa37 12:25:15 Removing intermediate container 05f2d943fa37 12:25:15 ---> 0d8db70d04f9 12:25:15 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:25:15 ---> Running in c587f4bf528d 12:25:15 Removing intermediate container c587f4bf528d 12:25:15 ---> 9fe76c0830ce 12:25:15 Step 24/26 : LABEL arch=amd64 12:25:15 ---> Running in 90b809fb247d 12:25:15 Removing intermediate container 90b809fb247d 12:25:15 ---> 79a10f963178 12:25:15 Step 25/26 : LABEL git_sha=caaaa20c198b9f00f8dba7095076e543a62c1178 12:25:15 ---> Running in 8e14f26af644 12:25:15 Removing intermediate container 8e14f26af644 12:25:15 ---> c77eb2be03ab 12:25:15 Step 26/26 : LABEL version=0.0.0 12:25:15 ---> Running in 5072e16f263f 12:25:15 Removing intermediate container 5072e16f263f 12:25:15 ---> 311f04766fbb 12:25:15 [Warning] One or more build-args [ARCH] were not consumed 12:25:15 Successfully built 311f04766fbb 12:25:15 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 12:25:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:25:16 12:25:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:25:16 latest: Pulling from edgex-lftools-log-publisher 12:25:16 5eb5b503b376: Pulling fs layer 12:25:16 5c69ac0246d0: Pulling fs layer 12:25:16 ec43610c2a17: Pulling fs layer 12:25:16 3a2ae6a8a46f: Pulling fs layer 12:25:16 33b1e0a273af: Pulling fs layer 12:25:16 5d3b04190fa2: Pulling fs layer 12:25:16 33b1e0a273af: Waiting 12:25:16 3a2ae6a8a46f: Waiting 12:25:16 2f39f015ded8: Pulling fs layer 12:25:16 2f39f015ded8: Waiting 12:25:16 5d3b04190fa2: Waiting 12:25:16 5c69ac0246d0: Verifying Checksum 12:25:16 5c69ac0246d0: Download complete 12:25:16 3a2ae6a8a46f: Verifying Checksum 12:25:16 3a2ae6a8a46f: Download complete 12:25:16 33b1e0a273af: Verifying Checksum 12:25:16 33b1e0a273af: Download complete 12:25:16 5d3b04190fa2: Download complete 12:25:16 ec43610c2a17: Verifying Checksum 12:25:16 ec43610c2a17: Download complete 12:25:17 5eb5b503b376: Verifying Checksum 12:25:17 5eb5b503b376: Download complete 12:25:17 2f39f015ded8: Download complete 12:25:18 5eb5b503b376: Pull complete 12:25:18 5c69ac0246d0: Pull complete 12:25:18 ec43610c2a17: Pull complete 12:25:18 3a2ae6a8a46f: Pull complete 12:25:19 33b1e0a273af: Pull complete 12:25:19 5d3b04190fa2: Pull complete 12:25:23 2f39f015ded8: Pull complete 12:25:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:25:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:25:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:25:23 prd-ubuntu20.04-docker-8c-8g-7562 does not seem to be running inside a container 12:25:23 $ 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-600 -v /w/workspace/_app-service-configurable_PR-600:/w/workspace/_app-service-configurable_PR-600:rw,z -v /w/workspace/_app-service-configurable_PR-600@tmp:/w/workspace/_app-service-configurable_PR-600@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 12:25:28 $ docker top c25362955b7cd7b2c33a75476657ca148b292f867a993b7bca5e00456c30ad3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 12:25:28 provisioning config files... 12:25:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10409630070552842306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:28 ---> job-cost.sh 12:25:28 lf-activate-venv: SKIPPING 12:25:28 INFO: No Stack... 12:25:28 ---> docker-login.sh 12:25:28 nexus3.edgexfoundry.org:10001 12:25:29 INFO: Retrieving Pricing Info for: v3-standard-8 12:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:29 Configure a credential helper to remove this warning. See 12:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:29 12:25:29 Login Succeeded 12:25:29 nexus3.edgexfoundry.org:10002 12:25:29 INFO: Archiving Costs [Pipeline] sh 12:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:29 Configure a credential helper to remove this warning. See 12:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:29 12:25:29 Login Succeeded 12:25:29 nexus3.edgexfoundry.org:10003 12:25:29 + cat /w/workspace/_app-service-configurable_PR-600/archives/cost.csv 12:25:29 + cut -d, -f6 12:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] lock 12:25:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] 12:25:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] did not exist. Created. 12:25:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:30 Configure a credential helper to remove this warning. See 12:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:30 12:25:30 Login Succeeded 12:25:30 nexus3.edgexfoundry.org:10004 12:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:30 + echo total: 0.2199999988079071 [Pipeline] stash 12:25:30 Stashed 1 file(s) [Pipeline] } 12:25:30 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] 12:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:30 Configure a credential helper to remove this warning. See 12:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:30 12:25:30 Login Succeeded 12:25:30 docker.io [Pipeline] // lock [Pipeline] } 12:25:30 $ docker stop --time=1 c25362955b7cd7b2c33a75476657ca148b292f867a993b7bca5e00456c30ad3e 12:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:31 Configure a credential helper to remove this warning. See 12:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:31 12:25:31 Login Succeeded 12:25:31 ---> docker-login.sh ends 12:25:31 $ docker rm -f --volumes c25362955b7cd7b2c33a75476657ca148b292f867a993b7bca5e00456c30ad3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 12:25:31 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 12:25:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:32 ========================================================= 12:25:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:25:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:25:32 Sending build context to Docker daemon 181.8kB 12:25:33 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:25:33 Step 2/12 : FROM ${BASE} AS builder 12:25:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:25:33 9fda8d8052c6: Pulling fs layer 12:25:33 5d54e960e981: Pulling fs layer 12:25:33 c4a7e357bf2a: Pulling fs layer 12:25:33 f0e02332f6b5: Pulling fs layer 12:25:33 cefa15bbcfad: Pulling fs layer 12:25:33 17808c966233: Pulling fs layer 12:25:33 f4c1fc716caa: Pulling fs layer 12:25:33 f0e02332f6b5: Waiting 12:25:33 cefa15bbcfad: Waiting 12:25:33 17808c966233: Waiting 12:25:33 f4c1fc716caa: Waiting 12:25:33 5d54e960e981: Verifying Checksum 12:25:33 5d54e960e981: Download complete 12:25:33 f0e02332f6b5: Verifying Checksum 12:25:33 f0e02332f6b5: Download complete 12:25:33 9fda8d8052c6: Verifying Checksum 12:25:33 9fda8d8052c6: Download complete 12:25:33 cefa15bbcfad: Verifying Checksum 12:25:33 cefa15bbcfad: Download complete 12:25:33 f4c1fc716caa: Verifying Checksum 12:25:33 f4c1fc716caa: Download complete 12:25:34 9fda8d8052c6: Pull complete 12:25:34 5d54e960e981: Pull complete 12:25:35 c4a7e357bf2a: Verifying Checksum 12:25:35 c4a7e357bf2a: Download complete 12:25:35 17808c966233: Verifying Checksum 12:25:35 17808c966233: Download complete 12:25:45 c4a7e357bf2a: Pull complete 12:25:45 f0e02332f6b5: Pull complete 12:25:46 cefa15bbcfad: Pull complete 12:25:52 17808c966233: Pull complete 12:25:54 f4c1fc716caa: Pull complete 12:25:54 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:25:54 ---> ea914061e18c 12:25:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:25:55 ---> Running in c7d24f03087d 12:25:55 Removing intermediate container c7d24f03087d 12:25:55 ---> 33cf0c9c09f8 12:25:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:25:55 ---> Running in fe1f8ffc6ad6 12:25:55 Removing intermediate container fe1f8ffc6ad6 12:25:55 ---> 3c898625db03 12:25:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:25:55 ---> Running in 5b8f0407af35 12:25:56 Removing intermediate container 5b8f0407af35 12:25:56 ---> 94b38db713e9 12:25:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:25:56 ---> Running in b4d3334e28a6 12:25:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:25:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:25:58 OK: 266 MiB in 52 packages 12:25:59 Removing intermediate container b4d3334e28a6 12:25:59 ---> 52312d5c22d9 12:25:59 Step 7/12 : WORKDIR /app 12:25:59 ---> Running in c4198df2f467 12:26:00 Removing intermediate container c4198df2f467 12:26:00 ---> 22479f162336 12:26:00 Step 8/12 : COPY go.mod vendor* ./ 12:26:00 ---> 0786695b87cc 12:26:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:00 ---> Running in 38e0cf5cc482 12:27:08 Removing intermediate container 38e0cf5cc482 12:27:08 ---> bf457d9f0f98 12:27:08 Step 10/12 : COPY . . 12:27:08 ---> 7bbeec442c59 12:27:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:08 ---> Running in 33f6956d9bbc 12:27:08 Removing intermediate container 33f6956d9bbc 12:27:08 ---> 5968dff1d367 12:27:08 Step 12/12 : RUN $MAKE 12:27:08 ---> Running in 8c9a74bc68a0 12:27:08 noop 12:27:08 Removing intermediate container 8c9a74bc68a0 12:27:08 ---> dc870a1ad906 12:27:08 Successfully built dc870a1ad906 12:27:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:09 + docker inspect -f . ci-base-image-arm64 12:27:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:09 prd-ubuntu20.04-docker-arm64-4c-16g-7563 does not seem to be running inside a container 12:27:09 $ 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 12:27:10 $ docker top 3cc368e84b740b6141ea4177a32eb36b5e316ac296822b41c2f1a61e2936be02 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:11 + go version 12:27:11 go version go1.21.0 linux/arm64 [Pipeline] } 12:27:11 $ docker stop --time=1 3cc368e84b740b6141ea4177a32eb36b5e316ac296822b41c2f1a61e2936be02 12:27:12 $ docker rm -f --volumes 3cc368e84b740b6141ea4177a32eb36b5e316ac296822b41c2f1a61e2936be02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:13 + docker inspect -f . ci-base-image-arm64 12:27:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:14 prd-ubuntu20.04-docker-arm64-4c-16g-7563 does not seem to be running inside a container 12:27:14 $ 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 12:27:15 $ docker top 8efc22ad830ca952cff3c609c17931b4ef1d0ff1d36a62605d2219351321c594 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:15 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:27:16 + make test 12:27:16 go test -race -coverprofile=coverage.out ./... 12:29:22 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:29:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:29:22 go vet ./... 12:30:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:30:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:30:59 ./bin/test-attribution-txt.sh [Pipeline] echo 12:30:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:30:59 $ docker stop --time=1 8efc22ad830ca952cff3c609c17931b4ef1d0ff1d36a62605d2219351321c594 12:31:01 $ docker rm -f --volumes 8efc22ad830ca952cff3c609c17931b4ef1d0ff1d36a62605d2219351321c594 [Pipeline] // withDockerContainer [Pipeline] sh 12:31:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:31:03 Warning: overwriting stash ‘coverage-report’ 12:31:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:31:04 + ls -al . 12:31:04 total 180 12:31:04 drwxrwxr-x 7 jenkins jenkins 4096 Sep 21 12:27 . 12:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 12:25 .. 12:31:04 -rw-rw-r-- 1 jenkins jenkins 119 Sep 21 12:25 .dockerignore 12:31:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 12:25 .git 12:31:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 12:25 .github 12:31:04 -rw-rw-r-- 1 jenkins jenkins 171 Sep 21 12:25 .gitignore 12:31:04 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 12:25 .golangci.yml 12:31:04 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 21 12:25 Attribution.txt 12:31:04 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 21 12:25 CHANGELOG.md 12:31:04 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 21 12:25 Dockerfile 12:31:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 12:25 GOVERNANCE.md 12:31:04 -rw-rw-r-- 1 jenkins jenkins 688 Sep 21 12:25 Jenkinsfile 12:31:04 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 21 12:25 LICENSE 12:31:04 -rw-rw-r-- 1 jenkins jenkins 618 Sep 21 12:25 OWNERS.md 12:31:04 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 21 12:25 README.md 12:31:04 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 12:23 VERSION 12:31:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 12:25 bin 12:31:04 -rw-r--r-- 1 jenkins jenkins 13 Sep 21 12:27 coverage.out 12:31:04 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 21 12:25 go.mod 12:31:04 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 21 12:25 go.sum 12:31:04 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 21 12:25 main.go 12:31:04 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 21 12:25 makefile 12:31:04 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 12:25 res 12:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 12:25 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:04 + 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=caaaa20c198b9f00f8dba7095076e543a62c1178 --label arch=arm64 --label version=0.0.0 . 12:31:04 Sending build context to Docker daemon 182.8kB 12:31:05 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:31:05 Step 2/26 : FROM ${BASE} AS builder 12:31:05 ---> dc870a1ad906 12:31:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:31:05 ---> Running in fa7bcc386555 12:31:05 Removing intermediate container fa7bcc386555 12:31:05 ---> d501545515eb 12:31:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:31:05 ---> Running in e7d6272764d7 12:31:05 Removing intermediate container e7d6272764d7 12:31:05 ---> 90df0693ed32 12:31:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:31:05 ---> Running in d26dee062f0c 12:31:06 Removing intermediate container d26dee062f0c 12:31:06 ---> 0ab21e7bd6eb 12:31:06 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:31:06 ---> Running in acc34f95d537 12:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:31:08 OK: 266 MiB in 52 packages 12:31:10 Removing intermediate container acc34f95d537 12:31:10 ---> fcb331c1ec83 12:31:10 Step 7/26 : WORKDIR /app 12:31:10 ---> Running in 84b395dc56f6 12:31:11 Removing intermediate container 84b395dc56f6 12:31:11 ---> a29fd077a3df 12:31:11 Step 8/26 : COPY go.mod vendor* ./ 12:31:11 ---> 37572eb4aa94 12:31:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:31:11 ---> Running in d1cb1e9fc40f 12:31:14 Removing intermediate container d1cb1e9fc40f 12:31:14 ---> fc8f421912c9 12:31:14 Step 10/26 : COPY . . 12:31:14 ---> db3ab3ed1e7e 12:31:14 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:31:14 ---> Running in 2ade7ac1c4ab 12:31:15 Removing intermediate container 2ade7ac1c4ab 12:31:15 ---> bc87d0294fdd 12:31:15 Step 12/26 : RUN $MAKE 12:31:15 ---> Running in 12327489796a 12:31:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.34 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:33:07 Removing intermediate container 12327489796a 12:33:07 ---> 85309ef81756 12:33:07 Step 13/26 : FROM alpine:3.18 12:33:07 3.18: Pulling from library/alpine 12:33:07 9fda8d8052c6: Already exists 12:33:07 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:33:07 Status: Downloaded newer image for alpine:3.18 12:33:07 ---> f6648c04cd6c 12:33:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:33:07 ---> Running in 7b6b0fae24d8 12:33:07 Removing intermediate container 7b6b0fae24d8 12:33:07 ---> 1b809e779c65 12:33:07 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:33:07 ---> Running in d33d432b8efc 12:33:07 Removing intermediate container d33d432b8efc 12:33:07 ---> 72a03dfe0461 12:33:07 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:33:07 ---> Running in 924891fe900b 12:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:33:07 (1/2) Installing ca-certificates (20230506-r0) 12:33:07 (2/2) Installing dumb-init (1.2.5-r2) 12:33:07 Executing busybox-1.36.1-r2.trigger 12:33:07 Executing ca-certificates-20230506-r0.trigger 12:33:07 OK: 9 MiB in 17 packages 12:33:07 Removing intermediate container 924891fe900b 12:33:07 ---> 40c2453d6e57 12:33:07 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:33:07 ---> 6547a10342f8 12:33:07 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:33:07 ---> 4ebdbabb2171 12:33:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:33:07 ---> b923efdbfcd8 12:33:07 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:33:07 ---> 9f606f3e094f 12:33:07 Step 21/26 : EXPOSE 48095 12:33:07 ---> Running in b831bdad7ba3 12:33:07 Removing intermediate container b831bdad7ba3 12:33:07 ---> 8562a66e490b 12:33:07 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:33:07 ---> Running in 2b4bd9d4d5f3 12:33:07 Removing intermediate container 2b4bd9d4d5f3 12:33:07 ---> 069587cbf891 12:33:07 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:33:07 ---> Running in 1ab5e1c831fa 12:33:07 Removing intermediate container 1ab5e1c831fa 12:33:07 ---> a6c49d688a88 12:33:07 Step 24/26 : LABEL arch=arm64 12:33:07 ---> Running in 7b72d5fe7762 12:33:07 Removing intermediate container 7b72d5fe7762 12:33:07 ---> adaed98b8498 12:33:07 Step 25/26 : LABEL git_sha=caaaa20c198b9f00f8dba7095076e543a62c1178 12:33:07 ---> Running in 7cd03bdbb454 12:33:07 Removing intermediate container 7cd03bdbb454 12:33:07 ---> e1db8aaa5c13 12:33:07 Step 26/26 : LABEL version=0.0.0 12:33:07 ---> Running in 6b0bcc736f0a 12:33:07 Removing intermediate container 6b0bcc736f0a 12:33:07 ---> 7bdf9eb00e0e 12:33:07 [Warning] One or more build-args [ARCH] were not consumed 12:33:07 Successfully built 7bdf9eb00e0e 12:33:07 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 12:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:08 12:33:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:08 arm64: Pulling from edgex-lftools-log-publisher 12:33:08 8998bd30e6a1: Pulling fs layer 12:33:08 04944245beec: Pulling fs layer 12:33:08 699f458cf7ca: Pulling fs layer 12:33:08 765212b225bb: Pulling fs layer 12:33:08 f23df028b6ca: Pulling fs layer 12:33:08 d65c8cfc05b1: Pulling fs layer 12:33:08 2437ff75d9bd: Pulling fs layer 12:33:08 f23df028b6ca: Waiting 12:33:08 d65c8cfc05b1: Waiting 12:33:08 2437ff75d9bd: Waiting 12:33:08 765212b225bb: Waiting 12:33:09 04944245beec: Verifying Checksum 12:33:09 04944245beec: Download complete 12:33:09 765212b225bb: Download complete 12:33:09 f23df028b6ca: Download complete 12:33:09 d65c8cfc05b1: Verifying Checksum 12:33:09 d65c8cfc05b1: Download complete 12:33:09 699f458cf7ca: Verifying Checksum 12:33:09 699f458cf7ca: Download complete 12:33:09 8998bd30e6a1: Download complete 12:33:11 2437ff75d9bd: Verifying Checksum 12:33:11 2437ff75d9bd: Download complete 12:33:14 8998bd30e6a1: Pull complete 12:33:14 04944245beec: Pull complete 12:33:15 699f458cf7ca: Pull complete 12:33:15 765212b225bb: Pull complete 12:33:16 f23df028b6ca: Pull complete 12:33:16 d65c8cfc05b1: Pull complete 12:33:31 2437ff75d9bd: Pull complete 12:33:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:33:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:32 prd-ubuntu20.04-docker-arm64-4c-16g-7563 does not seem to be running inside a container 12:33:32 $ 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 12:33:34 $ docker top c5931615c5790c8ed8aac64a64c90c8b18cf37bc8adb0be96d8085ed885b85c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:35 ---> job-cost.sh 12:33:35 lf-activate-venv: SKIPPING 12:33:35 INFO: No Stack... 12:33:35 INFO: Retrieving Pricing Info for: v3-standard-4 12:33:36 INFO: Archiving Costs [Pipeline] sh 12:33:37 + + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:33:37 cut -d, -f6 [Pipeline] lock 12:33:37 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] 12:33:37 Resource [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] did not exist. Created. 12:33:37 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:33:38 /w/workspace/app-service-configurable/1@tmp/durable-99fa030c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:33:38 + echo total: 0.10999999940395355 [Pipeline] stash 12:33:38 Warning: overwriting stash ‘stack-cost’ 12:33:38 Stashed 1 file(s) [Pipeline] } 12:33:38 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-600-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:33:38 $ docker stop --time=1 c5931615c5790c8ed8aac64a64c90c8b18cf37bc8adb0be96d8085ed885b85c6 12:33:40 $ docker rm -f --volumes c5931615c5790c8ed8aac64a64c90c8b18cf37bc8adb0be96d8085ed885b85c6 [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 12:33:41 provisioning config files... 12:33:41 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-600@tmp/config11161671665283660955tmp [Pipeline] { [Pipeline] sh 12:33:41 + set +x 12:33:41 + curl -s https://codecov.io/bash 12:33:41 + bash -s -- 12:33:41 12:33:41 _____ _ 12:33:41 / ____| | | 12:33:41 | | ___ __| | ___ ___ _____ __ 12:33:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:33:41 | |___| (_) | (_| | __/ (_| (_) \ V / 12:33:41 \_____\___/ \__,_|\___|\___\___/ \_/ 12:33:41 Bash-1.0.6 12:33:41 12:33:41 12:33:41 ==> git version 2.25.1 found 12:33:41 ==> 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 12:33:41 Release-Date: 2020-01-08 12:33:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:33:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:33:41 ==> Jenkins CI detected. 12:33:41 current dir:  /w/workspace/_app-service-configurable_PR-600 12:33:41 project root: . 12:33:41 --> token set from env 12:33:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:33:41 ==> Running gcov in . (disable via -X gcov) 12:33:41 ==> Python coveragepy not found 12:33:41 ==> Searching for coverage reports in: 12:33:41 + . 12:33:41 -> Found 1 reports 12:33:41 ==> Detecting git/mercurial file structure 12:33:41 ==> Reading reports 12:33:41 + ./coverage.out bytes=13 12:33:41 ==> Appending adjustments 12:33:41 https://docs.codecov.io/docs/fixing-reports 12:33:41 + Found adjustments 12:33:41 ==> Gzipping contents 12:33:41 4.0K /tmp/codecov.YaTuEv.gz 12:33:41 ==> Uploading reports 12:33:41 url: https://codecov.io 12:33:41 query: branch=PR-600&commit=caaaa20c198b9f00f8dba7095076e543a62c1178&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-600%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=600&job=&cmd_args= 12:33:41 -> Pinging Codecov 12:33:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-600&commit=caaaa20c198b9f00f8dba7095076e543a62c1178&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-600%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=600&job=&cmd_args= 12:33:42 -> Uploading to 12:33:42 https://storage.googleapis.com/codecov/v4/raw/2023-09-21/A97CA9966030D2A3747ED39772930CCE/caaaa20c198b9f00f8dba7095076e543a62c1178/9cb80631-d969-479f-a862-69744328aebb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230921T123341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0c096fde5b1c931bf41378211158cba1ef6e9061c693afa097f9892b276bc91 12:33:42 % Total % Received % Xferd Average Speed Time Time Time Current 12:33:42 Dload Upload Total Spent Left Speed 12:33:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1967 --:--:-- --:--:-- --:--:-- 1967 12:33:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/caaaa20c198b9f00f8dba7095076e543a62c1178 [Pipeline] } 12:33:42 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 12:33:44 + [ -d /w/workspace/_app-service-configurable_PR-600/archives ] 12:33:44 + ls -al /w/workspace/_app-service-configurable_PR-600/archives 12:33:44 total 16 12:33:44 drwxr-xr-x 3 root root 4096 Sep 21 12:25 . 12:33:44 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 12:25 .. 12:33:44 drwxr-xr-x 2 root root 4096 Sep 21 12:25 cost 12:33:44 -rw-r--r-- 1 root root 96 Sep 21 12:25 cost.csv 12:33:44 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-600/archives 12:33:44 + ls -al /w/workspace/_app-service-configurable_PR-600/archives 12:33:44 total 16 12:33:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 12:25 . 12:33:44 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 12:25 .. 12:33:44 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 12:25 cost 12:33:44 -rw-r--r-- 1 jenkins jenkins 96 Sep 21 12:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:33:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:45 ---> package-listing.sh 12:33:45 ++ facter osfamily 12:33:45 ++ tr '[:upper:]' '[:lower:]' 12:33:45 + OS_FAMILY=debian 12:33:45 + workspace=/w/workspace/_app-service-configurable_PR-600 12:33:45 + START_PACKAGES=/tmp/packages_start.txt 12:33:45 + END_PACKAGES=/tmp/packages_end.txt 12:33:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:45 + PACKAGES=/tmp/packages_start.txt 12:33:45 + '[' /w/workspace/_app-service-configurable_PR-600 ']' 12:33:45 + PACKAGES=/tmp/packages_end.txt 12:33:45 + case "${OS_FAMILY}" in 12:33:45 + dpkg -l 12:33:45 + grep '^ii' 12:33:45 + '[' -f /tmp/packages_start.txt ']' 12:33:45 + '[' -f /tmp/packages_end.txt ']' 12:33:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:45 + '[' /w/workspace/_app-service-configurable_PR-600 ']' 12:33:45 + mkdir -p /w/workspace/_app-service-configurable_PR-600/archives/ 12:33:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-600/archives/ [Pipeline] echo 12:33:45 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-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:33:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:46 prd-ubuntu20.04-docker-8c-8g-7562 does not seem to be running inside a container 12:33:46 $ 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-600/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-600 -v /w/workspace/_app-service-configurable_PR-600:/w/workspace/_app-service-configurable_PR-600:rw,z -v /w/workspace/_app-service-configurable_PR-600@tmp:/w/workspace/_app-service-configurable_PR-600@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 12:33:46 $ docker top 49d6e96db58101d8fc60fc49db13ab312914a0bad97dfae193d817af0afe68a2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:33:47 + touch /tmp/pre-build-complete [Pipeline] sh 12:33:47 + mkdir -p /var/log/sysstat [Pipeline] sh 12:33:47 + ls /var/log/sa-host 12:33:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:48 provisioning config files... 12:33:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-600@tmp/config17720371581496115199tmp [Pipeline] { [Pipeline] echo 12:33:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:33:48 ---> create-netrc.sh [Pipeline] } 12:33:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:33:48 ---> python-tools-install.sh [Pipeline] echo 12:33:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:33:49 ---> sudo-logs.sh 12:33:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:33:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:33:49 ---> job-cost.sh 12:33:49 lf-activate-venv: SKIPPING 12:33:49 DEBUG: total: 0.2199999988079071 12:33:49 INFO: Retrieving Stack Cost... 12:33:49 INFO: Retrieving Pricing Info for: v3-standard-8 12:33:50 INFO: Archiving Costs [Pipeline] echo 12:33:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:33:50 ---> logs-deploy.sh 12:33:50 lf-activate-venv: SKIPPING 12:33:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-600/1 12:33:50 INFO: archiving workspace using pattern(s): 12:33:51 Archives upload complete. 12:33:51 INFO: archiving logs to Nexus