Pull request #577 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 9af1fb680bf082d53e3f6fef6ad52838dfa3e878+162d3a06d6a77858f9267e44f258c8258eccc8be (04197fc0c4dfd581b6e227218ebf72b9800156d3) 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-ssh2147339349171341499.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16485122748716422439.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-577/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-577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2271878228411776351.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-577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6185456812370942259.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10573943252535248888.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-577/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-577/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10551390530023685044.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, goVersion:1.20, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2109 in /w/workspace/_app-service-configurable_PR-577 [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-577 # 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/577/head:refs/remotes/origin/PR-577 +refs/heads/minnesota:refs/remotes/origin/minnesota # timeout=10 Merging remotes/origin/minnesota commit 162d3a06d6a77858f9267e44f258c8258eccc8be into PR head commit 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 Merge succeeded, producing 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 Checking out Revision 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 (PR-577) > git config core.sparsecheckout # timeout=10 > git checkout -f 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 # 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 162d3a06d6a77858f9267e44f258c8258eccc8be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 # timeout=10 Commit message: "build: Update for patch 3.0.1 release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:36:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:36:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:36:26 ========================================================= 17:36:26 EdgeX Global Pipelines Version Info 17:36:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:36:27 ------------------- 17:36:27 stable info: 17:36:27 ------------------- 17:36:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:36:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:36:27 Message: update stable to v1.0.250 17:36:27 ------------------- 17:36:27 experimental info: 17:36:27 ------------------- 17:36:27 Commited By: **** collab-it+edgex@linuxfoundation.org 17:36:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:36:27 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:36:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:36:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:36:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:36:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-577 [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-577 [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-577 [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9af1fb6 [Pipeline] echo 17:36:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:29 provisioning config files... 17:36:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-577@tmp/config8281460223892475393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:29 ---> docker-login.sh 17:36:29 nexus3.edgexfoundry.org:10001 17:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:29 Configure a credential helper to remove this warning. See 17:36:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:29 17:36:29 Login Succeeded 17:36:29 nexus3.edgexfoundry.org:10002 17:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:30 Configure a credential helper to remove this warning. See 17:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:30 17:36:30 Login Succeeded 17:36:30 nexus3.edgexfoundry.org:10003 17:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:30 Configure a credential helper to remove this warning. See 17:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:30 17:36:30 Login Succeeded 17:36:30 nexus3.edgexfoundry.org:10004 17:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:30 Configure a credential helper to remove this warning. See 17:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:30 17:36:30 Login Succeeded 17:36:30 docker.io 17:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:30 Configure a credential helper to remove this warning. See 17:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:30 17:36:30 Login Succeeded 17:36:30 ---> docker-login.sh ends [Pipeline] } 17:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:36:31 + git rev-list -1 --merges 9af1fb680bf082d53e3f6fef6ad52838dfa3e878~1..9af1fb680bf082d53e3f6fef6ad52838dfa3e878 [Pipeline] echo 17:36:31 -----------> git rev-list -1 --merges 9af1fb680bf082d53e3f6fef6ad52838dfa3e878~1..9af1fb680bf082d53e3f6fef6ad52838dfa3e878 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 [false] [Pipeline] sh 17:36:31 + git log --format=format:%s -1 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 [Pipeline] echo 17:36:31 ========================================================= 17:36:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:36:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:32 + git log --format=format:%s -1 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 [Pipeline] echo 17:36:32 [semverPrep] GIT_COMMIT: 9af1fb680bf082d53e3f6fef6ad52838dfa3e878, Commit Message: build: Update for patch 3.0.1 release [Pipeline] echo 17:36:32 [semverPrep] This is not a build commit. [Pipeline] sh 17:36:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:36:32 + grep -v github /etc/ssh/ssh_known_hosts 17:36:32 + [ -e /tmp/ssh_known_hosts ] 17:36:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:36:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 17:36:32 sudo tee -a /etc/ssh/ssh_known_hosts 17:36:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:33 17:36:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:33 0.1.4: Pulling from edgex-devops/py-git-semver 17:36:33 b85a868b505f: Pulling fs layer 17:36:33 e2be974225ed: Pulling fs layer 17:36:33 339a4e72a1f5: Pulling fs layer 17:36:33 988bab9f4d93: Pulling fs layer 17:36:33 1469e6f7b9e6: Pulling fs layer 17:36:33 988bab9f4d93: Waiting 17:36:33 eaf3925da568: Pulling fs layer 17:36:33 bab4dde63d76: Pulling fs layer 17:36:33 1469e6f7b9e6: Waiting 17:36:33 eaf3925da568: Waiting 17:36:33 bde34c3a00c8: Pulling fs layer 17:36:33 b352a97aabf1: Pulling fs layer 17:36:33 bab4dde63d76: Waiting 17:36:33 bde34c3a00c8: Waiting 17:36:33 b352a97aabf1: Waiting 17:36:33 4872d77fe225: Pulling fs layer 17:36:33 5851b861e8e6: Pulling fs layer 17:36:33 5851b861e8e6: Waiting 17:36:33 988bab9f4d93: Download complete 17:36:33 1469e6f7b9e6: Verifying Checksum 17:36:33 1469e6f7b9e6: Download complete 17:36:33 339a4e72a1f5: Verifying Checksum 17:36:33 339a4e72a1f5: Download complete 17:36:33 eaf3925da568: Download complete 17:36:33 bde34c3a00c8: Download complete 17:36:33 b352a97aabf1: Verifying Checksum 17:36:33 b352a97aabf1: Download complete 17:36:33 4872d77fe225: Download complete 17:36:33 5851b861e8e6: Verifying Checksum 17:36:33 5851b861e8e6: Download complete 17:36:33 b85a868b505f: Verifying Checksum 17:36:33 b85a868b505f: Download complete 17:36:34 bab4dde63d76: Verifying Checksum 17:36:34 bab4dde63d76: Download complete 17:36:35 b85a868b505f: Pull complete 17:36:35 e2be974225ed: Pull complete 17:36:35 339a4e72a1f5: Pull complete 17:36:35 988bab9f4d93: Pull complete 17:36:35 1469e6f7b9e6: Pull complete 17:36:35 eaf3925da568: Pull complete 17:36:37 bab4dde63d76: Pull complete 17:36:37 bde34c3a00c8: Pull complete 17:36:37 b352a97aabf1: Pull complete 17:36:37 4872d77fe225: Pull complete 17:36:37 5851b861e8e6: Pull complete 17:36:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:36:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:38 prd-ubuntu20.04-docker-8c-8g-2109 does not seem to be running inside a container 17:36:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-577 -v /w/workspace/_app-service-configurable_PR-577:/w/workspace/_app-service-configurable_PR-577:rw,z -v /w/workspace/_app-service-configurable_PR-577@tmp:/w/workspace/_app-service-configurable_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:36:40 $ docker top ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf -eo pid,comm 17:36:40 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). 17:36:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:36:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:36:40 [ssh-agent] Looking for ssh-agent implementation... 17:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:36:41 $ docker exec ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf ssh-agent 17:36:41 SSH_AUTH_SOCK=/tmp/ssh-7cXUq68NRukp/agent.33 17:36:41 SSH_AGENT_PID=39 17:36:41 Running ssh-add (command line suppressed) 17:36:41 Identity added: /w/workspace/_app-service-configurable_PR-577@tmp/private_key_17014737358859089746.key (/w/workspace/_app-service-configurable_PR-577@tmp/private_key_17014737358859089746.key) 17:36:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:36:41 + git tag --points-at HEAD [Pipeline] } 17:36:41 $ docker exec --env ******** --env ******** ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf ssh-agent -k 17:36:41 unset SSH_AUTH_SOCK; 17:36:41 unset SSH_AGENT_PID; 17:36:41 echo Agent pid 39 killed; 17:36:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:36:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:36:41 [ssh-agent] Looking for ssh-agent implementation... 17:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:36:41 $ docker exec ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf ssh-agent 17:36:42 SSH_AUTH_SOCK=/tmp/ssh-q95acDji5O90/agent.71 17:36:42 SSH_AGENT_PID=77 17:36:42 Running ssh-add (command line suppressed) 17:36:42 Identity added: /w/workspace/_app-service-configurable_PR-577@tmp/private_key_4960353209159802839.key (/w/workspace/_app-service-configurable_PR-577@tmp/private_key_4960353209159802839.key) 17:36:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:36:42 + git semver init 17:36:42 2023-07-25 17:36:42,653 [run_init] DEBUG init version:0.0.0 force:False 17:36:42 2023-07-25 17:36:42,654 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-577/.semver 17:36:42 2023-07-25 17:36:42,654 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-577/.semver 17:36:42 2023-07-25 17:36:42,655 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-577/.semver'], cwd=/w/workspace/_app-service-configurable_PR-577, universal_newlines=False, shell=None, istream=None) 17:36:43 2023-07-25 17:36:43,555 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-577/.git/info/exclude 17:36:43 2023-07-25 17:36:43,556 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-577/.semver/PR-577 with force:False 17:36:43 2023-07-25 17:36:43,556 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-577/.semver/PR-577 17:36:43 2023-07-25 17:36:43,559 [execute] INFO git cat-file --batch-check 17:36:43 2023-07-25 17:36:43,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-577/.semver, universal_newlines=False, shell=None, istream=) 17:36:43 2023-07-25 17:36:43,567 [execute] INFO git cat-file --batch 17:36:43 2023-07-25 17:36:43,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-577/.semver, universal_newlines=False, shell=None, istream=) 17:36:43 2023-07-25 17:36:43,573 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-577/.semver/PR-577 17:36:43 0.0.0 [Pipeline] } 17:36:43 $ docker exec --env ******** --env ******** ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf ssh-agent -k 17:36:43 unset SSH_AUTH_SOCK; 17:36:43 unset SSH_AGENT_PID; 17:36:43 echo Agent pid 77 killed; 17:36:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:36:44 + git semver [Pipeline] } 17:36:44 $ docker stop --time=1 ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf 17:36:45 $ docker rm -f --volumes ee00c9225d69d1ea816abec7c2a9c8c147105fe32972d362bc263288c16f6ddf [Pipeline] // withDockerContainer [Pipeline] sh 17:36:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:36:46 Stashed 1 file(s) [Pipeline] echo 17:36:46 [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 17:36:47 provisioning config files... 17:36:47 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-577@tmp/config11835881741038098018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:47 ---> docker-login.sh 17:36:47 nexus3.edgexfoundry.org:10001 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 nexus3.edgexfoundry.org:10002 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 nexus3.edgexfoundry.org:10003 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 nexus3.edgexfoundry.org:10004 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 docker.io 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 ---> docker-login.sh ends [Pipeline] } 17:36:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:36:48 [edgeX.isLTS] Checking if [minnesota] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:48 [edgeX.isLTS] Checking if [minnesota] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:48 ========================================================= 17:36:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:36:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:36:48 Sending build context to Docker daemon 3.303MB 17:36:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:36:48 Step 2/12 : FROM ${BASE} AS builder 17:36:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:36:48 4db1b89c0bd1: Pulling fs layer 17:36:48 6911f1a30b25: Pulling fs layer 17:36:48 e194b8c5c2a9: Pulling fs layer 17:36:48 6863d3e3a2b1: Pulling fs layer 17:36:48 ec0bb842ea78: Pulling fs layer 17:36:48 40a00589a448: Pulling fs layer 17:36:48 6c08303d61cc: Pulling fs layer 17:36:48 798269fcf238: Pulling fs layer 17:36:48 6863d3e3a2b1: Waiting 17:36:48 6c08303d61cc: Waiting 17:36:48 798269fcf238: Waiting 17:36:48 ec0bb842ea78: Waiting 17:36:48 40a00589a448: Waiting 17:36:48 6863d3e3a2b1: Verifying Checksum 17:36:48 6863d3e3a2b1: Download complete 17:36:48 ec0bb842ea78: Verifying Checksum 17:36:48 ec0bb842ea78: Download complete 17:36:48 4db1b89c0bd1: Verifying Checksum 17:36:48 4db1b89c0bd1: Download complete 17:36:48 40a00589a448: Verifying Checksum 17:36:48 40a00589a448: Download complete 17:36:48 4db1b89c0bd1: Pull complete 17:36:48 6911f1a30b25: Pull complete 17:36:49 798269fcf238: Verifying Checksum 17:36:49 798269fcf238: Download complete 17:36:49 e194b8c5c2a9: Verifying Checksum 17:36:49 e194b8c5c2a9: Download complete 17:36:49 6c08303d61cc: Verifying Checksum 17:36:49 6c08303d61cc: Download complete 17:36:52 e194b8c5c2a9: Pull complete 17:36:52 6863d3e3a2b1: Pull complete 17:36:52 ec0bb842ea78: Pull complete 17:36:52 40a00589a448: Pull complete 17:36:55 6c08303d61cc: Pull complete 17:36:55 798269fcf238: Pull complete 17:36:55 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:36:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:36:55 ---> ec979cd7f677 17:36:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:37:01 ---> Running in dbec17d3c047 17:37:01 Removing intermediate container dbec17d3c047 17:37:01 ---> 1f3030f98d1d 17:37:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:37:01 ---> Running in a0bd4c4694cd 17:37:01 Removing intermediate container a0bd4c4694cd 17:37:01 ---> 31c32900e3ce 17:37:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:37:01 ---> Running in 4f011e9803fb 17:37:01 Removing intermediate container 4f011e9803fb 17:37:01 ---> a784da71984e 17:37:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:01 ---> Running in 0f61b9937023 17:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:37:01 Still waiting to schedule task 17:37:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:37:02 OK: 265 MiB in 53 packages 17:37:02 Removing intermediate container 0f61b9937023 17:37:02 ---> f6503fc10e49 17:37:02 Step 7/12 : WORKDIR /app 17:37:02 ---> Running in f602938acc30 17:37:02 Removing intermediate container f602938acc30 17:37:02 ---> f0b7a5d3d959 17:37:02 Step 8/12 : COPY go.mod vendor* ./ 17:37:02 ---> 500c8c603bbc 17:37:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:02 ---> Running in 01bb1e098afa 17:37:37 Removing intermediate container 01bb1e098afa 17:37:37 ---> 2c305ce263c4 17:37:37 Step 10/12 : COPY . . 17:37:37 ---> c3840b7633ea 17:37:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:37 ---> Running in 9c3feb17f503 17:37:37 Removing intermediate container 9c3feb17f503 17:37:37 ---> dadb409b734d 17:37:37 Step 12/12 : RUN $MAKE 17:37:37 ---> Running in 7212beeecf81 17:37:37 noop 17:37:37 Removing intermediate container 7212beeecf81 17:37:37 ---> cff3984ae082 17:37:37 Successfully built cff3984ae082 17:37:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:37 + docker inspect -f . ci-base-image-x86_64 17:37:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:37 prd-ubuntu20.04-docker-8c-8g-2109 does not seem to be running inside a container 17:37:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-577 -v /w/workspace/_app-service-configurable_PR-577:/w/workspace/_app-service-configurable_PR-577:rw,z -v /w/workspace/_app-service-configurable_PR-577@tmp:/w/workspace/_app-service-configurable_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:37:38 $ docker top fc4092024344e9a499ab2edc817bfe9d9b616973a8acd2a1ea488617bf871fff -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:38 + go version 17:37:38 go version go1.20.6 linux/amd64 [Pipeline] } 17:37:38 $ docker stop --time=1 fc4092024344e9a499ab2edc817bfe9d9b616973a8acd2a1ea488617bf871fff 17:37:39 $ docker rm -f --volumes fc4092024344e9a499ab2edc817bfe9d9b616973a8acd2a1ea488617bf871fff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:40 + docker inspect -f . ci-base-image-x86_64 17:37:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:40 prd-ubuntu20.04-docker-8c-8g-2109 does not seem to be running inside a container 17:37:40 $ 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-577 -v /w/workspace/_app-service-configurable_PR-577:/w/workspace/_app-service-configurable_PR-577:rw,z -v /w/workspace/_app-service-configurable_PR-577@tmp:/w/workspace/_app-service-configurable_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:37:41 $ docker top 6ed6ca65dc98bdd0abbd63ca3b2a21bb6c93ec0b84c773370725da6b0dca3040 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:41 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-577 [Pipeline] fileExists [Pipeline] sh 17:37:41 + make test 17:37:41 go test -race -coverprofile=coverage.out ./... 17:37:59 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:38:17 go vet ./... 17:38:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:38:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:38:20 ./bin/test-attribution-txt.sh 17:38:20 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 17:38:20 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 17:38:20 [edgeX.isLTS] Checking if [minnesota] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:38:20 $ docker stop --time=1 6ed6ca65dc98bdd0abbd63ca3b2a21bb6c93ec0b84c773370725da6b0dca3040 17:38:24 $ docker rm -f --volumes 6ed6ca65dc98bdd0abbd63ca3b2a21bb6c93ec0b84c773370725da6b0dca3040 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:38:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:38:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:38:26 + ls -al . 17:38:26 total 180 17:38:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 17:37 . 17:38:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 17:36 .. 17:38:26 -rw-rw-r-- 1 jenkins jenkins 119 Jul 25 17:36 .dockerignore 17:38:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 17:36 .git 17:38:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 17:36 .github 17:38:26 -rw-rw-r-- 1 jenkins jenkins 171 Jul 25 17:36 .gitignore 17:38:26 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 17:36 .golangci.yml 17:38:26 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 17:36 .semver 17:38:26 -rw-rw-r-- 1 jenkins jenkins 9088 Jul 25 17:36 Attribution.txt 17:38:26 -rw-rw-r-- 1 jenkins jenkins 35115 Jul 25 17:36 CHANGELOG.md 17:38:26 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 25 17:36 Dockerfile 17:38:26 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 17:36 GOVERNANCE.md 17:38:26 -rw-rw-r-- 1 jenkins jenkins 711 Jul 25 17:36 Jenkinsfile 17:38:26 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 25 17:36 LICENSE 17:38:26 -rw-rw-r-- 1 jenkins jenkins 618 Jul 25 17:36 OWNERS.md 17:38:26 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 25 17:36 README.md 17:38:26 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 17:36 VERSION 17:38:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 17:36 bin 17:38:26 -rw-r--r-- 1 jenkins jenkins 13 Jul 25 17:37 coverage.out 17:38:26 -rw-rw-r-- 1 jenkins jenkins 3254 Jul 25 17:36 go.mod 17:38:26 -rw-rw-r-- 1 jenkins jenkins 31325 Jul 25 17:36 go.sum 17:38:26 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 25 17:36 main.go 17:38:26 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 25 17:36 makefile 17:38:26 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 17:36 res 17:38:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 17:36 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:27 + 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=9af1fb680bf082d53e3f6fef6ad52838dfa3e878 --label arch=amd64 --label version=0.0.0 . 17:38:27 Sending build context to Docker daemon 3.304MB 17:38:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:38:27 Step 2/26 : FROM ${BASE} AS builder 17:38:27 ---> cff3984ae082 17:38:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:38:27 ---> Running in fc7d2b4975eb 17:38:27 Removing intermediate container fc7d2b4975eb 17:38:27 ---> ec47ca3ce133 17:38:27 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:38:27 ---> Running in 51285227cfdb 17:38:27 Removing intermediate container 51285227cfdb 17:38:27 ---> 87635d2366e8 17:38:27 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:38:27 ---> Running in f2f4d85ddcca 17:38:27 Removing intermediate container f2f4d85ddcca 17:38:27 ---> a998c2b5ddff 17:38:27 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:27 ---> Running in 99febdbd4db9 17:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:38:28 OK: 265 MiB in 53 packages 17:38:28 Removing intermediate container 99febdbd4db9 17:38:28 ---> 002dcad54686 17:38:28 Step 7/26 : WORKDIR /app 17:38:28 ---> Running in a571e0b54bae 17:38:28 Removing intermediate container a571e0b54bae 17:38:28 ---> 3f2b35d230d0 17:38:28 Step 8/26 : COPY go.mod vendor* ./ 17:38:28 ---> e26ac35439da 17:38:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:28 ---> Running in ecfd6034333f 17:38:29 Removing intermediate container ecfd6034333f 17:38:29 ---> 5abc67c7ea8b 17:38:29 Step 10/26 : COPY . . 17:38:29 ---> 9b444c9a3c71 17:38:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:29 ---> Running in e5e267816956 17:38:29 Removing intermediate container e5e267816956 17:38:29 ---> 8d7ca3dccbe4 17:38:29 Step 12/26 : RUN $MAKE 17:38:29 ---> Running in c1819bf07b99 17:38:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:38:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2110 in /w/workspace/_app-service-configurable_PR-577 [Pipeline] { [Pipeline] ws 17:38:33 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:38:33 Selected Git installation does not exist. Using Default 17:38:33 The recommended git tool is: NONE 17:38:38 using credential edgex-jenkins-ssh 17:38:38 Cloning the remote Git repository 17:38:38 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:38:38 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:38:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:38:38 > git --version # timeout=10 17:38:38 > git --version # 'git version 2.25.1' 17:38:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:38:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:38:41 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:38:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:38:43 Merging remotes/origin/minnesota commit 162d3a06d6a77858f9267e44f258c8258eccc8be into PR head commit 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 17:38:43 Merge succeeded, producing 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 17:38:43 Checking out Revision 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 (PR-577) 17:38:42 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:38:42 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:38:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:38:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/577/head:refs/remotes/origin/PR-577 +refs/heads/minnesota:refs/remotes/origin/minnesota # timeout=10 17:38:43 > git config core.sparsecheckout # timeout=10 17:38:43 > git checkout -f 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 # timeout=10 17:38:43 > git remote # timeout=10 17:38:43 > git config --get remote.origin.url # timeout=10 17:38:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:38:43 > git merge 162d3a06d6a77858f9267e44f258c8258eccc8be # timeout=10 17:38:43 > git rev-parse HEAD^{commit} # timeout=10 17:38:43 > git config core.sparsecheckout # timeout=10 17:38:43 > git checkout -f 9af1fb680bf082d53e3f6fef6ad52838dfa3e878 # timeout=10 17:38:47 Commit message: "build: Update for patch 3.0.1 release" 17:38:47 > git --version # timeout=10 17:38:47 > git --version # 'git version 2.25.1' 17:38:47 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:38:48 % Total % Received % Xferd Average Speed Time Time Time Current 17:38:48 Dload Upload Total Spent Left Speed 17:38:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 127k 0 --:--:-- --:--:-- --:--:-- 127k [Pipeline] sh 17:38:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:38:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:38:49 + sudo tee /etc/docker/daemon.new 17:38:49 { 17:38:49 "registry-mirrors": [ 17:38:49 "https://nexus3.edgexfoundry.org:10001" 17:38:49 ], 17:38:49 "bip": "10.250.0.254/24", 17:38:49 "hosts": [ 17:38:49 "tcp://0.0.0.0:5555", 17:38:49 "unix:///var/run/docker.sock" 17:38:49 ], 17:38:49 "mtu": 1458, 17:38:49 "selinux-enabled": true, 17:38:49 "seccomp-profile": "/etc/docker/seccomp.json" 17:38:49 } [Pipeline] sh 17:38:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:38:50 + sudo service docker restart 17:38:52 Removing intermediate container c1819bf07b99 17:38:52 ---> 9af02ccae8ae 17:38:52 Step 13/26 : FROM alpine:3.17 17:38:52 3.17: Pulling from library/alpine 17:38:52 4db1b89c0bd1: Already exists 17:38:52 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:38:52 Status: Downloaded newer image for alpine:3.17 17:38:52 ---> 1f73a9d63274 17:38:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:38:52 ---> Running in 3babc1d118a7 17:38:52 Removing intermediate container 3babc1d118a7 17:38:52 ---> bfc0bdd3573a 17:38:52 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:38:52 ---> Running in 7877ee1b00fe 17:38:52 Removing intermediate container 7877ee1b00fe 17:38:52 ---> 94b0f0ac2c79 17:38:52 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:38:52 ---> Running in c3e88da5bc5a 17:38:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:38:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:38:52 (1/2) Installing ca-certificates (20230506-r0) 17:38:52 (2/2) Installing dumb-init (1.2.5-r2) 17:38:52 Executing busybox-1.35.0-r29.trigger 17:38:52 Executing ca-certificates-20230506-r0.trigger 17:38:52 OK: 8 MiB in 17 packages 17:38:52 Removing intermediate container c3e88da5bc5a 17:38:52 ---> 5d9be24aabdb 17:38:52 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:38:52 ---> dd455609b244 17:38:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:38:52 ---> c25c7661e596 17:38:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:38:52 ---> 19c4cc356ffc 17:38:52 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:38:52 ---> 9ad3c12f2849 17:38:52 Step 21/26 : EXPOSE 48095 17:38:52 ---> Running in ee6859041855 17:38:52 Removing intermediate container ee6859041855 17:38:52 ---> aa18af773c4b 17:38:52 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:38:52 ---> Running in 4cd6fbaa1ee0 17:38:52 Removing intermediate container 4cd6fbaa1ee0 17:38:52 ---> 317e0ee31f62 17:38:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:38:52 ---> Running in 03d417ab14ad 17:38:52 Removing intermediate container 03d417ab14ad 17:38:52 ---> ac5ee5bff961 17:38:52 Step 24/26 : LABEL arch=amd64 17:38:52 ---> Running in 8ff7b8f8ded4 17:38:52 Removing intermediate container 8ff7b8f8ded4 17:38:52 ---> 483429c4718c 17:38:52 Step 25/26 : LABEL git_sha=9af1fb680bf082d53e3f6fef6ad52838dfa3e878 17:38:52 ---> Running in 11bf9ad4fb47 17:38:52 Removing intermediate container 11bf9ad4fb47 17:38:52 ---> 4a9e1a8d3a47 17:38:52 Step 26/26 : LABEL version=0.0.0 17:38:52 ---> Running in ca9bd49f75f7 17:38:52 Removing intermediate container ca9bd49f75f7 17:38:52 ---> 370c4a2b9ece 17:38:52 [Warning] One or more build-args [ARCH] were not consumed 17:38:52 Successfully built 370c4a2b9ece 17:38:52 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 17:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:53 17:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:53 latest: Pulling from edgex-lftools-log-publisher 17:38:53 5eb5b503b376: Pulling fs layer 17:38:53 5c69ac0246d0: Pulling fs layer 17:38:53 ec43610c2a17: Pulling fs layer 17:38:53 3a2ae6a8a46f: Pulling fs layer 17:38:53 33b1e0a273af: Pulling fs layer 17:38:53 5d3b04190fa2: Pulling fs layer 17:38:53 2f39f015ded8: Pulling fs layer 17:38:53 33b1e0a273af: Waiting 17:38:53 5d3b04190fa2: Waiting 17:38:53 2f39f015ded8: Waiting 17:38:53 3a2ae6a8a46f: Waiting 17:38:53 5c69ac0246d0: Download complete 17:38:53 3a2ae6a8a46f: Verifying Checksum 17:38:53 3a2ae6a8a46f: Download complete 17:38:53 33b1e0a273af: Verifying Checksum 17:38:53 33b1e0a273af: Download complete 17:38:53 ec43610c2a17: Verifying Checksum 17:38:53 ec43610c2a17: Download complete 17:38:53 5d3b04190fa2: Verifying Checksum 17:38:53 5d3b04190fa2: Download complete 17:38:53 5eb5b503b376: Verifying Checksum 17:38:53 5eb5b503b376: Download complete 17:38:54 2f39f015ded8: Download complete 17:38:55 5eb5b503b376: Pull complete 17:38:55 5c69ac0246d0: Pull complete 17:38:55 ec43610c2a17: Pull complete 17:38:55 3a2ae6a8a46f: Pull complete 17:38:55 33b1e0a273af: Pull complete 17:38:55 5d3b04190fa2: Pull complete 17:39:00 2f39f015ded8: Pull complete 17:39:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:00 prd-ubuntu20.04-docker-8c-8g-2109 does not seem to be running inside a container 17:39:00 $ 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-577 -v /w/workspace/_app-service-configurable_PR-577:/w/workspace/_app-service-configurable_PR-577:rw,z -v /w/workspace/_app-service-configurable_PR-577@tmp:/w/workspace/_app-service-configurable_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:39:04 $ docker top 71633cf5d45d4aa82ecd992a8b9afe625b90ec0218e817ee2eef008dba964ce6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:04 ---> job-cost.sh 17:39:04 lf-activate-venv: SKIPPING 17:39:04 INFO: No Stack... 17:39:05 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:05 INFO: Archiving Costs [Pipeline] sh 17:39:05 + cat /w/workspace/_app-service-configurable_PR-577/archives/cost.csv 17:39:05 + cut -d, -f6 [Pipeline] lock 17:39:05 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] 17:39:05 Resource [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] did not exist. Created. 17:39:05 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:06 + echo total: 0.2199999988079071 [Pipeline] stash 17:39:06 Stashed 1 file(s) [Pipeline] } 17:39:06 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:06 $ docker stop --time=1 71633cf5d45d4aa82ecd992a8b9afe625b90ec0218e817ee2eef008dba964ce6 17:39:07 $ docker rm -f --volumes 71633cf5d45d4aa82ecd992a8b9afe625b90ec0218e817ee2eef008dba964ce6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:09 provisioning config files... 17:39:09 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7409339410186720615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:09 ---> docker-login.sh 17:39:09 nexus3.edgexfoundry.org:10001 17:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:10 Configure a credential helper to remove this warning. See 17:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:10 17:39:10 Login Succeeded 17:39:10 nexus3.edgexfoundry.org:10002 17:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:10 Configure a credential helper to remove this warning. See 17:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:10 17:39:10 Login Succeeded 17:39:10 nexus3.edgexfoundry.org:10003 17:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:10 Configure a credential helper to remove this warning. See 17:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:10 17:39:10 Login Succeeded 17:39:10 nexus3.edgexfoundry.org:10004 17:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:11 Configure a credential helper to remove this warning. See 17:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:11 17:39:11 Login Succeeded 17:39:11 docker.io 17:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:12 Configure a credential helper to remove this warning. See 17:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:12 17:39:12 Login Succeeded 17:39:12 ---> docker-login.sh ends [Pipeline] } 17:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:39:12 [edgeX.isLTS] Checking if [minnesota] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:12 [edgeX.isLTS] Checking if [minnesota] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:12 ========================================================= 17:39:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:39:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:39:13 Sending build context to Docker daemon 174.6kB 17:39:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:39:13 Step 2/12 : FROM ${BASE} AS builder 17:39:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:39:13 edb6bdbacee9: Pulling fs layer 17:39:13 5f9638ab2659: Pulling fs layer 17:39:13 8d51d6327a98: Pulling fs layer 17:39:13 8b374f2dd631: Pulling fs layer 17:39:13 ec14aa9079de: Pulling fs layer 17:39:13 2f466654f4bb: Pulling fs layer 17:39:13 554e91adad29: Pulling fs layer 17:39:13 8b374f2dd631: Waiting 17:39:13 ec14aa9079de: Waiting 17:39:13 2f466654f4bb: Waiting 17:39:13 554e91adad29: Waiting 17:39:13 5f9638ab2659: Verifying Checksum 17:39:13 5f9638ab2659: Download complete 17:39:13 8b374f2dd631: Verifying Checksum 17:39:13 8b374f2dd631: Download complete 17:39:13 edb6bdbacee9: Download complete 17:39:13 ec14aa9079de: Verifying Checksum 17:39:13 ec14aa9079de: Download complete 17:39:14 edb6bdbacee9: Pull complete 17:39:15 554e91adad29: Verifying Checksum 17:39:15 554e91adad29: Download complete 17:39:15 5f9638ab2659: Pull complete 17:39:16 8d51d6327a98: Verifying Checksum 17:39:16 8d51d6327a98: Download complete 17:39:16 2f466654f4bb: Verifying Checksum 17:39:16 2f466654f4bb: Download complete 17:39:28 8d51d6327a98: Pull complete 17:39:28 8b374f2dd631: Pull complete 17:39:28 ec14aa9079de: Pull complete 17:39:35 2f466654f4bb: Pull complete 17:39:38 554e91adad29: Pull complete 17:39:38 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:39:38 ---> 1e15ea492957 17:39:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:39:39 ---> Running in 60699ccaccff 17:39:39 Removing intermediate container 60699ccaccff 17:39:39 ---> aec75e9ab92c 17:39:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:39:39 ---> Running in 5f776ff9f262 17:39:40 Removing intermediate container 5f776ff9f262 17:39:40 ---> 0f192033af42 17:39:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:39:40 ---> Running in a5785c91065e 17:39:40 Removing intermediate container a5785c91065e 17:39:40 ---> 7ca18a772e16 17:39:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:40 ---> Running in 4f2210603a13 17:39:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:39:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:39:43 OK: 263 MiB in 53 packages 17:39:44 Removing intermediate container 4f2210603a13 17:39:44 ---> b6dd885c3605 17:39:44 Step 7/12 : WORKDIR /app 17:39:44 ---> Running in ec76d69eca07 17:39:44 Removing intermediate container ec76d69eca07 17:39:44 ---> 01e6ab6f0991 17:39:44 Step 8/12 : COPY go.mod vendor* ./ 17:39:44 ---> 280205581496 17:39:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:44 ---> Running in 64950e67f9f4 17:40:52 Removing intermediate container 64950e67f9f4 17:40:52 ---> 1662b12484f2 17:40:52 Step 10/12 : COPY . . 17:40:52 ---> ca6bd65471be 17:40:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:52 ---> Running in 4d001a28b3de 17:40:52 Removing intermediate container 4d001a28b3de 17:40:52 ---> 817379a2dcb9 17:40:52 Step 12/12 : RUN $MAKE 17:40:52 ---> Running in 32c396c36c70 17:40:52 noop 17:40:52 Removing intermediate container 32c396c36c70 17:40:52 ---> f2fe2f3f5256 17:40:52 Successfully built f2fe2f3f5256 17:40:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:53 + docker inspect -f . ci-base-image-arm64 17:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-2110 does not seem to be running inside a container 17:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:54 $ docker top 3aac6e66ca3a8183d0fdfbbd94d7b155fcde8c3f61d598df1e0fd6f82c422ade -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:55 + go version 17:40:55 go version go1.20.6 linux/arm64 [Pipeline] } 17:40:55 $ docker stop --time=1 3aac6e66ca3a8183d0fdfbbd94d7b155fcde8c3f61d598df1e0fd6f82c422ade 17:40:57 $ docker rm -f --volumes 3aac6e66ca3a8183d0fdfbbd94d7b155fcde8c3f61d598df1e0fd6f82c422ade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:58 + docker inspect -f . ci-base-image-arm64 17:40:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:58 prd-ubuntu20.04-docker-arm64-4c-16g-2110 does not seem to be running inside a container 17:40:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:59 $ docker top da95afa9538c43db0d65708e01d23f3b49e1a31bab9f6c8da63284b07e25d7b4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:59 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 17:41:00 + make test 17:41:00 go test -race -coverprofile=coverage.out ./... 17:43:37 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:43:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:43:37 go vet ./... 17:45:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:45:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:45:43 ./bin/test-attribution-txt.sh 17:45:43 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 17:45:43 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 17:45:43 [edgeX.isLTS] Checking if [minnesota] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:45:43 $ docker stop --time=1 da95afa9538c43db0d65708e01d23f3b49e1a31bab9f6c8da63284b07e25d7b4 17:45:45 $ docker rm -f --volumes da95afa9538c43db0d65708e01d23f3b49e1a31bab9f6c8da63284b07e25d7b4 [Pipeline] // withDockerContainer [Pipeline] sh 17:45:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:45:47 Warning: overwriting stash ‘coverage-report’ 17:45:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:45:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:45:48 + ls -al . 17:45:48 total 176 17:45:48 drwxrwxr-x 7 jenkins jenkins 4096 Jul 25 17:41 . 17:45:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 17:38 .. 17:45:48 -rw-rw-r-- 1 jenkins jenkins 119 Jul 25 17:38 .dockerignore 17:45:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 17:38 .git 17:45:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 17:38 .github 17:45:48 -rw-rw-r-- 1 jenkins jenkins 171 Jul 25 17:38 .gitignore 17:45:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 17:38 .golangci.yml 17:45:48 -rw-rw-r-- 1 jenkins jenkins 9088 Jul 25 17:38 Attribution.txt 17:45:48 -rw-rw-r-- 1 jenkins jenkins 35115 Jul 25 17:38 CHANGELOG.md 17:45:48 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 25 17:38 Dockerfile 17:45:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 17:38 GOVERNANCE.md 17:45:48 -rw-rw-r-- 1 jenkins jenkins 711 Jul 25 17:38 Jenkinsfile 17:45:48 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 25 17:38 LICENSE 17:45:48 -rw-rw-r-- 1 jenkins jenkins 618 Jul 25 17:38 OWNERS.md 17:45:48 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 25 17:38 README.md 17:45:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 17:36 VERSION 17:45:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 17:38 bin 17:45:48 -rw-r--r-- 1 jenkins jenkins 13 Jul 25 17:41 coverage.out 17:45:48 -rw-rw-r-- 1 jenkins jenkins 3254 Jul 25 17:38 go.mod 17:45:48 -rw-rw-r-- 1 jenkins jenkins 31325 Jul 25 17:38 go.sum 17:45:48 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 25 17:38 main.go 17:45:48 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 25 17:38 makefile 17:45:48 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 17:38 res 17:45:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 17:38 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:49 + 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=9af1fb680bf082d53e3f6fef6ad52838dfa3e878 --label arch=arm64 --label version=0.0.0 . 17:45:49 Sending build context to Docker daemon 175.6kB 17:45:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:45:49 Step 2/26 : FROM ${BASE} AS builder 17:45:49 ---> f2fe2f3f5256 17:45:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:45:49 ---> Running in 1f4dd250dcfc 17:45:49 Removing intermediate container 1f4dd250dcfc 17:45:49 ---> e9b3c9467c58 17:45:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:45:50 ---> Running in a4021adc1f77 17:45:50 Removing intermediate container a4021adc1f77 17:45:50 ---> 24c77774e6f0 17:45:50 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:45:50 ---> Running in 31d5e781a762 17:45:50 Removing intermediate container 31d5e781a762 17:45:50 ---> 2e0f1749b31e 17:45:50 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:45:50 ---> Running in f41c472c35ab 17:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:45:53 OK: 263 MiB in 53 packages 17:45:54 Removing intermediate container f41c472c35ab 17:45:54 ---> 422655376d9d 17:45:54 Step 7/26 : WORKDIR /app 17:45:54 ---> Running in 67943dfef577 17:45:54 Removing intermediate container 67943dfef577 17:45:54 ---> 0f7793370270 17:45:54 Step 8/26 : COPY go.mod vendor* ./ 17:45:54 ---> 366a6ee14b4f 17:45:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:45:54 ---> Running in d72702738c95 17:45:59 Removing intermediate container d72702738c95 17:45:59 ---> 931dd40a95fe 17:45:59 Step 10/26 : COPY . . 17:45:59 ---> 08d098b79d9f 17:45:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:46:00 ---> Running in 81cb9d6bdcf3 17:46:00 Removing intermediate container 81cb9d6bdcf3 17:46:00 ---> 084e2332540d 17:46:00 Step 12/26 : RUN $MAKE 17:46:00 ---> Running in b8a487422e1c 17:46:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:48:22 Removing intermediate container b8a487422e1c 17:48:22 ---> b61a3407ddac 17:48:22 Step 13/26 : FROM alpine:3.17 17:48:22 3.17: Pulling from library/alpine 17:48:22 edb6bdbacee9: Already exists 17:48:22 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:48:22 Status: Downloaded newer image for alpine:3.17 17:48:22 ---> 779605e5fbc0 17:48:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:48:22 ---> Running in 0321ded2d791 17:48:22 Removing intermediate container 0321ded2d791 17:48:22 ---> 3f508cf4f931 17:48:22 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:48:22 ---> Running in 46e93ebe0366 17:48:22 Removing intermediate container 46e93ebe0366 17:48:22 ---> 8882eff44226 17:48:22 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:48:22 ---> Running in eb689438a21b 17:48:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:48:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:48:22 (1/2) Installing ca-certificates (20230506-r0) 17:48:22 (2/2) Installing dumb-init (1.2.5-r2) 17:48:22 Executing busybox-1.35.0-r29.trigger 17:48:22 Executing ca-certificates-20230506-r0.trigger 17:48:22 OK: 8 MiB in 17 packages 17:48:22 Removing intermediate container eb689438a21b 17:48:22 ---> 3630306a4089 17:48:22 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:48:22 ---> 2d7f8a863114 17:48:22 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:48:22 ---> 28b5a9235937 17:48:22 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:48:22 ---> ad8001040568 17:48:22 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:48:22 ---> 28d21a19adbb 17:48:22 Step 21/26 : EXPOSE 48095 17:48:22 ---> Running in 5603f97e19c1 17:48:22 Removing intermediate container 5603f97e19c1 17:48:22 ---> abcf4c819809 17:48:22 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:48:22 ---> Running in 158b5f501758 17:48:22 Removing intermediate container 158b5f501758 17:48:22 ---> f8032525a668 17:48:22 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:48:22 ---> Running in 8a98eef2598e 17:48:23 Removing intermediate container 8a98eef2598e 17:48:23 ---> 6c2faaabcd13 17:48:23 Step 24/26 : LABEL arch=arm64 17:48:23 ---> Running in 021b4c6f1f20 17:48:23 Removing intermediate container 021b4c6f1f20 17:48:23 ---> 0fffdadc1377 17:48:23 Step 25/26 : LABEL git_sha=9af1fb680bf082d53e3f6fef6ad52838dfa3e878 17:48:23 ---> Running in 64371db9cb54 17:48:23 Removing intermediate container 64371db9cb54 17:48:23 ---> 8e40db2c6e9b 17:48:23 Step 26/26 : LABEL version=0.0.0 17:48:24 ---> Running in 144d080b1e23 17:48:24 Removing intermediate container 144d080b1e23 17:48:24 ---> 371fa9f96f03 17:48:24 [Warning] One or more build-args [ARCH] were not consumed 17:48:24 Successfully built 371fa9f96f03 17:48:24 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 17:48:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:48:25 17:48:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:48:25 arm64: Pulling from edgex-lftools-log-publisher 17:48:25 8998bd30e6a1: Pulling fs layer 17:48:25 04944245beec: Pulling fs layer 17:48:25 699f458cf7ca: Pulling fs layer 17:48:25 765212b225bb: Pulling fs layer 17:48:25 f23df028b6ca: Pulling fs layer 17:48:25 d65c8cfc05b1: Pulling fs layer 17:48:25 2437ff75d9bd: Pulling fs layer 17:48:25 765212b225bb: Waiting 17:48:25 f23df028b6ca: Waiting 17:48:25 d65c8cfc05b1: Waiting 17:48:25 2437ff75d9bd: Waiting 17:48:25 04944245beec: Verifying Checksum 17:48:25 04944245beec: Download complete 17:48:25 765212b225bb: Verifying Checksum 17:48:25 765212b225bb: Download complete 17:48:25 f23df028b6ca: Verifying Checksum 17:48:25 f23df028b6ca: Download complete 17:48:25 d65c8cfc05b1: Download complete 17:48:26 699f458cf7ca: Verifying Checksum 17:48:26 699f458cf7ca: Download complete 17:48:26 8998bd30e6a1: Verifying Checksum 17:48:26 8998bd30e6a1: Download complete 17:48:28 2437ff75d9bd: Verifying Checksum 17:48:28 2437ff75d9bd: Download complete 17:48:30 8998bd30e6a1: Pull complete 17:48:30 04944245beec: Pull complete 17:48:32 699f458cf7ca: Pull complete 17:48:32 765212b225bb: Pull complete 17:48:32 f23df028b6ca: Pull complete 17:48:33 d65c8cfc05b1: Pull complete 17:48:48 2437ff75d9bd: Pull complete 17:48:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:48:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:48:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:48 prd-ubuntu20.04-docker-arm64-4c-16g-2110 does not seem to be running inside a container 17:48:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:48:51 $ docker top 46fece8689a174b8c139b7b18ffa98e3f423be01d5741c26eca82c45d6811375 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:52 ---> job-cost.sh 17:48:52 lf-activate-venv: SKIPPING 17:48:52 INFO: No Stack... 17:48:52 INFO: Retrieving Pricing Info for: v3-standard-4 17:48:53 INFO: Archiving Costs [Pipeline] sh 17:48:54 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 17:48:54 + cut -d, -f6 [Pipeline] lock 17:48:54 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] 17:48:54 Resource [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] did not exist. Created. 17:48:54 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:48:54 /w/workspace/app-service-configurable/1@tmp/durable-f04ab899/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:48:55 + echo total: 0.10999999940395355 [Pipeline] stash 17:48:55 Warning: overwriting stash ‘stack-cost’ 17:48:55 Stashed 1 file(s) [Pipeline] } 17:48:55 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-577-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:48:55 $ docker stop --time=1 46fece8689a174b8c139b7b18ffa98e3f423be01d5741c26eca82c45d6811375 17:48:57 $ docker rm -f --volumes 46fece8689a174b8c139b7b18ffa98e3f423be01d5741c26eca82c45d6811375 [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 17:48:58 provisioning config files... 17:48:58 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-577@tmp/config103422971153224086tmp [Pipeline] { [Pipeline] sh 17:48:58 + set +x 17:48:58 + curl -s https://codecov.io/bash 17:48:58 + bash -s -- 17:48:58 17:48:58 _____ _ 17:48:58 / ____| | | 17:48:58 | | ___ __| | ___ ___ _____ __ 17:48:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:48:58 | |___| (_) | (_| | __/ (_| (_) \ V / 17:48:58 \_____\___/ \__,_|\___|\___\___/ \_/ 17:48:58 Bash-1.0.6 17:48:58 17:48:58 17:48:58 ==> git version 2.25.1 found 17:48:58 ==> 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 17:48:58 Release-Date: 2020-01-08 17:48:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:48:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:48:58 ==> Jenkins CI detected. 17:48:58 current dir:  /w/workspace/_app-service-configurable_PR-577 17:48:58 project root: . 17:48:58 --> token set from env 17:48:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:48:58 ==> Running gcov in . (disable via -X gcov) 17:48:58 ==> Python coveragepy not found 17:48:58 ==> Searching for coverage reports in: 17:48:58 + . 17:48:58 -> Found 1 reports 17:48:58 ==> Detecting git/mercurial file structure 17:48:58 ==> Reading reports 17:48:58 + ./coverage.out bytes=13 17:48:58 ==> Appending adjustments 17:48:58 https://docs.codecov.io/docs/fixing-reports 17:48:58 + Found adjustments 17:48:58 ==> Gzipping contents 17:48:58 4.0K /tmp/codecov.tjlO4n.gz 17:48:58 ==> Uploading reports 17:48:58 url: https://codecov.io 17:48:58 query: branch=PR-577&commit=9af1fb680bf082d53e3f6fef6ad52838dfa3e878&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=577&job=&cmd_args= 17:48:58 -> Pinging Codecov 17:48:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-577&commit=9af1fb680bf082d53e3f6fef6ad52838dfa3e878&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=577&job=&cmd_args= 17:48:58 -> Uploading to 17:48:58 https://storage.googleapis.com/codecov/v4/raw/2023-07-25/A97CA9966030D2A3747ED39772930CCE/9af1fb680bf082d53e3f6fef6ad52838dfa3e878/9a28c78b-3c22-44bc-bab1-dc90ab711e71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230725%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230725T174858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee047ed5194753dc1821f610b69174f4703c9f310cadad4823ce47f434864ff7 17:48:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:48:58 Dload Upload Total Spent Left Speed 17:48:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2383 --:--:-- --:--:-- --:--:-- 2383 17:48:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/9af1fb680bf082d53e3f6fef6ad52838dfa3e878 [Pipeline] } 17:48:59 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 17:49:01 + [ -d /w/workspace/_app-service-configurable_PR-577/archives ] 17:49:01 + ls -al /w/workspace/_app-service-configurable_PR-577/archives 17:49:01 total 16 17:49:01 drwxr-xr-x 3 root root 4096 Jul 25 17:39 . 17:49:01 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 17:39 .. 17:49:01 drwxr-xr-x 2 root root 4096 Jul 25 17:39 cost 17:49:01 -rw-r--r-- 1 root root 96 Jul 25 17:39 cost.csv 17:49:01 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-577/archives 17:49:01 + ls -al /w/workspace/_app-service-configurable_PR-577/archives 17:49:01 total 16 17:49:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 17:39 . 17:49:01 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 17:39 .. 17:49:01 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 17:39 cost 17:49:01 -rw-r--r-- 1 jenkins jenkins 96 Jul 25 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:49:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:49:02 ---> package-listing.sh 17:49:02 ++ tr '[:upper:]' '[:lower:]' 17:49:02 ++ facter osfamily 17:49:02 + OS_FAMILY=debian 17:49:02 + workspace=/w/workspace/_app-service-configurable_PR-577 17:49:02 + START_PACKAGES=/tmp/packages_start.txt 17:49:02 + END_PACKAGES=/tmp/packages_end.txt 17:49:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:02 + PACKAGES=/tmp/packages_start.txt 17:49:02 + '[' /w/workspace/_app-service-configurable_PR-577 ']' 17:49:02 + PACKAGES=/tmp/packages_end.txt 17:49:02 + case "${OS_FAMILY}" in 17:49:02 + dpkg -l 17:49:02 + grep '^ii' 17:49:02 + '[' -f /tmp/packages_start.txt ']' 17:49:02 + '[' -f /tmp/packages_end.txt ']' 17:49:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:02 + '[' /w/workspace/_app-service-configurable_PR-577 ']' 17:49:02 + mkdir -p /w/workspace/_app-service-configurable_PR-577/archives/ 17:49:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-577/archives/ [Pipeline] echo 17:49:02 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-577/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:49:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:03 prd-ubuntu20.04-docker-8c-8g-2109 does not seem to be running inside a container 17:49:03 $ 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-577/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-577 -v /w/workspace/_app-service-configurable_PR-577:/w/workspace/_app-service-configurable_PR-577:rw,z -v /w/workspace/_app-service-configurable_PR-577@tmp:/w/workspace/_app-service-configurable_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:49:03 $ docker top 31b7d98627954b885552dfdd58626f84afb09af6a230c7ad4f9f206b49ac6272 -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:04 + touch /tmp/pre-build-complete [Pipeline] sh 17:49:04 + mkdir -p /var/log/sysstat [Pipeline] sh 17:49:04 + ls /var/log/sa-host 17:49:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:05 provisioning config files... 17:49:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-577@tmp/config3810934386064850835tmp [Pipeline] { [Pipeline] echo 17:49:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:49:05 ---> create-netrc.sh [Pipeline] } 17:49:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:49:05 ---> python-tools-install.sh [Pipeline] echo 17:49:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:49:06 ---> sudo-logs.sh 17:49:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:49:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:49:06 ---> job-cost.sh 17:49:06 lf-activate-venv: SKIPPING 17:49:06 DEBUG: total: 0.2199999988079071 17:49:06 INFO: Retrieving Stack Cost... 17:49:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:49:07 INFO: Archiving Costs [Pipeline] echo 17:49:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:49:07 ---> logs-deploy.sh 17:49:07 lf-activate-venv: SKIPPING 17:49:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-577/1 17:49:07 INFO: archiving workspace using pattern(s): 17:49:08 Archives upload complete. 17:49:08 INFO: archiving logs to Nexus