Pull request #501 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a865ac11ebedd3072e0818614329affd0e8e2af8+fd655868e697ec9388f878b1610694eb9d0dc845 (5c70c46f258c9c9903e9eee07b222aff73e29cd9) 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-ssh1869455689051038734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2835461907199058897.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-501/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-501/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16491343895837735842.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-501/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16557442451731879301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11551356458753065150.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-501/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-501/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10425727900348609263.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-2045 in /w/workspace/_app-service-configurable_PR-501 [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-501 # 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 Merging remotes/origin/main commit fd655868e697ec9388f878b1610694eb9d0dc845 into PR head commit a865ac11ebedd3072e0818614329affd0e8e2af8 Merge succeeded, producing a865ac11ebedd3072e0818614329affd0e8e2af8 Checking out Revision a865ac11ebedd3072e0818614329affd0e8e2af8 (PR-501) > 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/501/head:refs/remotes/origin/PR-501 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a865ac11ebedd3072e0818614329affd0e8e2af8 # 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 fd655868e697ec9388f878b1610694eb9d0dc845 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a865ac11ebedd3072e0818614329affd0e8e2af8 # timeout=10 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:02:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:02:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:02:25 ========================================================= 12:02:25 EdgeX Global Pipelines Version Info 12:02:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:02:25 ------------------- 12:02:25 stable info: 12:02:25 ------------------- 12:02:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:02:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:25 Message: update stable to v1.0.244 12:02:26 ------------------- 12:02:26 experimental info: 12:02:26 ------------------- 12:02:26 Commited By: **** collab-it+edgex@linuxfoundation.org 12:02:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:26 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-501 [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-501 [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-501 [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a865ac11ebedd3072e0818614329affd0e8e2af8 [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a865ac1 [Pipeline] echo 12:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:28 provisioning config files... 12:02:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-501@tmp/config7150901643103524605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:28 ---> docker-login.sh 12:02:28 nexus3.edgexfoundry.org:10001 12:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:28 Configure a credential helper to remove this warning. See 12:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:28 12:02:28 Login Succeeded 12:02:28 nexus3.edgexfoundry.org:10002 12:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:28 Configure a credential helper to remove this warning. See 12:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:28 12:02:28 Login Succeeded 12:02:28 nexus3.edgexfoundry.org:10003 12:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:29 Configure a credential helper to remove this warning. See 12:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:29 12:02:29 Login Succeeded 12:02:29 nexus3.edgexfoundry.org:10004 12:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:29 Configure a credential helper to remove this warning. See 12:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:29 12:02:29 Login Succeeded 12:02:29 docker.io 12:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:29 Configure a credential helper to remove this warning. See 12:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:29 12:02:29 Login Succeeded 12:02:29 ---> docker-login.sh ends [Pipeline] } 12:02:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:02:30 + git rev-list -1 --merges a865ac11ebedd3072e0818614329affd0e8e2af8~1..a865ac11ebedd3072e0818614329affd0e8e2af8 [Pipeline] echo 12:02:30 -----------> git rev-list -1 --merges a865ac11ebedd3072e0818614329affd0e8e2af8~1..a865ac11ebedd3072e0818614329affd0e8e2af8 a865ac11ebedd3072e0818614329affd0e8e2af8 [false] [Pipeline] sh 12:02:30 + git log --format=format:%s -1 a865ac11ebedd3072e0818614329affd0e8e2af8 [Pipeline] echo 12:02:30 ========================================================= 12:02:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:02:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:30 + git log --format=format:%s -1 a865ac11ebedd3072e0818614329affd0e8e2af8 [Pipeline] echo 12:02:30 [semverPrep] GIT_COMMIT: a865ac11ebedd3072e0818614329affd0e8e2af8, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:02:31 [semverPrep] This is not a build commit. [Pipeline] sh 12:02:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:31 + grep -v github /etc/ssh/ssh_known_hosts 12:02:31 + [ -e /tmp/ssh_known_hosts ] 12:02:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:02:31 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:02:31 sudo tee -a /etc/ssh/ssh_known_hosts 12:02:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:31 12:02: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:02:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:32 0.1.4: Pulling from edgex-devops/py-git-semver 12:02:32 b85a868b505f: Pulling fs layer 12:02:32 e2be974225ed: Pulling fs layer 12:02:32 339a4e72a1f5: Pulling fs layer 12:02:32 988bab9f4d93: Pulling fs layer 12:02:32 1469e6f7b9e6: Pulling fs layer 12:02:32 eaf3925da568: Pulling fs layer 12:02:32 bab4dde63d76: Pulling fs layer 12:02:32 bde34c3a00c8: Pulling fs layer 12:02:32 b352a97aabf1: Pulling fs layer 12:02:32 4872d77fe225: Pulling fs layer 12:02:32 5851b861e8e6: Pulling fs layer 12:02:32 1469e6f7b9e6: Waiting 12:02:32 eaf3925da568: Waiting 12:02:32 bab4dde63d76: Waiting 12:02:32 bde34c3a00c8: Waiting 12:02:32 b352a97aabf1: Waiting 12:02:32 4872d77fe225: Waiting 12:02:32 5851b861e8e6: Waiting 12:02:32 e2be974225ed: Download complete 12:02:32 988bab9f4d93: Verifying Checksum 12:02:32 988bab9f4d93: Download complete 12:02:32 1469e6f7b9e6: Verifying Checksum 12:02:32 1469e6f7b9e6: Download complete 12:02:32 339a4e72a1f5: Verifying Checksum 12:02:32 339a4e72a1f5: Download complete 12:02:32 eaf3925da568: Download complete 12:02:32 bde34c3a00c8: Verifying Checksum 12:02:32 bde34c3a00c8: Download complete 12:02:32 b352a97aabf1: Verifying Checksum 12:02:32 b352a97aabf1: Download complete 12:02:32 4872d77fe225: Verifying Checksum 12:02:32 4872d77fe225: Download complete 12:02:32 5851b861e8e6: Verifying Checksum 12:02:32 5851b861e8e6: Download complete 12:02:32 b85a868b505f: Verifying Checksum 12:02:32 b85a868b505f: Download complete 12:02:32 bab4dde63d76: Download complete 12:02:33 b85a868b505f: Pull complete 12:02:34 e2be974225ed: Pull complete 12:02:34 339a4e72a1f5: Pull complete 12:02:34 988bab9f4d93: Pull complete 12:02:34 1469e6f7b9e6: Pull complete 12:02:34 eaf3925da568: Pull complete 12:02:36 bab4dde63d76: Pull complete 12:02:36 bde34c3a00c8: Pull complete 12:02:36 b352a97aabf1: Pull complete 12:02:36 4872d77fe225: Pull complete 12:02:37 5851b861e8e6: Pull complete 12:02:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:37 prd-ubuntu20.04-docker-8c-8g-2045 does not seem to be running inside a container 12:02:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-501 -v /w/workspace/_app-service-configurable_PR-501:/w/workspace/_app-service-configurable_PR-501:rw,z -v /w/workspace/_app-service-configurable_PR-501@tmp:/w/workspace/_app-service-configurable_PR-501@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:02:39 $ docker top 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e -eo pid,comm 12:02: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:02:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:40 [ssh-agent] Looking for ssh-agent implementation... 12:02:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:40 $ docker exec 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e ssh-agent 12:02:40 SSH_AUTH_SOCK=/tmp/ssh-QWnkAAARyulq/agent.31 12:02:40 SSH_AGENT_PID=37 12:02:40 Running ssh-add (command line suppressed) 12:02:40 Identity added: /w/workspace/_app-service-configurable_PR-501@tmp/private_key_16513479013072499263.key (/w/workspace/_app-service-configurable_PR-501@tmp/private_key_16513479013072499263.key) 12:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:40 + git tag --points-at HEAD [Pipeline] } 12:02:40 $ docker exec --env ******** --env ******** 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e ssh-agent -k 12:02:40 unset SSH_AUTH_SOCK; 12:02:40 unset SSH_AGENT_PID; 12:02:40 echo Agent pid 37 killed; 12:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:40 [ssh-agent] Looking for ssh-agent implementation... 12:02:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:41 $ docker exec 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e ssh-agent 12:02:41 SSH_AUTH_SOCK=/tmp/ssh-Bz2qWPwOGcCs/agent.69 12:02:41 SSH_AGENT_PID=75 12:02:41 Running ssh-add (command line suppressed) 12:02:41 Identity added: /w/workspace/_app-service-configurable_PR-501@tmp/private_key_1694634339826089054.key (/w/workspace/_app-service-configurable_PR-501@tmp/private_key_1694634339826089054.key) 12:02:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:41 + git semver init 12:02:41 2023-01-12 12:02:41,822 [run_init] DEBUG init version:0.0.0 force:False 12:02:41 2023-01-12 12:02:41,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-501/.semver 12:02:41 2023-01-12 12:02:41,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-501/.semver 12:02:41 2023-01-12 12:02:41,824 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-501/.semver'], cwd=/w/workspace/_app-service-configurable_PR-501, universal_newlines=False, shell=None, istream=None) 12:02:42 2023-01-12 12:02:42,708 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-501/.git/info/exclude 12:02:42 2023-01-12 12:02:42,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-501/.semver/PR-501 with force:False 12:02:42 2023-01-12 12:02:42,709 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-501/.semver/PR-501 12:02:42 2023-01-12 12:02:42,713 [execute] INFO git cat-file --batch-check 12:02:42 2023-01-12 12:02:42,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-501/.semver, universal_newlines=False, shell=None, istream=) 12:02:42 2023-01-12 12:02:42,719 [execute] INFO git cat-file --batch 12:02:42 2023-01-12 12:02:42,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-501/.semver, universal_newlines=False, shell=None, istream=) 12:02:42 2023-01-12 12:02:42,725 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-501/.semver/PR-501 12:02:42 0.0.0 [Pipeline] } 12:02:42 $ docker exec --env ******** --env ******** 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e ssh-agent -k 12:02:42 unset SSH_AUTH_SOCK; 12:02:42 unset SSH_AGENT_PID; 12:02:42 echo Agent pid 75 killed; 12:02:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:43 + git semver [Pipeline] } 12:02:43 $ docker stop --time=1 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e 12:02:44 $ docker rm -f --volumes 766c6fc8d8844372e411fc6be7c844487887435bc139636ef4c9aa4170bfca3e [Pipeline] // withDockerContainer [Pipeline] sh 12:02:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:02:45 Stashed 1 file(s) [Pipeline] echo 12:02: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:02:46 provisioning config files... 12:02:46 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-501@tmp/config15053809763218075622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:46 ---> docker-login.sh 12:02:46 nexus3.edgexfoundry.org:10001 12:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:46 Configure a credential helper to remove this warning. See 12:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:46 12:02:46 Login Succeeded 12:02:46 nexus3.edgexfoundry.org:10002 12:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:46 Configure a credential helper to remove this warning. See 12:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:46 12:02:46 Login Succeeded 12:02:46 nexus3.edgexfoundry.org:10003 12:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:46 Configure a credential helper to remove this warning. See 12:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:46 12:02:46 Login Succeeded 12:02:46 nexus3.edgexfoundry.org:10004 12:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:46 Configure a credential helper to remove this warning. See 12:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:46 12:02:46 Login Succeeded 12:02:46 docker.io 12:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:47 Configure a credential helper to remove this warning. See 12:02:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:47 12:02:47 Login Succeeded 12:02:47 ---> docker-login.sh ends [Pipeline] } 12:02:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:47 ========================================================= 12:02:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:02:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:02:47 Sending build context to Docker daemon 3.225MB 12:02:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:02:47 Step 2/12 : FROM ${BASE} AS builder 12:02:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:02:47 213ec9aee27d: Pulling fs layer 12:02:47 4583459ba037: Pulling fs layer 12:02:47 93c1e223e6f2: Pulling fs layer 12:02:47 53926ce57604: Pulling fs layer 12:02:47 21b2b0c7a3f4: Pulling fs layer 12:02:47 22ff95d597cd: Pulling fs layer 12:02:47 12d6caf4c0d1: Pulling fs layer 12:02:47 96b7cbca73a9: Pulling fs layer 12:02:47 a7acece74701: Pulling fs layer 12:02:47 22ff95d597cd: Waiting 12:02:47 96b7cbca73a9: Waiting 12:02:47 a7acece74701: Waiting 12:02:47 53926ce57604: Waiting 12:02:47 21b2b0c7a3f4: Waiting 12:02:47 93c1e223e6f2: Verifying Checksum 12:02:47 93c1e223e6f2: Download complete 12:02:47 4583459ba037: Download complete 12:02:47 21b2b0c7a3f4: Download complete 12:02:47 22ff95d597cd: Download complete 12:02:48 213ec9aee27d: Verifying Checksum 12:02:48 213ec9aee27d: Download complete 12:02:48 12d6caf4c0d1: Verifying Checksum 12:02:48 12d6caf4c0d1: Download complete 12:02:48 213ec9aee27d: Pull complete 12:02:48 4583459ba037: Pull complete 12:02:48 93c1e223e6f2: Pull complete 12:02:48 a7acece74701: Verifying Checksum 12:02:48 a7acece74701: Download complete 12:02:49 53926ce57604: Verifying Checksum 12:02:49 53926ce57604: Download complete 12:02:49 96b7cbca73a9: Verifying Checksum 12:02:49 96b7cbca73a9: Download complete 12:02:53 53926ce57604: Pull complete 12:02:53 21b2b0c7a3f4: Pull complete 12:02:53 22ff95d597cd: Pull complete 12:02:53 12d6caf4c0d1: Pull complete 12:02:55 96b7cbca73a9: Pull complete 12:02:55 a7acece74701: Pull complete 12:02:55 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:02:55 ---> db6d94c90886 12:02:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:03:01 Still waiting to schedule task 12:03:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:03:01 ---> Running in b051e6932564 12:03:01 Removing intermediate container b051e6932564 12:03:01 ---> c6ee4cdcfa67 12:03:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:01 ---> Running in 5268a0cc0597 12:03:01 Removing intermediate container 5268a0cc0597 12:03:01 ---> be5e8f5387b6 12:03:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:01 ---> Running in 36e8045dc504 12:03:01 Removing intermediate container 36e8045dc504 12:03:01 ---> 8f902f51060e 12:03:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:01 ---> Running in b124ddf7f530 12:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:03:01 OK: 211 MiB in 51 packages 12:03:02 Removing intermediate container b124ddf7f530 12:03:02 ---> 5e336695603c 12:03:02 Step 7/12 : WORKDIR /app 12:03:02 ---> Running in 5b1d30fccd70 12:03:02 Removing intermediate container 5b1d30fccd70 12:03:02 ---> bf842b926ff9 12:03:02 Step 8/12 : COPY go.mod vendor* ./ 12:03:02 ---> 5edf402791b6 12:03:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:02 ---> Running in c6028d7ca719 12:03:35 Removing intermediate container c6028d7ca719 12:03:35 ---> 8c421f317dc1 12:03:35 Step 10/12 : COPY . . 12:03:35 ---> 28a7ea457273 12:03:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:03:35 ---> Running in 067a9f29e74f 12:03:35 Removing intermediate container 067a9f29e74f 12:03:35 ---> 463936eac3c3 12:03:35 Step 12/12 : RUN $MAKE 12:03:35 ---> Running in bdd08a9630d1 12:03:35 noop 12:03:35 Removing intermediate container bdd08a9630d1 12:03:35 ---> 0aebe269c4ea 12:03:35 Successfully built 0aebe269c4ea 12:03:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:35 + docker inspect -f . ci-base-image-x86_64 12:03:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:35 prd-ubuntu20.04-docker-8c-8g-2045 does not seem to be running inside a container 12:03:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-501 -v /w/workspace/_app-service-configurable_PR-501:/w/workspace/_app-service-configurable_PR-501:rw,z -v /w/workspace/_app-service-configurable_PR-501@tmp:/w/workspace/_app-service-configurable_PR-501@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:03:36 $ docker top b2b0b93faa14428bf43521e9b0604cb0c32a74bed3b6be410cf7d218e28bbc4f -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:36 + go version 12:03:36 go version go1.18.7 linux/amd64 [Pipeline] } 12:03:36 $ docker stop --time=1 b2b0b93faa14428bf43521e9b0604cb0c32a74bed3b6be410cf7d218e28bbc4f 12:03:37 $ docker rm -f --volumes b2b0b93faa14428bf43521e9b0604cb0c32a74bed3b6be410cf7d218e28bbc4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:38 + docker inspect -f . ci-base-image-x86_64 12:03:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:38 prd-ubuntu20.04-docker-8c-8g-2045 does not seem to be running inside a container 12:03:38 $ 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-501 -v /w/workspace/_app-service-configurable_PR-501:/w/workspace/_app-service-configurable_PR-501:rw,z -v /w/workspace/_app-service-configurable_PR-501@tmp:/w/workspace/_app-service-configurable_PR-501@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:03:39 $ docker top dd7ad88d513d80dc4665aa8bd4621962ded45580db21f0804ef94a94d653c79b -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:39 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-501 [Pipeline] fileExists [Pipeline] sh 12:03:39 + make test 12:03:39 go test -race -coverprofile=coverage.out ./... 12:04:01 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:01 go vet ./... 12:04:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:08 ./bin/test-attribution-txt.sh [Pipeline] echo 12:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:08 $ docker stop --time=1 dd7ad88d513d80dc4665aa8bd4621962ded45580db21f0804ef94a94d653c79b 12:04:13 $ docker rm -f --volumes dd7ad88d513d80dc4665aa8bd4621962ded45580db21f0804ef94a94d653c79b [Pipeline] // withDockerContainer [Pipeline] sh 12:04:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:04:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:15 + ls -al . 12:04:15 total 184 12:04:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 12:03 . 12:04:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 12:02 .. 12:04:15 -rw-rw-r-- 1 jenkins jenkins 119 Jan 12 12:02 .dockerignore 12:04:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 12:02 .git 12:04:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 12:02 .github 12:04:15 -rw-rw-r-- 1 jenkins jenkins 171 Jan 12 12:02 .gitignore 12:04:15 drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 12:02 .semver 12:04:15 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 12 12:02 Attribution.txt 12:04:15 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 12 12:02 CHANGELOG.md 12:04:15 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 12 12:02 Dockerfile 12:04:15 -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 12:02 GOVERNANCE.md 12:04:15 -rw-rw-r-- 1 jenkins jenkins 688 Jan 12 12:02 Jenkinsfile 12:04:15 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 12 12:02 LICENSE 12:04:15 -rw-rw-r-- 1 jenkins jenkins 618 Jan 12 12:02 OWNERS.md 12:04:15 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 12 12:02 README.md 12:04:15 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 12:02 VERSION 12:04:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 12:02 bin 12:04:15 -rw-r--r-- 1 jenkins jenkins 13 Jan 12 12:03 coverage.out 12:04:15 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 12 12:02 go.mod 12:04:15 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 12 12:02 go.sum 12:04:15 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 12 12:02 main.go 12:04:15 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 12 12:02 makefile 12:04:15 drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 12:02 res 12:04:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 12:02 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:15 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a865ac11ebedd3072e0818614329affd0e8e2af8 --label arch=amd64 --label version=0.0.0 . 12:04:15 Sending build context to Docker daemon 3.226MB 12:04:15 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:04:15 Step 2/26 : FROM ${BASE} AS builder 12:04:15 ---> 0aebe269c4ea 12:04:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:04:15 ---> Running in a389008bb65b 12:04:16 Removing intermediate container a389008bb65b 12:04:16 ---> a0428abfe850 12:04:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:04:16 ---> Running in f1737c7b12a7 12:04:16 Removing intermediate container f1737c7b12a7 12:04:16 ---> 9164069b84f9 12:04:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:04:16 ---> Running in 5e5f57150c48 12:04:16 Removing intermediate container 5e5f57150c48 12:04:16 ---> b59f151fcf02 12:04:16 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:17 ---> Running in 4879ac116df7 12:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:18 OK: 211 MiB in 51 packages 12:04:18 Removing intermediate container 4879ac116df7 12:04:18 ---> 89ba0d4337e0 12:04:18 Step 7/26 : WORKDIR /app 12:04:18 ---> Running in 440c9ecf19c1 12:04:18 Removing intermediate container 440c9ecf19c1 12:04:18 ---> 91c494830142 12:04:18 Step 8/26 : COPY go.mod vendor* ./ 12:04:18 ---> 6ced950ae186 12:04:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:18 ---> Running in 5d2b40709cd4 12:04:19 Removing intermediate container 5d2b40709cd4 12:04:19 ---> 81dd5be49b30 12:04:19 Step 10/26 : COPY . . 12:04:19 ---> 8a86e4136160 12:04:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:20 ---> Running in 50d31828b1ff 12:04:20 Removing intermediate container 50d31828b1ff 12:04:20 ---> d6c6f66b9038 12:04:20 Step 12/26 : RUN $MAKE 12:04:20 ---> Running in eb473593e1fb 12:04:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.17 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:04:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2046 in /w/workspace/_app-service-configurable_PR-501 [Pipeline] { [Pipeline] ws 12:04:36 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:04:36 Selected Git installation does not exist. Using Default 12:04:36 The recommended git tool is: NONE 12:04:41 using credential edgex-jenkins-ssh 12:04:41 Cloning the remote Git repository 12:04:42 Removing intermediate container eb473593e1fb 12:04:42 ---> 78f642b3b57c 12:04:42 Step 13/26 : FROM alpine:3.16 12:04:42 3.16: Pulling from library/alpine 12:04:42 ca7dd9ec2225: Pulling fs layer 12:04:42 ca7dd9ec2225: Verifying Checksum 12:04:42 ca7dd9ec2225: Download complete 12:04:41 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:04:41 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:04:42 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:04:42 > git --version # timeout=10 12:04:42 > git --version # 'git version 2.25.1' 12:04:42 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:43 ca7dd9ec2225: Pull complete 12:04:43 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:04:43 Status: Downloaded newer image for alpine:3.16 12:04:43 ---> bfe296a52501 12:04:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:04:43 ---> Running in 0342432985b4 12:04:43 Removing intermediate container 0342432985b4 12:04:43 ---> f26b5a13f70b 12:04:43 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:04:43 ---> Running in 47d20be3a779 12:04:44 Removing intermediate container 47d20be3a779 12:04:44 ---> 0453b0bcd3d7 12:04:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:04:43 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:04:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:04:44 ---> Running in 3d3a0b462c19 12:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:44 Merging remotes/origin/main commit fd655868e697ec9388f878b1610694eb9d0dc845 into PR head commit a865ac11ebedd3072e0818614329affd0e8e2af8 12:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:44 Merge succeeded, producing a865ac11ebedd3072e0818614329affd0e8e2af8 12:04:45 Checking out Revision a865ac11ebedd3072e0818614329affd0e8e2af8 (PR-501) 12:04:45 (1/2) Installing ca-certificates (20220614-r0) 12:04:45 (2/2) Installing dumb-init (1.2.5-r1) 12:04:45 Executing busybox-1.35.0-r17.trigger 12:04:45 Executing ca-certificates-20220614-r0.trigger 12:04:45 OK: 6 MiB in 16 packages 12:04:45 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:04:44 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:04:44 > git config core.sparsecheckout # timeout=10 12:04:44 > git checkout -f a865ac11ebedd3072e0818614329affd0e8e2af8 # timeout=10 12:04:44 > git remote # timeout=10 12:04:44 > git config --get remote.origin.url # timeout=10 12:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:44 > git merge fd655868e697ec9388f878b1610694eb9d0dc845 # timeout=10 12:04:44 > git rev-parse HEAD^{commit} # timeout=10 12:04:45 > git config core.sparsecheckout # timeout=10 12:04:45 > git checkout -f a865ac11ebedd3072e0818614329affd0e8e2af8 # timeout=10 12:04:45 > git --version # timeout=10 12:04:45 > git --version # 'git version 2.25.1' 12:04:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:04:45 Removing intermediate container 3d3a0b462c19 12:04:45 ---> ea957eaf94f9 12:04:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:04:45 ---> c61bc2b80d85 12:04:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:04:45 ---> 731a855f8fdf 12:04:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:04:45 ---> dd52d0864426 12:04:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:04:46 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:46 Dload Upload Total Spent Left Speed 12:04:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 12:04:46 ---> 495f6ba07839 12:04:46 Step 21/26 : EXPOSE 48095 12:04:46 ---> Running in 48ac45f58924 12:04:46 Removing intermediate container 48ac45f58924 12:04:46 ---> 10d87e18c869 12:04:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:04:46 ---> Running in 99893de89040 12:04:46 Removing intermediate container 99893de89040 12:04:46 ---> 8a896ddfbd16 12:04:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:04:46 ---> Running in 275135fffea4 12:04:46 Removing intermediate container 275135fffea4 12:04:46 ---> ad3b16c8d318 12:04:46 Step 24/26 : LABEL arch=amd64 [Pipeline] sh 12:04:47 ---> Running in 17cb946d0ef5 12:04:47 Removing intermediate container 17cb946d0ef5 12:04:47 ---> 57cb3b29be8b 12:04:47 Step 25/26 : LABEL git_sha=a865ac11ebedd3072e0818614329affd0e8e2af8 12:04:47 ---> Running in bbfb9b03c7ec 12:04:47 Removing intermediate container bbfb9b03c7ec 12:04:47 ---> 55c8ccba57d1 12:04:47 Step 26/26 : LABEL version=0.0.0 12:04:47 ---> Running in e7394102717d 12:04:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 12:04:47 Removing intermediate container e7394102717d 12:04:47 ---> 75c58b0d6527 12:04:47 [Warning] One or more build-args [ARCH] were not consumed 12:04:47 Successfully built 75c58b0d6527 12:04:47 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 12:04:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:04:47 + sudo tee /etc/docker/daemon.new 12:04:47 { 12:04:47 "registry-mirrors": [ 12:04:47 "https://nexus3.edgexfoundry.org:10001" 12:04:47 ], 12:04:47 "bip": "10.250.0.254/24", 12:04:47 "hosts": [ 12:04:47 "tcp://0.0.0.0:5555", 12:04:47 "unix:///var/run/docker.sock" 12:04:47 ], 12:04:47 "mtu": 1458, 12:04:47 "selinux-enabled": true, 12:04:47 "seccomp-profile": "/etc/docker/seccomp.json" 12:04:47 } [Pipeline] // stage [Pipeline] sh [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:04:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:04:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:48 12:04:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:48 + sudo service docker restart 12:04:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:48 latest: Pulling from edgex-lftools-log-publisher 12:04:48 5eb5b503b376: Pulling fs layer 12:04:48 5c69ac0246d0: Pulling fs layer 12:04:48 ec43610c2a17: Pulling fs layer 12:04:48 3a2ae6a8a46f: Pulling fs layer 12:04:48 33b1e0a273af: Pulling fs layer 12:04:48 5d3b04190fa2: Pulling fs layer 12:04:48 2f39f015ded8: Pulling fs layer 12:04:48 33b1e0a273af: Waiting 12:04:48 5d3b04190fa2: Waiting 12:04:48 3a2ae6a8a46f: Waiting 12:04:48 2f39f015ded8: Waiting 12:04:48 5c69ac0246d0: Verifying Checksum 12:04:48 5c69ac0246d0: Download complete 12:04:49 3a2ae6a8a46f: Download complete 12:04:49 ec43610c2a17: Verifying Checksum 12:04:49 ec43610c2a17: Download complete 12:04:49 33b1e0a273af: Verifying Checksum 12:04:49 33b1e0a273af: Download complete 12:04:49 5d3b04190fa2: Verifying Checksum 12:04:49 5d3b04190fa2: Download complete 12:04:49 5eb5b503b376: Verifying Checksum 12:04:49 5eb5b503b376: Download complete 12:04:49 2f39f015ded8: Download complete 12:04:50 5eb5b503b376: Pull complete 12:04:50 5c69ac0246d0: Pull complete 12:04:50 ec43610c2a17: Pull complete 12:04:50 3a2ae6a8a46f: Pull complete 12:04:51 33b1e0a273af: Pull complete 12:04:51 5d3b04190fa2: Pull complete 12:04:55 2f39f015ded8: Pull complete 12:04:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:04:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:55 prd-ubuntu20.04-docker-8c-8g-2045 does not seem to be running inside a container 12:04:55 $ 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-501 -v /w/workspace/_app-service-configurable_PR-501:/w/workspace/_app-service-configurable_PR-501:rw,z -v /w/workspace/_app-service-configurable_PR-501@tmp:/w/workspace/_app-service-configurable_PR-501@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:05:00 $ docker top 9411cbe238e8d3adf38954fe81eb3e65f8b69d0f83669684a0b737db702eba53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:01 ---> job-cost.sh 12:05:01 lf-activate-venv: SKIPPING 12:05:01 INFO: No Stack... 12:05:01 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:02 INFO: Archiving Costs [Pipeline] sh 12:05:02 + cat /w/workspace/_app-service-configurable_PR-501/archives/cost.csv 12:05:02 + cut -d, -f6 [Pipeline] lock 12:05:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] 12:05:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] did not exist. Created. 12:05:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:02 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:02 Stashed 1 file(s) [Pipeline] } 12:05:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:02 $ docker stop --time=1 9411cbe238e8d3adf38954fe81eb3e65f8b69d0f83669684a0b737db702eba53 12:05:04 $ docker rm -f --volumes 9411cbe238e8d3adf38954fe81eb3e65f8b69d0f83669684a0b737db702eba53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:06 provisioning config files... 12:05:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config4473394214619159586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:07 ---> docker-login.sh 12:05:07 nexus3.edgexfoundry.org:10001 12:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:07 Configure a credential helper to remove this warning. See 12:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:07 12:05:07 Login Succeeded 12:05:07 nexus3.edgexfoundry.org:10002 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:08 Configure a credential helper to remove this warning. See 12:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:08 12:05:08 Login Succeeded 12:05:08 nexus3.edgexfoundry.org:10003 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:08 Configure a credential helper to remove this warning. See 12:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:08 12:05:08 Login Succeeded 12:05:08 nexus3.edgexfoundry.org:10004 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:08 Configure a credential helper to remove this warning. See 12:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:08 12:05:08 Login Succeeded 12:05:08 docker.io 12:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:09 Configure a credential helper to remove this warning. See 12:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:09 12:05:09 Login Succeeded 12:05:09 ---> docker-login.sh ends [Pipeline] } 12:05:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:09 ========================================================= 12:05:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:05:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:05:10 Sending build context to Docker daemon 216.6kB 12:05:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:05:10 Step 2/12 : FROM ${BASE} AS builder 12:05:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:05:10 9b18e9b68314: Pulling fs layer 12:05:10 35d82f9e3411: Pulling fs layer 12:05:10 e16973657156: Pulling fs layer 12:05:10 fc693d55d65f: Pulling fs layer 12:05:10 7e9fc2657dce: Pulling fs layer 12:05:10 dda99020689f: Pulling fs layer 12:05:10 fc693d55d65f: Waiting 12:05:10 7e9fc2657dce: Waiting 12:05:10 db1c61fa0a46: Pulling fs layer 12:05:10 891c053d2c06: Pulling fs layer 12:05:10 891c053d2c06: Waiting 12:05:10 db1c61fa0a46: Waiting 12:05:10 e16973657156: Verifying Checksum 12:05:10 e16973657156: Download complete 12:05:10 35d82f9e3411: Verifying Checksum 12:05:10 35d82f9e3411: Download complete 12:05:10 7e9fc2657dce: Verifying Checksum 12:05:10 7e9fc2657dce: Download complete 12:05:10 dda99020689f: Verifying Checksum 12:05:10 dda99020689f: Download complete 12:05:10 9b18e9b68314: Download complete 12:05:11 9b18e9b68314: Pull complete 12:05:12 891c053d2c06: Verifying Checksum 12:05:12 891c053d2c06: Download complete 12:05:13 db1c61fa0a46: Verifying Checksum 12:05:13 db1c61fa0a46: Download complete 12:05:13 fc693d55d65f: Verifying Checksum 12:05:13 fc693d55d65f: Download complete 12:05:14 35d82f9e3411: Pull complete 12:05:14 e16973657156: Pull complete 12:05:27 fc693d55d65f: Pull complete 12:05:27 7e9fc2657dce: Pull complete 12:05:27 dda99020689f: Pull complete 12:05:34 db1c61fa0a46: Pull complete 12:05:35 891c053d2c06: Pull complete 12:05:35 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:05:35 ---> f96f9c87975a 12:05:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:05:37 ---> Running in eb57fc38dd41 12:05:37 Removing intermediate container eb57fc38dd41 12:05:37 ---> a8975ea199fe 12:05:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:05:37 ---> Running in 601b0b1005cc 12:05:37 Removing intermediate container 601b0b1005cc 12:05:37 ---> 87b2e7636e23 12:05:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:05:37 ---> Running in cb84128f42bc 12:05:38 Removing intermediate container cb84128f42bc 12:05:38 ---> b3d749ff0b3a 12:05:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:38 ---> Running in 98473de0697e 12:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:05:40 OK: 221 MiB in 51 packages 12:05:41 Removing intermediate container 98473de0697e 12:05:41 ---> 9110fa1f364c 12:05:41 Step 7/12 : WORKDIR /app 12:05:41 ---> Running in 07d968b75614 12:05:41 Removing intermediate container 07d968b75614 12:05:41 ---> b61433c558bc 12:05:41 Step 8/12 : COPY go.mod vendor* ./ 12:05:41 ---> cfe890fadc62 12:05:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:42 ---> Running in f1e606bd6fb6 12:06:38 Removing intermediate container f1e606bd6fb6 12:06:38 ---> f72691c43506 12:06:38 Step 10/12 : COPY . . 12:06:38 ---> be5b86e78499 12:06:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:38 ---> Running in 92d954381fcd 12:06:38 Removing intermediate container 92d954381fcd 12:06:38 ---> 3926b2bb1977 12:06:38 Step 12/12 : RUN $MAKE 12:06:38 ---> Running in 40e3149fdbc9 12:06:38 noop 12:06:38 Removing intermediate container 40e3149fdbc9 12:06:38 ---> 0849ee39f007 12:06:38 Successfully built 0849ee39f007 12:06:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:39 + docker inspect -f . ci-base-image-arm64 12:06:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:39 prd-ubuntu20.04-docker-arm64-4c-16g-2046 does not seem to be running inside a container 12:06:39 $ 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:06:41 $ docker top 8517bd76ee4c0dd8a24ce2e9565865e7f3f9f83ed34b2dc7323b3acf9594935f -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:42 + go version 12:06:42 go version go1.18.7 linux/arm64 [Pipeline] } 12:06:42 $ docker stop --time=1 8517bd76ee4c0dd8a24ce2e9565865e7f3f9f83ed34b2dc7323b3acf9594935f 12:06:44 $ docker rm -f --volumes 8517bd76ee4c0dd8a24ce2e9565865e7f3f9f83ed34b2dc7323b3acf9594935f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:45 + docker inspect -f . ci-base-image-arm64 12:06:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:45 prd-ubuntu20.04-docker-arm64-4c-16g-2046 does not seem to be running inside a container 12:06: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:06:46 $ docker top cd28ee7d852ad7ff28856addad09127f7a013e11227cdd12fc10d14e772d3153 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:06:47 + make test 12:06:47 go test -race -coverprofile=coverage.out ./... 12:08:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:08:54 go vet ./... 12:10:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:10:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:10:46 $ docker stop --time=1 cd28ee7d852ad7ff28856addad09127f7a013e11227cdd12fc10d14e772d3153 12:10:47 $ docker rm -f --volumes cd28ee7d852ad7ff28856addad09127f7a013e11227cdd12fc10d14e772d3153 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:10:49 Warning: overwriting stash ‘coverage-report’ 12:10:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:10:50 + ls -al . 12:10:50 total 180 12:10:50 drwxrwxr-x 7 jenkins jenkins 4096 Jan 12 12:06 . 12:10:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 12:04 .. 12:10:50 -rw-rw-r-- 1 jenkins jenkins 119 Jan 12 12:04 .dockerignore 12:10:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 12:04 .git 12:10:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 12:04 .github 12:10:50 -rw-rw-r-- 1 jenkins jenkins 171 Jan 12 12:04 .gitignore 12:10:50 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 12 12:04 Attribution.txt 12:10:50 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 12 12:04 CHANGELOG.md 12:10:50 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 12 12:04 Dockerfile 12:10:50 -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 12:04 GOVERNANCE.md 12:10:50 -rw-rw-r-- 1 jenkins jenkins 688 Jan 12 12:04 Jenkinsfile 12:10:50 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 12 12:04 LICENSE 12:10:50 -rw-rw-r-- 1 jenkins jenkins 618 Jan 12 12:04 OWNERS.md 12:10:50 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 12 12:04 README.md 12:10:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 12:02 VERSION 12:10:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 12:04 bin 12:10:50 -rw-r--r-- 1 jenkins jenkins 13 Jan 12 12:06 coverage.out 12:10:50 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 12 12:04 go.mod 12:10:50 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 12 12:04 go.sum 12:10:50 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 12 12:04 main.go 12:10:50 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 12 12:04 makefile 12:10:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 12:04 res 12:10:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 12:04 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:50 + 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=a865ac11ebedd3072e0818614329affd0e8e2af8 --label arch=arm64 --label version=0.0.0 . 12:10:50 Sending build context to Docker daemon 217.6kB 12:10:51 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:10:51 Step 2/26 : FROM ${BASE} AS builder 12:10:51 ---> 0849ee39f007 12:10:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:10:51 ---> Running in 8d3e43cc5333 12:10:51 Removing intermediate container 8d3e43cc5333 12:10:51 ---> 9a549bea1859 12:10:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:10:51 ---> Running in 6e824e1bd94f 12:10:51 Removing intermediate container 6e824e1bd94f 12:10:51 ---> 8427d99f464c 12:10:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:10:51 ---> Running in 4293a1ed16a8 12:10:52 Removing intermediate container 4293a1ed16a8 12:10:52 ---> 448b2b5e15dd 12:10:52 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:52 ---> Running in 7c965e845a41 12:10:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:10:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:10:54 OK: 221 MiB in 51 packages 12:10:55 Removing intermediate container 7c965e845a41 12:10:55 ---> a83afe70e30e 12:10:55 Step 7/26 : WORKDIR /app 12:10:55 ---> Running in a16279c9ca88 12:10:55 Removing intermediate container a16279c9ca88 12:10:55 ---> 03aca25ec943 12:10:55 Step 8/26 : COPY go.mod vendor* ./ 12:10:56 ---> 1c88febac4ee 12:10:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:56 ---> Running in 9094601a5086 12:10:58 Removing intermediate container 9094601a5086 12:10:58 ---> d9508e8799bc 12:10:58 Step 10/26 : COPY . . 12:10:58 ---> 6611dd41c6e7 12:10:58 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:10:58 ---> Running in 49088af97e86 12:10:59 Removing intermediate container 49088af97e86 12:10:59 ---> c40fdb467a5b 12:10:59 Step 12/26 : RUN $MAKE 12:10:59 ---> Running in 15dff9fa8eba 12:11:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.17 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:13:06 Removing intermediate container 15dff9fa8eba 12:13:06 ---> a547fff537ac 12:13:06 Step 13/26 : FROM alpine:3.16 12:13:06 3.16: Pulling from library/alpine 12:13:06 6875df1f5354: Pulling fs layer 12:13:06 6875df1f5354: Verifying Checksum 12:13:06 6875df1f5354: Download complete 12:13:06 6875df1f5354: Pull complete 12:13:06 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:13:06 Status: Downloaded newer image for alpine:3.16 12:13:06 ---> 2b4661558fb8 12:13:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:13:06 ---> Running in 410de4825bd8 12:13:06 Removing intermediate container 410de4825bd8 12:13:06 ---> d2e719933643 12:13:06 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:13:06 ---> Running in f3a98eda4a46 12:13:06 Removing intermediate container f3a98eda4a46 12:13:06 ---> 9bf9750a3424 12:13:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:13:06 ---> Running in b0ba3b76dfd5 12:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:13:06 (1/2) Installing ca-certificates (20220614-r0) 12:13:06 (2/2) Installing dumb-init (1.2.5-r1) 12:13:06 Executing busybox-1.35.0-r17.trigger 12:13:06 Executing ca-certificates-20220614-r0.trigger 12:13:06 OK: 6 MiB in 16 packages 12:13:06 Removing intermediate container b0ba3b76dfd5 12:13:06 ---> c55fb5ce8d21 12:13:06 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:13:06 ---> f7465a712e62 12:13:06 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:13:06 ---> f3fb7e8d0e3e 12:13:06 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:13:06 ---> 51b22db90424 12:13:06 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:13:06 ---> 5532ad6ab5f8 12:13:06 Step 21/26 : EXPOSE 48095 12:13:06 ---> Running in 451bbb05156c 12:13:06 Removing intermediate container 451bbb05156c 12:13:06 ---> ebbd8a90b009 12:13:06 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:13:06 ---> Running in f99f22e06b37 12:13:06 Removing intermediate container f99f22e06b37 12:13:06 ---> 51432f4ab53e 12:13:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:13:06 ---> Running in 1c0b50359e90 12:13:06 Removing intermediate container 1c0b50359e90 12:13:06 ---> e7aec30b90e5 12:13:06 Step 24/26 : LABEL arch=arm64 12:13:06 ---> Running in a0a5a6ffbd68 12:13:06 Removing intermediate container a0a5a6ffbd68 12:13:06 ---> 868e45e285f0 12:13:06 Step 25/26 : LABEL git_sha=a865ac11ebedd3072e0818614329affd0e8e2af8 12:13:06 ---> Running in 5b9db3146f18 12:13:06 Removing intermediate container 5b9db3146f18 12:13:06 ---> 9b460b0b3799 12:13:06 Step 26/26 : LABEL version=0.0.0 12:13:06 ---> Running in 5f2530ce6395 12:13:06 Removing intermediate container 5f2530ce6395 12:13:06 ---> 9fd5354470d3 12:13:06 [Warning] One or more build-args [ARCH] were not consumed 12:13:06 Successfully built 9fd5354470d3 12:13:06 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:07 12:13:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:08 arm64: Pulling from edgex-lftools-log-publisher 12:13:08 8998bd30e6a1: Pulling fs layer 12:13:08 04944245beec: Pulling fs layer 12:13:08 699f458cf7ca: Pulling fs layer 12:13:08 765212b225bb: Pulling fs layer 12:13:08 f23df028b6ca: Pulling fs layer 12:13:08 d65c8cfc05b1: Pulling fs layer 12:13:08 2437ff75d9bd: Pulling fs layer 12:13:08 d65c8cfc05b1: Waiting 12:13:08 765212b225bb: Waiting 12:13:08 f23df028b6ca: Waiting 12:13:08 2437ff75d9bd: Waiting 12:13:08 04944245beec: Verifying Checksum 12:13:08 04944245beec: Download complete 12:13:08 765212b225bb: Verifying Checksum 12:13:08 765212b225bb: Download complete 12:13:08 f23df028b6ca: Verifying Checksum 12:13:08 f23df028b6ca: Download complete 12:13:08 d65c8cfc05b1: Verifying Checksum 12:13:08 d65c8cfc05b1: Download complete 12:13:08 699f458cf7ca: Verifying Checksum 12:13:08 699f458cf7ca: Download complete 12:13:08 8998bd30e6a1: Verifying Checksum 12:13:08 8998bd30e6a1: Download complete 12:13:10 2437ff75d9bd: Verifying Checksum 12:13:10 2437ff75d9bd: Download complete 12:13:12 8998bd30e6a1: Pull complete 12:13:13 04944245beec: Pull complete 12:13:14 699f458cf7ca: Pull complete 12:13:14 765212b225bb: Pull complete 12:13:15 f23df028b6ca: Pull complete 12:13:15 d65c8cfc05b1: Pull complete 12:13:30 2437ff75d9bd: Pull complete 12:13:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:30 prd-ubuntu20.04-docker-arm64-4c-16g-2046 does not seem to be running inside a container 12:13:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:13:33 $ docker top f8f5da530ec64ffed159063001bed4fbd794762980376767280694db5b7f491e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:34 ---> job-cost.sh 12:13:34 lf-activate-venv: SKIPPING 12:13:34 INFO: No Stack... 12:13:34 INFO: Retrieving Pricing Info for: v3-standard-4 12:13:35 INFO: Archiving Costs [Pipeline] sh 12:13:35 + cut -d, -f6 12:13:35 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:13:35 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] 12:13:35 Resource [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] did not exist. Created. 12:13:35 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:36 /w/workspace/app-service-configurable/1@tmp/durable-86386091/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:13:37 + echo total: 0.10999999940395355 [Pipeline] stash 12:13:37 Warning: overwriting stash ‘stack-cost’ 12:13:37 Stashed 1 file(s) [Pipeline] } 12:13:37 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-501-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:37 $ docker stop --time=1 f8f5da530ec64ffed159063001bed4fbd794762980376767280694db5b7f491e 12:13:38 $ docker rm -f --volumes f8f5da530ec64ffed159063001bed4fbd794762980376767280694db5b7f491e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:13:39 provisioning config files... 12:13:39 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-501@tmp/config13058860277923070640tmp [Pipeline] { [Pipeline] sh 12:13:40 + set +x 12:13:40 + curl -s https://codecov.io/bash 12:13:40 + bash -s -- 12:13:40 12:13:40 _____ _ 12:13:40 / ____| | | 12:13:40 | | ___ __| | ___ ___ _____ __ 12:13:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:13:40 | |___| (_) | (_| | __/ (_| (_) \ V / 12:13:40 \_____\___/ \__,_|\___|\___\___/ \_/ 12:13:40 Bash-1.0.6 12:13:40 12:13:40 12:13:40 ==> git version 2.25.1 found 12:13: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 12:13:40 Release-Date: 2020-01-08 12:13: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 12:13:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:13:40 ==> Jenkins CI detected. 12:13:40 current dir:  /w/workspace/_app-service-configurable_PR-501 12:13:40 project root: . 12:13:40 --> token set from env 12:13:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:13:40 ==> Running gcov in . (disable via -X gcov) 12:13:40 ==> Python coveragepy not found 12:13:40 ==> Searching for coverage reports in: 12:13:40 + . 12:13:40 -> Found 1 reports 12:13:40 ==> Detecting git/mercurial file structure 12:13:40 ==> Reading reports 12:13:40 + ./coverage.out bytes=13 12:13:40 ==> Appending adjustments 12:13:40 https://docs.codecov.io/docs/fixing-reports 12:13:40 + Found adjustments 12:13:40 ==> Gzipping contents 12:13:40 4.0K /tmp/codecov.mNFkxf.gz 12:13:40 ==> Uploading reports 12:13:40 url: https://codecov.io 12:13:40 query: branch=PR-501&commit=a865ac11ebedd3072e0818614329affd0e8e2af8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-501%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=501&job=&cmd_args= 12:13:40 -> Pinging Codecov 12:13: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-501&commit=a865ac11ebedd3072e0818614329affd0e8e2af8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-501%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=501&job=&cmd_args= 12:13:41 -> Uploading to 12:13:41 https://storage.googleapis.com/codecov/v4/raw/2023-01-12/A97CA9966030D2A3747ED39772930CCE/a865ac11ebedd3072e0818614329affd0e8e2af8/e5557e26-da45-424c-a0d6-5e1a0b9d52ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T121341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64dda21e65f1510b7ce3ccaa1e2300aa0d1b4e71047139c05832b36466c82f59 12:13:41 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:41 Dload Upload Total Spent Left Speed 12:13:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 1934 --:--:-- --:--:-- --:--:-- 1934 12:13:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/a865ac11ebedd3072e0818614329affd0e8e2af8 [Pipeline] } 12:13:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:13:43 + [ -d /w/workspace/_app-service-configurable_PR-501/archives ] 12:13:43 + ls -al /w/workspace/_app-service-configurable_PR-501/archives 12:13:43 total 16 12:13:43 drwxr-xr-x 3 root root 4096 Jan 12 12:05 . 12:13:43 drwxrwxr-x 9 jenkins jenkins 4096 Jan 12 12:05 .. 12:13:43 drwxr-xr-x 2 root root 4096 Jan 12 12:05 cost 12:13:43 -rw-r--r-- 1 root root 96 Jan 12 12:05 cost.csv 12:13:43 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-501/archives 12:13:43 + ls -al /w/workspace/_app-service-configurable_PR-501/archives 12:13:43 total 16 12:13:43 drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 12:05 . 12:13:43 drwxrwxr-x 9 jenkins jenkins 4096 Jan 12 12:05 .. 12:13:43 drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 12:05 cost 12:13:43 -rw-r--r-- 1 jenkins jenkins 96 Jan 12 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:13:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:44 ---> package-listing.sh 12:13:44 ++ facter osfamily 12:13:44 ++ tr '[:upper:]' '[:lower:]' 12:13:44 + OS_FAMILY=debian 12:13:44 + workspace=/w/workspace/_app-service-configurable_PR-501 12:13:44 + START_PACKAGES=/tmp/packages_start.txt 12:13:44 + END_PACKAGES=/tmp/packages_end.txt 12:13:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:44 + PACKAGES=/tmp/packages_start.txt 12:13:44 + '[' /w/workspace/_app-service-configurable_PR-501 ']' 12:13:44 + PACKAGES=/tmp/packages_end.txt 12:13:44 + case "${OS_FAMILY}" in 12:13:44 + dpkg -l 12:13:44 + grep '^ii' 12:13:44 + '[' -f /tmp/packages_start.txt ']' 12:13:44 + '[' -f /tmp/packages_end.txt ']' 12:13:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:44 + '[' /w/workspace/_app-service-configurable_PR-501 ']' 12:13:44 + mkdir -p /w/workspace/_app-service-configurable_PR-501/archives/ 12:13:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-501/archives/ [Pipeline] echo 12:13:44 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-501/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:45 prd-ubuntu20.04-docker-8c-8g-2045 does not seem to be running inside a container 12:13:45 $ 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-501/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-501 -v /w/workspace/_app-service-configurable_PR-501:/w/workspace/_app-service-configurable_PR-501:rw,z -v /w/workspace/_app-service-configurable_PR-501@tmp:/w/workspace/_app-service-configurable_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:45 $ docker top 8fd3d2423b3b6f79d7f6c4d1cf5d212b71a03f56f39cb049ac9ff7261b48379d -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:46 + touch /tmp/pre-build-complete [Pipeline] sh 12:13:46 + mkdir -p /var/log/sysstat [Pipeline] sh 12:13:46 + ls /var/log/sa-host 12:13:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:47 provisioning config files... 12:13:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-501@tmp/config10368807638302716751tmp [Pipeline] { [Pipeline] echo 12:13:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:13:47 ---> create-netrc.sh [Pipeline] } 12:13:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:13:48 ---> python-tools-install.sh [Pipeline] echo 12:13:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:13:48 ---> sudo-logs.sh 12:13:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:13:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:13:48 ---> job-cost.sh 12:13:48 lf-activate-venv: SKIPPING 12:13:48 DEBUG: total: 0.2199999988079071 12:13:48 INFO: Retrieving Stack Cost... 12:13:49 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:49 INFO: Archiving Costs [Pipeline] echo 12:13:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:49 ---> logs-deploy.sh 12:13:49 lf-activate-venv: SKIPPING 12:13:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-501/1 12:13:49 INFO: archiving workspace using pattern(s): 12:13:50 Archives upload complete. 12:13:50 INFO: archiving logs to Nexus