Pull request #533 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 MonicaisHer for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 921bca587619a78f6fea4c66396e382ebda801d3+11af183f2194c3fd12bdcc9d8b6be264b57aff6c (57d2037a763c767a7c7520d10332f0b46ac85e2b) 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-ssh11633982942692476281.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16689683587298961693.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-533/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-533/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3627586904478421743.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-533/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14913920938295759566.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17090285372098129357.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-533/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-533/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14330945787375096566.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4852 in /w/workspace/_app-service-configurable_PR-533 [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-533 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/533/head:refs/remotes/origin/PR-533 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 921bca587619a78f6fea4c66396e382ebda801d3 Merge succeeded, producing 921bca587619a78f6fea4c66396e382ebda801d3 Checking out Revision 921bca587619a78f6fea4c66396e382ebda801d3 (PR-533) > git config core.sparsecheckout # timeout=10 > git checkout -f 921bca587619a78f6fea4c66396e382ebda801d3 # 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 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 921bca587619a78f6fea4c66396e382ebda801d3 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:52:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:52:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:52:06 ========================================================= 12:52:06 EdgeX Global Pipelines Version Info 12:52:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:52:07 ------------------- 12:52:07 stable info: 12:52:07 ------------------- 12:52:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:07 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:52:07 Message: update stable to v1.0.245 12:52:07 ------------------- 12:52:07 experimental info: 12:52:07 ------------------- 12:52:07 Commited By: **** collab-it+edgex@linuxfoundation.org 12:52:07 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 12:52:07 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-533 [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-533 [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-533 [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 921bca587619a78f6fea4c66396e382ebda801d3 [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 921bca5 [Pipeline] echo 12:52:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:52:09 provisioning config files... 12:52:09 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config4683195938112425286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:10 ---> docker-login.sh 12:52:10 nexus3.edgexfoundry.org:10001 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 nexus3.edgexfoundry.org:10002 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 nexus3.edgexfoundry.org:10003 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 nexus3.edgexfoundry.org:10004 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 docker.io 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 ---> docker-login.sh ends [Pipeline] } 12:52:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:52:11 + git rev-list -1 --merges 921bca587619a78f6fea4c66396e382ebda801d3~1..921bca587619a78f6fea4c66396e382ebda801d3 [Pipeline] echo 12:52:11 -----------> git rev-list -1 --merges 921bca587619a78f6fea4c66396e382ebda801d3~1..921bca587619a78f6fea4c66396e382ebda801d3 921bca587619a78f6fea4c66396e382ebda801d3 [false] [Pipeline] sh 12:52:11 + git log --format=format:%s -1 921bca587619a78f6fea4c66396e382ebda801d3 [Pipeline] echo 12:52:11 ========================================================= 12:52:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:52:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:52:12 + git log --format=format:%s -1 921bca587619a78f6fea4c66396e382ebda801d3 [Pipeline] echo 12:52:12 [semverPrep] GIT_COMMIT: 921bca587619a78f6fea4c66396e382ebda801d3, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo 12:52:12 [semverPrep] This is not a build commit. [Pipeline] sh 12:52:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:52:12 + grep -v github /etc/ssh/ssh_known_hosts 12:52:12 + [ -e /tmp/ssh_known_hosts ] 12:52:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:52:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:52:12 + sudo tee -a /etc/ssh/ssh_known_hosts 12:52:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:52:13 12:52:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:52:13 0.1.4: Pulling from edgex-devops/py-git-semver 12:52:13 b85a868b505f: Pulling fs layer 12:52:13 e2be974225ed: Pulling fs layer 12:52:13 339a4e72a1f5: Pulling fs layer 12:52:13 988bab9f4d93: Pulling fs layer 12:52:13 1469e6f7b9e6: Pulling fs layer 12:52:13 eaf3925da568: Pulling fs layer 12:52:13 bab4dde63d76: Pulling fs layer 12:52:13 bde34c3a00c8: Pulling fs layer 12:52:13 b352a97aabf1: Pulling fs layer 12:52:13 4872d77fe225: Pulling fs layer 12:52:13 5851b861e8e6: Pulling fs layer 12:52:13 bab4dde63d76: Waiting 12:52:13 bde34c3a00c8: Waiting 12:52:13 b352a97aabf1: Waiting 12:52:13 4872d77fe225: Waiting 12:52:13 5851b861e8e6: Waiting 12:52:13 1469e6f7b9e6: Waiting 12:52:13 988bab9f4d93: Waiting 12:52:13 eaf3925da568: Waiting 12:52:13 e2be974225ed: Download complete 12:52:13 988bab9f4d93: Verifying Checksum 12:52:13 988bab9f4d93: Download complete 12:52:13 1469e6f7b9e6: Verifying Checksum 12:52:13 1469e6f7b9e6: Download complete 12:52:13 339a4e72a1f5: Verifying Checksum 12:52:13 339a4e72a1f5: Download complete 12:52:13 eaf3925da568: Verifying Checksum 12:52:13 eaf3925da568: Download complete 12:52:13 bde34c3a00c8: Download complete 12:52:13 b352a97aabf1: Download complete 12:52:13 4872d77fe225: Verifying Checksum 12:52:13 4872d77fe225: Download complete 12:52:13 5851b861e8e6: Verifying Checksum 12:52:13 b85a868b505f: Verifying Checksum 12:52:13 b85a868b505f: Download complete 12:52:14 bab4dde63d76: Verifying Checksum 12:52:14 bab4dde63d76: Download complete 12:52:14 b85a868b505f: Pull complete 12:52:14 e2be974225ed: Pull complete 12:52:15 339a4e72a1f5: Pull complete 12:52:15 988bab9f4d93: Pull complete 12:52:15 1469e6f7b9e6: Pull complete 12:52:16 eaf3925da568: Pull complete 12:52:17 bab4dde63d76: Pull complete 12:52:17 bde34c3a00c8: Pull complete 12:52:17 b352a97aabf1: Pull complete 12:52:17 4872d77fe225: Pull complete 12:52:17 5851b861e8e6: Pull complete 12:52:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:52:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:18 prd-ubuntu20.04-docker-8c-8g-4852 does not seem to be running inside a container 12:52:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 12:52:21 $ docker top c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e -eo pid,comm 12:52:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:52:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:52:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:52:21 [ssh-agent] Looking for ssh-agent implementation... 12:52:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:52:21 $ docker exec c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e ssh-agent 12:52:21 SSH_AUTH_SOCK=/tmp/ssh-84R8376FKuQs/agent.33 12:52:21 SSH_AGENT_PID=39 12:52:21 Running ssh-add (command line suppressed) 12:52:21 Identity added: /w/workspace/_app-service-configurable_PR-533@tmp/private_key_7227552984205248895.key (/w/workspace/_app-service-configurable_PR-533@tmp/private_key_7227552984205248895.key) 12:52:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:52:22 + git tag --points-at HEAD [Pipeline] } 12:52:22 $ docker exec --env ******** --env ******** c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e ssh-agent -k 12:52:22 unset SSH_AUTH_SOCK; 12:52:22 unset SSH_AGENT_PID; 12:52:22 echo Agent pid 39 killed; 12:52:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:52:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:52:22 [ssh-agent] Looking for ssh-agent implementation... 12:52:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:52:22 $ docker exec c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e ssh-agent 12:52:22 SSH_AUTH_SOCK=/tmp/ssh-GO0mxGOKi8mU/agent.71 12:52:22 SSH_AGENT_PID=77 12:52:22 Running ssh-add (command line suppressed) 12:52:22 Identity added: /w/workspace/_app-service-configurable_PR-533@tmp/private_key_8239670088836666238.key (/w/workspace/_app-service-configurable_PR-533@tmp/private_key_8239670088836666238.key) 12:52:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:52:23 + git semver init 12:52:23 2023-03-21 12:52:23,177 [run_init] DEBUG init version:0.0.0 force:False 12:52:23 2023-03-21 12:52:23,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-533/.semver 12:52:23 2023-03-21 12:52:23,178 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-533/.semver 12:52:23 2023-03-21 12:52:23,178 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-533/.semver'], cwd=/w/workspace/_app-service-configurable_PR-533, universal_newlines=False, shell=None, istream=None) 12:52:24 2023-03-21 12:52:23,973 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-533/.git/info/exclude 12:52:24 2023-03-21 12:52:23,973 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-533/.semver/PR-533 with force:False 12:52:24 2023-03-21 12:52:23,974 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-533/.semver/PR-533 12:52:24 2023-03-21 12:52:23,978 [execute] INFO git cat-file --batch-check 12:52:24 2023-03-21 12:52:23,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-533/.semver, universal_newlines=False, shell=None, istream=) 12:52:24 2023-03-21 12:52:23,984 [execute] INFO git cat-file --batch 12:52:24 2023-03-21 12:52:23,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-533/.semver, universal_newlines=False, shell=None, istream=) 12:52:24 2023-03-21 12:52:23,989 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-533/.semver/PR-533 12:52:24 0.0.0 [Pipeline] } 12:52:24 $ docker exec --env ******** --env ******** c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e ssh-agent -k 12:52:24 unset SSH_AUTH_SOCK; 12:52:24 unset SSH_AGENT_PID; 12:52:24 echo Agent pid 77 killed; 12:52:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:52:24 + git semver [Pipeline] } 12:52:25 $ docker stop --time=1 c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e 12:52:26 $ docker rm -f --volumes c7989cbbe09d7716753bacea418ebce2bf83bbe97f870261faaefb760427800e [Pipeline] // withDockerContainer [Pipeline] sh 12:52:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:52:27 Stashed 1 file(s) [Pipeline] echo 12:52:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:52:27 provisioning config files... 12:52:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config1577622283153260795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:27 ---> docker-login.sh 12:52:27 nexus3.edgexfoundry.org:10001 12:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:27 Configure a credential helper to remove this warning. See 12:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:27 12:52:27 Login Succeeded 12:52:27 nexus3.edgexfoundry.org:10002 12:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:27 Configure a credential helper to remove this warning. See 12:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:27 12:52:27 Login Succeeded 12:52:27 nexus3.edgexfoundry.org:10003 12:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:28 Configure a credential helper to remove this warning. See 12:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:28 12:52:28 Login Succeeded 12:52:28 nexus3.edgexfoundry.org:10004 12:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:28 Configure a credential helper to remove this warning. See 12:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:28 12:52:28 Login Succeeded 12:52:28 docker.io 12:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:28 Configure a credential helper to remove this warning. See 12:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:28 12:52:28 Login Succeeded 12:52:28 ---> docker-login.sh ends [Pipeline] } 12:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:52:28 ========================================================= 12:52:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:52:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:52:29 Sending build context to Docker daemon 3.241MB 12:52:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:52:29 Step 2/12 : FROM ${BASE} AS builder 12:52:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:52:29 63b65145d645: Pulling fs layer 12:52:29 a2d21d5440eb: Pulling fs layer 12:52:29 935e6c44a52c: Pulling fs layer 12:52:29 94cc34f8dd06: Pulling fs layer 12:52:29 30dea6a524f1: Pulling fs layer 12:52:29 a2aff8979fd8: Pulling fs layer 12:52:29 6808be2612f2: Pulling fs layer 12:52:29 f25807f1079a: Pulling fs layer 12:52:29 a2aff8979fd8: Waiting 12:52:29 6808be2612f2: Waiting 12:52:29 f25807f1079a: Waiting 12:52:29 a2d21d5440eb: Download complete 12:52:29 94cc34f8dd06: Verifying Checksum 12:52:29 94cc34f8dd06: Download complete 12:52:29 30dea6a524f1: Verifying Checksum 12:52:29 30dea6a524f1: Download complete 12:52:29 a2aff8979fd8: Verifying Checksum 12:52:29 a2aff8979fd8: Download complete 12:52:29 63b65145d645: Verifying Checksum 12:52:29 63b65145d645: Download complete 12:52:29 63b65145d645: Pull complete 12:52:29 a2d21d5440eb: Pull complete 12:52:30 f25807f1079a: Verifying Checksum 12:52:30 f25807f1079a: Download complete 12:52:30 935e6c44a52c: Verifying Checksum 12:52:30 935e6c44a52c: Download complete 12:52:30 6808be2612f2: Download complete 12:52:33 935e6c44a52c: Pull complete 12:52:33 94cc34f8dd06: Pull complete 12:52:33 30dea6a524f1: Pull complete 12:52:33 a2aff8979fd8: Pull complete 12:52:35 6808be2612f2: Pull complete 12:52:36 f25807f1079a: Pull complete 12:52:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:52:36 ---> 3b553350e43f 12:52:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:52:42 Still waiting to schedule task 12:52:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 12:52:43 ---> Running in d8815b101a5e 12:52:43 Removing intermediate container d8815b101a5e 12:52:43 ---> 70cdb35e0770 12:52:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:52:43 ---> Running in 64a2a323b8b0 12:52:43 Removing intermediate container 64a2a323b8b0 12:52:43 ---> f088227ed6ab 12:52:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:52:43 ---> Running in 2050bafbac23 12:52:43 Removing intermediate container 2050bafbac23 12:52:43 ---> 986755bc75b9 12:52:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:52:43 ---> Running in 91eeb702240f 12:52:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:52:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:52:43 OK: 265 MiB in 53 packages 12:52:43 Removing intermediate container 91eeb702240f 12:52:43 ---> 42cbb513cc43 12:52:43 Step 7/12 : WORKDIR /app 12:52:43 ---> Running in 39e7dced7f73 12:52:43 Removing intermediate container 39e7dced7f73 12:52:43 ---> 956753c0cdae 12:52:43 Step 8/12 : COPY go.mod vendor* ./ 12:52:43 ---> e12b02e2160c 12:52:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:52:43 ---> Running in 695fea4fb751 12:53:15 Removing intermediate container 695fea4fb751 12:53:15 ---> 2488ff308e32 12:53:15 Step 10/12 : COPY . . 12:53:15 ---> 247a56a657cc 12:53:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:53:15 ---> Running in bb493aa1ca0c 12:53:15 Removing intermediate container bb493aa1ca0c 12:53:15 ---> 4c3ad6d7668f 12:53:15 Step 12/12 : RUN $MAKE 12:53:15 ---> Running in 80f8732b3daf 12:53:15 noop 12:53:15 Removing intermediate container 80f8732b3daf 12:53:15 ---> b4035940fa93 12:53:15 Successfully built b4035940fa93 12:53:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:16 + docker inspect -f . ci-base-image-x86_64 12:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:16 prd-ubuntu20.04-docker-8c-8g-4852 does not seem to be running inside a container 12:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 12:53:16 $ docker top a03eab7fea694dffa9ab62416e29a8b8c3cf6a1ac6ecf6edae4a76e2a7359ac7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:17 + go version 12:53:17 go version go1.20.2 linux/amd64 [Pipeline] } 12:53:17 $ docker stop --time=1 a03eab7fea694dffa9ab62416e29a8b8c3cf6a1ac6ecf6edae4a76e2a7359ac7 12:53:18 $ docker rm -f --volumes a03eab7fea694dffa9ab62416e29a8b8c3cf6a1ac6ecf6edae4a76e2a7359ac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:19 + docker inspect -f . ci-base-image-x86_64 12:53:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:19 prd-ubuntu20.04-docker-8c-8g-4852 does not seem to be running inside a container 12:53:19 $ 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-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 12:53:19 $ docker top 37230123073d73e3d231c96859404635479d4ae9d4eb51b3cc798339798e0a8b -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:20 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-533 [Pipeline] fileExists [Pipeline] sh 12:53:20 + make test 12:53:20 go test -race -coverprofile=coverage.out ./... 12:53:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:53:56 go vet ./... 12:53:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:53:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:53:59 ./bin/test-attribution-txt.sh [Pipeline] echo 12:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:54:00 $ docker stop --time=1 37230123073d73e3d231c96859404635479d4ae9d4eb51b3cc798339798e0a8b 12:54:03 $ docker rm -f --volumes 37230123073d73e3d231c96859404635479d4ae9d4eb51b3cc798339798e0a8b [Pipeline] // withDockerContainer [Pipeline] sh 12:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:54:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:54:05 + ls -al . 12:54:05 total 176 12:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:53 . 12:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:52 .. 12:54:05 -rw-rw-r-- 1 jenkins jenkins 119 Mar 21 12:52 .dockerignore 12:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:52 .git 12:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:52 .github 12:54:05 -rw-rw-r-- 1 jenkins jenkins 171 Mar 21 12:52 .gitignore 12:54:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 12:52 .golangci.yml 12:54:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:52 .semver 12:54:05 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 21 12:52 Attribution.txt 12:54:05 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 21 12:52 CHANGELOG.md 12:54:05 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 21 12:52 Dockerfile 12:54:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 12:52 GOVERNANCE.md 12:54:05 -rw-rw-r-- 1 jenkins jenkins 688 Mar 21 12:52 Jenkinsfile 12:54:05 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 21 12:52 LICENSE 12:54:05 -rw-rw-r-- 1 jenkins jenkins 618 Mar 21 12:52 OWNERS.md 12:54:05 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 21 12:52 README.md 12:54:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:52 VERSION 12:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:52 bin 12:54:05 -rw-r--r-- 1 jenkins jenkins 13 Mar 21 12:53 coverage.out 12:54:05 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 21 12:52 go.mod 12:54:05 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 21 12:52 go.sum 12:54:05 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 21 12:52 main.go 12:54:05 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 21 12:52 makefile 12:54:05 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:52 res 12:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54: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=921bca587619a78f6fea4c66396e382ebda801d3 --label arch=amd64 --label version=0.0.0 . 12:54:05 Sending build context to Docker daemon 3.242MB 12:54:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:54:05 Step 2/26 : FROM ${BASE} AS builder 12:54:05 ---> b4035940fa93 12:54:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:54:05 ---> Running in 1078184c13a9 12:54:05 Removing intermediate container 1078184c13a9 12:54:05 ---> 44a19833757e 12:54:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:54:05 ---> Running in d1358f31b701 12:54:05 Removing intermediate container d1358f31b701 12:54:05 ---> 6f36cc8ea020 12:54:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:54:05 ---> Running in 7c6d60ea276c 12:54:05 Removing intermediate container 7c6d60ea276c 12:54:05 ---> 415f3e0c5766 12:54:05 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:05 ---> Running in cb2cc7acd930 12:54:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:54:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:54:06 OK: 265 MiB in 53 packages 12:54:06 Removing intermediate container cb2cc7acd930 12:54:06 ---> 59b4e3e13dbc 12:54:06 Step 7/26 : WORKDIR /app 12:54:06 ---> Running in eb7985da6576 12:54:06 Removing intermediate container eb7985da6576 12:54:06 ---> 345a6ce9b9a2 12:54:06 Step 8/26 : COPY go.mod vendor* ./ 12:54:06 ---> 1626c9f3ac0d 12:54:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:06 ---> Running in a96fe8e463bc 12:54:07 Removing intermediate container a96fe8e463bc 12:54:07 ---> a3682f62119c 12:54:07 Step 10/26 : COPY . . 12:54:08 ---> 995069fedcec 12:54:08 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:54:08 ---> Running in 7a36de1b37a3 12:54:08 Removing intermediate container 7a36de1b37a3 12:54:08 ---> c0ace68bb681 12:54:08 Step 12/26 : RUN $MAKE 12:54:08 ---> Running in 395ea302e76c 12:54:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:54:30 Removing intermediate container 395ea302e76c 12:54:30 ---> f5fedbfcb734 12:54:30 Step 13/26 : FROM alpine:3.17 12:54:30 3.17: Pulling from library/alpine 12:54:30 63b65145d645: Already exists 12:54:30 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 12:54:30 Status: Downloaded newer image for alpine:3.17 12:54:30 ---> b2aa39c304c2 12:54:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:54:30 ---> Running in 159c551dee86 12:54:30 Removing intermediate container 159c551dee86 12:54:30 ---> 4b294071a668 12:54:30 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:54:30 ---> Running in 47f769b8683a 12:54:30 Removing intermediate container 47f769b8683a 12:54:30 ---> a181ceb3a783 12:54:30 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:54:30 ---> Running in 03c6d83de2e7 12:54:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:54:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:54:30 (1/2) Installing ca-certificates (20220614-r4) 12:54:30 (2/2) Installing dumb-init (1.2.5-r2) 12:54:30 Executing busybox-1.35.0-r29.trigger 12:54:30 Executing ca-certificates-20220614-r4.trigger 12:54:30 OK: 8 MiB in 17 packages 12:54:30 Removing intermediate container 03c6d83de2e7 12:54:30 ---> 081bb9eb991f 12:54:30 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:54:30 ---> 6dae63be4d69 12:54:30 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:54:30 ---> 0fba495ad82b 12:54:30 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:54:30 ---> 568290e7ad85 12:54:30 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:54:30 ---> 9758c0f1d019 12:54:30 Step 21/26 : EXPOSE 48095 12:54:30 ---> Running in 12f098a420bf 12:54:30 Removing intermediate container 12f098a420bf 12:54:30 ---> aeb94b794958 12:54:30 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:54:30 ---> Running in 185e9b039db4 12:54:31 Removing intermediate container 185e9b039db4 12:54:31 ---> 66ef12ba3e85 12:54:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:54:31 ---> Running in b898b425e0aa 12:54:31 Removing intermediate container b898b425e0aa 12:54:31 ---> 3155cee393af 12:54:31 Step 24/26 : LABEL arch=amd64 12:54:31 ---> Running in 4db3940abd8d 12:54:31 Removing intermediate container 4db3940abd8d 12:54:31 ---> 24e257fccf91 12:54:31 Step 25/26 : LABEL git_sha=921bca587619a78f6fea4c66396e382ebda801d3 12:54:31 ---> Running in f716dbf430ef 12:54:31 Removing intermediate container f716dbf430ef 12:54:31 ---> 879a4f71e315 12:54:31 Step 26/26 : LABEL version=0.0.0 12:54:31 ---> Running in 70e4f46f249e 12:54:31 Removing intermediate container 70e4f46f249e 12:54:31 ---> 25bdf1bc791c 12:54:31 [Warning] One or more build-args [ARCH] were not consumed 12:54:31 Successfully built 25bdf1bc791c 12:54:31 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:32 12:54:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:32 latest: Pulling from edgex-lftools-log-publisher 12:54:32 5eb5b503b376: Pulling fs layer 12:54:32 5c69ac0246d0: Pulling fs layer 12:54:32 ec43610c2a17: Pulling fs layer 12:54:32 3a2ae6a8a46f: Pulling fs layer 12:54:32 33b1e0a273af: Pulling fs layer 12:54:32 5d3b04190fa2: Pulling fs layer 12:54:32 2f39f015ded8: Pulling fs layer 12:54:32 33b1e0a273af: Waiting 12:54:32 5d3b04190fa2: Waiting 12:54:32 2f39f015ded8: Waiting 12:54:32 3a2ae6a8a46f: Waiting 12:54:32 5c69ac0246d0: Verifying Checksum 12:54:32 5c69ac0246d0: Download complete 12:54:32 3a2ae6a8a46f: Verifying Checksum 12:54:32 3a2ae6a8a46f: Download complete 12:54:32 33b1e0a273af: Verifying Checksum 12:54:32 33b1e0a273af: Download complete 12:54:32 5d3b04190fa2: Download complete 12:54:32 ec43610c2a17: Download complete 12:54:32 5eb5b503b376: Verifying Checksum 12:54:32 5eb5b503b376: Download complete 12:54:33 2f39f015ded8: Download complete 12:54:33 5eb5b503b376: Pull complete 12:54:34 5c69ac0246d0: Pull complete 12:54:34 ec43610c2a17: Pull complete 12:54:34 3a2ae6a8a46f: Pull complete 12:54:34 33b1e0a273af: Pull complete 12:54:34 5d3b04190fa2: Pull complete 12:54:38 2f39f015ded8: Pull complete 12:54:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:39 prd-ubuntu20.04-docker-8c-8g-4852 does not seem to be running inside a container 12:54:39 $ 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-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 12:54:44 $ docker top 597e585b93d6fef441d0a6da021d3337877e5cfa5e6e14c630b0cd8991da3275 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:44 ---> job-cost.sh 12:54:44 lf-activate-venv: SKIPPING 12:54:44 INFO: No Stack... 12:54:44 INFO: Retrieving Pricing Info for: v3-standard-8 12:54:45 INFO: Archiving Costs [Pipeline] sh 12:54:45 + cat /w/workspace/_app-service-configurable_PR-533/archives/cost.csv 12:54:45 + cut -d, -f6 [Pipeline] lock 12:54:45 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] 12:54:45 Resource [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] did not exist. Created. 12:54:45 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:54:45 + echo total: 0.2199999988079071 [Pipeline] stash 12:54:46 Stashed 1 file(s) [Pipeline] } 12:54:46 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:54:46 $ docker stop --time=1 597e585b93d6fef441d0a6da021d3337877e5cfa5e6e14c630b0cd8991da3275 12:54:47 $ docker rm -f --volumes 597e585b93d6fef441d0a6da021d3337877e5cfa5e6e14c630b0cd8991da3275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:55:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4854 in /w/workspace/_app-service-configurable_PR-533 [Pipeline] { [Pipeline] ws 12:55:10 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:55:10 Selected Git installation does not exist. Using Default 12:55:10 The recommended git tool is: NONE 12:55:16 using credential edgex-jenkins-ssh 12:55:16 Cloning the remote Git repository 12:55:16 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:55:16 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:55:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:16 > git --version # timeout=10 12:55:16 > git --version # 'git version 2.25.1' 12:55:16 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:19 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/533/head:refs/remotes/origin/PR-533 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:55:19 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 921bca587619a78f6fea4c66396e382ebda801d3 12:55:20 Merge succeeded, producing 921bca587619a78f6fea4c66396e382ebda801d3 12:55:20 Checking out Revision 921bca587619a78f6fea4c66396e382ebda801d3 (PR-533) 12:55:20 > git config core.sparsecheckout # timeout=10 12:55:20 > git checkout -f 921bca587619a78f6fea4c66396e382ebda801d3 # timeout=10 12:55:20 > git remote # timeout=10 12:55:20 > git config --get remote.origin.url # timeout=10 12:55:20 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:20 > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 12:55:20 > git rev-parse HEAD^{commit} # timeout=10 12:55:20 > git config core.sparsecheckout # timeout=10 12:55:20 > git checkout -f 921bca587619a78f6fea4c66396e382ebda801d3 # timeout=10 12:55:23 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" 12:55:23 > git --version # timeout=10 12:55:23 > git --version # 'git version 2.25.1' 12:55:23 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:55:25 % Total % Received % Xferd Average Speed Time Time Time Current 12:55:25 Dload Upload Total Spent Left Speed 12:55:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 12:55:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:55:26 + sudo tee /etc/docker/daemon.new 12:55:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:55:26 { 12:55:26 "registry-mirrors": [ 12:55:26 "https://nexus3.edgexfoundry.org:10001" 12:55:26 ], 12:55:26 "bip": "10.250.0.254/24", 12:55:26 "hosts": [ 12:55:26 "tcp://0.0.0.0:5555", 12:55:26 "unix:///var/run/docker.sock" 12:55:26 ], 12:55:26 "mtu": 1458, 12:55:26 "selinux-enabled": true, 12:55:26 "seccomp-profile": "/etc/docker/seccomp.json" 12:55:26 } [Pipeline] sh 12:55:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:55:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:45 provisioning config files... 12:55:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config2086903401243883849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:45 ---> docker-login.sh 12:55:45 nexus3.edgexfoundry.org:10001 12:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:46 Configure a credential helper to remove this warning. See 12:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:46 12:55:46 Login Succeeded 12:55:46 nexus3.edgexfoundry.org:10002 12:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:46 Configure a credential helper to remove this warning. See 12:55:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:46 12:55:46 Login Succeeded 12:55:46 nexus3.edgexfoundry.org:10003 12:55:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:47 Configure a credential helper to remove this warning. See 12:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:47 12:55:47 Login Succeeded 12:55:47 nexus3.edgexfoundry.org:10004 12:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:47 Configure a credential helper to remove this warning. See 12:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:47 12:55:47 Login Succeeded 12:55:47 docker.io 12:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:47 Configure a credential helper to remove this warning. See 12:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:47 12:55:47 Login Succeeded 12:55:47 ---> docker-login.sh ends [Pipeline] } 12:55:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:48 ========================================================= 12:55:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:55:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:55:48 Sending build context to Docker daemon 173.1kB 12:55:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:55:49 Step 2/12 : FROM ${BASE} AS builder 12:55:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:49 af6eaf76a39c: Pulling fs layer 12:55:49 55522c791124: Pulling fs layer 12:55:49 ce5c4a1c91eb: Pulling fs layer 12:55:49 169dfbe0d373: Pulling fs layer 12:55:49 e1ff8fa3b103: Pulling fs layer 12:55:49 52ebb69f0ebf: Pulling fs layer 12:55:49 5abe8eddf0d5: Pulling fs layer 12:55:49 e1ff8fa3b103: Waiting 12:55:49 52ebb69f0ebf: Waiting 12:55:49 169dfbe0d373: Waiting 12:55:49 5abe8eddf0d5: Waiting 12:55:49 55522c791124: Verifying Checksum 12:55:49 55522c791124: Download complete 12:55:49 169dfbe0d373: Verifying Checksum 12:55:49 169dfbe0d373: Download complete 12:55:49 e1ff8fa3b103: Verifying Checksum 12:55:49 e1ff8fa3b103: Download complete 12:55:49 af6eaf76a39c: Verifying Checksum 12:55:49 af6eaf76a39c: Download complete 12:55:50 af6eaf76a39c: Pull complete 12:55:50 5abe8eddf0d5: Verifying Checksum 12:55:50 5abe8eddf0d5: Download complete 12:55:51 ce5c4a1c91eb: Verifying Checksum 12:55:51 ce5c4a1c91eb: Download complete 12:55:51 52ebb69f0ebf: Verifying Checksum 12:55:51 52ebb69f0ebf: Download complete 12:55:52 55522c791124: Pull complete 12:56:07 ce5c4a1c91eb: Pull complete 12:56:07 169dfbe0d373: Pull complete 12:56:07 e1ff8fa3b103: Pull complete 12:56:12 52ebb69f0ebf: Pull complete 12:56:14 5abe8eddf0d5: Pull complete 12:56:14 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 12:56:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:56:14 ---> 6cb57ee374ae 12:56:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:16 ---> Running in e0dc1d1840ae 12:56:16 Removing intermediate container e0dc1d1840ae 12:56:16 ---> c2e7b927db30 12:56:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:56:16 ---> Running in f095ec479410 12:56:16 Removing intermediate container f095ec479410 12:56:16 ---> 3f12666e184b 12:56:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:56:16 ---> Running in fa0fc8caa565 12:56:17 Removing intermediate container fa0fc8caa565 12:56:17 ---> 433140437c42 12:56:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:17 ---> Running in 626cd4eb8b80 12:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:56:19 OK: 263 MiB in 53 packages 12:56:20 Removing intermediate container 626cd4eb8b80 12:56:20 ---> c6b1593817fe 12:56:20 Step 7/12 : WORKDIR /app 12:56:20 ---> Running in f067baac62cd 12:56:21 Removing intermediate container f067baac62cd 12:56:21 ---> e3fa4a0363c7 12:56:21 Step 8/12 : COPY go.mod vendor* ./ 12:56:21 ---> d935cf2faca7 12:56:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:21 ---> Running in 56333d82cf10 12:57:29 Removing intermediate container 56333d82cf10 12:57:29 ---> dea9e629b3fd 12:57:29 Step 10/12 : COPY . . 12:57:29 ---> 48d5b9b96fb4 12:57:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:29 ---> Running in f83ca49b469b 12:57:29 Removing intermediate container f83ca49b469b 12:57:29 ---> c7edcf6f2d43 12:57:29 Step 12/12 : RUN $MAKE 12:57:29 ---> Running in f68c18c08bfe 12:57:29 noop 12:57:29 Removing intermediate container f68c18c08bfe 12:57:29 ---> 38409f82e469 12:57:29 Successfully built 38409f82e469 12:57:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:30 + docker inspect -f . ci-base-image-arm64 12:57:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:30 prd-ubuntu20.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container 12:57:30 $ 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 ******** ci-base-image-arm64 cat 12:57:31 $ docker top 48a943d1f070afdfa0ec4a10c310705613e5eb9ff0f08b6b1e6baa7bad465204 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:32 + go version 12:57:32 go version go1.20.2 linux/arm64 [Pipeline] } 12:57:32 $ docker stop --time=1 48a943d1f070afdfa0ec4a10c310705613e5eb9ff0f08b6b1e6baa7bad465204 12:57:34 $ docker rm -f --volumes 48a943d1f070afdfa0ec4a10c310705613e5eb9ff0f08b6b1e6baa7bad465204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:35 + docker inspect -f . ci-base-image-arm64 12:57:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:35 prd-ubuntu20.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container 12:57:35 $ 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 ******** ci-base-image-arm64 cat 12:57:36 $ docker top f263d93ad08ae53e31e6ec39a6a514d21821789175bb94a1da5ec806b42f7533 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:37 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:57:38 + make test 12:57:38 go test -race -coverprofile=coverage.out ./... 13:00:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:00:30 go vet ./... 13:02:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:02:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:02:51 ./bin/test-attribution-txt.sh [Pipeline] echo 13:02:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:02:51 $ docker stop --time=1 f263d93ad08ae53e31e6ec39a6a514d21821789175bb94a1da5ec806b42f7533 13:02:53 $ docker rm -f --volumes f263d93ad08ae53e31e6ec39a6a514d21821789175bb94a1da5ec806b42f7533 [Pipeline] // withDockerContainer [Pipeline] sh 13:02:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:02:55 Warning: overwriting stash ‘coverage-report’ 13:02:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:02:56 + ls -al . 13:02:56 total 172 13:02:56 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 12:57 . 13:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:55 .. 13:02:56 -rw-rw-r-- 1 jenkins jenkins 119 Mar 21 12:55 .dockerignore 13:02:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:55 .git 13:02:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:55 .github 13:02:56 -rw-rw-r-- 1 jenkins jenkins 171 Mar 21 12:55 .gitignore 13:02:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 12:55 .golangci.yml 13:02:56 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 21 12:55 Attribution.txt 13:02:56 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 21 12:55 CHANGELOG.md 13:02:56 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 21 12:55 Dockerfile 13:02:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 12:55 GOVERNANCE.md 13:02:56 -rw-rw-r-- 1 jenkins jenkins 688 Mar 21 12:55 Jenkinsfile 13:02:56 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 21 12:55 LICENSE 13:02:56 -rw-rw-r-- 1 jenkins jenkins 618 Mar 21 12:55 OWNERS.md 13:02:56 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 21 12:55 README.md 13:02:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:52 VERSION 13:02:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:55 bin 13:02:56 -rw-r--r-- 1 jenkins jenkins 13 Mar 21 12:57 coverage.out 13:02:56 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 21 12:55 go.mod 13:02:56 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 21 12:55 go.sum 13:02:56 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 21 12:55 main.go 13:02:56 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 21 12:55 makefile 13:02:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:55 res 13:02:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:57 + 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=921bca587619a78f6fea4c66396e382ebda801d3 --label arch=arm64 --label version=0.0.0 . 13:02:57 Sending build context to Docker daemon 174.1kB 13:02:57 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:02:57 Step 2/26 : FROM ${BASE} AS builder 13:02:57 ---> 38409f82e469 13:02:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:02:57 ---> Running in a702b2101148 13:02:57 Removing intermediate container a702b2101148 13:02:57 ---> 3e2590ad7ffc 13:02:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:02:58 ---> Running in 565bd3ca63c8 13:02:58 Removing intermediate container 565bd3ca63c8 13:02:58 ---> aa5d9d1e24c4 13:02:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:02:58 ---> Running in 92e9540705f8 13:02:58 Removing intermediate container 92e9540705f8 13:02:58 ---> cd09443976fc 13:02:58 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:58 ---> Running in 325f68dcf439 13:02:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:03:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:03:01 OK: 263 MiB in 53 packages 13:03:02 Removing intermediate container 325f68dcf439 13:03:02 ---> 1466d956a105 13:03:02 Step 7/26 : WORKDIR /app 13:03:02 ---> Running in 5b26f57b03dd 13:03:02 Removing intermediate container 5b26f57b03dd 13:03:02 ---> 9cfc23576c01 13:03:02 Step 8/26 : COPY go.mod vendor* ./ 13:03:03 ---> fc7ee328095b 13:03:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:03 ---> Running in 815ec7e3ee1f 13:03:06 Removing intermediate container 815ec7e3ee1f 13:03:06 ---> 6e85d7d3ee3c 13:03:06 Step 10/26 : COPY . . 13:03:06 ---> c66ea61bf6e5 13:03:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:06 ---> Running in 442acd0df92b 13:03:06 Removing intermediate container 442acd0df92b 13:03:06 ---> c85a07590958 13:03:06 Step 12/26 : RUN $MAKE 13:03:07 ---> Running in 2d15ce088091 13:03:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:05:14 Removing intermediate container 2d15ce088091 13:05:14 ---> a2495d59c72a 13:05:14 Step 13/26 : FROM alpine:3.17 13:05:14 3.17: Pulling from library/alpine 13:05:14 af6eaf76a39c: Already exists 13:05:14 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:05:14 Status: Downloaded newer image for alpine:3.17 13:05:14 ---> d74e625d9115 13:05:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:05:14 ---> Running in 032ada31068d 13:05:14 Removing intermediate container 032ada31068d 13:05:14 ---> 7a5e0c18d89e 13:05:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:05:14 ---> Running in a859a6e98d15 13:05:15 Removing intermediate container a859a6e98d15 13:05:15 ---> 4c55dbede64d 13:05:15 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:05:15 ---> Running in 9355c13a8db0 13:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:05:17 (1/2) Installing ca-certificates (20220614-r4) 13:05:17 (2/2) Installing dumb-init (1.2.5-r2) 13:05:17 Executing busybox-1.35.0-r29.trigger 13:05:17 Executing ca-certificates-20220614-r4.trigger 13:05:18 OK: 8 MiB in 17 packages 13:05:21 Removing intermediate container 9355c13a8db0 13:05:21 ---> 883981500d36 13:05:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:05:22 ---> c8b51020348c 13:05:22 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:05:22 ---> b808ed66cf5e 13:05:22 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:05:22 ---> 47973a6f5333 13:05:22 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:05:24 ---> a44b70aa3119 13:05:24 Step 21/26 : EXPOSE 48095 13:05:24 ---> Running in 36c82a022bbe 13:05:24 Removing intermediate container 36c82a022bbe 13:05:24 ---> 4380867668b7 13:05:24 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:05:24 ---> Running in 0bef3798401a 13:05:24 Removing intermediate container 0bef3798401a 13:05:24 ---> 2abbcc9e33e2 13:05:24 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:05:25 ---> Running in 1f17d85605ac 13:05:25 Removing intermediate container 1f17d85605ac 13:05:25 ---> f75f5c60b309 13:05:25 Step 24/26 : LABEL arch=arm64 13:05:25 ---> Running in 228bb41babf1 13:05:25 Removing intermediate container 228bb41babf1 13:05:25 ---> df185eee75ce 13:05:25 Step 25/26 : LABEL git_sha=921bca587619a78f6fea4c66396e382ebda801d3 13:05:25 ---> Running in 78f257e575a2 13:05:25 Removing intermediate container 78f257e575a2 13:05:25 ---> 8ab071d5471f 13:05:25 Step 26/26 : LABEL version=0.0.0 13:05:25 ---> Running in cae45d4804e9 13:05:26 Removing intermediate container cae45d4804e9 13:05:26 ---> eff5d4b18a14 13:05:26 [Warning] One or more build-args [ARCH] were not consumed 13:05:26 Successfully built eff5d4b18a14 13:05:26 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:26 13:05:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:27 arm64: Pulling from edgex-lftools-log-publisher 13:05:27 8998bd30e6a1: Pulling fs layer 13:05:27 04944245beec: Pulling fs layer 13:05:27 699f458cf7ca: Pulling fs layer 13:05:27 765212b225bb: Pulling fs layer 13:05:27 f23df028b6ca: Pulling fs layer 13:05:27 d65c8cfc05b1: Pulling fs layer 13:05:27 2437ff75d9bd: Pulling fs layer 13:05:27 765212b225bb: Waiting 13:05:27 f23df028b6ca: Waiting 13:05:27 d65c8cfc05b1: Waiting 13:05:27 2437ff75d9bd: Waiting 13:05:27 04944245beec: Verifying Checksum 13:05:27 04944245beec: Download complete 13:05:27 765212b225bb: Verifying Checksum 13:05:27 765212b225bb: Download complete 13:05:27 f23df028b6ca: Download complete 13:05:27 d65c8cfc05b1: Verifying Checksum 13:05:27 d65c8cfc05b1: Download complete 13:05:27 699f458cf7ca: Verifying Checksum 13:05:27 699f458cf7ca: Download complete 13:05:28 8998bd30e6a1: Verifying Checksum 13:05:28 8998bd30e6a1: Download complete 13:05:30 2437ff75d9bd: Verifying Checksum 13:05:30 2437ff75d9bd: Download complete 13:05:31 8998bd30e6a1: Pull complete 13:05:34 04944245beec: Pull complete 13:05:35 699f458cf7ca: Pull complete 13:05:35 765212b225bb: Pull complete 13:05:36 f23df028b6ca: Pull complete 13:05:36 d65c8cfc05b1: Pull complete 13:05:51 2437ff75d9bd: Pull complete 13:05:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:52 prd-ubuntu20.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container 13:05:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:05:54 $ docker top 14e66abb13f359de0521a11ec61aa978180cfd4efa6b8007217592e913e16927 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:55 ---> job-cost.sh 13:05:55 lf-activate-venv: SKIPPING 13:05:55 INFO: No Stack... 13:05:56 INFO: Retrieving Pricing Info for: v3-standard-4 13:05:56 INFO: Archiving Costs [Pipeline] sh 13:05:57 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:05:57 + cut -d, -f6 [Pipeline] lock 13:05:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] 13:05:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] did not exist. Created. 13:05:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:05:58 /w/workspace/app-service-configurable/1@tmp/durable-ef89f4cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:05:58 + echo total: 0.10999999940395355 [Pipeline] stash 13:05:58 Warning: overwriting stash ‘stack-cost’ 13:05:58 Stashed 1 file(s) [Pipeline] } 13:05:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-533-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:05:59 $ docker stop --time=1 14e66abb13f359de0521a11ec61aa978180cfd4efa6b8007217592e913e16927 13:06:00 $ docker rm -f --volumes 14e66abb13f359de0521a11ec61aa978180cfd4efa6b8007217592e913e16927 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:06:01 provisioning config files... 13:06:01 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config13508975711710308017tmp [Pipeline] { [Pipeline] sh 13:06:01 + set +x 13:06:01 + curl -s https://codecov.io/bash 13:06:01 + bash -s -- 13:06:01 13:06:01 _____ _ 13:06:01 / ____| | | 13:06:01 | | ___ __| | ___ ___ _____ __ 13:06:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:06:01 | |___| (_) | (_| | __/ (_| (_) \ V / 13:06:01 \_____\___/ \__,_|\___|\___\___/ \_/ 13:06:01 Bash-1.0.6 13:06:01 13:06:01 13:06:01 ==> git version 2.25.1 found 13:06:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:06:01 Release-Date: 2020-01-08 13:06:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:06:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:06:01 ==> Jenkins CI detected. 13:06:01 current dir:  /w/workspace/_app-service-configurable_PR-533 13:06:01 project root: . 13:06:01 --> token set from env 13:06:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:06:01 ==> Running gcov in . (disable via -X gcov) 13:06:01 ==> Python coveragepy not found 13:06:01 ==> Searching for coverage reports in: 13:06:01 + . 13:06:01 -> Found 1 reports 13:06:01 ==> Detecting git/mercurial file structure 13:06:01 ==> Reading reports 13:06:01 + ./coverage.out bytes=13 13:06:01 ==> Appending adjustments 13:06:01 https://docs.codecov.io/docs/fixing-reports 13:06:02 + Found adjustments 13:06:02 ==> Gzipping contents 13:06:02 4.0K /tmp/codecov.w2V9oJ.gz 13:06:02 ==> Uploading reports 13:06:02 url: https://codecov.io 13:06:02 query: branch=PR-533&commit=921bca587619a78f6fea4c66396e382ebda801d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-533%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=533&job=&cmd_args= 13:06:02 -> Pinging Codecov 13:06:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-533&commit=921bca587619a78f6fea4c66396e382ebda801d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-533%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=533&job=&cmd_args= 13:06:02 -> Uploading to 13:06:02 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/A97CA9966030D2A3747ED39772930CCE/921bca587619a78f6fea4c66396e382ebda801d3/0073149a-1d0e-44b9-9554-2cbd12f9e817.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T130602Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd69573baa1fb4f4c167c462230b986319047d60026fc467a5bb2a4810d73197 13:06:02 % Total % Received % Xferd Average Speed Time Time Time Current 13:06:02 Dload Upload Total Spent Left Speed 13:06:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 511 0 0 100 511 0 1799 --:--:-- --:--:-- --:--:-- 1799 13:06:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/921bca587619a78f6fea4c66396e382ebda801d3 [Pipeline] } 13:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:06:04 + [ -d /w/workspace/_app-service-configurable_PR-533/archives ] 13:06:04 + ls -al /w/workspace/_app-service-configurable_PR-533/archives 13:06:04 total 16 13:06:04 drwxr-xr-x 3 root root 4096 Mar 21 12:54 . 13:06:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:54 .. 13:06:04 drwxr-xr-x 2 root root 4096 Mar 21 12:54 cost 13:06:04 -rw-r--r-- 1 root root 96 Mar 21 12:54 cost.csv 13:06:04 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-533/archives 13:06:04 + ls -al /w/workspace/_app-service-configurable_PR-533/archives 13:06:04 total 16 13:06:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:54 . 13:06:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:54 .. 13:06:04 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 12:54 cost 13:06:04 -rw-r--r-- 1 jenkins jenkins 96 Mar 21 12:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:06:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:06:05 ---> package-listing.sh 13:06:05 ++ facter osfamily 13:06:05 ++ tr '[:upper:]' '[:lower:]' 13:06:05 + OS_FAMILY=debian 13:06:05 + workspace=/w/workspace/_app-service-configurable_PR-533 13:06:05 + START_PACKAGES=/tmp/packages_start.txt 13:06:05 + END_PACKAGES=/tmp/packages_end.txt 13:06:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:06:05 + PACKAGES=/tmp/packages_start.txt 13:06:05 + '[' /w/workspace/_app-service-configurable_PR-533 ']' 13:06:05 + PACKAGES=/tmp/packages_end.txt 13:06:05 + case "${OS_FAMILY}" in 13:06:05 + dpkg -l 13:06:05 + grep '^ii' 13:06:05 + '[' -f /tmp/packages_start.txt ']' 13:06:05 + '[' -f /tmp/packages_end.txt ']' 13:06:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:06:05 + '[' /w/workspace/_app-service-configurable_PR-533 ']' 13:06:05 + mkdir -p /w/workspace/_app-service-configurable_PR-533/archives/ 13:06:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-533/archives/ [Pipeline] echo 13:06:05 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-533/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:06:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:06 prd-ubuntu20.04-docker-8c-8g-4852 does not seem to be running inside a container 13:06:06 $ 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-533/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-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 13:06:07 $ docker top c8304db38d8033d22bceff02dd9c25dac9cab5089a1730fc6f6ed9faba3311e8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:06:07 + touch /tmp/pre-build-complete [Pipeline] sh 13:06:07 + mkdir -p /var/log/sysstat [Pipeline] sh 13:06:08 + ls /var/log/sa-host 13:06:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:06:08 provisioning config files... 13:06:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config12373653891969567081tmp [Pipeline] { [Pipeline] echo 13:06:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:06:08 ---> create-netrc.sh [Pipeline] } 13:06:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:06:09 ---> python-tools-install.sh [Pipeline] echo 13:06:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:06:09 ---> sudo-logs.sh 13:06:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:06:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:06:09 ---> job-cost.sh 13:06:09 lf-activate-venv: SKIPPING 13:06:09 DEBUG: total: 0.2199999988079071 13:06:09 INFO: Retrieving Stack Cost... 13:06:10 INFO: Retrieving Pricing Info for: v3-standard-8 13:06:10 INFO: Archiving Costs [Pipeline] echo 13:06:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:06:11 ---> logs-deploy.sh 13:06:11 lf-activate-venv: SKIPPING 13:06:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-533/1 13:06:11 INFO: archiving workspace using pattern(s): 13:06:11 Archives upload complete. 13:06:12 INFO: archiving logs to Nexus