Pull request #607 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85fba00d0a26be455cf32591f38d060dc3929fa1+aa19ffe2ff45ad664ddb54c03ca77f44b8607e8e (631141c8ed90b51a9b68a78e5fa4722bd1dc12c4) 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-ssh681680078905545042.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-ssh16161519601155184080.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-607/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-607/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15002166136150175698.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-607/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6235959515717288511.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-ssh1729150362359597153.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-607/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-607/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16770368157829424576.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-9511 in /w/workspace/_app-service-configurable_PR-607 [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-607 # 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/607/head:refs/remotes/origin/PR-607 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aa19ffe2ff45ad664ddb54c03ca77f44b8607e8e into PR head commit 85fba00d0a26be455cf32591f38d060dc3929fa1 Merge succeeded, producing 85fba00d0a26be455cf32591f38d060dc3929fa1 Checking out Revision 85fba00d0a26be455cf32591f38d060dc3929fa1 (PR-607) 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:54:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:54:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:54:25 ========================================================= 12:54:25 EdgeX Global Pipelines Version Info 12:54:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 85fba00d0a26be455cf32591f38d060dc3929fa1 # 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 aa19ffe2ff45ad664ddb54c03ca77f44b8607e8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85fba00d0a26be455cf32591f38d060dc3929fa1 # timeout=10 12:54:25 ------------------- 12:54:25 stable info: 12:54:25 ------------------- 12:54:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:54:25 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:54:25 Message: update stable to v1.0.254 12:54:26 ------------------- 12:54:26 experimental info: 12:54:26 ------------------- 12:54:26 Commited By: **** collab-it+edgex@linuxfoundation.org 12:54:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:54:26 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-607 [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-607 [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-607 [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85fba00d0a26be455cf32591f38d060dc3929fa1 [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85fba00 [Pipeline] echo 12:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:54:28 provisioning config files... 12:54:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-607@tmp/config9243895109870561437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:28 ---> docker-login.sh 12:54:28 nexus3.edgexfoundry.org:10001 12:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:28 Configure a credential helper to remove this warning. See 12:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:28 12:54:28 Login Succeeded 12:54:28 nexus3.edgexfoundry.org:10002 12:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:28 Configure a credential helper to remove this warning. See 12:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:28 12:54:28 Login Succeeded 12:54:28 nexus3.edgexfoundry.org:10003 12:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:28 Configure a credential helper to remove this warning. See 12:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:28 12:54:28 Login Succeeded 12:54:28 nexus3.edgexfoundry.org:10004 12:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:29 Configure a credential helper to remove this warning. See 12:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:29 12:54:29 Login Succeeded 12:54:29 docker.io 12:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:29 Configure a credential helper to remove this warning. See 12:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:29 12:54:29 Login Succeeded 12:54:29 ---> docker-login.sh ends [Pipeline] } 12:54:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:54:30 + git rev-list -1 --merges 85fba00d0a26be455cf32591f38d060dc3929fa1~1..85fba00d0a26be455cf32591f38d060dc3929fa1 [Pipeline] echo 12:54:30 -----------> git rev-list -1 --merges 85fba00d0a26be455cf32591f38d060dc3929fa1~1..85fba00d0a26be455cf32591f38d060dc3929fa1 85fba00d0a26be455cf32591f38d060dc3929fa1 [false] [Pipeline] sh 12:54:30 + git log --format=format:%s -1 85fba00d0a26be455cf32591f38d060dc3929fa1 [Pipeline] echo 12:54:30 ========================================================= 12:54:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:54:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:54:30 + git log --format=format:%s -1 85fba00d0a26be455cf32591f38d060dc3929fa1 [Pipeline] echo 12:54:31 [semverPrep] GIT_COMMIT: 85fba00d0a26be455cf32591f38d060dc3929fa1, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:54:31 [semverPrep] This is not a build commit. [Pipeline] sh 12:54:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:54:31 + grep -v github /etc/ssh/ssh_known_hosts 12:54:31 + [ -e /tmp/ssh_known_hosts ] 12:54:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:54:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:54:31 + sudo tee -a /etc/ssh/ssh_known_hosts 12:54:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:54:31 12:54:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:54:32 0.1.4: Pulling from edgex-devops/py-git-semver 12:54:32 b85a868b505f: Pulling fs layer 12:54:32 e2be974225ed: Pulling fs layer 12:54:32 339a4e72a1f5: Pulling fs layer 12:54:32 988bab9f4d93: Pulling fs layer 12:54:32 1469e6f7b9e6: Pulling fs layer 12:54:32 eaf3925da568: Pulling fs layer 12:54:32 bab4dde63d76: Pulling fs layer 12:54:32 bde34c3a00c8: Pulling fs layer 12:54:32 b352a97aabf1: Pulling fs layer 12:54:32 4872d77fe225: Pulling fs layer 12:54:32 5851b861e8e6: Pulling fs layer 12:54:32 eaf3925da568: Waiting 12:54:32 1469e6f7b9e6: Waiting 12:54:32 bab4dde63d76: Waiting 12:54:32 bde34c3a00c8: Waiting 12:54:32 b352a97aabf1: Waiting 12:54:32 4872d77fe225: Waiting 12:54:32 988bab9f4d93: Waiting 12:54:32 5851b861e8e6: Waiting 12:54:32 e2be974225ed: Verifying Checksum 12:54:32 e2be974225ed: Download complete 12:54:32 988bab9f4d93: Verifying Checksum 12:54:32 988bab9f4d93: Download complete 12:54:32 1469e6f7b9e6: Verifying Checksum 12:54:32 1469e6f7b9e6: Download complete 12:54:32 eaf3925da568: Verifying Checksum 12:54:32 eaf3925da568: Download complete 12:54:32 339a4e72a1f5: Verifying Checksum 12:54:32 339a4e72a1f5: Download complete 12:54:32 bde34c3a00c8: Verifying Checksum 12:54:32 bde34c3a00c8: Download complete 12:54:32 b352a97aabf1: Verifying Checksum 12:54:32 b352a97aabf1: Download complete 12:54:32 4872d77fe225: Verifying Checksum 12:54:32 4872d77fe225: Download complete 12:54:32 5851b861e8e6: Verifying Checksum 12:54:32 5851b861e8e6: Download complete 12:54:32 b85a868b505f: Verifying Checksum 12:54:32 b85a868b505f: Download complete 12:54:32 bab4dde63d76: Verifying Checksum 12:54:32 bab4dde63d76: Download complete 12:54:33 b85a868b505f: Pull complete 12:54:34 e2be974225ed: Pull complete 12:54:34 339a4e72a1f5: Pull complete 12:54:34 988bab9f4d93: Pull complete 12:54:34 1469e6f7b9e6: Pull complete 12:54:34 eaf3925da568: Pull complete 12:54:36 bab4dde63d76: Pull complete 12:54:36 bde34c3a00c8: Pull complete 12:54:36 b352a97aabf1: Pull complete 12:54:37 4872d77fe225: Pull complete 12:54:37 5851b861e8e6: Pull complete 12:54:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:54:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:37 prd-ubuntu20.04-docker-8c-8g-9511 does not seem to be running inside a container 12:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-607 -v /w/workspace/_app-service-configurable_PR-607:/w/workspace/_app-service-configurable_PR-607:rw,z -v /w/workspace/_app-service-configurable_PR-607@tmp:/w/workspace/_app-service-configurable_PR-607@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:54:39 $ docker top 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e -eo pid,comm 12:54:39 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:54:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:54:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:54:39 [ssh-agent] Looking for ssh-agent implementation... 12:54:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:54:39 $ docker exec 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e ssh-agent 12:54:39 SSH_AUTH_SOCK=/tmp/ssh-9hkFJjuxli1i/agent.32 12:54:39 SSH_AGENT_PID=38 12:54:39 Running ssh-add (command line suppressed) 12:54:40 Identity added: /w/workspace/_app-service-configurable_PR-607@tmp/private_key_8060053024672266906.key (/w/workspace/_app-service-configurable_PR-607@tmp/private_key_8060053024672266906.key) 12:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:54:40 + git tag --points-at HEAD [Pipeline] } 12:54:40 $ docker exec --env ******** --env ******** 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e ssh-agent -k 12:54:40 unset SSH_AUTH_SOCK; 12:54:40 unset SSH_AGENT_PID; 12:54:40 echo Agent pid 38 killed; 12:54:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:54:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:54:40 [ssh-agent] Looking for ssh-agent implementation... 12:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:54:40 $ docker exec 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e ssh-agent 12:54:40 SSH_AUTH_SOCK=/tmp/ssh-iwBPAC8WpoTu/agent.70 12:54:40 SSH_AGENT_PID=76 12:54:40 Running ssh-add (command line suppressed) 12:54:41 Identity added: /w/workspace/_app-service-configurable_PR-607@tmp/private_key_6696213297444756500.key (/w/workspace/_app-service-configurable_PR-607@tmp/private_key_6696213297444756500.key) 12:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:54:41 + git semver init 12:54:41 2023-10-18 12:54:41,568 [run_init] DEBUG init version:0.0.0 force:False 12:54:41 2023-10-18 12:54:41,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-607/.semver 12:54:41 2023-10-18 12:54:41,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-607/.semver 12:54:41 2023-10-18 12:54:41,570 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-607/.semver'], cwd=/w/workspace/_app-service-configurable_PR-607, universal_newlines=False, shell=None, istream=None) 12:54:42 2023-10-18 12:54:42,469 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-607/.git/info/exclude 12:54:42 2023-10-18 12:54:42,470 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-607/.semver/PR-607 with force:False 12:54:42 2023-10-18 12:54:42,470 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-607/.semver/PR-607 12:54:42 2023-10-18 12:54:42,474 [execute] INFO git cat-file --batch-check 12:54:42 2023-10-18 12:54:42,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-607/.semver, universal_newlines=False, shell=None, istream=) 12:54:42 2023-10-18 12:54:42,481 [execute] INFO git cat-file --batch 12:54:42 2023-10-18 12:54:42,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-607/.semver, universal_newlines=False, shell=None, istream=) 12:54:42 2023-10-18 12:54:42,486 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-607/.semver/PR-607 12:54:42 0.0.0 [Pipeline] } 12:54:42 $ docker exec --env ******** --env ******** 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e ssh-agent -k 12:54:42 unset SSH_AUTH_SOCK; 12:54:42 unset SSH_AGENT_PID; 12:54:42 echo Agent pid 76 killed; 12:54:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:54:43 + git semver [Pipeline] } 12:54:43 $ docker stop --time=1 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e 12:54:44 $ docker rm -f --volumes 5883928ebae02db0294c1162c9d2158b018e7365c11fc6bc889534fbcae09a6e [Pipeline] // withDockerContainer [Pipeline] sh 12:54:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:54:45 Stashed 1 file(s) [Pipeline] echo 12:54:45 [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:54:45 provisioning config files... 12:54:46 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-607@tmp/config6313607119523780182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:46 ---> docker-login.sh 12:54:46 nexus3.edgexfoundry.org:10001 12:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:46 Configure a credential helper to remove this warning. See 12:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:46 12:54:46 Login Succeeded 12:54:46 nexus3.edgexfoundry.org:10002 12:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:46 Configure a credential helper to remove this warning. See 12:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:46 12:54:46 Login Succeeded 12:54:46 nexus3.edgexfoundry.org:10003 12:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:46 Configure a credential helper to remove this warning. See 12:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:46 12:54:46 Login Succeeded 12:54:46 nexus3.edgexfoundry.org:10004 12:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:46 Configure a credential helper to remove this warning. See 12:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:46 12:54:46 Login Succeeded 12:54:46 docker.io 12:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:46 Configure a credential helper to remove this warning. See 12:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:46 12:54:46 Login Succeeded 12:54:46 ---> docker-login.sh ends [Pipeline] } 12:54:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:54:47 ========================================================= 12:54:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:54:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:47 + 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:54:47 Sending build context to Docker daemon 3.376MB 12:54:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:54:47 Step 2/12 : FROM ${BASE} AS builder 12:54:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:54:47 7264a8db6415: Pulling fs layer 12:54:47 c4d48a809fc2: Pulling fs layer 12:54:47 4f1c88b9dad5: Pulling fs layer 12:54:47 ad3a456e5733: Pulling fs layer 12:54:47 33e27b845d1e: Pulling fs layer 12:54:47 c68163c4e522: Pulling fs layer 12:54:47 50da416c3ac9: Pulling fs layer 12:54:47 23d2d4c4bb30: Pulling fs layer 12:54:47 ad3a456e5733: Waiting 12:54:47 33e27b845d1e: Waiting 12:54:47 c68163c4e522: Waiting 12:54:47 50da416c3ac9: Waiting 12:54:47 23d2d4c4bb30: Waiting 12:54:47 c4d48a809fc2: Download complete 12:54:47 ad3a456e5733: Download complete 12:54:47 33e27b845d1e: Download complete 12:54:47 7264a8db6415: Verifying Checksum 12:54:47 7264a8db6415: Download complete 12:54:47 c68163c4e522: Verifying Checksum 12:54:47 c68163c4e522: Download complete 12:54:47 7264a8db6415: Pull complete 12:54:47 23d2d4c4bb30: Verifying Checksum 12:54:47 23d2d4c4bb30: Download complete 12:54:48 c4d48a809fc2: Pull complete 12:54:48 4f1c88b9dad5: Download complete 12:54:48 50da416c3ac9: Download complete 12:54:51 4f1c88b9dad5: Pull complete 12:54:51 ad3a456e5733: Pull complete 12:54:51 33e27b845d1e: Pull complete 12:54:51 c68163c4e522: Pull complete 12:54:54 50da416c3ac9: Pull complete 12:54:54 23d2d4c4bb30: Pull complete 12:54:54 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:54:54 ---> 0786185ac409 12:54:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:54:56 ---> Running in 772d84284c06 12:54:57 Removing intermediate container 772d84284c06 12:54:57 ---> 66580120471a 12:54:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:54:57 ---> Running in 6aceeb4cb344 12:54:57 Removing intermediate container 6aceeb4cb344 12:54:57 ---> de23f9bea6c4 12:54:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:54:57 ---> Running in 4d1fb57e8f41 12:54:57 Removing intermediate container 4d1fb57e8f41 12:54:57 ---> 622090753b31 12:54:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:57 ---> Running in d0857ad4d2fe 12:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:54:57 OK: 264 MiB in 52 packages 12:54:58 Removing intermediate container d0857ad4d2fe 12:54:58 ---> 43290662e7eb 12:54:58 Step 7/12 : WORKDIR /app 12:54:58 ---> Running in 85b5fe2598b0 12:54:58 Removing intermediate container 85b5fe2598b0 12:54:58 ---> 7186335c7050 12:54:58 Step 8/12 : COPY go.mod vendor* ./ 12:54:58 ---> 2111af483a64 12:54:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:58 ---> Running in b82aa735e468 12:55:00 Still waiting to schedule task 12:55:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:55:54 Removing intermediate container b82aa735e468 12:55:54 ---> 34fa6cc5fd42 12:55:54 Step 10/12 : COPY . . 12:55:54 ---> 89c77a412fef 12:55:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:55:54 ---> Running in dbac83a5d98f 12:55:54 Removing intermediate container dbac83a5d98f 12:55:54 ---> 270f96a662b8 12:55:54 Step 12/12 : RUN $MAKE 12:55:54 ---> Running in 7a440a9a9b26 12:55:54 noop 12:55:54 Removing intermediate container 7a440a9a9b26 12:55:54 ---> 500c478e3d03 12:55:54 Successfully built 500c478e3d03 12:55:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:55 + docker inspect -f . ci-base-image-x86_64 12:55:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:55 prd-ubuntu20.04-docker-8c-8g-9511 does not seem to be running inside a container 12:55:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-607 -v /w/workspace/_app-service-configurable_PR-607:/w/workspace/_app-service-configurable_PR-607:rw,z -v /w/workspace/_app-service-configurable_PR-607@tmp:/w/workspace/_app-service-configurable_PR-607@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:55:55 $ docker top 761c2d5b746fe8a32e5bee662c3166d04a27406614daf47e7fee9e0c7fecaf77 -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:55 + go version 12:55:55 go version go1.21.0 linux/amd64 [Pipeline] } 12:55:55 $ docker stop --time=1 761c2d5b746fe8a32e5bee662c3166d04a27406614daf47e7fee9e0c7fecaf77 12:55:57 $ docker rm -f --volumes 761c2d5b746fe8a32e5bee662c3166d04a27406614daf47e7fee9e0c7fecaf77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:57 + docker inspect -f . ci-base-image-x86_64 12:55:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:58 prd-ubuntu20.04-docker-8c-8g-9511 does not seem to be running inside a container 12:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-607 -v /w/workspace/_app-service-configurable_PR-607:/w/workspace/_app-service-configurable_PR-607:rw,z -v /w/workspace/_app-service-configurable_PR-607@tmp:/w/workspace/_app-service-configurable_PR-607@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:55:58 $ docker top aa740fe9227ff6efeebb178db24e62a1d897ab1505c5b669302a2725b56180dd -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:58 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-607 [Pipeline] fileExists [Pipeline] sh 12:55:59 + make test 12:55:59 go test -race -coverprofile=coverage.out ./... 12:56:17 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:56:35 go vet ./... 12:56:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:56:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:56:37 ./bin/test-attribution-txt.sh [Pipeline] echo 12:56:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:56:37 $ docker stop --time=1 aa740fe9227ff6efeebb178db24e62a1d897ab1505c5b669302a2725b56180dd 12:56:41 $ docker rm -f --volumes aa740fe9227ff6efeebb178db24e62a1d897ab1505c5b669302a2725b56180dd [Pipeline] // withDockerContainer [Pipeline] sh 12:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:56:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:56:43 + ls -al . 12:56:43 total 184 12:56:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:55 . 12:56:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:54 .. 12:56:43 -rw-rw-r-- 1 jenkins jenkins 119 Oct 18 12:54 .dockerignore 12:56:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:56 .git 12:56:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:54 .github 12:56:43 -rw-rw-r-- 1 jenkins jenkins 171 Oct 18 12:54 .gitignore 12:56:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 12:54 .golangci.yml 12:56:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 12:54 .semver 12:56:43 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 18 12:54 Attribution.txt 12:56:43 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 18 12:54 CHANGELOG.md 12:56:43 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 18 12:54 Dockerfile 12:56:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 12:54 GOVERNANCE.md 12:56:43 -rw-rw-r-- 1 jenkins jenkins 688 Oct 18 12:54 Jenkinsfile 12:56:43 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 18 12:54 LICENSE 12:56:43 -rw-rw-r-- 1 jenkins jenkins 618 Oct 18 12:54 OWNERS.md 12:56:43 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 18 12:54 README.md 12:56:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 12:54 VERSION 12:56:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:54 bin 12:56:43 -rw-r--r-- 1 jenkins jenkins 13 Oct 18 12:55 coverage.out 12:56:43 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 18 12:54 go.mod 12:56:43 -rw-rw-r-- 1 jenkins jenkins 35448 Oct 18 12:54 go.sum 12:56:43 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 18 12:54 main.go 12:56:43 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 18 12:54 makefile 12:56:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 12:54 res 12:56:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:43 + 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=85fba00d0a26be455cf32591f38d060dc3929fa1 --label arch=amd64 --label version=0.0.0 . 12:56:43 Sending build context to Docker daemon 3.377MB 12:56:43 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:56:43 Step 2/26 : FROM ${BASE} AS builder 12:56:43 ---> 500c478e3d03 12:56:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:56:43 ---> Running in e0d9c8f243ae 12:56:43 Removing intermediate container e0d9c8f243ae 12:56:43 ---> 155c2bfac753 12:56:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:56:43 ---> Running in 711f40779df0 12:56:43 Removing intermediate container 711f40779df0 12:56:43 ---> 1633719ba94a 12:56:43 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:56:43 ---> Running in 9be9723e1767 12:56:43 Removing intermediate container 9be9723e1767 12:56:43 ---> ab110f4a45f6 12:56:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:43 ---> Running in 3ac15cea49f8 12:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:56:44 OK: 264 MiB in 52 packages 12:56:44 Removing intermediate container 3ac15cea49f8 12:56:44 ---> d6fce8d0ff2d 12:56:44 Step 7/26 : WORKDIR /app 12:56:44 ---> Running in 4b1a035226bc 12:56:44 Removing intermediate container 4b1a035226bc 12:56:44 ---> 1a524ddc1827 12:56:44 Step 8/26 : COPY go.mod vendor* ./ 12:56:45 ---> ff94978c2fcc 12:56:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:45 ---> Running in 60a5bc2f3a8e 12:56:45 Removing intermediate container 60a5bc2f3a8e 12:56:45 ---> cf943ff0fa89 12:56:45 Step 10/26 : COPY . . 12:56:45 ---> 06d685bfcdac 12:56:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:56:46 ---> Running in cf92560bdf80 12:56:46 Removing intermediate container cf92560bdf80 12:56:46 ---> 173a21086dfc 12:56:46 Step 12/26 : RUN $MAKE 12:56:46 ---> Running in b3d40d486ac7 12:56:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.42 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:56:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9512 in /w/workspace/_app-service-configurable_PR-607 [Pipeline] { [Pipeline] ws 12:56:50 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:56:50 Selected Git installation does not exist. Using Default 12:56:50 The recommended git tool is: NONE 12:56:56 using credential edgex-jenkins-ssh 12:56:56 Cloning the remote Git repository 12:56:56 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:56:56 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:56:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:56:56 > git --version # timeout=10 12:56:56 > git --version # 'git version 2.25.1' 12:56:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:56:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:59 Merging remotes/origin/main commit aa19ffe2ff45ad664ddb54c03ca77f44b8607e8e into PR head commit 85fba00d0a26be455cf32591f38d060dc3929fa1 12:56:59 Merge succeeded, producing 85fba00d0a26be455cf32591f38d060dc3929fa1 12:56:59 Checking out Revision 85fba00d0a26be455cf32591f38d060dc3929fa1 (PR-607) 12:56:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:56:58 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:56:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:56:59 > git config core.sparsecheckout # timeout=10 12:56:59 > git checkout -f 85fba00d0a26be455cf32591f38d060dc3929fa1 # timeout=10 12:56:59 > git remote # timeout=10 12:56:59 > git config --get remote.origin.url # timeout=10 12:56:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:59 > git merge aa19ffe2ff45ad664ddb54c03ca77f44b8607e8e # timeout=10 12:56:59 > git rev-parse HEAD^{commit} # timeout=10 12:56:59 > git config core.sparsecheckout # timeout=10 12:56:59 > git checkout -f 85fba00d0a26be455cf32591f38d060dc3929fa1 # timeout=10 12:56:59 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:56:59 > git --version # timeout=10 12:56:59 > git --version # 'git version 2.25.1' 12:57:00 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:57:01 % Total % Received % Xferd Average Speed Time Time Time Current 12:57:01 Dload Upload Total Spent Left Speed 12:57:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 12:57:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:57:02 + sudo tee /etc/docker/daemon.new 12:57:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:57:02 { 12:57:02 "registry-mirrors": [ 12:57:02 "https://nexus3.edgexfoundry.org:10001" 12:57:02 ], 12:57:02 "bip": "10.250.0.254/24", 12:57:02 "hosts": [ 12:57:02 "tcp://0.0.0.0:5555", 12:57:02 "unix:///var/run/docker.sock" 12:57:02 ], 12:57:02 "mtu": 1458, 12:57:02 "selinux-enabled": true, 12:57:02 "seccomp-profile": "/etc/docker/seccomp.json" 12:57:02 } [Pipeline] sh 12:57:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:57:02 + sudo service docker restart 12:57:04 Removing intermediate container b3d40d486ac7 12:57:04 ---> 4778fd7683fc 12:57:04 Step 13/26 : FROM alpine:3.18 12:57:04 3.18: Pulling from library/alpine 12:57:04 96526aa774ef: Pulling fs layer 12:57:04 96526aa774ef: Verifying Checksum 12:57:04 96526aa774ef: Download complete 12:57:04 96526aa774ef: Pull complete 12:57:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:57:04 Status: Downloaded newer image for alpine:3.18 12:57:04 ---> 8ca4688f4f35 12:57:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:57:04 ---> Running in 90ee59754f74 12:57:04 Removing intermediate container 90ee59754f74 12:57:04 ---> 2ffbdab98cdd 12:57:04 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:57:04 ---> Running in 0ca4e58891ca 12:57:04 Removing intermediate container 0ca4e58891ca 12:57:04 ---> b6842477d37f 12:57:04 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:57:04 ---> Running in 0dc040889479 12:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:57:05 (1/2) Installing ca-certificates (20230506-r0) 12:57:05 (2/2) Installing dumb-init (1.2.5-r2) 12:57:05 Executing busybox-1.36.1-r2.trigger 12:57:05 Executing ca-certificates-20230506-r0.trigger 12:57:05 OK: 8 MiB in 17 packages 12:57:05 Removing intermediate container 0dc040889479 12:57:05 ---> 4fb2fffdaf9c 12:57:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:57:05 ---> 56570020b4b1 12:57:05 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:57:05 ---> 5fccafc9e614 12:57:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:57:05 ---> b8bd16aad689 12:57:05 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:57:06 ---> 7839a2d28641 12:57:06 Step 21/26 : EXPOSE 48095 12:57:06 ---> Running in 86b0300909a9 12:57:06 Removing intermediate container 86b0300909a9 12:57:06 ---> ce5994eab334 12:57:06 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:57:06 ---> Running in f7297f2460cf 12:57:06 Removing intermediate container f7297f2460cf 12:57:06 ---> e32a342ae7b2 12:57:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:57:06 ---> Running in e62be34e72f3 12:57:06 Removing intermediate container e62be34e72f3 12:57:06 ---> 959320f83ce7 12:57:06 Step 24/26 : LABEL arch=amd64 12:57:06 ---> Running in 735d07da6bf4 12:57:06 Removing intermediate container 735d07da6bf4 12:57:06 ---> 04d5dea70e96 12:57:06 Step 25/26 : LABEL git_sha=85fba00d0a26be455cf32591f38d060dc3929fa1 12:57:06 ---> Running in 35609d60e288 12:57:06 Removing intermediate container 35609d60e288 12:57:06 ---> 2b340d52d2d7 12:57:06 Step 26/26 : LABEL version=0.0.0 12:57:06 ---> Running in 4d58217036a6 12:57:07 Removing intermediate container 4d58217036a6 12:57:07 ---> c9c09cd0241f 12:57:07 [Warning] One or more build-args [ARCH] were not consumed 12:57:07 Successfully built c9c09cd0241f 12:57:07 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:57:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:08 12:57:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:08 latest: Pulling from edgex-lftools-log-publisher 12:57:08 5eb5b503b376: Pulling fs layer 12:57:08 5c69ac0246d0: Pulling fs layer 12:57:08 ec43610c2a17: Pulling fs layer 12:57:08 3a2ae6a8a46f: Pulling fs layer 12:57:08 33b1e0a273af: Pulling fs layer 12:57:08 5d3b04190fa2: Pulling fs layer 12:57:08 2f39f015ded8: Pulling fs layer 12:57:08 33b1e0a273af: Waiting 12:57:08 5d3b04190fa2: Waiting 12:57:08 3a2ae6a8a46f: Waiting 12:57:08 2f39f015ded8: Waiting 12:57:08 5c69ac0246d0: Verifying Checksum 12:57:08 5c69ac0246d0: Download complete 12:57:08 3a2ae6a8a46f: Verifying Checksum 12:57:08 3a2ae6a8a46f: Download complete 12:57:08 33b1e0a273af: Verifying Checksum 12:57:08 33b1e0a273af: Download complete 12:57:08 5d3b04190fa2: Download complete 12:57:08 ec43610c2a17: Download complete 12:57:08 5eb5b503b376: Download complete 12:57:09 2f39f015ded8: Verifying Checksum 12:57:09 2f39f015ded8: Download complete 12:57:09 5eb5b503b376: Pull complete 12:57:09 5c69ac0246d0: Pull complete 12:57:10 ec43610c2a17: Pull complete 12:57:10 3a2ae6a8a46f: Pull complete 12:57:10 33b1e0a273af: Pull complete 12:57:10 5d3b04190fa2: Pull complete 12:57:14 2f39f015ded8: Pull complete 12:57:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:57:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:15 prd-ubuntu20.04-docker-8c-8g-9511 does not seem to be running inside a container 12:57:15 $ 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-607 -v /w/workspace/_app-service-configurable_PR-607:/w/workspace/_app-service-configurable_PR-607:rw,z -v /w/workspace/_app-service-configurable_PR-607@tmp:/w/workspace/_app-service-configurable_PR-607@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:57:18 $ docker top 845b5bedf1ef77d229a8049499439ba1bb18893d0c89b526e0ad7dff8ee82f9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:57:18 ---> job-cost.sh 12:57:18 lf-activate-venv: SKIPPING 12:57:18 INFO: No Stack... 12:57:19 INFO: Retrieving Pricing Info for: v3-standard-8 12:57:19 INFO: Archiving Costs [Pipeline] sh 12:57:19 + cat /w/workspace/_app-service-configurable_PR-607/archives/cost.csv 12:57:19 + cut -d, -f6 [Pipeline] lock 12:57:19 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] 12:57:19 Resource [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] did not exist. Created. 12:57:19 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:57:20 + echo total: 0.2199999988079071 [Pipeline] stash 12:57:20 Stashed 1 file(s) [Pipeline] } 12:57:20 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:57:20 $ docker stop --time=1 845b5bedf1ef77d229a8049499439ba1bb18893d0c89b526e0ad7dff8ee82f9a 12:57:21 $ docker rm -f --volumes 845b5bedf1ef77d229a8049499439ba1bb18893d0c89b526e0ad7dff8ee82f9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 12:57:21 provisioning config files... [Pipeline] } 12:57:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config11606920181516308307tmp [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:57:22 ---> docker-login.sh 12:57:22 nexus3.edgexfoundry.org:10001 12:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:22 Configure a credential helper to remove this warning. See 12:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:22 12:57:22 Login Succeeded 12:57:22 nexus3.edgexfoundry.org:10002 12:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:23 Configure a credential helper to remove this warning. See 12:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:23 12:57:23 Login Succeeded 12:57:23 nexus3.edgexfoundry.org:10003 12:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:23 Configure a credential helper to remove this warning. See 12:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:23 12:57:23 Login Succeeded 12:57:23 nexus3.edgexfoundry.org:10004 12:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:24 Configure a credential helper to remove this warning. See 12:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:24 12:57:24 Login Succeeded 12:57:24 docker.io 12:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:24 Configure a credential helper to remove this warning. See 12:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:24 12:57:24 Login Succeeded 12:57:24 ---> docker-login.sh ends [Pipeline] } 12:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:57:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:57:25 ========================================================= 12:57:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:57:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:25 + 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:57:25 Sending build context to Docker daemon 181.8kB 12:57:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:57:25 Step 2/12 : FROM ${BASE} AS builder 12:57:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:57:28 9fda8d8052c6: Pulling fs layer 12:57:28 5d54e960e981: Pulling fs layer 12:57:28 c4a7e357bf2a: Pulling fs layer 12:57:28 f0e02332f6b5: Pulling fs layer 12:57:28 cefa15bbcfad: Pulling fs layer 12:57:28 17808c966233: Pulling fs layer 12:57:28 f4c1fc716caa: Pulling fs layer 12:57:28 f0e02332f6b5: Waiting 12:57:28 f4c1fc716caa: Waiting 12:57:28 17808c966233: Waiting 12:57:28 cefa15bbcfad: Waiting 12:57:28 5d54e960e981: Verifying Checksum 12:57:28 5d54e960e981: Download complete 12:57:28 f0e02332f6b5: Verifying Checksum 12:57:28 f0e02332f6b5: Download complete 12:57:28 cefa15bbcfad: Verifying Checksum 12:57:28 cefa15bbcfad: Download complete 12:57:28 9fda8d8052c6: Download complete 12:57:28 f4c1fc716caa: Verifying Checksum 12:57:28 f4c1fc716caa: Download complete 12:57:29 9fda8d8052c6: Pull complete 12:57:29 5d54e960e981: Pull complete 12:57:29 c4a7e357bf2a: Download complete 12:57:31 17808c966233: Download complete 12:57:43 c4a7e357bf2a: Pull complete 12:57:43 f0e02332f6b5: Pull complete 12:57:43 cefa15bbcfad: Pull complete 12:57:51 17808c966233: Pull complete 12:57:54 f4c1fc716caa: Pull complete 12:57:54 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:57:54 ---> ea914061e18c 12:57:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:57:55 ---> Running in eda310edd8b6 12:57:55 Removing intermediate container eda310edd8b6 12:57:55 ---> 7b77c5f5a84b 12:57:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:57:56 ---> Running in d1b16c327d20 12:57:56 Removing intermediate container d1b16c327d20 12:57:56 ---> 552af34b1bc4 12:57:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:57:56 ---> Running in af605588fce8 12:57:56 Removing intermediate container af605588fce8 12:57:56 ---> 0cfbff97dc76 12:57:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:57:56 ---> Running in 08b799e54056 12:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:57:59 OK: 266 MiB in 52 packages 12:58:00 Removing intermediate container 08b799e54056 12:58:00 ---> e70fe3f3775e 12:58:00 Step 7/12 : WORKDIR /app 12:58:00 ---> Running in e614d306b97b 12:58:00 Removing intermediate container e614d306b97b 12:58:00 ---> 014d6fb60dd2 12:58:00 Step 8/12 : COPY go.mod vendor* ./ 12:58:01 ---> 32691b3b9d62 12:58:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:01 ---> Running in 37d2bc8d0c52 12:59:37 Removing intermediate container 37d2bc8d0c52 12:59:37 ---> b53f8eacc6da 12:59:37 Step 10/12 : COPY . . 12:59:37 ---> 3b074bd892a2 12:59:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:37 ---> Running in e248ed4e0cf2 12:59:37 Removing intermediate container e248ed4e0cf2 12:59:37 ---> 1ff1fa53aaa3 12:59:37 Step 12/12 : RUN $MAKE 12:59:37 ---> Running in 8351b06e43d2 12:59:37 noop 12:59:37 Removing intermediate container 8351b06e43d2 12:59:37 ---> bd905774b659 12:59:37 Successfully built bd905774b659 12:59:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:38 + docker inspect -f . ci-base-image-arm64 12:59:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:38 prd-ubuntu20.04-docker-arm64-4c-16g-9512 does not seem to be running inside a container 12:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:59:39 $ docker top b7886cd00525334aecb9097a69ed37711765198d692cf607598a5632a656ef09 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:40 + go version 12:59:40 go version go1.21.0 linux/arm64 [Pipeline] } 12:59:40 $ docker stop --time=1 b7886cd00525334aecb9097a69ed37711765198d692cf607598a5632a656ef09 12:59:44 $ docker rm -f --volumes b7886cd00525334aecb9097a69ed37711765198d692cf607598a5632a656ef09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:45 + docker inspect -f . ci-base-image-arm64 12:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:45 prd-ubuntu20.04-docker-arm64-4c-16g-9512 does not seem to be running inside a container 12:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:59:46 $ docker top 7d2603199bb19713149e178f77dca88b47e39145772020b905ca2e474b38f8cc -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:59:48 + make test 12:59:48 go test -race -coverprofile=coverage.out ./... 13:01:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:01:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:01:54 go vet ./... 13:03:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:03:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:03:46 ./bin/test-attribution-txt.sh [Pipeline] echo 13:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:03:46 $ docker stop --time=1 7d2603199bb19713149e178f77dca88b47e39145772020b905ca2e474b38f8cc 13:03:48 $ docker rm -f --volumes 7d2603199bb19713149e178f77dca88b47e39145772020b905ca2e474b38f8cc [Pipeline] // withDockerContainer [Pipeline] sh 13:03:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:03:50 Warning: overwriting stash ‘coverage-report’ 13:03:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:03:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:03:51 + ls -al . 13:03:51 total 180 13:03:51 drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:59 . 13:03:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:56 .. 13:03:51 -rw-rw-r-- 1 jenkins jenkins 119 Oct 18 12:56 .dockerignore 13:03:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:56 .git 13:03:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:56 .github 13:03:51 -rw-rw-r-- 1 jenkins jenkins 171 Oct 18 12:56 .gitignore 13:03:51 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 12:56 .golangci.yml 13:03:51 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 18 12:56 Attribution.txt 13:03:51 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 18 12:56 CHANGELOG.md 13:03:51 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 18 12:56 Dockerfile 13:03:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 12:56 GOVERNANCE.md 13:03:51 -rw-rw-r-- 1 jenkins jenkins 688 Oct 18 12:56 Jenkinsfile 13:03:51 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 18 12:56 LICENSE 13:03:51 -rw-rw-r-- 1 jenkins jenkins 618 Oct 18 12:56 OWNERS.md 13:03:51 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 18 12:56 README.md 13:03:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 12:54 VERSION 13:03:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:56 bin 13:03:51 -rw-r--r-- 1 jenkins jenkins 13 Oct 18 12:59 coverage.out 13:03:51 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 18 12:56 go.mod 13:03:51 -rw-rw-r-- 1 jenkins jenkins 35448 Oct 18 12:56 go.sum 13:03:51 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 18 12:56 main.go 13:03:51 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 18 12:56 makefile 13:03:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 12:56 res 13:03:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:56 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:52 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=85fba00d0a26be455cf32591f38d060dc3929fa1 --label arch=arm64 --label version=0.0.0 . 13:03:52 Sending build context to Docker daemon 182.8kB 13:03:52 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:03:52 Step 2/26 : FROM ${BASE} AS builder 13:03:52 ---> bd905774b659 13:03:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:03:52 ---> Running in 854b550f5d77 13:03:52 Removing intermediate container 854b550f5d77 13:03:52 ---> a7d9eded93c3 13:03:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:03:53 ---> Running in 96ae396a66ff 13:03:53 Removing intermediate container 96ae396a66ff 13:03:53 ---> 81b864e25d62 13:03:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:03:53 ---> Running in 2b6de49d79e9 13:03:53 Removing intermediate container 2b6de49d79e9 13:03:53 ---> 67f62d804f89 13:03:53 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:54 ---> Running in e8363d26e459 13:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:03:56 OK: 266 MiB in 52 packages 13:03:57 Removing intermediate container e8363d26e459 13:03:57 ---> ff23a0f61060 13:03:57 Step 7/26 : WORKDIR /app 13:03:57 ---> Running in 78d16154eb9b 13:03:58 Removing intermediate container 78d16154eb9b 13:03:58 ---> b256954eb7b7 13:03:58 Step 8/26 : COPY go.mod vendor* ./ 13:03:58 ---> 6ec8a6118e32 13:03:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:58 ---> Running in 3629272b7b47 13:04:01 Removing intermediate container 3629272b7b47 13:04:01 ---> bdec2093d1bc 13:04:01 Step 10/26 : COPY . . 13:04:01 ---> 73633b9b41dd 13:04:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:04:01 ---> Running in 601a282619aa 13:04:02 Removing intermediate container 601a282619aa 13:04:02 ---> 4c13a5ae4394 13:04:02 Step 12/26 : RUN $MAKE 13:04:02 ---> Running in fc611fd50324 13:04:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.42 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:05:55 Removing intermediate container fc611fd50324 13:05:55 ---> b6466eec42c1 13:05:55 Step 13/26 : FROM alpine:3.18 13:05:55 3.18: Pulling from library/alpine 13:05:55 579b34f0a95b: Pulling fs layer 13:05:55 579b34f0a95b: Verifying Checksum 13:05:55 579b34f0a95b: Download complete 13:05:55 579b34f0a95b: Pull complete 13:05:55 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 13:05:55 Status: Downloaded newer image for alpine:3.18 13:05:55 ---> 3cc203321400 13:05:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:05:55 ---> Running in e4e480a409e5 13:05:55 Removing intermediate container e4e480a409e5 13:05:55 ---> ceed6a2e1569 13:05:55 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:05:55 ---> Running in 0956107d18fe 13:05:55 Removing intermediate container 0956107d18fe 13:05:55 ---> c93ac9bf6c2d 13:05:55 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:05:55 ---> Running in 15f0e8b6a7e9 13:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:05:55 (1/2) Installing ca-certificates (20230506-r0) 13:05:55 (2/2) Installing dumb-init (1.2.5-r2) 13:05:55 Executing busybox-1.36.1-r2.trigger 13:05:55 Executing ca-certificates-20230506-r0.trigger 13:05:55 OK: 9 MiB in 17 packages 13:05:55 Removing intermediate container 15f0e8b6a7e9 13:05:55 ---> 63a67a25772c 13:05:55 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:05:56 ---> d74b4de86442 13:05:56 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:05:56 ---> 07126151ad41 13:05:56 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:05:57 ---> 744f74faaa6c 13:05:57 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:05:58 ---> 860a44872f7a 13:05:58 Step 21/26 : EXPOSE 48095 13:05:58 ---> Running in 380bba541e82 13:05:59 Removing intermediate container 380bba541e82 13:05:59 ---> b17fffb0af4a 13:05:59 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:05:59 ---> Running in f566b7344507 13:05:59 Removing intermediate container f566b7344507 13:05:59 ---> f2127ce40ce5 13:05:59 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:05:59 ---> Running in c77606268268 13:05:59 Removing intermediate container c77606268268 13:05:59 ---> c85b0bb96a33 13:05:59 Step 24/26 : LABEL arch=arm64 13:05:59 ---> Running in 6933847260ad 13:06:00 Removing intermediate container 6933847260ad 13:06:00 ---> 1745086df482 13:06:00 Step 25/26 : LABEL git_sha=85fba00d0a26be455cf32591f38d060dc3929fa1 13:06:00 ---> Running in a4c2a90302a9 13:06:00 Removing intermediate container a4c2a90302a9 13:06:00 ---> b464a8448e63 13:06:00 Step 26/26 : LABEL version=0.0.0 13:06:00 ---> Running in dc9a1f6b40a6 13:06:00 Removing intermediate container dc9a1f6b40a6 13:06:00 ---> 699859fb06f2 13:06:00 [Warning] One or more build-args [ARCH] were not consumed 13:06:00 Successfully built 699859fb06f2 13:06:00 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 13:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:06:01 13:06:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:06:02 arm64: Pulling from edgex-lftools-log-publisher 13:06:02 8998bd30e6a1: Pulling fs layer 13:06:02 04944245beec: Pulling fs layer 13:06:02 699f458cf7ca: Pulling fs layer 13:06:02 765212b225bb: Pulling fs layer 13:06:02 f23df028b6ca: Pulling fs layer 13:06:02 d65c8cfc05b1: Pulling fs layer 13:06:02 2437ff75d9bd: Pulling fs layer 13:06:02 765212b225bb: Waiting 13:06:02 f23df028b6ca: Waiting 13:06:02 d65c8cfc05b1: Waiting 13:06:02 2437ff75d9bd: Waiting 13:06:02 04944245beec: Verifying Checksum 13:06:02 04944245beec: Download complete 13:06:02 765212b225bb: Verifying Checksum 13:06:02 765212b225bb: Download complete 13:06:02 f23df028b6ca: Verifying Checksum 13:06:02 f23df028b6ca: Download complete 13:06:02 d65c8cfc05b1: Verifying Checksum 13:06:02 d65c8cfc05b1: Download complete 13:06:02 699f458cf7ca: Verifying Checksum 13:06:02 699f458cf7ca: Download complete 13:06:03 8998bd30e6a1: Verifying Checksum 13:06:03 8998bd30e6a1: Download complete 13:06:05 2437ff75d9bd: Verifying Checksum 13:06:05 2437ff75d9bd: Download complete 13:06:07 8998bd30e6a1: Pull complete 13:06:08 04944245beec: Pull complete 13:06:10 699f458cf7ca: Pull complete 13:06:10 765212b225bb: Pull complete 13:06:10 f23df028b6ca: Pull complete 13:06:10 d65c8cfc05b1: Pull complete 13:06:29 2437ff75d9bd: Pull complete 13:06:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:06:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:06:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:29 prd-ubuntu20.04-docker-arm64-4c-16g-9512 does not seem to be running inside a container 13:06:29 $ 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 13:06:32 $ docker top cd040ac83e0b861c5dc23468f6cb77bc7831adb1c1a65dffad3c5efe3d75357a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:33 ---> job-cost.sh 13:06:33 lf-activate-venv: SKIPPING 13:06:33 INFO: No Stack... 13:06:33 INFO: Retrieving Pricing Info for: v3-standard-4 13:06:34 INFO: Archiving Costs [Pipeline] sh 13:06:34 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:06:34 + cut -d, -f6 [Pipeline] lock 13:06:35 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] 13:06:35 Resource [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] did not exist. Created. 13:06:35 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:06:35 /w/workspace/app-service-configurable/1@tmp/durable-71bd22d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:06:36 + echo total: 0.10999999940395355 [Pipeline] stash 13:06:36 Warning: overwriting stash ‘stack-cost’ 13:06:36 Stashed 1 file(s) [Pipeline] } 13:06:36 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-607-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:06:36 $ docker stop --time=1 cd040ac83e0b861c5dc23468f6cb77bc7831adb1c1a65dffad3c5efe3d75357a 13:06:38 $ docker rm -f --volumes cd040ac83e0b861c5dc23468f6cb77bc7831adb1c1a65dffad3c5efe3d75357a [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 13:06:39 provisioning config files... 13:06:39 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-607@tmp/config3768679824098512211tmp [Pipeline] { [Pipeline] sh 13:06:39 + set +x 13:06:39 + curl -s https://codecov.io/bash 13:06:39 + bash -s -- 13:06:40 13:06:40 _____ _ 13:06:40 / ____| | | 13:06:40 | | ___ __| | ___ ___ _____ __ 13:06:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:06:40 | |___| (_) | (_| | __/ (_| (_) \ V / 13:06:40 \_____\___/ \__,_|\___|\___\___/ \_/ 13:06:40 Bash-1.0.6 13:06:40 13:06:40 13:06:40 ==> git version 2.25.1 found 13:06:40 ==> 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 13:06:40 Release-Date: 2020-01-08 13:06:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:06:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:06:40 ==> Jenkins CI detected. 13:06:40 current dir:  /w/workspace/_app-service-configurable_PR-607 13:06:40 project root: . 13:06:40 --> token set from env 13:06:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:06:40 ==> Running gcov in . (disable via -X gcov) 13:06:40 ==> Python coveragepy not found 13:06:40 ==> Searching for coverage reports in: 13:06:40 + . 13:06:40 -> Found 1 reports 13:06:40 ==> Detecting git/mercurial file structure 13:06:40 ==> Reading reports 13:06:40 + ./coverage.out bytes=13 13:06:40 ==> Appending adjustments 13:06:40 https://docs.codecov.io/docs/fixing-reports 13:06:40 + Found adjustments 13:06:40 ==> Gzipping contents 13:06:40 4.0K /tmp/codecov.NIKanm.gz 13:06:40 ==> Uploading reports 13:06:40 url: https://codecov.io 13:06:40 query: branch=PR-607&commit=85fba00d0a26be455cf32591f38d060dc3929fa1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-607%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=607&job=&cmd_args= 13:06:40 -> Pinging Codecov 13:06:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-607&commit=85fba00d0a26be455cf32591f38d060dc3929fa1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-607%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=607&job=&cmd_args= 13:06:40 -> Uploading to 13:06:40 https://storage.googleapis.com/codecov/v4/raw/2023-10-18/A97CA9966030D2A3747ED39772930CCE/85fba00d0a26be455cf32591f38d060dc3929fa1/637c0556-a4ef-4c26-9499-f935e2c1ca5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T130640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af65883b5cd4e1235345c12dc6136f5a5daba22bc4905d29ed0413b4f125ffdd 13:06:40 % Total % Received % Xferd Average Speed Time Time Time Current 13:06:40 Dload Upload Total Spent Left Speed 13:06:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1454 --:--:-- --:--:-- --:--:-- 1449 100 429 0 0 100 429 0 1454 --:--:-- --:--:-- --:--:-- 1449 13:06:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/85fba00d0a26be455cf32591f38d060dc3929fa1 [Pipeline] } 13:06:40 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 13:06:42 + [ -d /w/workspace/_app-service-configurable_PR-607/archives ] 13:06:42 + ls -al /w/workspace/_app-service-configurable_PR-607/archives 13:06:42 total 16 13:06:42 drwxr-xr-x 3 root root 4096 Oct 18 12:57 . 13:06:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 12:57 .. 13:06:42 drwxr-xr-x 2 root root 4096 Oct 18 12:57 cost 13:06:42 -rw-r--r-- 1 root root 96 Oct 18 12:57 cost.csv 13:06:42 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-607/archives 13:06:42 + ls -al /w/workspace/_app-service-configurable_PR-607/archives 13:06:42 total 16 13:06:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 12:57 . 13:06:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 12:57 .. 13:06:42 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 12:57 cost 13:06:42 -rw-r--r-- 1 jenkins jenkins 96 Oct 18 12:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:06:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:06:43 ---> package-listing.sh 13:06:43 ++ facter osfamily 13:06:43 ++ tr '[:upper:]' '[:lower:]' 13:06:43 + OS_FAMILY=debian 13:06:43 + workspace=/w/workspace/_app-service-configurable_PR-607 13:06:43 + START_PACKAGES=/tmp/packages_start.txt 13:06:43 + END_PACKAGES=/tmp/packages_end.txt 13:06:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:06:43 + PACKAGES=/tmp/packages_start.txt 13:06:43 + '[' /w/workspace/_app-service-configurable_PR-607 ']' 13:06:43 + PACKAGES=/tmp/packages_end.txt 13:06:43 + case "${OS_FAMILY}" in 13:06:43 + dpkg -l 13:06:43 + grep '^ii' 13:06:43 + '[' -f /tmp/packages_start.txt ']' 13:06:43 + '[' -f /tmp/packages_end.txt ']' 13:06:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:06:43 + '[' /w/workspace/_app-service-configurable_PR-607 ']' 13:06:43 + mkdir -p /w/workspace/_app-service-configurable_PR-607/archives/ 13:06:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-607/archives/ [Pipeline] echo 13:06:43 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-607/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:06:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:44 prd-ubuntu20.04-docker-8c-8g-9511 does not seem to be running inside a container 13:06:44 $ 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-607/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-607 -v /w/workspace/_app-service-configurable_PR-607:/w/workspace/_app-service-configurable_PR-607:rw,z -v /w/workspace/_app-service-configurable_PR-607@tmp:/w/workspace/_app-service-configurable_PR-607@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 13:06:45 $ docker top 9fd57293fde4cd6d2c93817742bcb9c07143e5f51e22a9dd27c53a4944c2d7bf -eo pid,comm [Pipeline] { [Pipeline] sh 13:06:45 + touch /tmp/pre-build-complete [Pipeline] sh 13:06:45 + mkdir -p /var/log/sysstat [Pipeline] sh 13:06:46 + ls /var/log/sa-host 13:06:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:06:46 provisioning config files... 13:06:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-607@tmp/config9294201106775019876tmp [Pipeline] { [Pipeline] echo 13:06:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:06:46 ---> create-netrc.sh [Pipeline] } 13:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:06:47 ---> python-tools-install.sh [Pipeline] echo 13:06:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:06:47 ---> sudo-logs.sh 13:06:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:06:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:06:47 ---> job-cost.sh 13:06:47 lf-activate-venv: SKIPPING 13:06:47 DEBUG: total: 0.2199999988079071 13:06:47 INFO: Retrieving Stack Cost... 13:06:48 INFO: Retrieving Pricing Info for: v3-standard-8 13:06:48 INFO: Archiving Costs [Pipeline] echo 13:06:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:06:49 ---> logs-deploy.sh 13:06:49 lf-activate-venv: SKIPPING 13:06:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-607/1 13:06:49 INFO: archiving workspace using pattern(s): 13:06:50 Archives upload complete. 13:06:50 INFO: archiving logs to Nexus