Pull request #598 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26c89f4a19830c35ca29256744b8209a778cf511+2b865428d4c5867b9412c9393c54ce3bc1bb3d31 (9ea1912ad17e5a37f780319d303aa05254180ce9) 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-ssh173704065558895141.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12625256041986482404.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-598/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-598/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3186628750671790768.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-598/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1125229916845368062.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5272053444962176369.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-598/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-598/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14622654804712356733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6703 in /w/workspace/_app-service-configurable_PR-598 [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-598 # 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/598/head:refs/remotes/origin/PR-598 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2b865428d4c5867b9412c9393c54ce3bc1bb3d31 into PR head commit 26c89f4a19830c35ca29256744b8209a778cf511 Merge succeeded, producing 26c89f4a19830c35ca29256744b8209a778cf511 Checking out Revision 26c89f4a19830c35ca29256744b8209a778cf511 (PR-598) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:25:12 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 26c89f4a19830c35ca29256744b8209a778cf511 # 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 2b865428d4c5867b9412c9393c54ce3bc1bb3d31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26c89f4a19830c35ca29256744b8209a778cf511 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:25:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:25:12 ========================================================= 12:25:12 EdgeX Global Pipelines Version Info 12:25:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:25:13 ------------------- 12:25:13 stable info: 12:25:13 ------------------- 12:25:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:25:13 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:25:13 Message: update stable to v1.0.254 12:25:13 ------------------- 12:25:13 experimental info: 12:25:13 ------------------- 12:25:13 Commited By: **** collab-it+edgex@linuxfoundation.org 12:25:13 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:25:13 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:25:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-598 [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-598 [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-598 [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26c89f4a19830c35ca29256744b8209a778cf511 [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26c89f4 [Pipeline] echo 12:25:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:15 provisioning config files... 12:25:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-598@tmp/config7751084246900831113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:16 ---> docker-login.sh 12:25:16 nexus3.edgexfoundry.org:10001 12:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:16 Configure a credential helper to remove this warning. See 12:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:16 12:25:16 Login Succeeded 12:25:16 nexus3.edgexfoundry.org:10002 12:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:16 Configure a credential helper to remove this warning. See 12:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:16 12:25:16 Login Succeeded 12:25:16 nexus3.edgexfoundry.org:10003 12:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:16 Configure a credential helper to remove this warning. See 12:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:16 12:25:16 Login Succeeded 12:25:16 nexus3.edgexfoundry.org:10004 12:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:16 Configure a credential helper to remove this warning. See 12:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:16 12:25:16 Login Succeeded 12:25:16 docker.io 12:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:17 Configure a credential helper to remove this warning. See 12:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:17 12:25:17 Login Succeeded 12:25:17 ---> docker-login.sh ends [Pipeline] } 12:25:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:25:17 + git rev-list -1 --merges 26c89f4a19830c35ca29256744b8209a778cf511~1..26c89f4a19830c35ca29256744b8209a778cf511 [Pipeline] echo 12:25:17 -----------> git rev-list -1 --merges 26c89f4a19830c35ca29256744b8209a778cf511~1..26c89f4a19830c35ca29256744b8209a778cf511 26c89f4a19830c35ca29256744b8209a778cf511 [false] [Pipeline] sh 12:25:18 + git log --format=format:%s -1 26c89f4a19830c35ca29256744b8209a778cf511 [Pipeline] echo 12:25:18 ========================================================= 12:25:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:25:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:25:18 + git log --format=format:%s -1 26c89f4a19830c35ca29256744b8209a778cf511 [Pipeline] echo 12:25:18 [semverPrep] GIT_COMMIT: 26c89f4a19830c35ca29256744b8209a778cf511, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:25:18 [semverPrep] This is not a build commit. [Pipeline] sh 12:25:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:25:19 + grep -v github /etc/ssh/ssh_known_hosts 12:25:19 + [ -e /tmp/ssh_known_hosts ] 12:25:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:25:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:25:19 + sudo tee -a /etc/ssh/ssh_known_hosts 12:25:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:25:19 12:25:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:25:20 0.1.4: Pulling from edgex-devops/py-git-semver 12:25:20 b85a868b505f: Pulling fs layer 12:25:20 e2be974225ed: Pulling fs layer 12:25:20 339a4e72a1f5: Pulling fs layer 12:25:20 988bab9f4d93: Pulling fs layer 12:25:20 1469e6f7b9e6: Pulling fs layer 12:25:20 eaf3925da568: Pulling fs layer 12:25:20 bab4dde63d76: Pulling fs layer 12:25:20 bde34c3a00c8: Pulling fs layer 12:25:20 b352a97aabf1: Pulling fs layer 12:25:20 4872d77fe225: Pulling fs layer 12:25:20 5851b861e8e6: Pulling fs layer 12:25:20 988bab9f4d93: Waiting 12:25:20 1469e6f7b9e6: Waiting 12:25:20 b352a97aabf1: Waiting 12:25:20 5851b861e8e6: Waiting 12:25:20 eaf3925da568: Waiting 12:25:20 bde34c3a00c8: Waiting 12:25:20 bab4dde63d76: Waiting 12:25:20 4872d77fe225: Waiting 12:25:20 e2be974225ed: Download complete 12:25:20 988bab9f4d93: Download complete 12:25:20 1469e6f7b9e6: Verifying Checksum 12:25:20 1469e6f7b9e6: Download complete 12:25:20 eaf3925da568: Verifying Checksum 12:25:20 eaf3925da568: Download complete 12:25:20 339a4e72a1f5: Verifying Checksum 12:25:20 339a4e72a1f5: Download complete 12:25:20 bde34c3a00c8: Download complete 12:25:20 b352a97aabf1: Download complete 12:25:20 4872d77fe225: Verifying Checksum 12:25:20 4872d77fe225: Download complete 12:25:20 5851b861e8e6: Verifying Checksum 12:25:20 5851b861e8e6: Download complete 12:25:20 b85a868b505f: Verifying Checksum 12:25:20 b85a868b505f: Download complete 12:25:20 bab4dde63d76: Verifying Checksum 12:25:20 bab4dde63d76: Download complete 12:25:21 b85a868b505f: Pull complete 12:25:21 e2be974225ed: Pull complete 12:25:22 339a4e72a1f5: Pull complete 12:25:22 988bab9f4d93: Pull complete 12:25:22 1469e6f7b9e6: Pull complete 12:25:22 eaf3925da568: Pull complete 12:25:24 bab4dde63d76: Pull complete 12:25:24 bde34c3a00c8: Pull complete 12:25:24 b352a97aabf1: Pull complete 12:25:24 4872d77fe225: Pull complete 12:25:24 5851b861e8e6: Pull complete 12:25:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:25:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:25:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:25:24 prd-ubuntu20.04-docker-8c-8g-6703 does not seem to be running inside a container 12:25:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-598 -v /w/workspace/_app-service-configurable_PR-598:/w/workspace/_app-service-configurable_PR-598:rw,z -v /w/workspace/_app-service-configurable_PR-598@tmp:/w/workspace/_app-service-configurable_PR-598@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:25:27 $ docker top b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c -eo pid,comm 12:25:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:25:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:25:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:25:27 [ssh-agent] Looking for ssh-agent implementation... 12:25:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:25:27 $ docker exec b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c ssh-agent 12:25:27 SSH_AUTH_SOCK=/tmp/ssh-jLJiBAf6hpa1/agent.32 12:25:27 SSH_AGENT_PID=38 12:25:27 Running ssh-add (command line suppressed) 12:25:27 Identity added: /w/workspace/_app-service-configurable_PR-598@tmp/private_key_13939813172629857017.key (/w/workspace/_app-service-configurable_PR-598@tmp/private_key_13939813172629857017.key) 12:25:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:25:28 + git tag --points-at HEAD [Pipeline] } 12:25:28 $ docker exec --env ******** --env ******** b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c ssh-agent -k 12:25:28 unset SSH_AUTH_SOCK; 12:25:28 unset SSH_AGENT_PID; 12:25:28 echo Agent pid 38 killed; 12:25:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:25:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:25:28 [ssh-agent] Looking for ssh-agent implementation... 12:25:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:25:28 $ docker exec b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c ssh-agent 12:25:28 SSH_AUTH_SOCK=/tmp/ssh-LB6S6SY7ptm2/agent.70 12:25:28 SSH_AGENT_PID=76 12:25:28 Running ssh-add (command line suppressed) 12:25:28 Identity added: /w/workspace/_app-service-configurable_PR-598@tmp/private_key_10426457216831516799.key (/w/workspace/_app-service-configurable_PR-598@tmp/private_key_10426457216831516799.key) 12:25:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:25:29 + git semver init 12:25:29 2023-09-20 12:25:29,182 [run_init] DEBUG init version:0.0.0 force:False 12:25:29 2023-09-20 12:25:29,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-598/.semver 12:25:29 2023-09-20 12:25:29,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-598/.semver 12:25:29 2023-09-20 12:25:29,183 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-598/.semver'], cwd=/w/workspace/_app-service-configurable_PR-598, universal_newlines=False, shell=None, istream=None) 12:25:30 2023-09-20 12:25:30,013 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-598/.git/info/exclude 12:25:30 2023-09-20 12:25:30,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-598/.semver/PR-598 with force:False 12:25:30 2023-09-20 12:25:30,013 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-598/.semver/PR-598 12:25:30 2023-09-20 12:25:30,016 [execute] INFO git cat-file --batch-check 12:25:30 2023-09-20 12:25:30,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-598/.semver, universal_newlines=False, shell=None, istream=) 12:25:30 2023-09-20 12:25:30,022 [execute] INFO git cat-file --batch 12:25:30 2023-09-20 12:25:30,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-598/.semver, universal_newlines=False, shell=None, istream=) 12:25:30 2023-09-20 12:25:30,028 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-598/.semver/PR-598 12:25:30 0.0.0 [Pipeline] } 12:25:30 $ docker exec --env ******** --env ******** b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c ssh-agent -k 12:25:30 unset SSH_AUTH_SOCK; 12:25:30 unset SSH_AGENT_PID; 12:25:30 echo Agent pid 76 killed; 12:25:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:25:30 + git semver [Pipeline] } 12:25:31 $ docker stop --time=1 b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c 12:25:32 $ docker rm -f --volumes b51dfe32117cf1cab37120f6cadf37d1fc64b5eec11c436bd60ec6524cb6b08c [Pipeline] // withDockerContainer [Pipeline] sh 12:25:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:25:33 Stashed 1 file(s) [Pipeline] echo 12:25:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:33 provisioning config files... 12:25:33 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-598@tmp/config15361800315200689479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:33 ---> docker-login.sh 12:25:33 nexus3.edgexfoundry.org:10001 12:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:33 Configure a credential helper to remove this warning. See 12:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:33 12:25:33 Login Succeeded 12:25:33 nexus3.edgexfoundry.org:10002 12:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:33 Configure a credential helper to remove this warning. See 12:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:33 12:25:33 Login Succeeded 12:25:33 nexus3.edgexfoundry.org:10003 12:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:34 Configure a credential helper to remove this warning. See 12:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:34 12:25:34 Login Succeeded 12:25:34 nexus3.edgexfoundry.org:10004 12:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:34 Configure a credential helper to remove this warning. See 12:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:34 12:25:34 Login Succeeded 12:25:34 docker.io 12:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:34 Configure a credential helper to remove this warning. See 12:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:34 12:25:34 Login Succeeded 12:25:34 ---> docker-login.sh ends [Pipeline] } 12:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:34 ========================================================= 12:25:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:25:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:25:35 Sending build context to Docker daemon 3.355MB 12:25:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:25:35 Step 2/12 : FROM ${BASE} AS builder 12:25:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:25:35 7264a8db6415: Pulling fs layer 12:25:35 c4d48a809fc2: Pulling fs layer 12:25:35 4f1c88b9dad5: Pulling fs layer 12:25:35 ad3a456e5733: Pulling fs layer 12:25:35 9e4f439ed901: Pulling fs layer 12:25:35 feaf6a47b606: Pulling fs layer 12:25:35 5e8b037d7d82: Pulling fs layer 12:25:35 ad3a456e5733: Waiting 12:25:35 8ac70367396e: Pulling fs layer 12:25:35 6db16350a2e2: Pulling fs layer 12:25:35 9250d5d63582: Pulling fs layer 12:25:35 9e4f439ed901: Waiting 12:25:35 feaf6a47b606: Waiting 12:25:35 6db16350a2e2: Waiting 12:25:35 5e8b037d7d82: Waiting 12:25:35 8ac70367396e: Waiting 12:25:35 9250d5d63582: Waiting 12:25:35 c4d48a809fc2: Download complete 12:25:35 9e4f439ed901: Download complete 12:25:35 7264a8db6415: Verifying Checksum 12:25:35 7264a8db6415: Download complete 12:25:35 feaf6a47b606: Verifying Checksum 12:25:35 feaf6a47b606: Download complete 12:25:35 7264a8db6415: Pull complete 12:25:35 8ac70367396e: Verifying Checksum 12:25:35 8ac70367396e: Download complete 12:25:35 c4d48a809fc2: Pull complete 12:25:35 4f1c88b9dad5: Verifying Checksum 12:25:35 4f1c88b9dad5: Download complete 12:25:36 6db16350a2e2: Verifying Checksum 12:25:36 6db16350a2e2: Download complete 12:25:36 9250d5d63582: Verifying Checksum 12:25:36 5e8b037d7d82: Download complete 12:25:39 4f1c88b9dad5: Pull complete 12:25:39 ad3a456e5733: Pull complete 12:25:39 9e4f439ed901: Pull complete 12:25:39 feaf6a47b606: Pull complete 12:25:42 5e8b037d7d82: Pull complete 12:25:42 8ac70367396e: Pull complete 12:25:42 6db16350a2e2: Pull complete 12:25:43 9250d5d63582: Pull complete 12:25:43 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 12:25:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:25:43 ---> fa269f55d9b9 12:25:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:25:47 ---> Running in 251adfa41e92 12:25:47 Removing intermediate container 251adfa41e92 12:25:47 ---> cb15563bb026 12:25:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:25:47 ---> Running in ecb9fb62f815 12:25:47 Removing intermediate container ecb9fb62f815 12:25:47 ---> dc80ad7da4f8 12:25:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:25:47 ---> Running in 893fa3b4e074 12:25:47 Removing intermediate container 893fa3b4e074 12:25:47 ---> 50d44ba8a236 12:25:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:25:47 ---> Running in ab8c8b670194 12:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:25:47 OK: 265 MiB in 56 packages 12:25:48 Removing intermediate container ab8c8b670194 12:25:48 ---> 956c9b61135b 12:25:48 Step 7/12 : WORKDIR /app 12:25:48 ---> Running in bf3e5642191a 12:25:48 Removing intermediate container bf3e5642191a 12:25:48 ---> bbe877624036 12:25:48 Step 8/12 : COPY go.mod vendor* ./ 12:25:48 ---> 98ec2864e905 12:25:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:25:48 ---> Running in 0a0f50b2ec36 12:25:48 Still waiting to schedule task 12:25:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:26:27 Removing intermediate container 0a0f50b2ec36 12:26:27 ---> 5ce9aa63f97a 12:26:27 Step 10/12 : COPY . . 12:26:27 ---> ae75cb513645 12:26:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:26:27 ---> Running in f968e38419f3 12:26:27 Removing intermediate container f968e38419f3 12:26:27 ---> 46677b1e3acf 12:26:27 Step 12/12 : RUN $MAKE 12:26:27 ---> Running in 7ca56b0e0464 12:26:27 noop 12:26:27 Removing intermediate container 7ca56b0e0464 12:26:27 ---> c94009815238 12:26:27 Successfully built c94009815238 12:26:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:27 + docker inspect -f . ci-base-image-x86_64 12:26:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:27 prd-ubuntu20.04-docker-8c-8g-6703 does not seem to be running inside a container 12:26:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-598 -v /w/workspace/_app-service-configurable_PR-598:/w/workspace/_app-service-configurable_PR-598:rw,z -v /w/workspace/_app-service-configurable_PR-598@tmp:/w/workspace/_app-service-configurable_PR-598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:26:27 $ docker top b794abd9fb0d1c487310c640d2bb06bfb2755c180476438dab936e70bc859737 -eo pid,comm [Pipeline] { [Pipeline] sh 12:26:28 + go version 12:26:28 go version go1.21.0 linux/amd64 [Pipeline] } 12:26:28 $ docker stop --time=1 b794abd9fb0d1c487310c640d2bb06bfb2755c180476438dab936e70bc859737 12:26:29 $ docker rm -f --volumes b794abd9fb0d1c487310c640d2bb06bfb2755c180476438dab936e70bc859737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:30 + docker inspect -f . ci-base-image-x86_64 12:26:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:30 prd-ubuntu20.04-docker-8c-8g-6703 does not seem to be running inside a container 12:26:30 $ 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-598 -v /w/workspace/_app-service-configurable_PR-598:/w/workspace/_app-service-configurable_PR-598:rw,z -v /w/workspace/_app-service-configurable_PR-598@tmp:/w/workspace/_app-service-configurable_PR-598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:26:30 $ docker top 01b36120e39c385bb5919e7e8303bfb29e7416c44d70373a6ab2d017d25f5ae7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:26:31 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-598 [Pipeline] fileExists [Pipeline] sh 12:26:31 + make test 12:26:31 go test -race -coverprofile=coverage.out ./... 12:26:49 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:27:07 go vet ./... 12:27:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:27:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:27:08 ./bin/test-attribution-txt.sh [Pipeline] echo 12:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:27:08 $ docker stop --time=1 01b36120e39c385bb5919e7e8303bfb29e7416c44d70373a6ab2d017d25f5ae7 12:27:13 $ docker rm -f --volumes 01b36120e39c385bb5919e7e8303bfb29e7416c44d70373a6ab2d017d25f5ae7 [Pipeline] // withDockerContainer [Pipeline] sh 12:27:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:27:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:27:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:27:15 + ls -al . 12:27:15 total 184 12:27:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:26 . 12:27:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:25 .. 12:27:15 -rw-rw-r-- 1 jenkins jenkins 119 Sep 20 12:25 .dockerignore 12:27:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:26 .git 12:27:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:25 .github 12:27:15 -rw-rw-r-- 1 jenkins jenkins 171 Sep 20 12:25 .gitignore 12:27:15 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 12:25 .golangci.yml 12:27:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 12:25 .semver 12:27:15 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 20 12:25 Attribution.txt 12:27:15 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 20 12:25 CHANGELOG.md 12:27:15 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 20 12:25 Dockerfile 12:27:15 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 12:25 GOVERNANCE.md 12:27:15 -rw-rw-r-- 1 jenkins jenkins 688 Sep 20 12:25 Jenkinsfile 12:27:15 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 12:25 LICENSE 12:27:15 -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 12:25 OWNERS.md 12:27:15 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 20 12:25 README.md 12:27:15 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 12:25 VERSION 12:27:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:25 bin 12:27:15 -rw-r--r-- 1 jenkins jenkins 13 Sep 20 12:26 coverage.out 12:27:15 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 20 12:25 go.mod 12:27:15 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 20 12:25 go.sum 12:27:15 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 20 12:25 main.go 12:27:15 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 20 12:25 makefile 12:27:15 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 12:25 res 12:27:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:25 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:15 + 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=26c89f4a19830c35ca29256744b8209a778cf511 --label arch=amd64 --label version=0.0.0 . 12:27:15 Sending build context to Docker daemon 3.356MB 12:27:15 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:27:15 Step 2/26 : FROM ${BASE} AS builder 12:27:15 ---> c94009815238 12:27:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:27:15 ---> Running in 80ba9642b65d 12:27:15 Removing intermediate container 80ba9642b65d 12:27:15 ---> 784534565490 12:27:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:27:15 ---> Running in 2bfb221ff3f0 12:27:15 Removing intermediate container 2bfb221ff3f0 12:27:15 ---> 782cc99cf3e1 12:27:15 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:27:15 ---> Running in c6022acf37d8 12:27:15 Removing intermediate container c6022acf37d8 12:27:15 ---> 209c56dbfdd6 12:27:15 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:27:16 ---> Running in 8523609d1a6d 12:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:27:16 OK: 265 MiB in 56 packages 12:27:17 Removing intermediate container 8523609d1a6d 12:27:17 ---> cf646e6f814c 12:27:17 Step 7/26 : WORKDIR /app 12:27:17 ---> Running in d60c44de1ea8 12:27:17 Removing intermediate container d60c44de1ea8 12:27:17 ---> 900adfcdb4f3 12:27:17 Step 8/26 : COPY go.mod vendor* ./ 12:27:17 ---> 6b4255bd36b8 12:27:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:17 ---> Running in 7b254de68d75 12:27:18 Removing intermediate container 7b254de68d75 12:27:18 ---> 1f15e1d3eb36 12:27:18 Step 10/26 : COPY . . 12:27:18 ---> 6cac587ccb27 12:27:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:18 ---> Running in 40c27928e604 12:27:18 Removing intermediate container 40c27928e604 12:27:18 ---> f15ae6afe491 12:27:18 Step 12/26 : RUN $MAKE 12:27:18 ---> Running in 4e706449be37 12:27:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:27:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6704 in /w/workspace/_app-service-configurable_PR-598 [Pipeline] { [Pipeline] ws 12:27:20 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:27:20 Selected Git installation does not exist. Using Default 12:27:20 The recommended git tool is: NONE 12:27:25 using credential edgex-jenkins-ssh 12:27:25 Cloning the remote Git repository 12:27:25 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:27:25 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:27:25 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:27:25 > git --version # timeout=10 12:27:25 > git --version # 'git version 2.25.1' 12:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:27 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:27:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:28 Merging remotes/origin/main commit 2b865428d4c5867b9412c9393c54ce3bc1bb3d31 into PR head commit 26c89f4a19830c35ca29256744b8209a778cf511 12:27:28 Merge succeeded, producing 26c89f4a19830c35ca29256744b8209a778cf511 12:27:28 Checking out Revision 26c89f4a19830c35ca29256744b8209a778cf511 (PR-598) 12:27:29 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:27:29 > git --version # timeout=10 12:27:29 > git --version # 'git version 2.25.1' 12:27:29 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:27:27 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:27:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:27:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/598/head:refs/remotes/origin/PR-598 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:27:28 > git config core.sparsecheckout # timeout=10 12:27:28 > git checkout -f 26c89f4a19830c35ca29256744b8209a778cf511 # timeout=10 12:27:28 > git remote # timeout=10 12:27:28 > git config --get remote.origin.url # timeout=10 12:27:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:28 > git merge 2b865428d4c5867b9412c9393c54ce3bc1bb3d31 # timeout=10 12:27:28 > git rev-parse HEAD^{commit} # timeout=10 12:27:28 > git config core.sparsecheckout # timeout=10 12:27:28 > git checkout -f 26c89f4a19830c35ca29256744b8209a778cf511 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:27:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:27:30 % Total % Received % Xferd Average Speed Time Time Time Current 12:27:30 Dload Upload Total Spent Left Speed 12:27:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 12:27:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:27:31 + sudo tee /etc/docker/daemon.new 12:27:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:27:31 { 12:27:31 "registry-mirrors": [ 12:27:31 "https://nexus3.edgexfoundry.org:10001" 12:27:31 ], 12:27:31 "bip": "10.250.0.254/24", 12:27:31 "hosts": [ 12:27:31 "tcp://0.0.0.0:5555", 12:27:31 "unix:///var/run/docker.sock" 12:27:31 ], 12:27:31 "mtu": 1458, 12:27:31 "selinux-enabled": true, 12:27:31 "seccomp-profile": "/etc/docker/seccomp.json" 12:27:31 } [Pipeline] sh 12:27:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:27:31 + sudo service docker restart 12:27:40 Removing intermediate container 4e706449be37 12:27:40 ---> 35f1b4290f45 12:27:40 Step 13/26 : FROM alpine:3.18 12:27:40 3.18: Pulling from library/alpine 12:27:40 7264a8db6415: Already exists 12:27:40 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:27:40 Status: Downloaded newer image for alpine:3.18 12:27:40 ---> 7e01a0d0a1dc 12:27:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:27:40 ---> Running in ad8d9792e3f7 12:27:40 Removing intermediate container ad8d9792e3f7 12:27:40 ---> 8e1a3bdc678e 12:27:40 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:27:40 ---> Running in 8cd9eed61320 12:27:40 Removing intermediate container 8cd9eed61320 12:27:40 ---> 48885e7501d1 12:27:40 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:27:40 ---> Running in 1348d93045b6 12:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:27:40 (1/2) Installing ca-certificates (20230506-r0) 12:27:40 (2/2) Installing dumb-init (1.2.5-r2) 12:27:40 Executing busybox-1.36.1-r2.trigger 12:27:40 Executing ca-certificates-20230506-r0.trigger 12:27:40 OK: 8 MiB in 17 packages 12:27:40 Removing intermediate container 1348d93045b6 12:27:40 ---> 60615fbea05f 12:27:40 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:27:40 ---> bee498ed22fb 12:27:40 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:27:40 ---> 7a43f34411c8 12:27:40 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:27:40 ---> cd1810279b92 12:27:40 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:27:40 ---> beafae8b53d5 12:27:40 Step 21/26 : EXPOSE 48095 12:27:40 ---> Running in 63e9c73d150f 12:27:40 Removing intermediate container 63e9c73d150f 12:27:40 ---> 24f3ec3e2b6a 12:27:40 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:27:40 ---> Running in 9963a0a3e5f0 12:27:40 Removing intermediate container 9963a0a3e5f0 12:27:40 ---> 1f66b7484a68 12:27:40 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:27:40 ---> Running in dd10438cc9a9 12:27:40 Removing intermediate container dd10438cc9a9 12:27:40 ---> 648574612a14 12:27:40 Step 24/26 : LABEL arch=amd64 12:27:40 ---> Running in 2334971834d0 12:27:40 Removing intermediate container 2334971834d0 12:27:40 ---> f1d7a6022549 12:27:40 Step 25/26 : LABEL git_sha=26c89f4a19830c35ca29256744b8209a778cf511 12:27:40 ---> Running in 02c6e8a8ffdc 12:27:40 Removing intermediate container 02c6e8a8ffdc 12:27:40 ---> 04f8fcbc5bdb 12:27:40 Step 26/26 : LABEL version=0.0.0 12:27:40 ---> Running in b2c6c6794264 12:27:41 Removing intermediate container b2c6c6794264 12:27:41 ---> 936f8fe74f54 12:27:41 [Warning] One or more build-args [ARCH] were not consumed 12:27:41 Successfully built 936f8fe74f54 12:27:41 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:42 12:27:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:42 latest: Pulling from edgex-lftools-log-publisher 12:27:42 5eb5b503b376: Pulling fs layer 12:27:42 5c69ac0246d0: Pulling fs layer 12:27:42 ec43610c2a17: Pulling fs layer 12:27:42 3a2ae6a8a46f: Pulling fs layer 12:27:42 33b1e0a273af: Pulling fs layer 12:27:42 5d3b04190fa2: Pulling fs layer 12:27:42 2f39f015ded8: Pulling fs layer 12:27:42 33b1e0a273af: Waiting 12:27:42 5d3b04190fa2: Waiting 12:27:42 3a2ae6a8a46f: Waiting 12:27:42 2f39f015ded8: Waiting 12:27:42 5c69ac0246d0: Download complete 12:27:42 3a2ae6a8a46f: Verifying Checksum 12:27:42 3a2ae6a8a46f: Download complete 12:27:42 33b1e0a273af: Verifying Checksum 12:27:42 33b1e0a273af: Download complete 12:27:42 5d3b04190fa2: Verifying Checksum 12:27:42 5d3b04190fa2: Download complete 12:27:42 ec43610c2a17: Verifying Checksum 12:27:42 ec43610c2a17: Download complete 12:27:42 5eb5b503b376: Verifying Checksum 12:27:42 5eb5b503b376: Download complete 12:27:43 2f39f015ded8: Download complete 12:27:43 5eb5b503b376: Pull complete 12:27:43 5c69ac0246d0: Pull complete 12:27:44 ec43610c2a17: Pull complete 12:27:44 3a2ae6a8a46f: Pull complete 12:27:44 33b1e0a273af: Pull complete 12:27:44 5d3b04190fa2: Pull complete 12:27:48 2f39f015ded8: Pull complete 12:27:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:27:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:49 prd-ubuntu20.04-docker-8c-8g-6703 does not seem to be running inside a container 12:27:49 $ 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-598 -v /w/workspace/_app-service-configurable_PR-598:/w/workspace/_app-service-configurable_PR-598:rw,z -v /w/workspace/_app-service-configurable_PR-598@tmp:/w/workspace/_app-service-configurable_PR-598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:27:52 $ docker top 3cd8904720f3cd6da8f888a12ca6ce1ff94c3a84cec10c3b6d4ec595b21b57a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 12:27:52 provisioning config files... 12:27:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5108506702919700381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:53 ---> job-cost.sh 12:27:53 lf-activate-venv: SKIPPING 12:27:53 INFO: No Stack... 12:27:53 ---> docker-login.sh 12:27:53 nexus3.edgexfoundry.org:10001 12:27:53 INFO: Retrieving Pricing Info for: v3-standard-8 12:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:53 INFO: Archiving Costs [Pipeline] sh 12:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:53 Configure a credential helper to remove this warning. See 12:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:53 12:27:53 Login Succeeded 12:27:53 nexus3.edgexfoundry.org:10002 12:27:53 + cat /w/workspace/_app-service-configurable_PR-598/archives/cost.csv 12:27:53 + cut -d, -f6 [Pipeline] lock 12:27:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] 12:27:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] did not exist. Created. 12:27:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] [Pipeline] { [Pipeline] unstash 12:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:54 Configure a credential helper to remove this warning. See 12:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:54 12:27:54 Login Succeeded 12:27:54 nexus3.edgexfoundry.org:10003 [Pipeline] sh 12:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:54 + echo total: 0.2199999988079071 [Pipeline] stash 12:27:54 Stashed 1 file(s) [Pipeline] } 12:27:54 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:27:54 $ docker stop --time=1 3cd8904720f3cd6da8f888a12ca6ce1ff94c3a84cec10c3b6d4ec595b21b57a6 12:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:54 Configure a credential helper to remove this warning. See 12:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:54 12:27:54 Login Succeeded 12:27:54 nexus3.edgexfoundry.org:10004 12:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:54 Configure a credential helper to remove this warning. See 12:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:54 12:27:54 Login Succeeded 12:27:54 docker.io 12:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:55 Configure a credential helper to remove this warning. See 12:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:55 12:27:55 Login Succeeded 12:27:55 ---> docker-login.sh ends 12:27:55 $ docker rm -f --volumes 3cd8904720f3cd6da8f888a12ca6ce1ff94c3a84cec10c3b6d4ec595b21b57a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 12:27:55 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 12:27:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:27:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:27:56 ========================================================= 12:27:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:27:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:27:56 Sending build context to Docker daemon 180.7kB 12:27:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:27:57 Step 2/12 : FROM ${BASE} AS builder 12:27:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:27:57 9fda8d8052c6: Pulling fs layer 12:27:57 5d54e960e981: Pulling fs layer 12:27:57 c4a7e357bf2a: Pulling fs layer 12:27:57 f0e02332f6b5: Pulling fs layer 12:27:57 66412af1f25a: Pulling fs layer 12:27:57 1baf3a5c0e64: Pulling fs layer 12:27:57 9a37bb91b891: Pulling fs layer 12:27:57 a29adfc67d43: Pulling fs layer 12:27:57 d5de9f91c1a4: Pulling fs layer 12:27:57 f0e02332f6b5: Waiting 12:27:57 66412af1f25a: Waiting 12:27:57 1baf3a5c0e64: Waiting 12:27:57 a29adfc67d43: Waiting 12:27:57 9a37bb91b891: Waiting 12:27:57 d5de9f91c1a4: Waiting 12:27:57 5d54e960e981: Verifying Checksum 12:27:57 5d54e960e981: Download complete 12:27:57 f0e02332f6b5: Download complete 12:27:57 66412af1f25a: Verifying Checksum 12:27:57 66412af1f25a: Download complete 12:27:57 9fda8d8052c6: Verifying Checksum 12:27:57 9fda8d8052c6: Download complete 12:27:57 9a37bb91b891: Verifying Checksum 12:27:57 9a37bb91b891: Download complete 12:27:58 a29adfc67d43: Verifying Checksum 12:27:58 a29adfc67d43: Download complete 12:27:58 9fda8d8052c6: Pull complete 12:27:59 d5de9f91c1a4: Verifying Checksum 12:27:59 d5de9f91c1a4: Download complete 12:27:59 c4a7e357bf2a: Download complete 12:27:59 1baf3a5c0e64: Verifying Checksum 12:27:59 1baf3a5c0e64: Download complete 12:28:00 5d54e960e981: Pull complete 12:28:15 c4a7e357bf2a: Pull complete 12:28:15 f0e02332f6b5: Pull complete 12:28:15 66412af1f25a: Pull complete 12:28:22 1baf3a5c0e64: Pull complete 12:28:23 9a37bb91b891: Pull complete 12:28:24 a29adfc67d43: Pull complete 12:28:26 d5de9f91c1a4: Pull complete 12:28:26 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 12:28:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:28:26 ---> 746ca1b523b5 12:28:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:28:28 ---> Running in 5591f720b3ff 12:28:28 Removing intermediate container 5591f720b3ff 12:28:28 ---> d3a080a2c8be 12:28:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:28:28 ---> Running in c5c88a09bd97 12:28:28 Removing intermediate container c5c88a09bd97 12:28:28 ---> aa6746214ddd 12:28:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:28:28 ---> Running in b0b6c270e9a9 12:28:29 Removing intermediate container b0b6c270e9a9 12:28:29 ---> b7d022db1710 12:28:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:28:29 ---> Running in 220551affe37 12:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:28:31 OK: 267 MiB in 56 packages 12:28:32 Removing intermediate container 220551affe37 12:28:32 ---> 60daa5d51af4 12:28:32 Step 7/12 : WORKDIR /app 12:28:32 ---> Running in 6507a53d14d2 12:28:32 Removing intermediate container 6507a53d14d2 12:28:32 ---> d3d8cef09954 12:28:32 Step 8/12 : COPY go.mod vendor* ./ 12:28:33 ---> a1d5ab63ecdc 12:28:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:28:33 ---> Running in 07627bcbd5a5 12:29:41 Removing intermediate container 07627bcbd5a5 12:29:41 ---> 0e9128081a9c 12:29:41 Step 10/12 : COPY . . 12:29:41 ---> 907b5e8e44de 12:29:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:29:41 ---> Running in aacad07ab9dc 12:29:41 Removing intermediate container aacad07ab9dc 12:29:41 ---> 8b2eb650ab41 12:29:41 Step 12/12 : RUN $MAKE 12:29:41 ---> Running in 8b7aaadbf31a 12:29:41 noop 12:29:41 Removing intermediate container 8b7aaadbf31a 12:29:41 ---> 496cb7b44305 12:29:41 Successfully built 496cb7b44305 12:29:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:42 + docker inspect -f . ci-base-image-arm64 12:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:42 prd-ubuntu20.04-docker-arm64-4c-16g-6704 does not seem to be running inside a container 12:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:29:43 $ docker top 3a45ff732aed8a8a776b36c37cc1352d79f2994ae8fb0c863dfcf7b9eb1d6f19 -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:44 + go version 12:29:44 go version go1.21.0 linux/arm64 [Pipeline] } 12:29:44 $ docker stop --time=1 3a45ff732aed8a8a776b36c37cc1352d79f2994ae8fb0c863dfcf7b9eb1d6f19 12:29:46 $ docker rm -f --volumes 3a45ff732aed8a8a776b36c37cc1352d79f2994ae8fb0c863dfcf7b9eb1d6f19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:47 + docker inspect -f . ci-base-image-arm64 12:29:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:47 prd-ubuntu20.04-docker-arm64-4c-16g-6704 does not seem to be running inside a container 12:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:29:49 $ docker top 03767df2ad495b6a0c29a925b6704b049f010024d91f0da7971d60e93b78c182 -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:49 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:29:50 + make test 12:29:50 go test -race -coverprofile=coverage.out ./... 12:31:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:31:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:31:56 go vet ./... 12:33:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:33:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:33:48 ./bin/test-attribution-txt.sh [Pipeline] echo 12:33:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:33:48 $ docker stop --time=1 03767df2ad495b6a0c29a925b6704b049f010024d91f0da7971d60e93b78c182 12:33:52 $ docker rm -f --volumes 03767df2ad495b6a0c29a925b6704b049f010024d91f0da7971d60e93b78c182 [Pipeline] // withDockerContainer [Pipeline] sh 12:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:33:53 Warning: overwriting stash ‘coverage-report’ 12:33:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:33:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:33:54 + ls -al . 12:33:54 total 180 12:33:54 drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 12:29 . 12:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:27 .. 12:33:54 -rw-rw-r-- 1 jenkins jenkins 119 Sep 20 12:27 .dockerignore 12:33:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:27 .git 12:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:27 .github 12:33:54 -rw-rw-r-- 1 jenkins jenkins 171 Sep 20 12:27 .gitignore 12:33:54 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 12:27 .golangci.yml 12:33:54 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 20 12:27 Attribution.txt 12:33:54 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 20 12:27 CHANGELOG.md 12:33:54 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 20 12:27 Dockerfile 12:33:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 12:27 GOVERNANCE.md 12:33:54 -rw-rw-r-- 1 jenkins jenkins 688 Sep 20 12:27 Jenkinsfile 12:33:54 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 12:27 LICENSE 12:33:54 -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 12:27 OWNERS.md 12:33:54 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 20 12:27 README.md 12:33:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 12:25 VERSION 12:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:27 bin 12:33:54 -rw-r--r-- 1 jenkins jenkins 13 Sep 20 12:29 coverage.out 12:33:54 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 20 12:27 go.mod 12:33:54 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 20 12:27 go.sum 12:33:54 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 20 12:27 main.go 12:33:54 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 20 12:27 makefile 12:33:54 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 12:27 res 12:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:27 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:55 + 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=26c89f4a19830c35ca29256744b8209a778cf511 --label arch=arm64 --label version=0.0.0 . 12:33:55 Sending build context to Docker daemon 181.8kB 12:33:55 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:33:55 Step 2/26 : FROM ${BASE} AS builder 12:33:55 ---> 496cb7b44305 12:33:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:33:55 ---> Running in 7925497eb650 12:33:55 Removing intermediate container 7925497eb650 12:33:55 ---> 58d920718cfc 12:33:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:33:56 ---> Running in 91d91389187f 12:33:56 Removing intermediate container 91d91389187f 12:33:56 ---> 5e9fffef13e2 12:33:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:33:56 ---> Running in 77cfac831474 12:33:56 Removing intermediate container 77cfac831474 12:33:56 ---> 4dc4402a2517 12:33:56 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:33:56 ---> Running in 7659e396a07b 12:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:33:59 OK: 267 MiB in 56 packages 12:33:59 Removing intermediate container 7659e396a07b 12:33:59 ---> 8a3b8aa45e5b 12:33:59 Step 7/26 : WORKDIR /app 12:34:00 ---> Running in 22f1809a58e8 12:34:00 Removing intermediate container 22f1809a58e8 12:34:00 ---> 861308799da9 12:34:00 Step 8/26 : COPY go.mod vendor* ./ 12:34:00 ---> 7aedea49728c 12:34:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:34:00 ---> Running in 424558310ac8 12:34:05 Removing intermediate container 424558310ac8 12:34:05 ---> ffa3dd0f7494 12:34:05 Step 10/26 : COPY . . 12:34:05 ---> 237dfa1aca00 12:34:05 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:34:05 ---> Running in a4d1776ebcab 12:34:05 Removing intermediate container a4d1776ebcab 12:34:05 ---> 2e2b42d75460 12:34:05 Step 12/26 : RUN $MAKE 12:34:06 ---> Running in 499137cba1d3 12:34:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:35:58 Removing intermediate container 499137cba1d3 12:35:58 ---> b35abe6cff67 12:35:58 Step 13/26 : FROM alpine:3.18 12:35:58 3.18: Pulling from library/alpine 12:35:58 9fda8d8052c6: Already exists 12:35:58 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:35:58 Status: Downloaded newer image for alpine:3.18 12:35:58 ---> f6648c04cd6c 12:35:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:35:58 ---> Running in 72836dc4896f 12:35:58 Removing intermediate container 72836dc4896f 12:35:58 ---> 304937a5af00 12:35:58 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:35:58 ---> Running in a6043daeb4b9 12:35:58 Removing intermediate container a6043daeb4b9 12:35:58 ---> 0fd05fa1f33a 12:35:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:35:58 ---> Running in 2d59f3680a96 12:35:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:35:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:35:58 (1/2) Installing ca-certificates (20230506-r0) 12:35:58 (2/2) Installing dumb-init (1.2.5-r2) 12:35:58 Executing busybox-1.36.1-r2.trigger 12:35:58 Executing ca-certificates-20230506-r0.trigger 12:35:58 OK: 9 MiB in 17 packages 12:35:58 Removing intermediate container 2d59f3680a96 12:35:58 ---> c1291e5aa966 12:35:58 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:35:58 ---> bc3933af9076 12:35:58 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:35:58 ---> 853158a9a52a 12:35:58 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:35:58 ---> d1652139ce52 12:35:58 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:35:58 ---> 84c19a5c2b23 12:35:58 Step 21/26 : EXPOSE 48095 12:35:58 ---> Running in 56d939cbebc5 12:35:58 Removing intermediate container 56d939cbebc5 12:35:58 ---> 70dd5916c360 12:35:58 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:35:58 ---> Running in 0cf285c03e25 12:35:58 Removing intermediate container 0cf285c03e25 12:35:58 ---> 1924a27a91bf 12:35:58 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:35:58 ---> Running in 126333f4b414 12:35:58 Removing intermediate container 126333f4b414 12:35:58 ---> f1fc717a943d 12:35:58 Step 24/26 : LABEL arch=arm64 12:35:58 ---> Running in df841e6d7f74 12:35:58 Removing intermediate container df841e6d7f74 12:35:58 ---> 4f368351aea7 12:35:58 Step 25/26 : LABEL git_sha=26c89f4a19830c35ca29256744b8209a778cf511 12:35:58 ---> Running in 8eacc7eb2db4 12:35:58 Removing intermediate container 8eacc7eb2db4 12:35:58 ---> 9f491d215da7 12:35:58 Step 26/26 : LABEL version=0.0.0 12:35:58 ---> Running in ac47e97d7406 12:35:58 Removing intermediate container ac47e97d7406 12:35:58 ---> 924d172bc2fe 12:35:58 [Warning] One or more build-args [ARCH] were not consumed 12:35:58 Successfully built 924d172bc2fe 12:35:58 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:35:59 12:35:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:36:00 arm64: Pulling from edgex-lftools-log-publisher 12:36:00 8998bd30e6a1: Pulling fs layer 12:36:00 04944245beec: Pulling fs layer 12:36:00 699f458cf7ca: Pulling fs layer 12:36:00 765212b225bb: Pulling fs layer 12:36:00 f23df028b6ca: Pulling fs layer 12:36:00 d65c8cfc05b1: Pulling fs layer 12:36:00 2437ff75d9bd: Pulling fs layer 12:36:00 765212b225bb: Waiting 12:36:00 f23df028b6ca: Waiting 12:36:00 d65c8cfc05b1: Waiting 12:36:00 2437ff75d9bd: Waiting 12:36:00 04944245beec: Verifying Checksum 12:36:00 04944245beec: Download complete 12:36:00 765212b225bb: Verifying Checksum 12:36:00 765212b225bb: Download complete 12:36:00 f23df028b6ca: Verifying Checksum 12:36:00 f23df028b6ca: Download complete 12:36:00 d65c8cfc05b1: Verifying Checksum 12:36:00 d65c8cfc05b1: Download complete 12:36:00 699f458cf7ca: Verifying Checksum 12:36:00 699f458cf7ca: Download complete 12:36:00 8998bd30e6a1: Verifying Checksum 12:36:02 2437ff75d9bd: Verifying Checksum 12:36:02 2437ff75d9bd: Download complete 12:36:04 8998bd30e6a1: Pull complete 12:36:05 04944245beec: Pull complete 12:36:06 699f458cf7ca: Pull complete 12:36:06 765212b225bb: Pull complete 12:36:07 f23df028b6ca: Pull complete 12:36:07 d65c8cfc05b1: Pull complete 12:36:22 2437ff75d9bd: Pull complete 12:36:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:36:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:36:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:23 prd-ubuntu20.04-docker-arm64-4c-16g-6704 does not seem to be running inside a container 12:36:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:36:25 $ docker top 63e710eae8bb017efe6e3fea53db0d5ff4bf3978066bbcc7a2b463dd414747e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:26 ---> job-cost.sh 12:36:26 lf-activate-venv: SKIPPING 12:36:26 INFO: No Stack... 12:36:26 INFO: Retrieving Pricing Info for: v3-standard-4 12:36:27 INFO: Archiving Costs [Pipeline] sh 12:36:28 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:36:28 + cut -d, -f6 [Pipeline] lock 12:36:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] 12:36:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] did not exist. Created. 12:36:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:36:29 /w/workspace/app-service-configurable/1@tmp/durable-b094b3ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:36:29 + echo total: 0.10999999940395355 [Pipeline] stash 12:36:29 Warning: overwriting stash ‘stack-cost’ 12:36:29 Stashed 1 file(s) [Pipeline] } 12:36:29 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-598-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:36:29 $ docker stop --time=1 63e710eae8bb017efe6e3fea53db0d5ff4bf3978066bbcc7a2b463dd414747e0 12:36:32 $ docker rm -f --volumes 63e710eae8bb017efe6e3fea53db0d5ff4bf3978066bbcc7a2b463dd414747e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:36:33 provisioning config files... 12:36:33 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-598@tmp/config12694426298850118599tmp [Pipeline] { [Pipeline] sh 12:36:34 + set +x 12:36:34 + curl -s https://codecov.io/bash 12:36:34 + bash -s -- 12:36:34 12:36:34 _____ _ 12:36:34 / ____| | | 12:36:34 | | ___ __| | ___ ___ _____ __ 12:36:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:36:34 | |___| (_) | (_| | __/ (_| (_) \ V / 12:36:34 \_____\___/ \__,_|\___|\___\___/ \_/ 12:36:34 Bash-1.0.6 12:36:34 12:36:34 12:36:34 ==> git version 2.25.1 found 12:36:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:36:34 Release-Date: 2020-01-08 12:36:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:36:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:36:34 ==> Jenkins CI detected. 12:36:34 current dir:  /w/workspace/_app-service-configurable_PR-598 12:36:34 project root: . 12:36:34 --> token set from env 12:36:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:36:34 ==> Running gcov in . (disable via -X gcov) 12:36:34 ==> Python coveragepy not found 12:36:34 ==> Searching for coverage reports in: 12:36:34 + . 12:36:34 -> Found 1 reports 12:36:34 ==> Detecting git/mercurial file structure 12:36:34 ==> Reading reports 12:36:34 + ./coverage.out bytes=13 12:36:34 ==> Appending adjustments 12:36:34 https://docs.codecov.io/docs/fixing-reports 12:36:34 + Found adjustments 12:36:34 ==> Gzipping contents 12:36:34 4.0K /tmp/codecov.oDT27I.gz 12:36:34 ==> Uploading reports 12:36:34 url: https://codecov.io 12:36:34 query: branch=PR-598&commit=26c89f4a19830c35ca29256744b8209a778cf511&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-598%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=598&job=&cmd_args= 12:36:34 -> Pinging Codecov 12:36:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-598&commit=26c89f4a19830c35ca29256744b8209a778cf511&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-598%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=598&job=&cmd_args= 12:36:34 -> Uploading to 12:36:34 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/A97CA9966030D2A3747ED39772930CCE/26c89f4a19830c35ca29256744b8209a778cf511/de2bfcfd-0a61-4d6f-bd31-b4dd62016ebc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T123634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=95c4f871390d4ce27020e4b4f67674f259d99b378472032c596b9591df968de6 12:36:34 % Total % Received % Xferd Average Speed Time Time Time Current 12:36:34 Dload Upload Total Spent Left Speed 12:36:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1631 --:--:-- --:--:-- --:--:-- 1631 12:36:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/26c89f4a19830c35ca29256744b8209a778cf511 [Pipeline] } 12:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:36:36 + [ -d /w/workspace/_app-service-configurable_PR-598/archives ] 12:36:36 + ls -al /w/workspace/_app-service-configurable_PR-598/archives 12:36:36 total 16 12:36:36 drwxr-xr-x 3 root root 4096 Sep 20 12:27 . 12:36:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 12:27 .. 12:36:36 drwxr-xr-x 2 root root 4096 Sep 20 12:27 cost 12:36:36 -rw-r--r-- 1 root root 96 Sep 20 12:27 cost.csv 12:36:36 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-598/archives 12:36:36 + ls -al /w/workspace/_app-service-configurable_PR-598/archives 12:36:36 total 16 12:36:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 12:27 . 12:36:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 12:27 .. 12:36:36 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 12:27 cost 12:36:36 -rw-r--r-- 1 jenkins jenkins 96 Sep 20 12:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:36:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:36:38 ---> package-listing.sh 12:36:38 ++ tr '[:upper:]' '[:lower:]' 12:36:38 ++ facter osfamily 12:36:38 + OS_FAMILY=debian 12:36:38 + workspace=/w/workspace/_app-service-configurable_PR-598 12:36:38 + START_PACKAGES=/tmp/packages_start.txt 12:36:38 + END_PACKAGES=/tmp/packages_end.txt 12:36:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:36:38 + PACKAGES=/tmp/packages_start.txt 12:36:38 + '[' /w/workspace/_app-service-configurable_PR-598 ']' 12:36:38 + PACKAGES=/tmp/packages_end.txt 12:36:38 + case "${OS_FAMILY}" in 12:36:38 + dpkg -l 12:36:38 + grep '^ii' 12:36:38 + '[' -f /tmp/packages_start.txt ']' 12:36:38 + '[' -f /tmp/packages_end.txt ']' 12:36:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:36:38 + '[' /w/workspace/_app-service-configurable_PR-598 ']' 12:36:38 + mkdir -p /w/workspace/_app-service-configurable_PR-598/archives/ 12:36:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-598/archives/ [Pipeline] echo 12:36:38 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-598/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:36:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:36:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:39 prd-ubuntu20.04-docker-8c-8g-6703 does not seem to be running inside a container 12:36:39 $ 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-598/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-598 -v /w/workspace/_app-service-configurable_PR-598:/w/workspace/_app-service-configurable_PR-598:rw,z -v /w/workspace/_app-service-configurable_PR-598@tmp:/w/workspace/_app-service-configurable_PR-598@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:36:39 $ docker top de4bbf9fb75e07d8aa65a97066b0fa328c1c897ccaee9dda8a56ddcc0387c504 -eo pid,comm [Pipeline] { [Pipeline] sh 12:36:39 + touch /tmp/pre-build-complete [Pipeline] sh 12:36:40 + mkdir -p /var/log/sysstat [Pipeline] sh 12:36:40 + ls /var/log/sa-host 12:36:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:36:40 provisioning config files... 12:36:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-598@tmp/config4751415529827945372tmp [Pipeline] { [Pipeline] echo 12:36:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:36:41 ---> create-netrc.sh [Pipeline] } 12:36:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:36:41 ---> python-tools-install.sh [Pipeline] echo 12:36:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:36:41 ---> sudo-logs.sh 12:36:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:36:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:36:42 ---> job-cost.sh 12:36:42 lf-activate-venv: SKIPPING 12:36:42 DEBUG: total: 0.2199999988079071 12:36:42 INFO: Retrieving Stack Cost... 12:36:42 INFO: Retrieving Pricing Info for: v3-standard-8 12:36:43 INFO: Archiving Costs [Pipeline] echo 12:36:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:36:43 ---> logs-deploy.sh 12:36:43 lf-activate-venv: SKIPPING 12:36:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-598/1 12:36:43 INFO: archiving workspace using pattern(s): 12:36:44 Archives upload complete. 12:36:44 INFO: archiving logs to Nexus