Pull request #495 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 9410338ccdf44824c4767a2b272f30ba0791cf70+81155725a5f06c8bb273014f4819830b182344da (eb7e09b077cc0288c937c8381f16ade02ff3d80d) 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-ssh14386937243035714260.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-ssh15987180162146872805.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-495/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-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15965857577311043721.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-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5353743385587791582.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-ssh18363042554120273521.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-495/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-495/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16296747495958905773.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1139 in /w/workspace/_app-service-configurable_PR-495 [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-495 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 81155725a5f06c8bb273014f4819830b182344da into PR head commit 9410338ccdf44824c4767a2b272f30ba0791cf70 Merge succeeded, producing 9410338ccdf44824c4767a2b272f30ba0791cf70 Checking out Revision 9410338ccdf44824c4767a2b272f30ba0791cf70 (PR-495) > 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/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9410338ccdf44824c4767a2b272f30ba0791cf70 # 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 81155725a5f06c8bb273014f4819830b182344da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9410338ccdf44824c4767a2b272f30ba0791cf70 # timeout=10 Commit message: "refactor: Remove use of Compress function in sample profile due to issues" 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 21:07:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:38 ========================================================= 21:07:38 EdgeX Global Pipelines Version Info 21:07:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:38 ------------------- 21:07:38 stable info: 21:07:38 ------------------- 21:07:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:07:38 Message: update stable to v1.0.244 21:07:39 ------------------- 21:07:39 experimental info: 21:07:39 ------------------- 21:07:39 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:07:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 21:07:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 21:07:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-495 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-495 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-495 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9410338ccdf44824c4767a2b272f30ba0791cf70 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9410338 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:41 provisioning config files... 21:07:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-495@tmp/config12855165557873287544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:41 ---> docker-login.sh 21:07:41 nexus3.edgexfoundry.org:10001 21:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:41 Configure a credential helper to remove this warning. See 21:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:41 21:07:41 Login Succeeded 21:07:41 nexus3.edgexfoundry.org:10002 21:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10003 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10004 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 docker.io 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 ---> docker-login.sh ends [Pipeline] } 21:07:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:43 + git rev-list -1 --merges 9410338ccdf44824c4767a2b272f30ba0791cf70~1..9410338ccdf44824c4767a2b272f30ba0791cf70 [Pipeline] echo 21:07:43 -----------> git rev-list -1 --merges 9410338ccdf44824c4767a2b272f30ba0791cf70~1..9410338ccdf44824c4767a2b272f30ba0791cf70 9410338ccdf44824c4767a2b272f30ba0791cf70 [false] [Pipeline] sh 21:07:43 + git log --format=format:%s -1 9410338ccdf44824c4767a2b272f30ba0791cf70 [Pipeline] echo 21:07:43 ========================================================= 21:07:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:44 + git log --format=format:%s -1 9410338ccdf44824c4767a2b272f30ba0791cf70 [Pipeline] echo 21:07:44 [semverPrep] GIT_COMMIT: 9410338ccdf44824c4767a2b272f30ba0791cf70, Commit Message: refactor: Remove use of Compress function in sample profile due to issues [Pipeline] echo 21:07:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:44 + grep -v github /etc/ssh/ssh_known_hosts 21:07:44 + [ -e /tmp/ssh_known_hosts ] 21:07:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:44 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:44 21:07:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:45 b85a868b505f: Pulling fs layer 21:07:45 e2be974225ed: Pulling fs layer 21:07:45 339a4e72a1f5: Pulling fs layer 21:07:45 988bab9f4d93: Pulling fs layer 21:07:45 1469e6f7b9e6: Pulling fs layer 21:07:45 eaf3925da568: Pulling fs layer 21:07:45 bab4dde63d76: Pulling fs layer 21:07:45 bde34c3a00c8: Pulling fs layer 21:07:45 b352a97aabf1: Pulling fs layer 21:07:45 4872d77fe225: Pulling fs layer 21:07:45 5851b861e8e6: Pulling fs layer 21:07:45 bab4dde63d76: Waiting 21:07:45 4872d77fe225: Waiting 21:07:45 5851b861e8e6: Waiting 21:07:45 bde34c3a00c8: Waiting 21:07:45 b352a97aabf1: Waiting 21:07:45 988bab9f4d93: Waiting 21:07:45 1469e6f7b9e6: Waiting 21:07:45 eaf3925da568: Waiting 21:07:45 988bab9f4d93: Download complete 21:07:45 1469e6f7b9e6: Verifying Checksum 21:07:45 1469e6f7b9e6: Download complete 21:07:45 eaf3925da568: Download complete 21:07:45 339a4e72a1f5: Verifying Checksum 21:07:45 339a4e72a1f5: Download complete 21:07:45 bde34c3a00c8: Verifying Checksum 21:07:45 bde34c3a00c8: Download complete 21:07:45 b352a97aabf1: Download complete 21:07:45 4872d77fe225: Verifying Checksum 21:07:45 4872d77fe225: Download complete 21:07:45 5851b861e8e6: Verifying Checksum 21:07:45 5851b861e8e6: Download complete 21:07:45 b85a868b505f: Verifying Checksum 21:07:45 b85a868b505f: Download complete 21:07:46 bab4dde63d76: Verifying Checksum 21:07:46 bab4dde63d76: Download complete 21:07:46 b85a868b505f: Pull complete 21:07:46 e2be974225ed: Pull complete 21:07:47 339a4e72a1f5: Pull complete 21:07:47 988bab9f4d93: Pull complete 21:07:47 1469e6f7b9e6: Pull complete 21:07:47 eaf3925da568: Pull complete 21:07:49 bab4dde63d76: Pull complete 21:07:49 bde34c3a00c8: Pull complete 21:07:49 b352a97aabf1: Pull complete 21:07:49 4872d77fe225: Pull complete 21:07:49 5851b861e8e6: Pull complete 21:07:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:49 prd-ubuntu20.04-docker-8c-8g-1139 does not seem to be running inside a container 21:07:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-495 -v /w/workspace/_app-service-configurable_PR-495:/w/workspace/_app-service-configurable_PR-495:rw,z -v /w/workspace/_app-service-configurable_PR-495@tmp:/w/workspace/_app-service-configurable_PR-495@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-devops/py-git-semver:0.1.4 cat 21:07:51 $ docker top 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 -eo pid,comm 21:07:51 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). 21:07:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:51 [ssh-agent] Looking for ssh-agent implementation... 21:07:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:51 $ docker exec 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 ssh-agent 21:07:51 SSH_AUTH_SOCK=/tmp/ssh-okujD6JiQhIA/agent.32 21:07:51 SSH_AGENT_PID=38 21:07:51 Running ssh-add (command line suppressed) 21:07:51 Identity added: /w/workspace/_app-service-configurable_PR-495@tmp/private_key_14679722818810001828.key (/w/workspace/_app-service-configurable_PR-495@tmp/private_key_14679722818810001828.key) 21:07:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:52 + git tag --points-at HEAD [Pipeline] } 21:07:52 $ docker exec --env ******** --env ******** 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 ssh-agent -k 21:07:52 unset SSH_AUTH_SOCK; 21:07:52 unset SSH_AGENT_PID; 21:07:52 echo Agent pid 38 killed; 21:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:52 [ssh-agent] Looking for ssh-agent implementation... 21:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:52 $ docker exec 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 ssh-agent 21:07:52 SSH_AUTH_SOCK=/tmp/ssh-nNXrn4v4RLO8/agent.69 21:07:52 SSH_AGENT_PID=75 21:07:52 Running ssh-add (command line suppressed) 21:07:52 Identity added: /w/workspace/_app-service-configurable_PR-495@tmp/private_key_1384677888927387064.key (/w/workspace/_app-service-configurable_PR-495@tmp/private_key_1384677888927387064.key) 21:07:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:52 + git semver init 21:07:53 2023-01-04 21:07:53,080 [run_init] DEBUG init version:0.0.0 force:False 21:07:53 2023-01-04 21:07:53,080 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-495/.semver 21:07:53 2023-01-04 21:07:53,081 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-495/.semver 21:07:53 2023-01-04 21:07:53,081 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-495/.semver'], cwd=/w/workspace/_app-service-configurable_PR-495, universal_newlines=False, shell=None, istream=None) 21:07:54 2023-01-04 21:07:54,002 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-495/.git/info/exclude 21:07:54 2023-01-04 21:07:54,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-495/.semver/PR-495 with force:False 21:07:54 2023-01-04 21:07:54,003 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-495/.semver/PR-495 21:07:54 2023-01-04 21:07:54,007 [execute] INFO git cat-file --batch-check 21:07:54 2023-01-04 21:07:54,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-495/.semver, universal_newlines=False, shell=None, istream=) 21:07:54 2023-01-04 21:07:54,012 [execute] INFO git cat-file --batch 21:07:54 2023-01-04 21:07:54,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-495/.semver, universal_newlines=False, shell=None, istream=) 21:07:54 2023-01-04 21:07:54,017 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-495/.semver/PR-495 21:07:54 0.0.0 [Pipeline] } 21:07:54 $ docker exec --env ******** --env ******** 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 ssh-agent -k 21:07:54 unset SSH_AUTH_SOCK; 21:07:54 unset SSH_AGENT_PID; 21:07:54 echo Agent pid 75 killed; 21:07:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:54 + git semver [Pipeline] } 21:07:54 $ docker stop --time=1 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 21:07:56 $ docker rm -f --volumes 94ba7d6459bbd48221e9f5bf361b16fb01d9667ba76ae300633c57d7a638c124 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:56 Stashed 1 file(s) [Pipeline] echo 21:07:56 [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 21:07:57 provisioning config files... 21:07:57 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-495@tmp/config18119917328527808520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:57 ---> docker-login.sh 21:07:57 nexus3.edgexfoundry.org:10001 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10002 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10003 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 nexus3.edgexfoundry.org:10004 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 docker.io 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 ---> docker-login.sh ends [Pipeline] } 21:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:58 ========================================================= 21:07:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:07:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:59 + 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 . 21:07:59 Sending build context to Docker daemon 3.206MB 21:07:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:07:59 Step 2/12 : FROM ${BASE} AS builder 21:07:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:59 213ec9aee27d: Pulling fs layer 21:07:59 4583459ba037: Pulling fs layer 21:07:59 93c1e223e6f2: Pulling fs layer 21:07:59 53926ce57604: Pulling fs layer 21:07:59 21b2b0c7a3f4: Pulling fs layer 21:07:59 22ff95d597cd: Pulling fs layer 21:07:59 12d6caf4c0d1: Pulling fs layer 21:07:59 96b7cbca73a9: Pulling fs layer 21:07:59 a7acece74701: Pulling fs layer 21:07:59 53926ce57604: Waiting 21:07:59 12d6caf4c0d1: Waiting 21:07:59 96b7cbca73a9: Waiting 21:07:59 22ff95d597cd: Waiting 21:07:59 a7acece74701: Waiting 21:07:59 93c1e223e6f2: Verifying Checksum 21:07:59 93c1e223e6f2: Download complete 21:07:59 4583459ba037: Download complete 21:07:59 21b2b0c7a3f4: Verifying Checksum 21:07:59 21b2b0c7a3f4: Download complete 21:07:59 22ff95d597cd: Download complete 21:07:59 213ec9aee27d: Verifying Checksum 21:07:59 213ec9aee27d: Download complete 21:07:59 12d6caf4c0d1: Verifying Checksum 21:07:59 12d6caf4c0d1: Download complete 21:07:59 213ec9aee27d: Pull complete 21:07:59 4583459ba037: Pull complete 21:07:59 93c1e223e6f2: Pull complete 21:07:59 96b7cbca73a9: Verifying Checksum 21:07:59 a7acece74701: Verifying Checksum 21:07:59 a7acece74701: Download complete 21:07:59 53926ce57604: Verifying Checksum 21:07:59 53926ce57604: Download complete 21:08:03 53926ce57604: Pull complete 21:08:03 21b2b0c7a3f4: Pull complete 21:08:03 22ff95d597cd: Pull complete 21:08:03 12d6caf4c0d1: Pull complete 21:08:05 96b7cbca73a9: Pull complete 21:08:05 a7acece74701: Pull complete 21:08:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:08:05 ---> db6d94c90886 21:08:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:08:08 ---> Running in b0ffd3b5c4ae 21:08:08 Removing intermediate container b0ffd3b5c4ae 21:08:08 ---> 0f9296ac866b 21:08:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:08:08 ---> Running in 84c6a317936a 21:08:08 Removing intermediate container 84c6a317936a 21:08:08 ---> 73121e10b79e 21:08:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:08:08 ---> Running in 25814389f286 21:08:08 Removing intermediate container 25814389f286 21:08:08 ---> fa3718ff0388 21:08:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:08 ---> Running in c8b5726cb804 21:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:08:09 OK: 211 MiB in 51 packages 21:08:09 Removing intermediate container c8b5726cb804 21:08:09 ---> af07c642da52 21:08:09 Step 7/12 : WORKDIR /app 21:08:09 ---> Running in ecc72e2d5e05 21:08:09 Removing intermediate container ecc72e2d5e05 21:08:09 ---> 310a29ec5cc1 21:08:09 Step 8/12 : COPY go.mod vendor* ./ 21:08:09 ---> a2664cf79a54 21:08:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:09 ---> Running in c6c8897994bf 21:08:12 Still waiting to schedule task 21:08:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:08:27 Removing intermediate container c6c8897994bf 21:08:27 ---> 28f2234160b6 21:08:27 Step 10/12 : COPY . . 21:08:27 ---> fffc45849f3d 21:08:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:27 ---> Running in 1218f93993ea 21:08:27 Removing intermediate container 1218f93993ea 21:08:27 ---> 290d1fbd14cc 21:08:27 Step 12/12 : RUN $MAKE 21:08:27 ---> Running in 853b56f5c583 21:08:27 noop 21:08:27 Removing intermediate container 853b56f5c583 21:08:27 ---> a1ecff75a86a 21:08:27 Successfully built a1ecff75a86a 21:08:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:28 + docker inspect -f . ci-base-image-x86_64 21:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:28 prd-ubuntu20.04-docker-8c-8g-1139 does not seem to be running inside a container 21:08:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-495 -v /w/workspace/_app-service-configurable_PR-495:/w/workspace/_app-service-configurable_PR-495:rw,z -v /w/workspace/_app-service-configurable_PR-495@tmp:/w/workspace/_app-service-configurable_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:28 $ docker top 06aa6d6c154c9f18ac212a223ee14552d0138d0ef07222cd994c16aa4a604bba -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:29 + go version 21:08:29 go version go1.18.7 linux/amd64 [Pipeline] } 21:08:29 $ docker stop --time=1 06aa6d6c154c9f18ac212a223ee14552d0138d0ef07222cd994c16aa4a604bba 21:08:30 $ docker rm -f --volumes 06aa6d6c154c9f18ac212a223ee14552d0138d0ef07222cd994c16aa4a604bba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:31 + docker inspect -f . ci-base-image-x86_64 21:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:31 prd-ubuntu20.04-docker-8c-8g-1139 does not seem to be running inside a container 21:08:31 $ 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-495 -v /w/workspace/_app-service-configurable_PR-495:/w/workspace/_app-service-configurable_PR-495:rw,z -v /w/workspace/_app-service-configurable_PR-495@tmp:/w/workspace/_app-service-configurable_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:31 $ docker top f6875ed33a09acab8513a238d5a371d357b02c3a3bb0dbe039d2c9d26c26c788 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:32 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-495 [Pipeline] fileExists [Pipeline] sh 21:08:32 + make test 21:08:32 go test -race -coverprofile=coverage.out ./... 21:08:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:08:54 go vet ./... 21:09:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:01 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:01 $ docker stop --time=1 f6875ed33a09acab8513a238d5a371d357b02c3a3bb0dbe039d2c9d26c26c788 21:09:03 $ docker rm -f --volumes f6875ed33a09acab8513a238d5a371d357b02c3a3bb0dbe039d2c9d26c26c788 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:05 + ls -al . 21:09:05 total 184 21:09:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 21:08 . 21:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 21:07 .. 21:09:05 -rw-rw-r-- 1 jenkins jenkins 119 Jan 4 21:07 .dockerignore 21:09:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 21:07 .git 21:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 21:07 .github 21:09:05 -rw-rw-r-- 1 jenkins jenkins 171 Jan 4 21:07 .gitignore 21:09:05 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 21:07 .semver 21:09:05 -rw-rw-r-- 1 jenkins jenkins 9207 Jan 4 21:07 Attribution.txt 21:09:05 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 4 21:07 CHANGELOG.md 21:09:05 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 4 21:07 Dockerfile 21:09:05 -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 21:07 GOVERNANCE.md 21:09:05 -rw-rw-r-- 1 jenkins jenkins 688 Jan 4 21:07 Jenkinsfile 21:09:05 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 4 21:07 LICENSE 21:09:05 -rw-rw-r-- 1 jenkins jenkins 618 Jan 4 21:07 OWNERS.md 21:09:05 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 4 21:07 README.md 21:09:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 21:07 VERSION 21:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 21:07 bin 21:09:05 -rw-r--r-- 1 jenkins jenkins 13 Jan 4 21:08 coverage.out 21:09:05 -rw-rw-r-- 1 jenkins jenkins 3396 Jan 4 21:07 go.mod 21:09:05 -rw-rw-r-- 1 jenkins jenkins 44230 Jan 4 21:07 go.sum 21:09:05 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 4 21:07 main.go 21:09:05 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 4 21:07 makefile 21:09:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 21:07 res 21:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 21:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:05 + 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=9410338ccdf44824c4767a2b272f30ba0791cf70 --label arch=amd64 --label version=0.0.0 . 21:09:05 Sending build context to Docker daemon 3.207MB 21:09:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:09:05 Step 2/26 : FROM ${BASE} AS builder 21:09:05 ---> a1ecff75a86a 21:09:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:09:05 ---> Running in 601493f5234f 21:09:05 Removing intermediate container 601493f5234f 21:09:05 ---> d95b230e8946 21:09:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:09:05 ---> Running in bfcd4fd0b70e 21:09:05 Removing intermediate container bfcd4fd0b70e 21:09:05 ---> e0331faeac9a 21:09:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:09:05 ---> Running in ba0e90e099f0 21:09:05 Removing intermediate container ba0e90e099f0 21:09:05 ---> b396eaf1b09b 21:09:05 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:05 ---> Running in 8931dce72de9 21:09:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:09:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:09:06 OK: 211 MiB in 51 packages 21:09:06 Removing intermediate container 8931dce72de9 21:09:06 ---> 9ba9795f5feb 21:09:06 Step 7/26 : WORKDIR /app 21:09:06 ---> Running in 6bd3ca76157d 21:09:06 Removing intermediate container 6bd3ca76157d 21:09:06 ---> 387bd90331e7 21:09:06 Step 8/26 : COPY go.mod vendor* ./ 21:09:06 ---> 194d62c19c74 21:09:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:06 ---> Running in 4a71d5bc7a07 21:09:07 Removing intermediate container 4a71d5bc7a07 21:09:07 ---> 0d7ecbc577a8 21:09:07 Step 10/26 : COPY . . 21:09:07 ---> 1d29a8fe178a 21:09:07 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:07 ---> Running in b7b760c283fe 21:09:07 Removing intermediate container b7b760c283fe 21:09:07 ---> 526cb51e7239 21:09:07 Step 12/26 : RUN $MAKE 21:09:07 ---> Running in 29c7630f6758 21:09:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:09:26 Removing intermediate container 29c7630f6758 21:09:26 ---> b421955fa9fc 21:09:26 Step 13/26 : FROM alpine:3.16 21:09:26 3.16: Pulling from library/alpine 21:09:26 ca7dd9ec2225: Pulling fs layer 21:09:26 ca7dd9ec2225: Verifying Checksum 21:09:26 ca7dd9ec2225: Download complete 21:09:26 ca7dd9ec2225: Pull complete 21:09:26 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:09:26 Status: Downloaded newer image for alpine:3.16 21:09:26 ---> bfe296a52501 21:09:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:09:26 ---> Running in c64ef6c5ffc8 21:09:26 Removing intermediate container c64ef6c5ffc8 21:09:26 ---> 542646583b5d 21:09:26 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:09:26 ---> Running in 4dbdd62979cd 21:09:26 Removing intermediate container 4dbdd62979cd 21:09:26 ---> 45763eab6c52 21:09:26 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:09:26 ---> Running in 84c07af818a2 21:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:09:26 (1/2) Installing ca-certificates (20220614-r0) 21:09:26 (2/2) Installing dumb-init (1.2.5-r1) 21:09:26 Executing busybox-1.35.0-r17.trigger 21:09:26 Executing ca-certificates-20220614-r0.trigger 21:09:26 OK: 6 MiB in 16 packages 21:09:26 Removing intermediate container 84c07af818a2 21:09:26 ---> ddc97d0b8c09 21:09:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:09:26 ---> 042dbf8f7ef2 21:09:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:09:26 ---> 1d6231c6adbb 21:09:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:09:27 ---> 97d93fbced89 21:09:27 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:09:27 ---> 943573fba57d 21:09:27 Step 21/26 : EXPOSE 48095 21:09:27 ---> Running in 69a580f03eb3 21:09:27 Removing intermediate container 69a580f03eb3 21:09:27 ---> 50a3a6939985 21:09:27 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:09:27 ---> Running in 09f4c439728b 21:09:27 Removing intermediate container 09f4c439728b 21:09:27 ---> 6ee27a985d9b 21:09:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:27 ---> Running in 121c1e00321e 21:09:27 Removing intermediate container 121c1e00321e 21:09:27 ---> baf7a2e5c947 21:09:27 Step 24/26 : LABEL arch=amd64 21:09:27 ---> Running in f2685855f6e0 21:09:27 Removing intermediate container f2685855f6e0 21:09:27 ---> 6293772465d8 21:09:27 Step 25/26 : LABEL git_sha=9410338ccdf44824c4767a2b272f30ba0791cf70 21:09:27 ---> Running in 47789bab944e 21:09:27 Removing intermediate container 47789bab944e 21:09:27 ---> 86bc3f8745e6 21:09:27 Step 26/26 : LABEL version=0.0.0 21:09:27 ---> Running in a17a93f726a7 21:09:27 Removing intermediate container a17a93f726a7 21:09:27 ---> 4f3766e2879c 21:09:27 [Warning] One or more build-args [ARCH] were not consumed 21:09:27 Successfully built 4f3766e2879c 21:09:27 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 21:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:28 21:09:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:29 latest: Pulling from edgex-lftools-log-publisher 21:09:29 5eb5b503b376: Pulling fs layer 21:09:29 5c69ac0246d0: Pulling fs layer 21:09:29 ec43610c2a17: Pulling fs layer 21:09:29 3a2ae6a8a46f: Pulling fs layer 21:09:29 33b1e0a273af: Pulling fs layer 21:09:29 5d3b04190fa2: Pulling fs layer 21:09:29 2f39f015ded8: Pulling fs layer 21:09:29 33b1e0a273af: Waiting 21:09:29 5d3b04190fa2: Waiting 21:09:29 3a2ae6a8a46f: Waiting 21:09:29 2f39f015ded8: Waiting 21:09:29 5c69ac0246d0: Verifying Checksum 21:09:29 5c69ac0246d0: Download complete 21:09:29 3a2ae6a8a46f: Download complete 21:09:29 ec43610c2a17: Verifying Checksum 21:09:29 ec43610c2a17: Download complete 21:09:29 33b1e0a273af: Verifying Checksum 21:09:29 33b1e0a273af: Download complete 21:09:29 5d3b04190fa2: Verifying Checksum 21:09:29 5d3b04190fa2: Download complete 21:09:29 5eb5b503b376: Verifying Checksum 21:09:29 5eb5b503b376: Download complete 21:09:30 2f39f015ded8: Download complete 21:09:30 5eb5b503b376: Pull complete 21:09:30 5c69ac0246d0: Pull complete 21:09:30 ec43610c2a17: Pull complete 21:09:30 3a2ae6a8a46f: Pull complete 21:09:31 33b1e0a273af: Pull complete 21:09:31 5d3b04190fa2: Pull complete 21:09:35 2f39f015ded8: Pull complete 21:09:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:35 prd-ubuntu20.04-docker-8c-8g-1139 does not seem to be running inside a container 21:09:35 $ 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-495 -v /w/workspace/_app-service-configurable_PR-495:/w/workspace/_app-service-configurable_PR-495:rw,z -v /w/workspace/_app-service-configurable_PR-495@tmp:/w/workspace/_app-service-configurable_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:37 $ docker top 04d6e43a112e228619bf7f433a5f9840909c923b4ea205b7d5b9018e1e0397dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:38 ---> job-cost.sh 21:09:38 lf-activate-venv: SKIPPING 21:09:38 INFO: No Stack... 21:09:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:38 INFO: Archiving Costs [Pipeline] sh 21:09:39 + cat /w/workspace/_app-service-configurable_PR-495/archives/cost.csv 21:09:39 + cut -d, -f6 [Pipeline] lock 21:09:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] 21:09:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] did not exist. Created. 21:09:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:39 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:39 Stashed 1 file(s) [Pipeline] } 21:09:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:39 $ docker stop --time=1 04d6e43a112e228619bf7f433a5f9840909c923b4ea205b7d5b9018e1e0397dd 21:09:40 $ docker rm -f --volumes 04d6e43a112e228619bf7f433a5f9840909c923b4ea205b7d5b9018e1e0397dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1140 in /w/workspace/_app-service-configurable_PR-495 [Pipeline] { [Pipeline] ws 21:09:43 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 21:09:43 Selected Git installation does not exist. Using Default 21:09:43 The recommended git tool is: NONE 21:09:48 using credential edgex-jenkins-ssh 21:09:48 Cloning the remote Git repository 21:09:48 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:09:48 > git init /w/workspace/app-service-configurable/1 # timeout=10 21:09:48 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:09:48 > git --version # timeout=10 21:09:48 > git --version # 'git version 2.25.1' 21:09:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:09:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:51 Merging remotes/origin/main commit 81155725a5f06c8bb273014f4819830b182344da into PR head commit 9410338ccdf44824c4767a2b272f30ba0791cf70 21:09:51 Merge succeeded, producing 9410338ccdf44824c4767a2b272f30ba0791cf70 21:09:51 Checking out Revision 9410338ccdf44824c4767a2b272f30ba0791cf70 (PR-495) 21:09:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:09:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:09:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:09:51 > git config core.sparsecheckout # timeout=10 21:09:51 > git checkout -f 9410338ccdf44824c4767a2b272f30ba0791cf70 # timeout=10 21:09:51 > git remote # timeout=10 21:09:51 > git config --get remote.origin.url # timeout=10 21:09:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:51 > git merge 81155725a5f06c8bb273014f4819830b182344da # timeout=10 21:09:51 > git rev-parse HEAD^{commit} # timeout=10 21:09:51 > git config core.sparsecheckout # timeout=10 21:09:51 > git checkout -f 9410338ccdf44824c4767a2b272f30ba0791cf70 # timeout=10 21:09:55 Commit message: "refactor: Remove use of Compress function in sample profile due to issues" 21:09:55 > git --version # timeout=10 21:09:55 > git --version # 'git version 2.25.1' 21:09:55 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:09:56 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:56 Dload Upload Total Spent Left Speed 21:09:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 21:09:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:09:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:09:57 + sudo tee /etc/docker/daemon.new 21:09:57 { 21:09:57 "registry-mirrors": [ 21:09:57 "https://nexus3.edgexfoundry.org:10001" 21:09:57 ], 21:09:57 "bip": "10.250.0.254/24", 21:09:57 "hosts": [ 21:09:57 "tcp://0.0.0.0:5555", 21:09:57 "unix:///var/run/docker.sock" 21:09:57 ], 21:09:57 "mtu": 1458, 21:09:57 "selinux-enabled": true, 21:09:57 "seccomp-profile": "/etc/docker/seccomp.json" 21:09:57 } [Pipeline] sh 21:09:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:09:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:16 provisioning config files... 21:10:16 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1718302513448316082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:16 ---> docker-login.sh 21:10:16 nexus3.edgexfoundry.org:10001 21:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:17 Configure a credential helper to remove this warning. See 21:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:17 21:10:17 Login Succeeded 21:10:17 nexus3.edgexfoundry.org:10002 21:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:17 Configure a credential helper to remove this warning. See 21:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:17 21:10:17 Login Succeeded 21:10:17 nexus3.edgexfoundry.org:10003 21:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:18 Configure a credential helper to remove this warning. See 21:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:18 21:10:18 Login Succeeded 21:10:18 nexus3.edgexfoundry.org:10004 21:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:18 Configure a credential helper to remove this warning. See 21:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:18 21:10:18 Login Succeeded 21:10:18 docker.io 21:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:19 Configure a credential helper to remove this warning. See 21:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:19 21:10:19 Login Succeeded 21:10:19 ---> docker-login.sh ends [Pipeline] } 21:10:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:19 ========================================================= 21:10:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:10:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:20 + 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 . 21:10:20 Sending build context to Docker daemon 217.1kB 21:10:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:10:20 Step 2/12 : FROM ${BASE} AS builder 21:10:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:20 9b18e9b68314: Pulling fs layer 21:10:20 35d82f9e3411: Pulling fs layer 21:10:20 e16973657156: Pulling fs layer 21:10:20 fc693d55d65f: Pulling fs layer 21:10:20 7e9fc2657dce: Pulling fs layer 21:10:20 dda99020689f: Pulling fs layer 21:10:20 db1c61fa0a46: Pulling fs layer 21:10:20 891c053d2c06: Pulling fs layer 21:10:20 fc693d55d65f: Waiting 21:10:20 7e9fc2657dce: Waiting 21:10:20 dda99020689f: Waiting 21:10:20 db1c61fa0a46: Waiting 21:10:20 891c053d2c06: Waiting 21:10:20 e16973657156: Verifying Checksum 21:10:20 e16973657156: Download complete 21:10:20 35d82f9e3411: Verifying Checksum 21:10:20 35d82f9e3411: Download complete 21:10:20 7e9fc2657dce: Download complete 21:10:20 dda99020689f: Verifying Checksum 21:10:20 dda99020689f: Download complete 21:10:20 9b18e9b68314: Download complete 21:10:21 9b18e9b68314: Pull complete 21:10:21 891c053d2c06: Verifying Checksum 21:10:21 891c053d2c06: Download complete 21:10:21 35d82f9e3411: Pull complete 21:10:22 e16973657156: Pull complete 21:10:22 db1c61fa0a46: Verifying Checksum 21:10:22 db1c61fa0a46: Download complete 21:10:23 fc693d55d65f: Verifying Checksum 21:10:23 fc693d55d65f: Download complete 21:10:35 fc693d55d65f: Pull complete 21:10:35 7e9fc2657dce: Pull complete 21:10:35 dda99020689f: Pull complete 21:10:40 db1c61fa0a46: Pull complete 21:10:42 891c053d2c06: Pull complete 21:10:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:10:42 ---> f96f9c87975a 21:10:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:10:44 ---> Running in 02c9c2e4ab29 21:10:44 Removing intermediate container 02c9c2e4ab29 21:10:44 ---> 324667cc350a 21:10:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:10:44 ---> Running in 54644a44126c 21:10:45 Removing intermediate container 54644a44126c 21:10:45 ---> 247f1b026eae 21:10:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:10:45 ---> Running in 03263d20ada0 21:10:45 Removing intermediate container 03263d20ada0 21:10:45 ---> 06841c55fff5 21:10:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:45 ---> Running in 1f622309f0f5 21:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:10:47 OK: 221 MiB in 51 packages 21:10:48 Removing intermediate container 1f622309f0f5 21:10:48 ---> 7dd856e00ddc 21:10:48 Step 7/12 : WORKDIR /app 21:10:48 ---> Running in 3e5e4f3796b0 21:10:49 Removing intermediate container 3e5e4f3796b0 21:10:49 ---> 55f58dcde907 21:10:49 Step 8/12 : COPY go.mod vendor* ./ 21:10:50 ---> bcaa49aec141 21:10:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:50 ---> Running in ad12774504bd 21:11:46 Removing intermediate container ad12774504bd 21:11:46 ---> b4035c8941ba 21:11:46 Step 10/12 : COPY . . 21:11:46 ---> d3e121e1705f 21:11:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:46 ---> Running in e74315acc0e6 21:11:46 Removing intermediate container e74315acc0e6 21:11:46 ---> 49464bc3d2b3 21:11:46 Step 12/12 : RUN $MAKE 21:11:46 ---> Running in 6f2efbb3a3a2 21:11:46 noop 21:11:46 Removing intermediate container 6f2efbb3a3a2 21:11:46 ---> 15fc11880a0d 21:11:46 Successfully built 15fc11880a0d 21:11:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:47 + docker inspect -f . ci-base-image-arm64 21:11:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:47 prd-ubuntu20.04-docker-arm64-4c-16g-1140 does not seem to be running inside a container 21:11:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:11:48 $ docker top 0e5861bfa34506f804a824705a49fbfb497fadd5df1073276e4b2c206072914a -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:49 + go version 21:11:49 go version go1.18.7 linux/arm64 [Pipeline] } 21:11:49 $ docker stop --time=1 0e5861bfa34506f804a824705a49fbfb497fadd5df1073276e4b2c206072914a 21:11:51 $ docker rm -f --volumes 0e5861bfa34506f804a824705a49fbfb497fadd5df1073276e4b2c206072914a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:52 + docker inspect -f . ci-base-image-arm64 21:11:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:52 prd-ubuntu20.04-docker-arm64-4c-16g-1140 does not seem to be running inside a container 21:11:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:11:53 $ docker top 4c4c5026f7da88b4ed4ea3566a2780734ad3313c5d567f4907126394d987c7f7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:54 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 21:11:55 + make test 21:11:55 go test -race -coverprofile=coverage.out ./... 21:14:01 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:14:01 go vet ./... 21:15:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:15:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:15:38 ./bin/test-attribution-txt.sh [Pipeline] echo 21:15:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:15:38 $ docker stop --time=1 4c4c5026f7da88b4ed4ea3566a2780734ad3313c5d567f4907126394d987c7f7 21:15:40 $ docker rm -f --volumes 4c4c5026f7da88b4ed4ea3566a2780734ad3313c5d567f4907126394d987c7f7 [Pipeline] // withDockerContainer [Pipeline] sh 21:15:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:15:41 Warning: overwriting stash ‘coverage-report’ 21:15:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:15:42 + ls -al . 21:15:42 total 180 21:15:42 drwxrwxr-x 7 jenkins jenkins 4096 Jan 4 21:11 . 21:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 21:09 .. 21:15:42 -rw-rw-r-- 1 jenkins jenkins 119 Jan 4 21:09 .dockerignore 21:15:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 21:09 .git 21:15:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 21:09 .github 21:15:42 -rw-rw-r-- 1 jenkins jenkins 171 Jan 4 21:09 .gitignore 21:15:42 -rw-rw-r-- 1 jenkins jenkins 9207 Jan 4 21:09 Attribution.txt 21:15:42 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 4 21:09 CHANGELOG.md 21:15:42 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 4 21:09 Dockerfile 21:15:42 -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 21:09 GOVERNANCE.md 21:15:42 -rw-rw-r-- 1 jenkins jenkins 688 Jan 4 21:09 Jenkinsfile 21:15:42 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 4 21:09 LICENSE 21:15:42 -rw-rw-r-- 1 jenkins jenkins 618 Jan 4 21:09 OWNERS.md 21:15:42 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 4 21:09 README.md 21:15:42 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 21:07 VERSION 21:15:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 21:09 bin 21:15:42 -rw-r--r-- 1 jenkins jenkins 13 Jan 4 21:11 coverage.out 21:15:42 -rw-rw-r-- 1 jenkins jenkins 3396 Jan 4 21:09 go.mod 21:15:42 -rw-rw-r-- 1 jenkins jenkins 44230 Jan 4 21:09 go.sum 21:15:42 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 4 21:09 main.go 21:15:42 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 4 21:09 makefile 21:15:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 21:09 res 21:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 21:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:43 + 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=9410338ccdf44824c4767a2b272f30ba0791cf70 --label arch=arm64 --label version=0.0.0 . 21:15:43 Sending build context to Docker daemon 218.1kB 21:15:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:15:43 Step 2/26 : FROM ${BASE} AS builder 21:15:43 ---> 15fc11880a0d 21:15:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:15:43 ---> Running in 5ac7bda41176 21:15:44 Removing intermediate container 5ac7bda41176 21:15:44 ---> 3b03ed890e88 21:15:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:15:44 ---> Running in 7bf53a1ca680 21:15:44 Removing intermediate container 7bf53a1ca680 21:15:44 ---> 3f7fa6fee3ea 21:15:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:15:44 ---> Running in 13987f7e55f1 21:15:44 Removing intermediate container 13987f7e55f1 21:15:44 ---> 17608ef74965 21:15:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:15:44 ---> Running in 3f57cf4908ad 21:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:15:47 OK: 221 MiB in 51 packages 21:15:50 Removing intermediate container 3f57cf4908ad 21:15:50 ---> dfb89a993501 21:15:50 Step 7/26 : WORKDIR /app 21:15:50 ---> Running in 1959f704e1e8 21:15:50 Removing intermediate container 1959f704e1e8 21:15:50 ---> f5d6e51df3e1 21:15:50 Step 8/26 : COPY go.mod vendor* ./ 21:15:51 ---> 6db65e57519f 21:15:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:51 ---> Running in 18eda6b6ee86 21:15:53 Removing intermediate container 18eda6b6ee86 21:15:53 ---> 982699e6f078 21:15:53 Step 10/26 : COPY . . 21:15:53 ---> 27805364ad3c 21:15:53 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:15:54 ---> Running in da56a3287856 21:15:54 Removing intermediate container da56a3287856 21:15:54 ---> 47c8045145bd 21:15:54 Step 12/26 : RUN $MAKE 21:15:54 ---> Running in 07bfbb980b72 21:15:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:18:02 Removing intermediate container 07bfbb980b72 21:18:02 ---> 637b3ff0557a 21:18:02 Step 13/26 : FROM alpine:3.16 21:18:02 3.16: Pulling from library/alpine 21:18:02 6875df1f5354: Pulling fs layer 21:18:02 6875df1f5354: Verifying Checksum 21:18:02 6875df1f5354: Download complete 21:18:02 6875df1f5354: Pull complete 21:18:02 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:18:02 Status: Downloaded newer image for alpine:3.16 21:18:02 ---> 2b4661558fb8 21:18:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:18:02 ---> Running in 18a860f8878c 21:18:02 Removing intermediate container 18a860f8878c 21:18:02 ---> a8820572b9ee 21:18:02 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:18:02 ---> Running in 12c5689ebae2 21:18:02 Removing intermediate container 12c5689ebae2 21:18:02 ---> 23585aa9b38e 21:18:02 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:18:02 ---> Running in 82a52e705fcd 21:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:18:02 (1/2) Installing ca-certificates (20220614-r0) 21:18:02 (2/2) Installing dumb-init (1.2.5-r1) 21:18:02 Executing busybox-1.35.0-r17.trigger 21:18:02 Executing ca-certificates-20220614-r0.trigger 21:18:02 OK: 6 MiB in 16 packages 21:18:02 Removing intermediate container 82a52e705fcd 21:18:02 ---> 23a0f5ab8949 21:18:02 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:18:02 ---> 162a9a6f762d 21:18:02 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:18:02 ---> 5313d70511f4 21:18:02 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:18:02 ---> d8906bf10b59 21:18:02 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:18:03 ---> 921eb61b3d88 21:18:03 Step 21/26 : EXPOSE 48095 21:18:03 ---> Running in 1a22f4935b29 21:18:03 Removing intermediate container 1a22f4935b29 21:18:03 ---> 33b918d03b80 21:18:03 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:18:03 ---> Running in 9953c6ea9b58 21:18:03 Removing intermediate container 9953c6ea9b58 21:18:03 ---> f0ca463587bd 21:18:03 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:18:04 ---> Running in a9cf10bd3088 21:18:04 Removing intermediate container a9cf10bd3088 21:18:04 ---> 6774b7bccde5 21:18:04 Step 24/26 : LABEL arch=arm64 21:18:04 ---> Running in bac7165ee7bb 21:18:04 Removing intermediate container bac7165ee7bb 21:18:04 ---> 7274734aca42 21:18:04 Step 25/26 : LABEL git_sha=9410338ccdf44824c4767a2b272f30ba0791cf70 21:18:04 ---> Running in e4032fd98f2f 21:18:05 Removing intermediate container e4032fd98f2f 21:18:05 ---> 4d515fd9b4f4 21:18:05 Step 26/26 : LABEL version=0.0.0 21:18:05 ---> Running in 119b16d6ab86 21:18:05 Removing intermediate container 119b16d6ab86 21:18:05 ---> 3c3c5e56f7fb 21:18:05 [Warning] One or more build-args [ARCH] were not consumed 21:18:05 Successfully built 3c3c5e56f7fb 21:18:05 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 21:18:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:06 21:18:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:06 arm64: Pulling from edgex-lftools-log-publisher 21:18:06 8998bd30e6a1: Pulling fs layer 21:18:06 04944245beec: Pulling fs layer 21:18:06 699f458cf7ca: Pulling fs layer 21:18:06 765212b225bb: Pulling fs layer 21:18:06 f23df028b6ca: Pulling fs layer 21:18:06 d65c8cfc05b1: Pulling fs layer 21:18:06 2437ff75d9bd: Pulling fs layer 21:18:06 765212b225bb: Waiting 21:18:06 f23df028b6ca: Waiting 21:18:06 d65c8cfc05b1: Waiting 21:18:06 2437ff75d9bd: Waiting 21:18:06 04944245beec: Verifying Checksum 21:18:06 04944245beec: Download complete 21:18:06 765212b225bb: Verifying Checksum 21:18:06 765212b225bb: Download complete 21:18:06 f23df028b6ca: Download complete 21:18:06 d65c8cfc05b1: Verifying Checksum 21:18:06 d65c8cfc05b1: Download complete 21:18:07 699f458cf7ca: Verifying Checksum 21:18:07 699f458cf7ca: Download complete 21:18:07 8998bd30e6a1: Verifying Checksum 21:18:07 8998bd30e6a1: Download complete 21:18:10 2437ff75d9bd: Verifying Checksum 21:18:10 2437ff75d9bd: Download complete 21:18:11 8998bd30e6a1: Pull complete 21:18:12 04944245beec: Pull complete 21:18:13 699f458cf7ca: Pull complete 21:18:13 765212b225bb: Pull complete 21:18:13 f23df028b6ca: Pull complete 21:18:14 d65c8cfc05b1: Pull complete 21:18:26 2437ff75d9bd: Pull complete 21:18:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:18:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:26 prd-ubuntu20.04-docker-arm64-4c-16g-1140 does not seem to be running inside a container 21:18:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:18:29 $ docker top d51e21795fe5e83019b1c9fdd523adee0453b1a8728b0b29c464094f0544f31d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:29 ---> job-cost.sh 21:18:29 lf-activate-venv: SKIPPING 21:18:29 INFO: No Stack... 21:18:30 INFO: Retrieving Pricing Info for: v3-standard-4 21:18:31 INFO: Archiving Costs [Pipeline] sh 21:18:31 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 21:18:31 + cut -d, -f6 [Pipeline] lock 21:18:31 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] 21:18:31 Resource [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] did not exist. Created. 21:18:31 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:18:32 /w/workspace/app-service-configurable/1@tmp/durable-1f56f340/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:18:32 + echo total: 0.10999999940395355 [Pipeline] stash 21:18:32 Warning: overwriting stash ‘stack-cost’ 21:18:32 Stashed 1 file(s) [Pipeline] } 21:18:32 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:18:32 $ docker stop --time=1 d51e21795fe5e83019b1c9fdd523adee0453b1a8728b0b29c464094f0544f31d 21:18:34 $ docker rm -f --volumes d51e21795fe5e83019b1c9fdd523adee0453b1a8728b0b29c464094f0544f31d [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 21:18:35 provisioning config files... 21:18:35 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-495@tmp/config3757467433593682776tmp [Pipeline] { [Pipeline] sh 21:18:35 + set +x 21:18:35 + + curl -s https://codecov.io/bash 21:18:35 bash -s -- 21:18:35 21:18:35 _____ _ 21:18:35 / ____| | | 21:18:35 | | ___ __| | ___ ___ _____ __ 21:18:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:18:35 | |___| (_) | (_| | __/ (_| (_) \ V / 21:18:35 \_____\___/ \__,_|\___|\___\___/ \_/ 21:18:35 Bash-1.0.6 21:18:35 21:18:35 21:18:35 ==> git version 2.25.1 found 21:18:35 ==> 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 21:18:35 Release-Date: 2020-01-08 21:18:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:18:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:18:35 ==> Jenkins CI detected. 21:18:35 current dir:  /w/workspace/_app-service-configurable_PR-495 21:18:35 project root: . 21:18:35 --> token set from env 21:18:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:18:35 ==> Running gcov in . (disable via -X gcov) 21:18:35 ==> Python coveragepy not found 21:18:35 ==> Searching for coverage reports in: 21:18:35 + . 21:18:35 -> Found 1 reports 21:18:35 ==> Detecting git/mercurial file structure 21:18:35 ==> Reading reports 21:18:35 + ./coverage.out bytes=13 21:18:35 ==> Appending adjustments 21:18:35 https://docs.codecov.io/docs/fixing-reports 21:18:35 + Found adjustments 21:18:35 ==> Gzipping contents 21:18:35 4.0K /tmp/codecov.zXn2gL.gz 21:18:35 ==> Uploading reports 21:18:35 url: https://codecov.io 21:18:35 query: branch=PR-495&commit=9410338ccdf44824c4767a2b272f30ba0791cf70&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=495&job=&cmd_args= 21:18:35 -> Pinging Codecov 21:18:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-495&commit=9410338ccdf44824c4767a2b272f30ba0791cf70&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=495&job=&cmd_args= 21:18:35 -> Uploading to 21:18:35 https://storage.googleapis.com/codecov/v4/raw/2023-01-04/A97CA9966030D2A3747ED39772930CCE/9410338ccdf44824c4767a2b272f30ba0791cf70/3af413c9-26cd-42b1-b8cf-cd693e2c2606.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T211835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8839c50a23e90b86114ae35a03b2c2c433415aab02c3b7cbacb15267c7425472 21:18:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:18:35 Dload Upload Total Spent Left Speed 21:18:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 2172 --:--:-- --:--:-- --:--:-- 2172 21:18:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/9410338ccdf44824c4767a2b272f30ba0791cf70 [Pipeline] } 21:18:36 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 21:18:37 + [ -d /w/workspace/_app-service-configurable_PR-495/archives ] 21:18:37 + ls -al /w/workspace/_app-service-configurable_PR-495/archives 21:18:37 total 16 21:18:37 drwxr-xr-x 3 root root 4096 Jan 4 21:09 . 21:18:37 drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 21:09 .. 21:18:37 drwxr-xr-x 2 root root 4096 Jan 4 21:09 cost 21:18:37 -rw-r--r-- 1 root root 96 Jan 4 21:09 cost.csv 21:18:37 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-495/archives 21:18:37 + ls -al /w/workspace/_app-service-configurable_PR-495/archives 21:18:37 total 16 21:18:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 21:09 . 21:18:37 drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 21:09 .. 21:18:37 drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 21:09 cost 21:18:37 -rw-r--r-- 1 jenkins jenkins 96 Jan 4 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:18:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:18:39 ---> package-listing.sh 21:18:39 ++ facter osfamily 21:18:39 ++ tr '[:upper:]' '[:lower:]' 21:18:39 + OS_FAMILY=debian 21:18:39 + workspace=/w/workspace/_app-service-configurable_PR-495 21:18:39 + START_PACKAGES=/tmp/packages_start.txt 21:18:39 + END_PACKAGES=/tmp/packages_end.txt 21:18:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:18:39 + PACKAGES=/tmp/packages_start.txt 21:18:39 + '[' /w/workspace/_app-service-configurable_PR-495 ']' 21:18:39 + PACKAGES=/tmp/packages_end.txt 21:18:39 + case "${OS_FAMILY}" in 21:18:39 + dpkg -l 21:18:39 + grep '^ii' 21:18:39 + '[' -f /tmp/packages_start.txt ']' 21:18:39 + '[' -f /tmp/packages_end.txt ']' 21:18:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:18:39 + '[' /w/workspace/_app-service-configurable_PR-495 ']' 21:18:39 + mkdir -p /w/workspace/_app-service-configurable_PR-495/archives/ 21:18:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-495/archives/ [Pipeline] echo 21:18:39 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-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:18:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:40 prd-ubuntu20.04-docker-8c-8g-1139 does not seem to be running inside a container 21:18:40 $ 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-495/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-495 -v /w/workspace/_app-service-configurable_PR-495:/w/workspace/_app-service-configurable_PR-495:rw,z -v /w/workspace/_app-service-configurable_PR-495@tmp:/w/workspace/_app-service-configurable_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:18:40 $ docker top 0ded03c0b2f1cc9305efb5eeac89927171f2ea5a539e7e4a92143ff5515ea491 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:41 + touch /tmp/pre-build-complete [Pipeline] sh 21:18:41 + mkdir -p /var/log/sysstat [Pipeline] sh 21:18:41 + ls /var/log/sa-host 21:18:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:41 provisioning config files... 21:18:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-495@tmp/config14490238292631049188tmp [Pipeline] { [Pipeline] echo 21:18:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:18:42 ---> create-netrc.sh [Pipeline] } 21:18:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:18:42 ---> python-tools-install.sh [Pipeline] echo 21:18:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:18:43 ---> sudo-logs.sh 21:18:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:18:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:18:43 ---> job-cost.sh 21:18:43 lf-activate-venv: SKIPPING 21:18:43 DEBUG: total: 0.2199999988079071 21:18:43 INFO: Retrieving Stack Cost... 21:18:43 INFO: Retrieving Pricing Info for: v3-standard-8 21:18:44 INFO: Archiving Costs [Pipeline] echo 21:18:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:18:44 ---> logs-deploy.sh 21:18:44 lf-activate-venv: SKIPPING 21:18:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-495/1 21:18:44 INFO: archiving workspace using pattern(s): 21:18:45 Archives upload complete. 21:18:45 INFO: archiving logs to Nexus