Pull request #521 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4972b36fa19f1ba12e581e15ff311851134baf62+ae5c3a222e830755d999430446b5cf0927b9c680 (f67083e67afce73a8406932aec4f1e91e5ad5fb6) 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-ssh6984971426139542166.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-ssh15791589684261713009.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-521/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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6078357839358335345.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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4129144149774846800.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-ssh18237641128328342809.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-521/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-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11485449661462081795.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 ‘prd-ubuntu20.04-docker-8c-8g-6537’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6539 in /w/workspace/_app-service-configurable_PR-521 [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-521 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ae5c3a222e830755d999430446b5cf0927b9c680 into PR head commit 4972b36fa19f1ba12e581e15ff311851134baf62 Merge succeeded, producing 4972b36fa19f1ba12e581e15ff311851134baf62 Checking out Revision 4972b36fa19f1ba12e581e15ff311851134baf62 (PR-521) Commit message: "build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0" 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 01:29:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:29:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4972b36fa19f1ba12e581e15ff311851134baf62 # 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 ae5c3a222e830755d999430446b5cf0927b9c680 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4972b36fa19f1ba12e581e15ff311851134baf62 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:29:02 ========================================================= 01:29:02 EdgeX Global Pipelines Version Info 01:29:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:29:02 ------------------- 01:29:02 stable info: 01:29:02 ------------------- 01:29:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:29:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:29:02 Message: update stable to v1.0.244 01:29:03 ------------------- 01:29:03 experimental info: 01:29:03 ------------------- 01:29:03 Commited By: **** collab-it+edgex@linuxfoundation.org 01:29:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:29:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:29:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 01:29:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 01:29:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:29:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:29:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-521 [Pipeline] echo 01:29:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-521 [Pipeline] echo 01:29:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-521 [Pipeline] echo 01:29:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4972b36fa19f1ba12e581e15ff311851134baf62 [Pipeline] echo 01:29:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4972b36 [Pipeline] echo 01:29:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:05 provisioning config files... 01:29:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-521@tmp/config7549852110417291468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:05 ---> docker-login.sh 01:29:05 nexus3.edgexfoundry.org:10001 01:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:06 Configure a credential helper to remove this warning. See 01:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:06 01:29:06 Login Succeeded 01:29:06 nexus3.edgexfoundry.org:10002 01:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:06 Configure a credential helper to remove this warning. See 01:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:06 01:29:06 Login Succeeded 01:29:06 nexus3.edgexfoundry.org:10003 01:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:06 Configure a credential helper to remove this warning. See 01:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:06 01:29:06 Login Succeeded 01:29:06 nexus3.edgexfoundry.org:10004 01:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:06 Configure a credential helper to remove this warning. See 01:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:06 01:29:06 Login Succeeded 01:29:06 docker.io 01:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:07 Configure a credential helper to remove this warning. See 01:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:07 01:29:07 Login Succeeded 01:29:07 ---> docker-login.sh ends [Pipeline] } 01:29:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:29:07 + git rev-list -1 --merges 4972b36fa19f1ba12e581e15ff311851134baf62~1..4972b36fa19f1ba12e581e15ff311851134baf62 [Pipeline] echo 01:29:07 -----------> git rev-list -1 --merges 4972b36fa19f1ba12e581e15ff311851134baf62~1..4972b36fa19f1ba12e581e15ff311851134baf62 4972b36fa19f1ba12e581e15ff311851134baf62 [false] [Pipeline] sh 01:29:08 + git log --format=format:%s -1 4972b36fa19f1ba12e581e15ff311851134baf62 [Pipeline] echo 01:29:08 ========================================================= 01:29:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:29:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:08 + git log --format=format:%s -1 4972b36fa19f1ba12e581e15ff311851134baf62 [Pipeline] echo 01:29:08 [semverPrep] GIT_COMMIT: 4972b36fa19f1ba12e581e15ff311851134baf62, Commit Message: build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 [Pipeline] echo 01:29:08 [semverPrep] This is not a build commit. [Pipeline] sh 01:29:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:29:09 + grep -v github /etc/ssh/ssh_known_hosts 01:29:09 + [ -e /tmp/ssh_known_hosts ] 01:29:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:29:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:29:09 + sudo tee -a /etc/ssh/ssh_known_hosts 01:29:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:09 01:29:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:09 0.1.4: Pulling from edgex-devops/py-git-semver 01:29:09 b85a868b505f: Pulling fs layer 01:29:09 e2be974225ed: Pulling fs layer 01:29:09 339a4e72a1f5: Pulling fs layer 01:29:09 988bab9f4d93: Pulling fs layer 01:29:09 1469e6f7b9e6: Pulling fs layer 01:29:09 eaf3925da568: Pulling fs layer 01:29:09 bab4dde63d76: Pulling fs layer 01:29:09 988bab9f4d93: Waiting 01:29:09 1469e6f7b9e6: Waiting 01:29:09 eaf3925da568: Waiting 01:29:09 bde34c3a00c8: Pulling fs layer 01:29:09 b352a97aabf1: Pulling fs layer 01:29:09 4872d77fe225: Pulling fs layer 01:29:09 5851b861e8e6: Pulling fs layer 01:29:09 bab4dde63d76: Waiting 01:29:09 b352a97aabf1: Waiting 01:29:09 4872d77fe225: Waiting 01:29:09 5851b861e8e6: Waiting 01:29:09 bde34c3a00c8: Waiting 01:29:09 e2be974225ed: Verifying Checksum 01:29:09 e2be974225ed: Download complete 01:29:09 988bab9f4d93: Verifying Checksum 01:29:09 988bab9f4d93: Download complete 01:29:10 1469e6f7b9e6: Verifying Checksum 01:29:10 1469e6f7b9e6: Download complete 01:29:10 339a4e72a1f5: Verifying Checksum 01:29:10 339a4e72a1f5: Download complete 01:29:10 eaf3925da568: Verifying Checksum 01:29:10 eaf3925da568: Download complete 01:29:10 bde34c3a00c8: Download complete 01:29:10 4872d77fe225: Download complete 01:29:10 5851b861e8e6: Verifying Checksum 01:29:10 5851b861e8e6: Download complete 01:29:10 b85a868b505f: Verifying Checksum 01:29:10 b85a868b505f: Download complete 01:29:10 bab4dde63d76: Verifying Checksum 01:29:10 bab4dde63d76: Download complete 01:29:11 b85a868b505f: Pull complete 01:29:11 e2be974225ed: Pull complete 01:29:12 339a4e72a1f5: Pull complete 01:29:12 988bab9f4d93: Pull complete 01:29:12 1469e6f7b9e6: Pull complete 01:29:12 eaf3925da568: Pull complete 01:29:14 bab4dde63d76: Pull complete 01:29:14 bde34c3a00c8: Pull complete 01:29:14 b352a97aabf1: Pull complete 01:29:14 4872d77fe225: Pull complete 01:29:14 5851b861e8e6: Pull complete 01:29:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:29:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:14 prd-ubuntu20.04-docker-8c-8g-6539 does not seem to be running inside a container 01:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-521 -v /w/workspace/_app-service-configurable_PR-521:/w/workspace/_app-service-configurable_PR-521:rw,z -v /w/workspace/_app-service-configurable_PR-521@tmp:/w/workspace/_app-service-configurable_PR-521@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 01:29:18 $ docker top 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 -eo pid,comm 01:29:18 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). 01:29:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:29:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:18 [ssh-agent] Looking for ssh-agent implementation... 01:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:18 $ docker exec 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 ssh-agent 01:29:18 SSH_AUTH_SOCK=/tmp/ssh-BeJEjuNQfclh/agent.21 01:29:18 SSH_AGENT_PID=27 01:29:18 Running ssh-add (command line suppressed) 01:29:18 Identity added: /w/workspace/_app-service-configurable_PR-521@tmp/private_key_18391106828984360503.key (/w/workspace/_app-service-configurable_PR-521@tmp/private_key_18391106828984360503.key) 01:29:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:19 + git tag --points-at HEAD [Pipeline] } 01:29:19 $ docker exec --env ******** --env ******** 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 ssh-agent -k 01:29:19 unset SSH_AUTH_SOCK; 01:29:19 unset SSH_AGENT_PID; 01:29:19 echo Agent pid 27 killed; 01:29:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:29:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:19 [ssh-agent] Looking for ssh-agent implementation... 01:29:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:19 $ docker exec 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 ssh-agent 01:29:19 SSH_AUTH_SOCK=/tmp/ssh-IclCSkiGEVcA/agent.70 01:29:19 SSH_AGENT_PID=76 01:29:19 Running ssh-add (command line suppressed) 01:29:19 Identity added: /w/workspace/_app-service-configurable_PR-521@tmp/private_key_2672789236638484788.key (/w/workspace/_app-service-configurable_PR-521@tmp/private_key_2672789236638484788.key) 01:29:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:20 + git semver init 01:29:20 2023-02-18 01:29:20,484 [run_init] DEBUG init version:0.0.0 force:False 01:29:20 2023-02-18 01:29:20,485 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-521/.semver 01:29:20 2023-02-18 01:29:20,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-521/.semver 01:29:20 2023-02-18 01:29:20,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-521/.semver'], cwd=/w/workspace/_app-service-configurable_PR-521, universal_newlines=False, shell=None, istream=None) 01:29:21 2023-02-18 01:29:21,499 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-521/.git/info/exclude 01:29:21 2023-02-18 01:29:21,500 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-521/.semver/PR-521 with force:False 01:29:21 2023-02-18 01:29:21,500 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-521/.semver/PR-521 01:29:21 2023-02-18 01:29:21,505 [execute] INFO git cat-file --batch-check 01:29:21 2023-02-18 01:29:21,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-521/.semver, universal_newlines=False, shell=None, istream=) 01:29:21 2023-02-18 01:29:21,513 [execute] INFO git cat-file --batch 01:29:21 2023-02-18 01:29:21,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-521/.semver, universal_newlines=False, shell=None, istream=) 01:29:21 2023-02-18 01:29:21,519 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-521/.semver/PR-521 01:29:21 0.0.0 [Pipeline] } 01:29:21 $ docker exec --env ******** --env ******** 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 ssh-agent -k 01:29:21 unset SSH_AUTH_SOCK; 01:29:21 unset SSH_AGENT_PID; 01:29:21 echo Agent pid 76 killed; 01:29:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:29:22 + git semver [Pipeline] } 01:29:22 $ docker stop --time=1 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 01:29:23 $ docker rm -f --volumes 621658b49c57eaf100eeeabfc39d6ba530d1df28b5b987936db1d9c2c0cdfaf3 [Pipeline] // withDockerContainer [Pipeline] sh 01:29:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:29:24 Stashed 1 file(s) [Pipeline] echo 01:29:24 [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 01:29:25 provisioning config files... 01:29:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-521@tmp/config1637736277000952879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:25 ---> docker-login.sh 01:29:25 nexus3.edgexfoundry.org:10001 01:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:25 Configure a credential helper to remove this warning. See 01:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:25 01:29:25 Login Succeeded 01:29:25 nexus3.edgexfoundry.org:10002 01:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:25 Configure a credential helper to remove this warning. See 01:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:25 01:29:25 Login Succeeded 01:29:25 nexus3.edgexfoundry.org:10003 01:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:25 Configure a credential helper to remove this warning. See 01:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:25 01:29:25 Login Succeeded 01:29:25 nexus3.edgexfoundry.org:10004 01:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:25 Configure a credential helper to remove this warning. See 01:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:25 01:29:25 Login Succeeded 01:29:25 docker.io 01:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:26 Configure a credential helper to remove this warning. See 01:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:26 01:29:26 Login Succeeded 01:29:26 ---> docker-login.sh ends [Pipeline] } 01:29:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:26 ========================================================= 01:29:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:29:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:27 + 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 . 01:29:27 Sending build context to Docker daemon 3.224MB 01:29:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:29:27 Step 2/12 : FROM ${BASE} AS builder 01:29:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:29:27 213ec9aee27d: Pulling fs layer 01:29:27 4583459ba037: Pulling fs layer 01:29:27 93c1e223e6f2: Pulling fs layer 01:29:27 53926ce57604: Pulling fs layer 01:29:27 21b2b0c7a3f4: Pulling fs layer 01:29:27 22ff95d597cd: Pulling fs layer 01:29:27 12d6caf4c0d1: Pulling fs layer 01:29:27 96b7cbca73a9: Pulling fs layer 01:29:27 a7acece74701: Pulling fs layer 01:29:27 53926ce57604: Waiting 01:29:27 21b2b0c7a3f4: Waiting 01:29:27 22ff95d597cd: Waiting 01:29:27 12d6caf4c0d1: Waiting 01:29:27 96b7cbca73a9: Waiting 01:29:27 a7acece74701: Waiting 01:29:27 93c1e223e6f2: Verifying Checksum 01:29:27 93c1e223e6f2: Download complete 01:29:27 4583459ba037: Verifying Checksum 01:29:27 4583459ba037: Download complete 01:29:27 21b2b0c7a3f4: Download complete 01:29:27 22ff95d597cd: Download complete 01:29:27 213ec9aee27d: Verifying Checksum 01:29:27 213ec9aee27d: Download complete 01:29:27 12d6caf4c0d1: Verifying Checksum 01:29:27 12d6caf4c0d1: Download complete 01:29:27 213ec9aee27d: Pull complete 01:29:27 4583459ba037: Pull complete 01:29:27 93c1e223e6f2: Pull complete 01:29:27 a7acece74701: Verifying Checksum 01:29:27 a7acece74701: Download complete 01:29:28 96b7cbca73a9: Verifying Checksum 01:29:28 96b7cbca73a9: Download complete 01:29:28 53926ce57604: Verifying Checksum 01:29:28 53926ce57604: Download complete 01:29:32 53926ce57604: Pull complete 01:29:32 21b2b0c7a3f4: Pull complete 01:29:32 22ff95d597cd: Pull complete 01:29:32 12d6caf4c0d1: Pull complete 01:29:34 96b7cbca73a9: Pull complete 01:29:35 a7acece74701: Pull complete 01:29:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:29:35 ---> db6d94c90886 01:29:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:29:39 ---> Running in eec083c1159d 01:29:39 Removing intermediate container eec083c1159d 01:29:39 ---> 0c7a4b896869 01:29:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:29:39 ---> Running in eddf6e7cf7a1 01:29:39 Removing intermediate container eddf6e7cf7a1 01:29:39 ---> 14504eb137a0 01:29:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:29:39 ---> Running in c64e8a742bb7 01:29:39 Removing intermediate container c64e8a742bb7 01:29:39 ---> 1ed6b2c6e246 01:29:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:39 ---> Running in bb12771c8b12 01:29:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:29:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:29:40 Still waiting to schedule task 01:29:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6541’ is offline 01:29:40 OK: 211 MiB in 51 packages 01:29:40 Removing intermediate container bb12771c8b12 01:29:40 ---> 8985b19fab1e 01:29:40 Step 7/12 : WORKDIR /app 01:29:40 ---> Running in 19733e2aa6cf 01:29:40 Removing intermediate container 19733e2aa6cf 01:29:40 ---> d457d4a73f04 01:29:40 Step 8/12 : COPY go.mod vendor* ./ 01:29:40 ---> 55e958abb7a1 01:29:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:40 ---> Running in b11aa59eb0ff 01:30:19 Removing intermediate container b11aa59eb0ff 01:30:19 ---> be9f7a746b9e 01:30:19 Step 10/12 : COPY . . 01:30:19 ---> d7ed229b1c54 01:30:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:19 ---> Running in 8d95774c4bf1 01:30:19 Removing intermediate container 8d95774c4bf1 01:30:19 ---> 4b47b433d8da 01:30:19 Step 12/12 : RUN $MAKE 01:30:19 ---> Running in 68bc4487cdaf 01:30:19 noop 01:30:19 Removing intermediate container 68bc4487cdaf 01:30:19 ---> 40ed016bd174 01:30:19 Successfully built 40ed016bd174 01:30:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:19 + docker inspect -f . ci-base-image-x86_64 01:30:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:20 prd-ubuntu20.04-docker-8c-8g-6539 does not seem to be running inside a container 01:30:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-521 -v /w/workspace/_app-service-configurable_PR-521:/w/workspace/_app-service-configurable_PR-521:rw,z -v /w/workspace/_app-service-configurable_PR-521@tmp:/w/workspace/_app-service-configurable_PR-521@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 01:30:20 $ docker top f945d47a0faf5419730ce9f322dcd171f38b918bf6b9855f95992ef6f6e58461 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:21 + go version 01:30:21 go version go1.18.7 linux/amd64 [Pipeline] } 01:30:21 $ docker stop --time=1 f945d47a0faf5419730ce9f322dcd171f38b918bf6b9855f95992ef6f6e58461 01:30:23 $ docker rm -f --volumes f945d47a0faf5419730ce9f322dcd171f38b918bf6b9855f95992ef6f6e58461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:24 + docker inspect -f . ci-base-image-x86_64 01:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:24 prd-ubuntu20.04-docker-8c-8g-6539 does not seem to be running inside a container 01:30:24 $ 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-521 -v /w/workspace/_app-service-configurable_PR-521:/w/workspace/_app-service-configurable_PR-521:rw,z -v /w/workspace/_app-service-configurable_PR-521@tmp:/w/workspace/_app-service-configurable_PR-521@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 01:30:24 $ docker top b048572e6c62f9bfcf7f02f054e5b92693f4f47d1a1cfa802fa219fd238a213f -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:25 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-521 [Pipeline] fileExists [Pipeline] sh 01:30:25 + make test 01:30:25 go test -race -coverprofile=coverage.out ./... 01:30:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 01:30:47 go vet ./... 01:30:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:30:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:30:55 ./bin/test-attribution-txt.sh [Pipeline] echo 01:30:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:30:55 $ docker stop --time=1 b048572e6c62f9bfcf7f02f054e5b92693f4f47d1a1cfa802fa219fd238a213f 01:30:58 $ docker rm -f --volumes b048572e6c62f9bfcf7f02f054e5b92693f4f47d1a1cfa802fa219fd238a213f [Pipeline] // withDockerContainer [Pipeline] sh 01:30:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:30:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:30:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:00 + ls -al . 01:31:00 total 172 01:31:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 01:30 . 01:31:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 01:28 .. 01:31:00 -rw-rw-r-- 1 jenkins jenkins 119 Feb 18 01:29 .dockerignore 01:31:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 01:29 .git 01:31:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 01:29 .github 01:31:00 -rw-rw-r-- 1 jenkins jenkins 171 Feb 18 01:29 .gitignore 01:31:00 drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 01:29 .semver 01:31:00 -rw-rw-r-- 1 jenkins jenkins 9320 Feb 18 01:29 Attribution.txt 01:31:00 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 18 01:29 CHANGELOG.md 01:31:00 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 18 01:29 Dockerfile 01:31:00 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 01:29 GOVERNANCE.md 01:31:00 -rw-rw-r-- 1 jenkins jenkins 688 Feb 18 01:29 Jenkinsfile 01:31:00 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 18 01:29 LICENSE 01:31:00 -rw-rw-r-- 1 jenkins jenkins 618 Feb 18 01:29 OWNERS.md 01:31:00 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 18 01:29 README.md 01:31:00 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 01:29 VERSION 01:31:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 01:29 bin 01:31:00 -rw-r--r-- 1 jenkins jenkins 13 Feb 18 01:30 coverage.out 01:31:00 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 18 01:29 go.mod 01:31:00 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 18 01:29 go.sum 01:31:00 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 18 01:29 main.go 01:31:00 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 18 01:29 makefile 01:31:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 01:29 res 01:31:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 01:29 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:00 + 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=4972b36fa19f1ba12e581e15ff311851134baf62 --label arch=amd64 --label version=0.0.0 . 01:31:00 Sending build context to Docker daemon 3.225MB 01:31:00 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:31:00 Step 2/26 : FROM ${BASE} AS builder 01:31:00 ---> 40ed016bd174 01:31:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 01:31:00 ---> Running in 211822b588f7 01:31:00 Removing intermediate container 211822b588f7 01:31:00 ---> 98f2fd91cd8b 01:31:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:31:00 ---> Running in 77cbb8b08213 01:31:00 Removing intermediate container 77cbb8b08213 01:31:00 ---> 83cd29404f84 01:31:00 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:31:00 ---> Running in 4b8f8cf0db92 01:31:00 Removing intermediate container 4b8f8cf0db92 01:31:00 ---> ba55b5eb411d 01:31:00 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:00 ---> Running in 7d135d9cffac 01:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:31:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:31:01 OK: 211 MiB in 51 packages 01:31:01 Removing intermediate container 7d135d9cffac 01:31:01 ---> f9ba2e628522 01:31:01 Step 7/26 : WORKDIR /app 01:31:01 ---> Running in 440a18517805 01:31:02 Removing intermediate container 440a18517805 01:31:02 ---> 059170907d47 01:31:02 Step 8/26 : COPY go.mod vendor* ./ 01:31:02 ---> f7c5d8994f69 01:31:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:02 ---> Running in 1236ca6abe90 01:31:03 Removing intermediate container 1236ca6abe90 01:31:03 ---> ba1e99965fcf 01:31:03 Step 10/26 : COPY . . 01:31:03 ---> 421785ad18a0 01:31:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:31:03 ---> Running in 32e8196e89f3 01:31:03 Removing intermediate container 32e8196e89f3 01:31:03 ---> deaf9c08a8eb 01:31:03 Step 12/26 : RUN $MAKE 01:31:03 ---> Running in 26fbce505c65 01:31:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 01:31:25 Removing intermediate container 26fbce505c65 01:31:25 ---> 1f3a59745eed 01:31:25 Step 13/26 : FROM alpine:3.16 01:31:25 3.16: Pulling from library/alpine 01:31:25 ef5531b6e74e: Pulling fs layer 01:31:25 ef5531b6e74e: Download complete 01:31:25 ef5531b6e74e: Pull complete 01:31:25 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:31:25 Status: Downloaded newer image for alpine:3.16 01:31:25 ---> dfd21b5a31f5 01:31:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:31:25 ---> Running in 55f522cef17a 01:31:25 Removing intermediate container 55f522cef17a 01:31:25 ---> d603736f4727 01:31:25 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 01:31:25 ---> Running in 6a17ec408731 01:31:25 Removing intermediate container 6a17ec408731 01:31:25 ---> d8a27b63e8ff 01:31:25 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 01:31:25 ---> Running in 0de3708534e3 01:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:31:26 (1/2) Installing ca-certificates (20220614-r0) 01:31:26 (2/2) Installing dumb-init (1.2.5-r1) 01:31:26 Executing busybox-1.35.0-r17.trigger 01:31:26 Executing ca-certificates-20220614-r0.trigger 01:31:26 OK: 6 MiB in 16 packages 01:31:26 Removing intermediate container 0de3708534e3 01:31:26 ---> f89d13606749 01:31:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:31:26 ---> 5e967584c811 01:31:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 01:31:26 ---> 0546c2376703 01:31:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 01:31:26 ---> a0702325b87a 01:31:26 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 01:31:27 ---> ebe43c504c24 01:31:27 Step 21/26 : EXPOSE 48095 01:31:27 ---> Running in f14649b47e1e 01:31:27 Removing intermediate container f14649b47e1e 01:31:27 ---> 7419be9b1e23 01:31:27 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 01:31:27 ---> Running in 1c1ccee4f5f6 01:31:28 Removing intermediate container 1c1ccee4f5f6 01:31:28 ---> d647086152e3 01:31:28 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:31:28 ---> Running in 0c3a6c22d98e 01:31:28 Removing intermediate container 0c3a6c22d98e 01:31:28 ---> e99d0374a04b 01:31:28 Step 24/26 : LABEL arch=amd64 01:31:28 ---> Running in 419c0c002d60 01:31:28 Removing intermediate container 419c0c002d60 01:31:28 ---> 2c6ca62eeba5 01:31:28 Step 25/26 : LABEL git_sha=4972b36fa19f1ba12e581e15ff311851134baf62 01:31:28 ---> Running in c766e3fce78d 01:31:28 Removing intermediate container c766e3fce78d 01:31:28 ---> 735055af10cf 01:31:28 Step 26/26 : LABEL version=0.0.0 01:31:28 ---> Running in def8bf541177 01:31:28 Removing intermediate container def8bf541177 01:31:28 ---> 9a46490ce612 01:31:28 [Warning] One or more build-args [ARCH] were not consumed 01:31:28 Successfully built 9a46490ce612 01:31:28 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:29 01:31:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:29 latest: Pulling from edgex-lftools-log-publisher 01:31:29 5eb5b503b376: Pulling fs layer 01:31:29 5c69ac0246d0: Pulling fs layer 01:31:29 ec43610c2a17: Pulling fs layer 01:31:29 3a2ae6a8a46f: Pulling fs layer 01:31:29 33b1e0a273af: Pulling fs layer 01:31:29 5d3b04190fa2: Pulling fs layer 01:31:29 2f39f015ded8: Pulling fs layer 01:31:29 3a2ae6a8a46f: Waiting 01:31:29 33b1e0a273af: Waiting 01:31:29 5d3b04190fa2: Waiting 01:31:29 5c69ac0246d0: Download complete 01:31:29 3a2ae6a8a46f: Download complete 01:31:29 33b1e0a273af: Verifying Checksum 01:31:29 33b1e0a273af: Download complete 01:31:29 ec43610c2a17: Verifying Checksum 01:31:29 ec43610c2a17: Download complete 01:31:29 5d3b04190fa2: Verifying Checksum 01:31:29 5d3b04190fa2: Download complete 01:31:29 5eb5b503b376: Verifying Checksum 01:31:29 5eb5b503b376: Download complete 01:31:30 2f39f015ded8: Download complete 01:31:31 5eb5b503b376: Pull complete 01:31:31 5c69ac0246d0: Pull complete 01:31:31 ec43610c2a17: Pull complete 01:31:31 3a2ae6a8a46f: Pull complete 01:31:32 33b1e0a273af: Pull complete 01:31:32 5d3b04190fa2: Pull complete 01:31:36 2f39f015ded8: Pull complete 01:31:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:36 prd-ubuntu20.04-docker-8c-8g-6539 does not seem to be running inside a container 01:31:36 $ 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-521 -v /w/workspace/_app-service-configurable_PR-521:/w/workspace/_app-service-configurable_PR-521:rw,z -v /w/workspace/_app-service-configurable_PR-521@tmp:/w/workspace/_app-service-configurable_PR-521@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 01:31:40 $ docker top cb52a9acdac76c204cb5e4f7a7b8a0ad078e766d5d2d187a03cbd43598b2c33d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:40 ---> job-cost.sh 01:31:40 lf-activate-venv: SKIPPING 01:31:40 INFO: No Stack... 01:31:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:31:41 INFO: Archiving Costs [Pipeline] sh 01:31:41 + cat /w/workspace/_app-service-configurable_PR-521/archives/cost.csv 01:31:41 + cut -d, -f6 [Pipeline] lock 01:31:41 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] 01:31:41 Resource [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] did not exist. Created. 01:31:41 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:31:41 Stashed 1 file(s) [Pipeline] } 01:31:41 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:31:41 $ docker stop --time=1 cb52a9acdac76c204cb5e4f7a7b8a0ad078e766d5d2d187a03cbd43598b2c33d 01:31:43 $ docker rm -f --volumes cb52a9acdac76c204cb5e4f7a7b8a0ad078e766d5d2d187a03cbd43598b2c33d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:32:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6543 in /w/workspace/_app-service-configurable_PR-521 [Pipeline] { [Pipeline] ws 01:32:10 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 01:32:10 Selected Git installation does not exist. Using Default 01:32:10 The recommended git tool is: NONE 01:32:16 using credential edgex-jenkins-ssh 01:32:16 Cloning the remote Git repository 01:32:16 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 01:32:16 > git init /w/workspace/app-service-configurable/1 # timeout=10 01:32:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 01:32:16 > git --version # timeout=10 01:32:16 > git --version # 'git version 2.25.1' 01:32:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:32:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:32:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 01:32:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:32:19 Merging remotes/origin/main commit ae5c3a222e830755d999430446b5cf0927b9c680 into PR head commit 4972b36fa19f1ba12e581e15ff311851134baf62 01:32:20 Merge succeeded, producing 4972b36fa19f1ba12e581e15ff311851134baf62 01:32:20 Checking out Revision 4972b36fa19f1ba12e581e15ff311851134baf62 (PR-521) 01:32:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 01:32:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 01:32:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:32:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:32:19 > git config core.sparsecheckout # timeout=10 01:32:19 > git checkout -f 4972b36fa19f1ba12e581e15ff311851134baf62 # timeout=10 01:32:19 > git remote # timeout=10 01:32:19 > git config --get remote.origin.url # timeout=10 01:32:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:32:20 > git merge ae5c3a222e830755d999430446b5cf0927b9c680 # timeout=10 01:32:20 > git rev-parse HEAD^{commit} # timeout=10 01:32:20 > git config core.sparsecheckout # timeout=10 01:32:20 > git checkout -f 4972b36fa19f1ba12e581e15ff311851134baf62 # timeout=10 01:32:20 Commit message: "build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0" 01:32:20 > git --version # timeout=10 01:32:20 > git --version # 'git version 2.25.1' 01:32:20 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:32:21 % Total % Received % Xferd Average Speed Time Time Time Current 01:32:21 Dload Upload Total Spent Left Speed 01:32:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 01:32:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:32:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:32:22 + sudo tee /etc/docker/daemon.new 01:32:22 { 01:32:22 "registry-mirrors": [ 01:32:22 "https://nexus3.edgexfoundry.org:10001" 01:32:22 ], 01:32:22 "bip": "10.250.0.254/24", 01:32:22 "hosts": [ 01:32:22 "tcp://0.0.0.0:5555", 01:32:22 "unix:///var/run/docker.sock" 01:32:22 ], 01:32:22 "mtu": 1458, 01:32:22 "selinux-enabled": true, 01:32:22 "seccomp-profile": "/etc/docker/seccomp.json" 01:32:22 } [Pipeline] sh 01:32:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:32:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:41 provisioning config files... 01:32:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config9547803810771776790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:42 ---> docker-login.sh 01:32:42 nexus3.edgexfoundry.org:10001 01:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:43 Configure a credential helper to remove this warning. See 01:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:43 01:32:43 Login Succeeded 01:32:43 nexus3.edgexfoundry.org:10002 01:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:43 Configure a credential helper to remove this warning. See 01:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:43 01:32:43 Login Succeeded 01:32:43 nexus3.edgexfoundry.org:10003 01:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:43 Configure a credential helper to remove this warning. See 01:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:43 01:32:43 Login Succeeded 01:32:43 nexus3.edgexfoundry.org:10004 01:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:44 Configure a credential helper to remove this warning. See 01:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:44 01:32:44 Login Succeeded 01:32:44 docker.io 01:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:44 Configure a credential helper to remove this warning. See 01:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:44 01:32:44 Login Succeeded 01:32:44 ---> docker-login.sh ends [Pipeline] } 01:32:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:45 ========================================================= 01:32:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:32:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:45 + 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 . 01:32:45 Sending build context to Docker daemon 178.7kB 01:32:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:32:45 Step 2/12 : FROM ${BASE} AS builder 01:32:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:32:46 9b18e9b68314: Pulling fs layer 01:32:46 35d82f9e3411: Pulling fs layer 01:32:46 e16973657156: Pulling fs layer 01:32:46 fc693d55d65f: Pulling fs layer 01:32:46 7e9fc2657dce: Pulling fs layer 01:32:46 dda99020689f: Pulling fs layer 01:32:46 db1c61fa0a46: Pulling fs layer 01:32:46 891c053d2c06: Pulling fs layer 01:32:46 fc693d55d65f: Waiting 01:32:46 7e9fc2657dce: Waiting 01:32:46 dda99020689f: Waiting 01:32:46 db1c61fa0a46: Waiting 01:32:46 891c053d2c06: Waiting 01:32:46 e16973657156: Verifying Checksum 01:32:46 e16973657156: Download complete 01:32:46 35d82f9e3411: Verifying Checksum 01:32:46 35d82f9e3411: Download complete 01:32:46 7e9fc2657dce: Download complete 01:32:46 dda99020689f: Verifying Checksum 01:32:46 dda99020689f: Download complete 01:32:46 9b18e9b68314: Verifying Checksum 01:32:46 9b18e9b68314: Download complete 01:32:47 9b18e9b68314: Pull complete 01:32:47 891c053d2c06: Verifying Checksum 01:32:47 891c053d2c06: Download complete 01:32:47 35d82f9e3411: Pull complete 01:32:48 e16973657156: Pull complete 01:32:48 db1c61fa0a46: Verifying Checksum 01:32:48 db1c61fa0a46: Download complete 01:32:49 fc693d55d65f: Verifying Checksum 01:32:49 fc693d55d65f: Download complete 01:33:01 fc693d55d65f: Pull complete 01:33:01 7e9fc2657dce: Pull complete 01:33:01 dda99020689f: Pull complete 01:33:08 db1c61fa0a46: Pull complete 01:33:11 891c053d2c06: Pull complete 01:33:11 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:33:11 ---> f96f9c87975a 01:33:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 01:33:12 ---> Running in 2c5fecf1d0b1 01:33:13 Removing intermediate container 2c5fecf1d0b1 01:33:13 ---> 3e7e9d2acc6d 01:33:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:33:13 ---> Running in 347fb549247a 01:33:13 Removing intermediate container 347fb549247a 01:33:13 ---> f995d3ae537f 01:33:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:33:13 ---> Running in 7ce50367b140 01:33:14 Removing intermediate container 7ce50367b140 01:33:14 ---> 20bf624376d0 01:33:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:14 ---> Running in 957b5ce6fea4 01:33:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:33:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:33:16 OK: 221 MiB in 51 packages 01:33:17 Removing intermediate container 957b5ce6fea4 01:33:17 ---> 5010e918b0e5 01:33:17 Step 7/12 : WORKDIR /app 01:33:17 ---> Running in 3b7825269a80 01:33:17 Removing intermediate container 3b7825269a80 01:33:17 ---> 343e54caed64 01:33:17 Step 8/12 : COPY go.mod vendor* ./ 01:33:18 ---> 26b873207b85 01:33:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:18 ---> Running in 635d28ec2f07 01:34:40 Removing intermediate container 635d28ec2f07 01:34:40 ---> b8f463d120f1 01:34:40 Step 10/12 : COPY . . 01:34:40 ---> 8eb2eda6695d 01:34:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:34:40 ---> Running in 2636d313beb1 01:34:40 Removing intermediate container 2636d313beb1 01:34:40 ---> 95d14f26c90a 01:34:40 Step 12/12 : RUN $MAKE 01:34:40 ---> Running in 6dbc55c35621 01:34:40 noop 01:34:40 Removing intermediate container 6dbc55c35621 01:34:40 ---> ab8b47149a08 01:34:40 Successfully built ab8b47149a08 01:34:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:40 + docker inspect -f . ci-base-image-arm64 01:34:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:40 prd-ubuntu20.04-docker-arm64-4c-16g-6543 does not seem to be running inside a container 01:34:40 $ 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 01:34:42 $ docker top f1b8b11d65c7e8925cbbbfc9ed0662ea166b809e7b890f5487132939980c9312 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:42 + go version 01:34:42 go version go1.18.7 linux/arm64 [Pipeline] } 01:34:43 $ docker stop --time=1 f1b8b11d65c7e8925cbbbfc9ed0662ea166b809e7b890f5487132939980c9312 01:34:44 $ docker rm -f --volumes f1b8b11d65c7e8925cbbbfc9ed0662ea166b809e7b890f5487132939980c9312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:45 + docker inspect -f . ci-base-image-arm64 01:34:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:45 prd-ubuntu20.04-docker-arm64-4c-16g-6543 does not seem to be running inside a container 01:34: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 01:34:46 $ docker top 591edd4185182fa0e700c67da8a1b49d44cdf41c8f5193835a0db5d4a88ae690 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 01:34:48 + make test 01:34:48 go test -race -coverprofile=coverage.out ./... 01:37:40 ? github.com/edgexfoundry/app-service-configurable [no test files] 01:37:40 go vet ./... 01:39:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:39:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:39:16 ./bin/test-attribution-txt.sh [Pipeline] echo 01:39:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:39:16 $ docker stop --time=1 591edd4185182fa0e700c67da8a1b49d44cdf41c8f5193835a0db5d4a88ae690 01:39:18 $ docker rm -f --volumes 591edd4185182fa0e700c67da8a1b49d44cdf41c8f5193835a0db5d4a88ae690 [Pipeline] // withDockerContainer [Pipeline] sh 01:39:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:39:19 Warning: overwriting stash ‘coverage-report’ 01:39:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:39:21 + ls -al . 01:39:21 total 168 01:39:21 drwxrwxr-x 7 jenkins jenkins 4096 Feb 18 01:34 . 01:39:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 01:32 .. 01:39:21 -rw-rw-r-- 1 jenkins jenkins 119 Feb 18 01:32 .dockerignore 01:39:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 01:32 .git 01:39:21 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 01:32 .github 01:39:21 -rw-rw-r-- 1 jenkins jenkins 171 Feb 18 01:32 .gitignore 01:39:21 -rw-rw-r-- 1 jenkins jenkins 9320 Feb 18 01:32 Attribution.txt 01:39:21 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 18 01:32 CHANGELOG.md 01:39:21 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 18 01:32 Dockerfile 01:39:21 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 01:32 GOVERNANCE.md 01:39:21 -rw-rw-r-- 1 jenkins jenkins 688 Feb 18 01:32 Jenkinsfile 01:39:21 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 18 01:32 LICENSE 01:39:21 -rw-rw-r-- 1 jenkins jenkins 618 Feb 18 01:32 OWNERS.md 01:39:21 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 18 01:32 README.md 01:39:21 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 01:29 VERSION 01:39:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 01:32 bin 01:39:21 -rw-r--r-- 1 jenkins jenkins 13 Feb 18 01:34 coverage.out 01:39:21 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 18 01:32 go.mod 01:39:21 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 18 01:32 go.sum 01:39:21 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 18 01:32 main.go 01:39:21 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 18 01:32 makefile 01:39:21 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 01:32 res 01:39:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 01:32 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:21 + 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=4972b36fa19f1ba12e581e15ff311851134baf62 --label arch=arm64 --label version=0.0.0 . 01:39:21 Sending build context to Docker daemon 179.7kB 01:39:22 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:39:22 Step 2/26 : FROM ${BASE} AS builder 01:39:22 ---> ab8b47149a08 01:39:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 01:39:22 ---> Running in 8f16de4ff127 01:39:22 Removing intermediate container 8f16de4ff127 01:39:22 ---> 4dfdf7a22d12 01:39:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:39:22 ---> Running in f79b0c2de99c 01:39:22 Removing intermediate container f79b0c2de99c 01:39:22 ---> 9fc8deee48b6 01:39:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:39:22 ---> Running in c05c0205793f 01:39:23 Removing intermediate container c05c0205793f 01:39:23 ---> 1e8e3556f384 01:39:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:23 ---> Running in 8c7e1b9471f2 01:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:39:25 OK: 221 MiB in 51 packages 01:39:26 Removing intermediate container 8c7e1b9471f2 01:39:26 ---> 31285de381df 01:39:26 Step 7/26 : WORKDIR /app 01:39:26 ---> Running in 1913a2ad5aa2 01:39:26 Removing intermediate container 1913a2ad5aa2 01:39:26 ---> a96fdb0ae911 01:39:26 Step 8/26 : COPY go.mod vendor* ./ 01:39:27 ---> a604f883a920 01:39:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:27 ---> Running in 5d7603a8f875 01:39:30 Removing intermediate container 5d7603a8f875 01:39:30 ---> edfe81484825 01:39:30 Step 10/26 : COPY . . 01:39:30 ---> 86bfc4667962 01:39:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:39:30 ---> Running in e13e31067a2d 01:39:31 Removing intermediate container e13e31067a2d 01:39:31 ---> 851cb85944e2 01:39:31 Step 12/26 : RUN $MAKE 01:39:31 ---> Running in a4a3cc0d285e 01:39:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 01:41:38 Removing intermediate container a4a3cc0d285e 01:41:38 ---> 1d9a53fc7536 01:41:38 Step 13/26 : FROM alpine:3.16 01:41:38 3.16: Pulling from library/alpine 01:41:38 3760b48202b3: Pulling fs layer 01:41:38 3760b48202b3: Verifying Checksum 01:41:38 3760b48202b3: Download complete 01:41:38 3760b48202b3: Pull complete 01:41:38 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:41:38 Status: Downloaded newer image for alpine:3.16 01:41:38 ---> 4c81e5bf8899 01:41:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:41:38 ---> Running in 493af7bc19d1 01:41:38 Removing intermediate container 493af7bc19d1 01:41:38 ---> 3e9274a87610 01:41:38 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 01:41:38 ---> Running in ab0428a61a89 01:41:38 Removing intermediate container ab0428a61a89 01:41:38 ---> 646a0369fb92 01:41:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 01:41:38 ---> Running in 8393c88eecbb 01:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:41:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:41:41 (1/2) Installing ca-certificates (20220614-r0) 01:41:41 (2/2) Installing dumb-init (1.2.5-r1) 01:41:41 Executing busybox-1.35.0-r17.trigger 01:41:41 Executing ca-certificates-20220614-r0.trigger 01:41:41 OK: 6 MiB in 16 packages 01:41:42 Removing intermediate container 8393c88eecbb 01:41:42 ---> a53a25888660 01:41:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:41:43 ---> 5ffebe473ea0 01:41:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 01:41:43 ---> 070984aea76f 01:41:43 Step 19/26 : COPY --from=builder /app/res/ /res/ 01:41:44 ---> 04b1bdcd5584 01:41:44 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 01:41:45 ---> 0d15a3f5e41b 01:41:45 Step 21/26 : EXPOSE 48095 01:41:45 ---> Running in b4bfee084e14 01:41:46 Removing intermediate container b4bfee084e14 01:41:46 ---> fdd56af2a6dd 01:41:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 01:41:46 ---> Running in a5bc0f924fba 01:41:46 Removing intermediate container a5bc0f924fba 01:41:46 ---> 9319531c03ea 01:41:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:41:46 ---> Running in 685eba842c69 01:41:46 Removing intermediate container 685eba842c69 01:41:46 ---> 11d0f9db1cad 01:41:46 Step 24/26 : LABEL arch=arm64 01:41:46 ---> Running in a5b286b5d1d5 01:41:47 Removing intermediate container a5b286b5d1d5 01:41:47 ---> fceac1d075cd 01:41:47 Step 25/26 : LABEL git_sha=4972b36fa19f1ba12e581e15ff311851134baf62 01:41:47 ---> Running in 53b8dc17deb3 01:41:47 Removing intermediate container 53b8dc17deb3 01:41:47 ---> 65352fba7844 01:41:47 Step 26/26 : LABEL version=0.0.0 01:41:47 ---> Running in 83972b530ab4 01:41:47 Removing intermediate container 83972b530ab4 01:41:47 ---> 60c8ea8a6872 01:41:47 [Warning] One or more build-args [ARCH] were not consumed 01:41:47 Successfully built 60c8ea8a6872 01:41:47 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 01:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:41:48 01:41:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:41:48 arm64: Pulling from edgex-lftools-log-publisher 01:41:48 8998bd30e6a1: Pulling fs layer 01:41:48 04944245beec: Pulling fs layer 01:41:48 699f458cf7ca: Pulling fs layer 01:41:48 765212b225bb: Pulling fs layer 01:41:48 f23df028b6ca: Pulling fs layer 01:41:48 d65c8cfc05b1: Pulling fs layer 01:41:48 2437ff75d9bd: Pulling fs layer 01:41:48 765212b225bb: Waiting 01:41:48 f23df028b6ca: Waiting 01:41:48 d65c8cfc05b1: Waiting 01:41:48 2437ff75d9bd: Waiting 01:41:49 04944245beec: Verifying Checksum 01:41:49 765212b225bb: Verifying Checksum 01:41:49 765212b225bb: Download complete 01:41:49 f23df028b6ca: Verifying Checksum 01:41:49 f23df028b6ca: Download complete 01:41:49 d65c8cfc05b1: Verifying Checksum 01:41:49 d65c8cfc05b1: Download complete 01:41:49 699f458cf7ca: Verifying Checksum 01:41:49 699f458cf7ca: Download complete 01:41:49 8998bd30e6a1: Download complete 01:41:51 2437ff75d9bd: Verifying Checksum 01:41:51 2437ff75d9bd: Download complete 01:41:53 8998bd30e6a1: Pull complete 01:41:53 04944245beec: Pull complete 01:41:55 699f458cf7ca: Pull complete 01:41:55 765212b225bb: Pull complete 01:41:56 f23df028b6ca: Pull complete 01:41:56 d65c8cfc05b1: Pull complete 01:42:11 2437ff75d9bd: Pull complete 01:42:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:11 prd-ubuntu20.04-docker-arm64-4c-16g-6543 does not seem to be running inside a container 01:42:11 $ 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 01:42:14 $ docker top fb089e5ee12df401cd2a32494d0ea8c3e950c61cc4739f081f6af7577228fafa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:15 ---> job-cost.sh 01:42:15 lf-activate-venv: SKIPPING 01:42:15 INFO: No Stack... 01:42:17 INFO: Retrieving Pricing Info for: v3-standard-4 01:42:17 INFO: Archiving Costs [Pipeline] sh 01:42:18 + + catcut /w/workspace/app-service-configurable/1/archives/cost.csv -d, 01:42:18 -f6 [Pipeline] lock 01:42:18 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] 01:42:18 Resource [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] did not exist. Created. 01:42:18 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:42:19 /w/workspace/app-service-configurable/1@tmp/durable-51d66381/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:42:19 + echo total: 0.10999999940395355 [Pipeline] stash 01:42:20 Warning: overwriting stash ‘stack-cost’ 01:42:20 Stashed 1 file(s) [Pipeline] } 01:42:20 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:42:20 $ docker stop --time=1 fb089e5ee12df401cd2a32494d0ea8c3e950c61cc4739f081f6af7577228fafa 01:42:21 $ docker rm -f --volumes fb089e5ee12df401cd2a32494d0ea8c3e950c61cc4739f081f6af7577228fafa [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 01:42:22 provisioning config files... 01:42:22 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-521@tmp/config12287176234383414034tmp [Pipeline] { [Pipeline] sh 01:42:22 + set +x 01:42:22 + + curlbash -s -s https://codecov.io/bash -- 01:42:22 01:42:22 01:42:22 _____ _ 01:42:22 / ____| | | 01:42:22 | | ___ __| | ___ ___ _____ __ 01:42:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:42:22 | |___| (_) | (_| | __/ (_| (_) \ V / 01:42:22 \_____\___/ \__,_|\___|\___\___/ \_/ 01:42:22 Bash-1.0.6 01:42:22 01:42:22 01:42:22 ==> git version 2.25.1 found 01:42:22 ==> 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 01:42:22 Release-Date: 2020-01-08 01:42:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:42:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:42:22 ==> Jenkins CI detected. 01:42:22 current dir:  /w/workspace/_app-service-configurable_PR-521 01:42:22 project root: . 01:42:22 --> token set from env 01:42:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:42:22 ==> Running gcov in . (disable via -X gcov) 01:42:22 ==> Python coveragepy not found 01:42:22 ==> Searching for coverage reports in: 01:42:22 + . 01:42:22 -> Found 1 reports 01:42:22 ==> Detecting git/mercurial file structure 01:42:22 ==> Reading reports 01:42:22 + ./coverage.out bytes=13 01:42:22 ==> Appending adjustments 01:42:22 https://docs.codecov.io/docs/fixing-reports 01:42:23 + Found adjustments 01:42:23 ==> Gzipping contents 01:42:23 4.0K /tmp/codecov.RnoKum.gz 01:42:23 ==> Uploading reports 01:42:23 url: https://codecov.io 01:42:23 query: branch=PR-521&commit=4972b36fa19f1ba12e581e15ff311851134baf62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=521&job=&cmd_args= 01:42:23 -> Pinging Codecov 01:42:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-521&commit=4972b36fa19f1ba12e581e15ff311851134baf62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=521&job=&cmd_args= 01:42:23 -> Uploading to 01:42:23 https://storage.googleapis.com/codecov/v4/raw/2023-02-18/A97CA9966030D2A3747ED39772930CCE/4972b36fa19f1ba12e581e15ff311851134baf62/f37839f9-e4ef-4ff9-8f37-721cd31b65ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230218T014223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4beb4f2acc4bd9c95b48ac17715b913b6e9ba33158e2bcd452b9195f4679871e 01:42:23 % Total % Received % Xferd Average Speed Time Time Time Current 01:42:23 Dload Upload Total Spent Left Speed 01:42:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2088 --:--:-- --:--:-- --:--:-- 2088 01:42:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4972b36fa19f1ba12e581e15ff311851134baf62 [Pipeline] } 01:42:23 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 01:42:25 + [ -d /w/workspace/_app-service-configurable_PR-521/archives ] 01:42:25 + ls -al /w/workspace/_app-service-configurable_PR-521/archives 01:42:25 total 16 01:42:25 drwxr-xr-x 3 root root 4096 Feb 18 01:31 . 01:42:25 drwxrwxr-x 9 jenkins jenkins 4096 Feb 18 01:31 .. 01:42:25 drwxr-xr-x 2 root root 4096 Feb 18 01:31 cost 01:42:25 -rw-r--r-- 1 root root 96 Feb 18 01:31 cost.csv 01:42:25 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-521/archives 01:42:25 + ls -al /w/workspace/_app-service-configurable_PR-521/archives 01:42:25 total 16 01:42:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 01:31 . 01:42:25 drwxrwxr-x 9 jenkins jenkins 4096 Feb 18 01:31 .. 01:42:25 drwxr-xr-x 2 jenkins jenkins 4096 Feb 18 01:31 cost 01:42:25 -rw-r--r-- 1 jenkins jenkins 96 Feb 18 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:42:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:42:26 ---> package-listing.sh 01:42:26 ++ facter osfamily 01:42:26 ++ tr '[:upper:]' '[:lower:]' 01:42:26 + OS_FAMILY=debian 01:42:26 + workspace=/w/workspace/_app-service-configurable_PR-521 01:42:26 + START_PACKAGES=/tmp/packages_start.txt 01:42:26 + END_PACKAGES=/tmp/packages_end.txt 01:42:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:42:26 + PACKAGES=/tmp/packages_start.txt 01:42:26 + '[' /w/workspace/_app-service-configurable_PR-521 ']' 01:42:26 + PACKAGES=/tmp/packages_end.txt 01:42:26 + case "${OS_FAMILY}" in 01:42:26 + dpkg -l 01:42:26 + grep '^ii' 01:42:26 + '[' -f /tmp/packages_start.txt ']' 01:42:26 + '[' -f /tmp/packages_end.txt ']' 01:42:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:42:26 + '[' /w/workspace/_app-service-configurable_PR-521 ']' 01:42:26 + mkdir -p /w/workspace/_app-service-configurable_PR-521/archives/ 01:42:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-521/archives/ [Pipeline] echo 01:42:26 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-521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:42:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:27 prd-ubuntu20.04-docker-8c-8g-6539 does not seem to be running inside a container 01:42:27 $ 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-521/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-521 -v /w/workspace/_app-service-configurable_PR-521:/w/workspace/_app-service-configurable_PR-521:rw,z -v /w/workspace/_app-service-configurable_PR-521@tmp:/w/workspace/_app-service-configurable_PR-521@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 01:42:27 $ docker top 4466bdd553824599788145682df7510c7ad81f7a60f46cac85f0f5433a433dbe -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:28 + touch /tmp/pre-build-complete [Pipeline] sh 01:42:28 + mkdir -p /var/log/sysstat [Pipeline] sh 01:42:28 + ls /var/log/sa-host 01:42:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:42:29 provisioning config files... 01:42:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-521@tmp/config18027858221215071415tmp [Pipeline] { [Pipeline] echo 01:42:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:42:29 ---> create-netrc.sh [Pipeline] } 01:42:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:42:29 ---> python-tools-install.sh [Pipeline] echo 01:42:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:42:30 ---> sudo-logs.sh 01:42:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:42:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:42:30 ---> job-cost.sh 01:42:30 lf-activate-venv: SKIPPING 01:42:30 DEBUG: total: 0.2199999988079071 01:42:30 INFO: Retrieving Stack Cost... 01:42:31 INFO: Retrieving Pricing Info for: v3-standard-8 01:42:31 INFO: Archiving Costs [Pipeline] echo 01:42:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:42:31 ---> logs-deploy.sh 01:42:31 lf-activate-venv: SKIPPING 01:42:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-521/1 01:42:31 INFO: archiving workspace using pattern(s): 01:42:32 Archives upload complete. 01:42:32 INFO: archiving logs to Nexus