Pull request #620 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ba748ca26e422442fb9af01cae1f1425c200c19a+b279e99bc72aab90b799f17157d7f2e7dfbc53e7 (bb7ab48387517689c9ce955ce14b95e9d201599c) 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-ssh3883801202110749383.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh15867225942418873532.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-620/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-620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15417452903322015424.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-620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16838133936435734135.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh42880177881679605.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-620/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-620/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2359717528186895184.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16842 in /w/workspace/_app-service-configurable_PR-620 [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-620 # 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/620/head:refs/remotes/origin/PR-620 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b279e99bc72aab90b799f17157d7f2e7dfbc53e7 into PR head commit ba748ca26e422442fb9af01cae1f1425c200c19a Merge succeeded, producing ba748ca26e422442fb9af01cae1f1425c200c19a Checking out Revision ba748ca26e422442fb9af01cae1f1425c200c19a (PR-620) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:21:59 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ba748ca26e422442fb9af01cae1f1425c200c19a # 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 b279e99bc72aab90b799f17157d7f2e7dfbc53e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba748ca26e422442fb9af01cae1f1425c200c19a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:21:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:21:59 ========================================================= 12:21:59 EdgeX Global Pipelines Version Info 12:21:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:22:00 ------------------- 12:22:00 stable info: 12:22:00 ------------------- 12:22:00 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 12:22:00 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 12:22:00 Message: update stable to v1.0.257 12:22:01 ------------------- 12:22:01 experimental info: 12:22:01 ------------------- 12:22:01 Commited By: **** collab-it+edgex@linuxfoundation.org 12:22:01 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 12:22:01 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:22:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-620 [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-620 [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-620 [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba748ca26e422442fb9af01cae1f1425c200c19a [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba748ca [Pipeline] echo 12:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:02 provisioning config files... 12:22:02 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-620@tmp/config14094962389542017416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:03 ---> docker-login.sh 12:22:03 nexus3.edgexfoundry.org:10001 12:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:04 Configure a credential helper to remove this warning. See 12:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:04 12:22:04 Login Succeeded 12:22:04 nexus3.edgexfoundry.org:10002 12:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:04 Configure a credential helper to remove this warning. See 12:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:04 12:22:04 Login Succeeded 12:22:04 nexus3.edgexfoundry.org:10003 12:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:04 Configure a credential helper to remove this warning. See 12:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:04 12:22:04 Login Succeeded 12:22:04 nexus3.edgexfoundry.org:10004 12:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:04 Configure a credential helper to remove this warning. See 12:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:04 12:22:04 Login Succeeded 12:22:04 docker.io 12:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:04 Configure a credential helper to remove this warning. See 12:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:04 12:22:04 Login Succeeded 12:22:04 ---> docker-login.sh ends [Pipeline] } 12:22:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:22:05 + git rev-list -1 --merges ba748ca26e422442fb9af01cae1f1425c200c19a~1..ba748ca26e422442fb9af01cae1f1425c200c19a [Pipeline] echo 12:22:05 -----------> git rev-list -1 --merges ba748ca26e422442fb9af01cae1f1425c200c19a~1..ba748ca26e422442fb9af01cae1f1425c200c19a ba748ca26e422442fb9af01cae1f1425c200c19a [false] [Pipeline] sh 12:22:05 + git log --format=format:%s -1 ba748ca26e422442fb9af01cae1f1425c200c19a [Pipeline] echo 12:22:06 ========================================================= 12:22:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:22:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:22:06 + git log --format=format:%s -1 ba748ca26e422442fb9af01cae1f1425c200c19a [Pipeline] echo 12:22:06 [semverPrep] GIT_COMMIT: ba748ca26e422442fb9af01cae1f1425c200c19a, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:22:06 [semverPrep] This is not a build commit. [Pipeline] sh 12:22:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:22:06 + grep -v github /etc/ssh/ssh_known_hosts 12:22:06 + [ -e /tmp/ssh_known_hosts ] 12:22:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:22:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:22:06 + sudo tee -a /etc/ssh/ssh_known_hosts 12:22:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:07 12:22:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:07 0.1.4: Pulling from edgex-devops/py-git-semver 12:22:07 b85a868b505f: Pulling fs layer 12:22:07 e2be974225ed: Pulling fs layer 12:22:07 339a4e72a1f5: Pulling fs layer 12:22:07 988bab9f4d93: Pulling fs layer 12:22:07 1469e6f7b9e6: Pulling fs layer 12:22:07 eaf3925da568: Pulling fs layer 12:22:07 bab4dde63d76: Pulling fs layer 12:22:07 bde34c3a00c8: Pulling fs layer 12:22:07 b352a97aabf1: Pulling fs layer 12:22:07 4872d77fe225: Pulling fs layer 12:22:07 5851b861e8e6: Pulling fs layer 12:22:07 eaf3925da568: Waiting 12:22:07 bab4dde63d76: Waiting 12:22:07 bde34c3a00c8: Waiting 12:22:07 b352a97aabf1: Waiting 12:22:07 4872d77fe225: Waiting 12:22:07 5851b861e8e6: Waiting 12:22:07 988bab9f4d93: Waiting 12:22:07 1469e6f7b9e6: Waiting 12:22:07 e2be974225ed: Download complete 12:22:07 988bab9f4d93: Download complete 12:22:07 1469e6f7b9e6: Verifying Checksum 12:22:07 1469e6f7b9e6: Download complete 12:22:08 339a4e72a1f5: Verifying Checksum 12:22:08 eaf3925da568: Verifying Checksum 12:22:08 eaf3925da568: Download complete 12:22:08 bde34c3a00c8: Verifying Checksum 12:22:08 bde34c3a00c8: Download complete 12:22:08 b352a97aabf1: Download complete 12:22:08 4872d77fe225: Verifying Checksum 12:22:08 4872d77fe225: Download complete 12:22:08 5851b861e8e6: Download complete 12:22:08 b85a868b505f: Verifying Checksum 12:22:08 b85a868b505f: Download complete 12:22:08 bab4dde63d76: Verifying Checksum 12:22:08 bab4dde63d76: Download complete 12:22:09 b85a868b505f: Pull complete 12:22:09 e2be974225ed: Pull complete 12:22:10 339a4e72a1f5: Pull complete 12:22:10 988bab9f4d93: Pull complete 12:22:10 1469e6f7b9e6: Pull complete 12:22:10 eaf3925da568: Pull complete 12:22:12 bab4dde63d76: Pull complete 12:22:12 bde34c3a00c8: Pull complete 12:22:12 b352a97aabf1: Pull complete 12:22:12 4872d77fe225: Pull complete 12:22:12 5851b861e8e6: Pull complete 12:22:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:22:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:13 prd-ubuntu20.04-docker-8c-8g-16842 does not seem to be running inside a container 12:22:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-620 -v /w/workspace/_app-service-configurable_PR-620:/w/workspace/_app-service-configurable_PR-620:rw,z -v /w/workspace/_app-service-configurable_PR-620@tmp:/w/workspace/_app-service-configurable_PR-620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:22:16 $ docker top 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 -eo pid,comm 12:22:16 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:22:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:22:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:22:16 [ssh-agent] Looking for ssh-agent implementation... 12:22:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:22:16 $ docker exec 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 ssh-agent 12:22:17 SSH_AUTH_SOCK=/tmp/ssh-vXYpsIwwWLW2/agent.32 12:22:17 SSH_AGENT_PID=38 12:22:17 Running ssh-add (command line suppressed) 12:22:17 Identity added: /w/workspace/_app-service-configurable_PR-620@tmp/private_key_10613656880419053122.key (/w/workspace/_app-service-configurable_PR-620@tmp/private_key_10613656880419053122.key) 12:22:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:22:17 + git tag --points-at HEAD [Pipeline] } 12:22:17 $ docker exec --env ******** --env ******** 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 ssh-agent -k 12:22:17 unset SSH_AUTH_SOCK; 12:22:17 unset SSH_AGENT_PID; 12:22:17 echo Agent pid 38 killed; 12:22:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:22:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:22:17 [ssh-agent] Looking for ssh-agent implementation... 12:22:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:22:17 $ docker exec 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 ssh-agent 12:22:17 SSH_AUTH_SOCK=/tmp/ssh-bvSHWn5RPC1n/agent.70 12:22:17 SSH_AGENT_PID=76 12:22:17 Running ssh-add (command line suppressed) 12:22:18 Identity added: /w/workspace/_app-service-configurable_PR-620@tmp/private_key_7988696007591887795.key (/w/workspace/_app-service-configurable_PR-620@tmp/private_key_7988696007591887795.key) 12:22:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:22:18 + git semver init 12:22:18 2023-11-07 12:22:18,591 [run_init] DEBUG init version:0.0.0 force:False 12:22:18 2023-11-07 12:22:18,592 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-620/.semver 12:22:18 2023-11-07 12:22:18,592 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-620/.semver 12:22:18 2023-11-07 12:22:18,592 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-620/.semver'], cwd=/w/workspace/_app-service-configurable_PR-620, universal_newlines=False, shell=None, istream=None) 12:22:19 2023-11-07 12:22:19,470 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-620/.git/info/exclude 12:22:19 2023-11-07 12:22:19,471 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-620/.semver/PR-620 with force:False 12:22:19 2023-11-07 12:22:19,471 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-620/.semver/PR-620 12:22:19 2023-11-07 12:22:19,475 [execute] INFO git cat-file --batch-check 12:22:19 2023-11-07 12:22:19,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-620/.semver, universal_newlines=False, shell=None, istream=) 12:22:19 2023-11-07 12:22:19,482 [execute] INFO git cat-file --batch 12:22:19 2023-11-07 12:22:19,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-620/.semver, universal_newlines=False, shell=None, istream=) 12:22:19 2023-11-07 12:22:19,488 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-620/.semver/PR-620 12:22:19 0.0.0 [Pipeline] } 12:22:19 $ docker exec --env ******** --env ******** 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 ssh-agent -k 12:22:19 unset SSH_AUTH_SOCK; 12:22:19 unset SSH_AGENT_PID; 12:22:19 echo Agent pid 76 killed; 12:22:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:22:20 + git semver [Pipeline] } 12:22:20 $ docker stop --time=1 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 12:22:21 $ docker rm -f --volumes 7b1b44fc685b01787f50a04d45f268748acafc4e0eaffb7846b4f2eb41064193 [Pipeline] // withDockerContainer [Pipeline] sh 12:22:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:22:22 Stashed 1 file(s) [Pipeline] echo 12:22:22 [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:22:23 provisioning config files... 12:22:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-620@tmp/config12321274208244956736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:23 ---> docker-login.sh 12:22:23 nexus3.edgexfoundry.org:10001 12:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:23 Configure a credential helper to remove this warning. See 12:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:23 12:22:23 Login Succeeded 12:22:23 nexus3.edgexfoundry.org:10002 12:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:23 Configure a credential helper to remove this warning. See 12:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:23 12:22:23 Login Succeeded 12:22:23 nexus3.edgexfoundry.org:10003 12:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:23 Configure a credential helper to remove this warning. See 12:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:23 12:22:23 Login Succeeded 12:22:23 nexus3.edgexfoundry.org:10004 12:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:23 Configure a credential helper to remove this warning. See 12:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:23 12:22:23 Login Succeeded 12:22:23 docker.io 12:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:22:24 Configure a credential helper to remove this warning. See 12:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:22:24 12:22:24 Login Succeeded 12:22:24 ---> docker-login.sh ends [Pipeline] } 12:22:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:22:24 ========================================================= 12:22:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:22:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:22:25 Sending build context to Docker daemon 3.375MB 12:22:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:22:25 Step 2/12 : FROM ${BASE} AS builder 12:22:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:22:25 7264a8db6415: Pulling fs layer 12:22:25 c4d48a809fc2: Pulling fs layer 12:22:25 4f1c88b9dad5: Pulling fs layer 12:22:25 ad3a456e5733: Pulling fs layer 12:22:25 33e27b845d1e: Pulling fs layer 12:22:25 c68163c4e522: Pulling fs layer 12:22:25 50da416c3ac9: Pulling fs layer 12:22:25 23d2d4c4bb30: Pulling fs layer 12:22:25 ad3a456e5733: Waiting 12:22:25 50da416c3ac9: Waiting 12:22:25 23d2d4c4bb30: Waiting 12:22:25 33e27b845d1e: Waiting 12:22:25 c68163c4e522: Waiting 12:22:25 c4d48a809fc2: Download complete 12:22:25 ad3a456e5733: Verifying Checksum 12:22:25 ad3a456e5733: Download complete 12:22:25 33e27b845d1e: Verifying Checksum 12:22:25 33e27b845d1e: Download complete 12:22:25 7264a8db6415: Download complete 12:22:25 c68163c4e522: Verifying Checksum 12:22:25 c68163c4e522: Download complete 12:22:25 7264a8db6415: Pull complete 12:22:25 23d2d4c4bb30: Verifying Checksum 12:22:25 23d2d4c4bb30: Download complete 12:22:25 c4d48a809fc2: Pull complete 12:22:25 4f1c88b9dad5: Verifying Checksum 12:22:25 4f1c88b9dad5: Download complete 12:22:26 50da416c3ac9: Verifying Checksum 12:22:26 50da416c3ac9: Download complete 12:22:29 4f1c88b9dad5: Pull complete 12:22:29 ad3a456e5733: Pull complete 12:22:29 33e27b845d1e: Pull complete 12:22:29 c68163c4e522: Pull complete 12:22:31 50da416c3ac9: Pull complete 12:22:31 23d2d4c4bb30: Pull complete 12:22:31 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:22:31 ---> 0786185ac409 12:22:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:22:37 ---> Running in fbc1f7dacf26 12:22:37 Removing intermediate container fbc1f7dacf26 12:22:37 ---> 4aa82ad88975 12:22:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:22:37 ---> Running in c7d1bf02e2ef 12:22:37 Removing intermediate container c7d1bf02e2ef 12:22:37 ---> e23716997602 12:22:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:22:37 ---> Running in f69fc0f2dd5d 12:22:37 Removing intermediate container f69fc0f2dd5d 12:22:37 ---> 93bead330821 12:22:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:22:37 ---> Running in 1f3f40cb5d91 12:22:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:22:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:22:37 Still waiting to schedule task 12:22:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:22:38 OK: 264 MiB in 52 packages 12:22:38 Removing intermediate container 1f3f40cb5d91 12:22:38 ---> dc01c3c9453f 12:22:38 Step 7/12 : WORKDIR /app 12:22:38 ---> Running in 64492c60c500 12:22:38 Removing intermediate container 64492c60c500 12:22:38 ---> 1cfd25052eea 12:22:38 Step 8/12 : COPY go.mod vendor* ./ 12:22:38 ---> c8c1bcf76cf0 12:22:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:22:38 ---> Running in 3af2fce91ef1 12:23:17 Removing intermediate container 3af2fce91ef1 12:23:17 ---> ceac77661c04 12:23:17 Step 10/12 : COPY . . 12:23:17 ---> 02b6b15d841a 12:23:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:23:17 ---> Running in ad2fd0466f94 12:23:17 Removing intermediate container ad2fd0466f94 12:23:17 ---> caf4fd9436ac 12:23:17 Step 12/12 : RUN $MAKE 12:23:17 ---> Running in 820390ec24ba 12:23:17 noop 12:23:17 Removing intermediate container 820390ec24ba 12:23:17 ---> dbafa89dd286 12:23:17 Successfully built dbafa89dd286 12:23:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:18 + docker inspect -f . ci-base-image-x86_64 12:23:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:18 prd-ubuntu20.04-docker-8c-8g-16842 does not seem to be running inside a container 12:23:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-620 -v /w/workspace/_app-service-configurable_PR-620:/w/workspace/_app-service-configurable_PR-620:rw,z -v /w/workspace/_app-service-configurable_PR-620@tmp:/w/workspace/_app-service-configurable_PR-620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:23:18 $ docker top df9e25b65a58906fbb677427cf09e290036f29c8c5da3a4ba636451024ba4d29 -eo pid,comm [Pipeline] { [Pipeline] sh 12:23:19 + go version 12:23:19 go version go1.21.0 linux/amd64 [Pipeline] } 12:23:19 $ docker stop --time=1 df9e25b65a58906fbb677427cf09e290036f29c8c5da3a4ba636451024ba4d29 12:23:20 $ docker rm -f --volumes df9e25b65a58906fbb677427cf09e290036f29c8c5da3a4ba636451024ba4d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:21 + docker inspect -f . ci-base-image-x86_64 12:23:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:21 prd-ubuntu20.04-docker-8c-8g-16842 does not seem to be running inside a container 12:23:21 $ 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-620 -v /w/workspace/_app-service-configurable_PR-620:/w/workspace/_app-service-configurable_PR-620:rw,z -v /w/workspace/_app-service-configurable_PR-620@tmp:/w/workspace/_app-service-configurable_PR-620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:23:21 $ docker top a0a3ff141c88d469686ae50330da87b020c1835d3de7d46aa7563dd0471c1f6e -eo pid,comm [Pipeline] { [Pipeline] sh 12:23:22 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-620 [Pipeline] fileExists [Pipeline] sh 12:23:22 + make test 12:23:22 go test -race -coverprofile=coverage.out ./... 12:23:40 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:24:02 go vet ./... 12:24:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:24:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:24:02 ./bin/test-attribution-txt.sh [Pipeline] echo 12:24:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:24:03 $ docker stop --time=1 a0a3ff141c88d469686ae50330da87b020c1835d3de7d46aa7563dd0471c1f6e 12:24:07 $ docker rm -f --volumes a0a3ff141c88d469686ae50330da87b020c1835d3de7d46aa7563dd0471c1f6e [Pipeline] // withDockerContainer [Pipeline] sh 12:24:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:24:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:24:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:24:09 + ls -al . 12:24:09 total 180 12:24:09 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 12:23 . 12:24:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 12:21 .. 12:24:09 -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 12:21 .dockerignore 12:24:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 12:23 .git 12:24:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 12:21 .github 12:24:09 -rw-rw-r-- 1 jenkins jenkins 106 Nov 7 12:21 .gitignore 12:24:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 12:21 .golangci.yml 12:24:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 12:22 .semver 12:24:09 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 7 12:21 Attribution.txt 12:24:09 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 7 12:21 CHANGELOG.md 12:24:09 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 7 12:21 Dockerfile 12:24:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 12:21 GOVERNANCE.md 12:24:09 -rw-rw-r-- 1 jenkins jenkins 666 Nov 7 12:21 Jenkinsfile 12:24:09 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 12:21 LICENSE 12:24:09 -rw-rw-r-- 1 jenkins jenkins 618 Nov 7 12:21 OWNERS.md 12:24:09 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 7 12:21 README.md 12:24:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 12:22 VERSION 12:24:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 12:21 bin 12:24:09 -rw-r--r-- 1 jenkins jenkins 13 Nov 7 12:23 coverage.out 12:24:09 -rw-rw-r-- 1 jenkins jenkins 3691 Nov 7 12:21 go.mod 12:24:09 -rw-rw-r-- 1 jenkins jenkins 34837 Nov 7 12:21 go.sum 12:24:09 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 7 12:21 main.go 12:24:09 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 7 12:21 makefile 12:24:09 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 12:21 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:09 + 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=ba748ca26e422442fb9af01cae1f1425c200c19a --label arch=amd64 --label version=0.0.0 . 12:24:09 Sending build context to Docker daemon 3.376MB 12:24:09 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:24:09 Step 2/26 : FROM ${BASE} AS builder 12:24:09 ---> dbafa89dd286 12:24:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:24:09 ---> Running in 8abb72008df5 12:24:10 Removing intermediate container 8abb72008df5 12:24:10 ---> a2a890261d73 12:24:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:24:10 ---> Running in 31ae8d4ac184 12:24:10 Removing intermediate container 31ae8d4ac184 12:24:10 ---> 5a5cb232b90d 12:24:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:24:10 ---> Running in 2be810fead9a 12:24:10 Removing intermediate container 2be810fead9a 12:24:10 ---> c7d80487e6e6 12:24:10 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:24:10 ---> Running in 322a9e763825 12:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:24:10 OK: 264 MiB in 52 packages 12:24:11 Removing intermediate container 322a9e763825 12:24:11 ---> 89811002c98f 12:24:11 Step 7/26 : WORKDIR /app 12:24:11 ---> Running in 845c3437ec3d 12:24:11 Removing intermediate container 845c3437ec3d 12:24:11 ---> 086a094a1d93 12:24:11 Step 8/26 : COPY go.mod vendor* ./ 12:24:11 ---> 6cef4700d46a 12:24:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:24:11 ---> Running in 606b2b46c264 12:24:12 Removing intermediate container 606b2b46c264 12:24:12 ---> 3761fdefc57c 12:24:12 Step 10/26 : COPY . . 12:24:12 ---> a298b94d4d7f 12:24:12 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:24:12 ---> Running in e379c1de70bb 12:24:12 Removing intermediate container e379c1de70bb 12:24:12 ---> 4d7d3ee5722e 12:24:12 Step 12/26 : RUN $MAKE 12:24:12 ---> Running in 42019d5d084f 12:24:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:24:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16843 in /w/workspace/_app-service-configurable_PR-620 [Pipeline] { [Pipeline] ws 12:24:19 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:24:19 Selected Git installation does not exist. Using Default 12:24:19 The recommended git tool is: NONE 12:24:27 using credential edgex-jenkins-ssh 12:24:27 Cloning the remote Git repository 12:24:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:24:27 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:24:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:24:27 > git --version # timeout=10 12:24:27 > git --version # 'git version 2.25.1' 12:24:27 using GIT_SSH to set credentials SSH Credentials for GitHub 12:24:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:24:33 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:24:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:24:34 Removing intermediate container 42019d5d084f 12:24:34 ---> fc9abaf60ea0 12:24:34 Step 13/26 : FROM alpine:3.18 12:24:34 3.18: Pulling from library/alpine 12:24:34 96526aa774ef: Pulling fs layer 12:24:34 96526aa774ef: Verifying Checksum 12:24:34 96526aa774ef: Download complete 12:24:34 96526aa774ef: Pull complete 12:24:34 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:24:34 Status: Downloaded newer image for alpine:3.18 12:24:34 ---> 8ca4688f4f35 12:24:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:24:34 ---> Running in bd295b4cab73 12:24:34 Removing intermediate container bd295b4cab73 12:24:34 ---> 731c46037135 12:24:34 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:24:34 ---> Running in a37e9d359b98 12:24:34 Removing intermediate container a37e9d359b98 12:24:34 ---> ded859481b61 12:24:34 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:24:34 ---> Running in b3c7f4fe9f1b 12:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:24:34 (1/2) Installing ca-certificates (20230506-r0) 12:24:34 (2/2) Installing dumb-init (1.2.5-r2) 12:24:34 Executing busybox-1.36.1-r2.trigger 12:24:34 Executing ca-certificates-20230506-r0.trigger 12:24:34 OK: 8 MiB in 17 packages 12:24:34 Removing intermediate container b3c7f4fe9f1b 12:24:34 ---> 4ba874b553b9 12:24:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:24:34 ---> ea54e50c8096 12:24:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:24:34 ---> 11755856bd6b 12:24:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:24:34 ---> 9280928fd7bc 12:24:34 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:24:35 Merging remotes/origin/main commit b279e99bc72aab90b799f17157d7f2e7dfbc53e7 into PR head commit ba748ca26e422442fb9af01cae1f1425c200c19a 12:24:35 Merge succeeded, producing ba748ca26e422442fb9af01cae1f1425c200c19a 12:24:35 Checking out Revision ba748ca26e422442fb9af01cae1f1425c200c19a (PR-620) 12:24:35 ---> 6f59859afbdd 12:24:35 Step 21/26 : EXPOSE 48095 12:24:35 ---> Running in fef02925de6c 12:24:35 Removing intermediate container fef02925de6c 12:24:35 ---> 1f1e9694691d 12:24:35 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:24:35 ---> Running in 4d1796ac520a 12:24:35 Removing intermediate container 4d1796ac520a 12:24:35 ---> 5c9a423a49d8 12:24:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:24:35 ---> Running in 93e6fe210f35 12:24:35 Removing intermediate container 93e6fe210f35 12:24:35 ---> 9d11c26b8771 12:24:35 Step 24/26 : LABEL arch=amd64 12:24:35 ---> Running in 85e1d021dba0 12:24:35 Removing intermediate container 85e1d021dba0 12:24:35 ---> a63bb774b69b 12:24:35 Step 25/26 : LABEL git_sha=ba748ca26e422442fb9af01cae1f1425c200c19a 12:24:35 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:24:35 > git --version # timeout=10 12:24:35 > git --version # 'git version 2.25.1' 12:24:35 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 12:24:35 ---> Running in f127c7dd0b2d 12:24:35 Removing intermediate container f127c7dd0b2d 12:24:35 ---> c180420e246e 12:24:35 Step 26/26 : LABEL version=0.0.0 12:24:35 ---> Running in f78f4ac6ea4d 12:24:35 Removing intermediate container f78f4ac6ea4d 12:24:35 ---> fbd3627c6c00 12:24:35 [Warning] One or more build-args [ARCH] were not consumed 12:24:35 Successfully built fbd3627c6c00 12:24:35 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 12:24:34 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:24:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:24:34 using GIT_SSH to set credentials SSH Credentials for GitHub 12:24:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/620/head:refs/remotes/origin/PR-620 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:24:35 > git config core.sparsecheckout # timeout=10 12:24:35 > git checkout -f ba748ca26e422442fb9af01cae1f1425c200c19a # timeout=10 12:24:35 > git remote # timeout=10 12:24:35 > git config --get remote.origin.url # timeout=10 12:24:35 using GIT_SSH to set credentials SSH Credentials for GitHub 12:24:35 > git merge b279e99bc72aab90b799f17157d7f2e7dfbc53e7 # timeout=10 12:24:35 > git rev-parse HEAD^{commit} # timeout=10 12:24:35 > git config core.sparsecheckout # timeout=10 12:24:35 > git checkout -f ba748ca26e422442fb9af01cae1f1425c200c19a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 12:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:24:36 12:24:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:24:37 % Total % Received % Xferd Average Speed Time Time Time Current 12:24:37 Dload Upload Total Spent Left Speed 12:24:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86272 0 --:--:-- --:--:-- --:--:-- 86272 12:24:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:24:37 latest: Pulling from edgex-lftools-log-publisher 12:24:37 5eb5b503b376: Pulling fs layer 12:24:37 5c69ac0246d0: Pulling fs layer 12:24:37 ec43610c2a17: Pulling fs layer 12:24:37 3a2ae6a8a46f: Pulling fs layer 12:24:37 33b1e0a273af: Pulling fs layer 12:24:37 5d3b04190fa2: Pulling fs layer 12:24:37 2f39f015ded8: Pulling fs layer 12:24:37 3a2ae6a8a46f: Waiting 12:24:37 33b1e0a273af: Waiting 12:24:37 5d3b04190fa2: Waiting 12:24:37 2f39f015ded8: Waiting 12:24:37 5c69ac0246d0: Download complete 12:24:37 3a2ae6a8a46f: Verifying Checksum 12:24:37 3a2ae6a8a46f: Download complete 12:24:37 33b1e0a273af: Verifying Checksum 12:24:37 33b1e0a273af: Download complete 12:24:37 5d3b04190fa2: Verifying Checksum 12:24:37 5d3b04190fa2: Download complete [Pipeline] sh 12:24:37 ec43610c2a17: Verifying Checksum 12:24:37 ec43610c2a17: Download complete 12:24:37 5eb5b503b376: Verifying Checksum 12:24:37 5eb5b503b376: Download complete 12:24:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:24:38 2f39f015ded8: Verifying Checksum 12:24:38 2f39f015ded8: Download complete 12:24:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:24:38 + sudo tee /etc/docker/daemon.new 12:24:38 { 12:24:38 "registry-mirrors": [ 12:24:38 "https://nexus3.edgexfoundry.org:10001" 12:24:38 ], 12:24:38 "bip": "10.250.0.254/24", 12:24:38 "hosts": [ 12:24:38 "tcp://0.0.0.0:5555", 12:24:38 "unix:///var/run/docker.sock" 12:24:38 ], 12:24:38 "mtu": 1458, 12:24:38 "selinux-enabled": true, 12:24:38 "seccomp-profile": "/etc/docker/seccomp.json" 12:24:38 } [Pipeline] sh 12:24:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:24:38 5eb5b503b376: Pull complete 12:24:38 5c69ac0246d0: Pull complete 12:24:38 + sudo service docker restart 12:24:39 ec43610c2a17: Pull complete 12:24:39 3a2ae6a8a46f: Pull complete 12:24:39 33b1e0a273af: Pull complete 12:24:39 5d3b04190fa2: Pull complete 12:24:43 2f39f015ded8: Pull complete 12:24:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:24:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:43 prd-ubuntu20.04-docker-8c-8g-16842 does not seem to be running inside a container 12:24:43 $ 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-620 -v /w/workspace/_app-service-configurable_PR-620:/w/workspace/_app-service-configurable_PR-620:rw,z -v /w/workspace/_app-service-configurable_PR-620@tmp:/w/workspace/_app-service-configurable_PR-620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:24:48 $ docker top cacbc68913ba46a523d912d07e1683873a0442247acc29638cf5ba28b8e1ea08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:49 ---> job-cost.sh 12:24:49 lf-activate-venv: SKIPPING 12:24:49 INFO: No Stack... 12:24:49 INFO: Retrieving Pricing Info for: v3-standard-8 12:24:50 INFO: Archiving Costs [Pipeline] sh 12:24:50 + cat /w/workspace/_app-service-configurable_PR-620/archives/cost.csv 12:24:50 + cut -d, -f6 [Pipeline] lock 12:24:50 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] 12:24:50 Resource [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] did not exist. Created. 12:24:50 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:24:50 + echo total: 0.2199999988079071 [Pipeline] stash 12:24:50 Stashed 1 file(s) [Pipeline] } 12:24:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:24:51 $ docker stop --time=1 cacbc68913ba46a523d912d07e1683873a0442247acc29638cf5ba28b8e1ea08 12:24:52 $ docker rm -f --volumes cacbc68913ba46a523d912d07e1683873a0442247acc29638cf5ba28b8e1ea08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:24:57 provisioning config files... 12:24:57 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15631009554661277220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:57 ---> docker-login.sh 12:24:57 nexus3.edgexfoundry.org:10001 12:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:58 Configure a credential helper to remove this warning. See 12:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:58 12:24:58 Login Succeeded 12:24:58 nexus3.edgexfoundry.org:10002 12:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:58 Configure a credential helper to remove this warning. See 12:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:58 12:24:58 Login Succeeded 12:24:58 nexus3.edgexfoundry.org:10003 12:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:58 Configure a credential helper to remove this warning. See 12:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:58 12:24:58 Login Succeeded 12:24:58 nexus3.edgexfoundry.org:10004 12:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:59 Configure a credential helper to remove this warning. See 12:24:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:59 12:24:59 Login Succeeded 12:24:59 docker.io 12:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:59 Configure a credential helper to remove this warning. See 12:24:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:59 12:24:59 Login Succeeded 12:24:59 ---> docker-login.sh ends [Pipeline] } 12:24:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:25:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:25:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:25:00 ========================================================= 12:25:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:25:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:25:00 Sending build context to Docker daemon 157.7kB 12:25:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:25:02 Step 2/12 : FROM ${BASE} AS builder 12:25:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:25:02 9fda8d8052c6: Pulling fs layer 12:25:02 5d54e960e981: Pulling fs layer 12:25:02 c4a7e357bf2a: Pulling fs layer 12:25:02 f0e02332f6b5: Pulling fs layer 12:25:02 cefa15bbcfad: Pulling fs layer 12:25:02 17808c966233: Pulling fs layer 12:25:02 f4c1fc716caa: Pulling fs layer 12:25:02 cefa15bbcfad: Waiting 12:25:02 17808c966233: Waiting 12:25:02 f4c1fc716caa: Waiting 12:25:02 f0e02332f6b5: Waiting 12:25:02 5d54e960e981: Verifying Checksum 12:25:02 5d54e960e981: Download complete 12:25:02 f0e02332f6b5: Verifying Checksum 12:25:02 f0e02332f6b5: Download complete 12:25:02 cefa15bbcfad: Verifying Checksum 12:25:02 cefa15bbcfad: Download complete 12:25:02 9fda8d8052c6: Download complete 12:25:02 f4c1fc716caa: Verifying Checksum 12:25:02 f4c1fc716caa: Download complete 12:25:03 9fda8d8052c6: Pull complete 12:25:03 5d54e960e981: Pull complete 12:25:03 c4a7e357bf2a: Verifying Checksum 12:25:03 c4a7e357bf2a: Download complete 12:25:04 17808c966233: Verifying Checksum 12:25:17 c4a7e357bf2a: Pull complete 12:25:17 f0e02332f6b5: Pull complete 12:25:17 cefa15bbcfad: Pull complete 12:25:27 17808c966233: Pull complete 12:25:29 f4c1fc716caa: Pull complete 12:25:29 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:25:29 ---> ea914061e18c 12:25:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:25:29 ---> Running in 71747e8d2b70 12:25:30 Removing intermediate container 71747e8d2b70 12:25:30 ---> 96e528c859ba 12:25:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:25:30 ---> Running in f82c714c234f 12:25:30 Removing intermediate container f82c714c234f 12:25:30 ---> e9d8e2b36cb6 12:25:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:25:30 ---> Running in e920a2eb9d4b 12:25:30 Removing intermediate container e920a2eb9d4b 12:25:30 ---> 3825a43c3e9a 12:25:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:25:30 ---> Running in ece2b00a4309 12:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:25:33 OK: 266 MiB in 52 packages 12:25:34 Removing intermediate container ece2b00a4309 12:25:34 ---> 0171c69694a6 12:25:34 Step 7/12 : WORKDIR /app 12:25:34 ---> Running in dc42edcf8723 12:25:34 Removing intermediate container dc42edcf8723 12:25:34 ---> d959ccbdff01 12:25:34 Step 8/12 : COPY go.mod vendor* ./ 12:25:35 ---> 69f0bb4ca60d 12:25:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:25:35 ---> Running in 1f7c6f580b76 12:26:56 Removing intermediate container 1f7c6f580b76 12:26:56 ---> e48cf2b62299 12:26:56 Step 10/12 : COPY . . 12:26:56 ---> cddcf9079526 12:26:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:26:56 ---> Running in fa3ba2482c7f 12:26:56 Removing intermediate container fa3ba2482c7f 12:26:56 ---> ac13296c91d6 12:26:56 Step 12/12 : RUN $MAKE 12:26:56 ---> Running in c3accfe445d3 12:26:56 noop 12:26:56 Removing intermediate container c3accfe445d3 12:26:56 ---> c187c12cb7f8 12:26:56 Successfully built c187c12cb7f8 12:26:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:57 + docker inspect -f . ci-base-image-arm64 12:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:57 prd-ubuntu20.04-docker-arm64-4c-16g-16843 does not seem to be running inside a container 12:26:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:26:58 $ docker top ffa963783deec7a38b0af93b9f39915de19839908b4abc3893a3af715de806cb -eo pid,comm [Pipeline] { [Pipeline] sh 12:26:59 + go version 12:26:59 go version go1.21.0 linux/arm64 [Pipeline] } 12:26:59 $ docker stop --time=1 ffa963783deec7a38b0af93b9f39915de19839908b4abc3893a3af715de806cb 12:27:01 $ docker rm -f --volumes ffa963783deec7a38b0af93b9f39915de19839908b4abc3893a3af715de806cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:02 + docker inspect -f . ci-base-image-arm64 12:27:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:02 prd-ubuntu20.04-docker-arm64-4c-16g-16843 does not seem to be running inside a container 12:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:27:06 $ docker top a8886f096e6dd81da9b0e72c44df4e8d14241433e67b7dfa2b58b03554482d80 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:07 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:27:07 + make test 12:27:08 go test -race -coverprofile=coverage.out ./... 12:29:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:29:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:29:14 go vet ./... 12:30:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:30:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:30:51 ./bin/test-attribution-txt.sh [Pipeline] echo 12:30:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:30:51 $ docker stop --time=1 a8886f096e6dd81da9b0e72c44df4e8d14241433e67b7dfa2b58b03554482d80 12:30:53 $ docker rm -f --volumes a8886f096e6dd81da9b0e72c44df4e8d14241433e67b7dfa2b58b03554482d80 [Pipeline] // withDockerContainer [Pipeline] sh 12:30:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:30:55 Warning: overwriting stash ‘coverage-report’ 12:30:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:30:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:30:56 + ls -al . 12:30:56 total 176 12:30:56 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 12:27 . 12:30:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 12:24 .. 12:30:56 -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 12:24 .dockerignore 12:30:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 12:24 .git 12:30:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 12:24 .github 12:30:56 -rw-rw-r-- 1 jenkins jenkins 106 Nov 7 12:24 .gitignore 12:30:56 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 12:24 .golangci.yml 12:30:56 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 7 12:24 Attribution.txt 12:30:56 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 7 12:24 CHANGELOG.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 7 12:24 Dockerfile 12:30:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 12:24 GOVERNANCE.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 666 Nov 7 12:24 Jenkinsfile 12:30:56 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 12:24 LICENSE 12:30:56 -rw-rw-r-- 1 jenkins jenkins 618 Nov 7 12:24 OWNERS.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 7 12:24 README.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 12:22 VERSION 12:30:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 12:24 bin 12:30:56 -rw-r--r-- 1 jenkins jenkins 13 Nov 7 12:27 coverage.out 12:30:56 -rw-rw-r-- 1 jenkins jenkins 3691 Nov 7 12:24 go.mod 12:30:56 -rw-rw-r-- 1 jenkins jenkins 34837 Nov 7 12:24 go.sum 12:30:56 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 7 12:24 main.go 12:30:56 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 7 12:24 makefile 12:30:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 12:24 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30: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=ba748ca26e422442fb9af01cae1f1425c200c19a --label arch=arm64 --label version=0.0.0 . 12:30:57 Sending build context to Docker daemon 158.7kB 12:30:57 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:30:57 Step 2/26 : FROM ${BASE} AS builder 12:30:57 ---> c187c12cb7f8 12:30:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:30:57 ---> Running in 09a9c2cc3e9d 12:30:57 Removing intermediate container 09a9c2cc3e9d 12:30:57 ---> 3badd8a9a0ac 12:30:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:30:57 ---> Running in f426a4189fa2 12:30:58 Removing intermediate container f426a4189fa2 12:30:58 ---> a6c78df5ae2b 12:30:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:30:58 ---> Running in 36e3d5b74160 12:30:58 Removing intermediate container 36e3d5b74160 12:30:58 ---> e7f7cac6d026 12:30:58 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:30:58 ---> Running in 438e38e19ed6 12:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:31:01 OK: 266 MiB in 52 packages 12:31:04 Removing intermediate container 438e38e19ed6 12:31:04 ---> 8fb2464fb805 12:31:04 Step 7/26 : WORKDIR /app 12:31:04 ---> Running in 1f27727d1755 12:31:04 Removing intermediate container 1f27727d1755 12:31:04 ---> b08055e50b2b 12:31:04 Step 8/26 : COPY go.mod vendor* ./ 12:31:05 ---> ee9879208286 12:31:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:31:05 ---> Running in c0050fe117ff 12:31:08 Removing intermediate container c0050fe117ff 12:31:08 ---> 5d0a25db6e94 12:31:08 Step 10/26 : COPY . . 12:31:08 ---> 5fe682f12810 12:31:08 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:31:08 ---> Running in 80ea5dbae4f2 12:31:08 Removing intermediate container 80ea5dbae4f2 12:31:08 ---> 85873c425a86 12:31:08 Step 12/26 : RUN $MAKE 12:31:08 ---> Running in e7bf3a41dcb8 12:31:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:33:01 Removing intermediate container e7bf3a41dcb8 12:33:01 ---> a30ffee1936b 12:33:01 Step 13/26 : FROM alpine:3.18 12:33:01 3.18: Pulling from library/alpine 12:33:01 579b34f0a95b: Pulling fs layer 12:33:01 579b34f0a95b: Verifying Checksum 12:33:01 579b34f0a95b: Download complete 12:33:01 579b34f0a95b: Pull complete 12:33:01 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:33:01 Status: Downloaded newer image for alpine:3.18 12:33:01 ---> 3cc203321400 12:33:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:33:01 ---> Running in b0ec290eb864 12:33:01 Removing intermediate container b0ec290eb864 12:33:01 ---> 31baae812461 12:33:01 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:33:01 ---> Running in 1f3ce89f14c2 12:33:01 Removing intermediate container 1f3ce89f14c2 12:33:01 ---> 8035b2f1a9f0 12:33:01 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:33:01 ---> Running in 963c719c70dc 12:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:33:01 (1/2) Installing ca-certificates (20230506-r0) 12:33:01 (2/2) Installing dumb-init (1.2.5-r2) 12:33:01 Executing busybox-1.36.1-r2.trigger 12:33:01 Executing ca-certificates-20230506-r0.trigger 12:33:01 OK: 9 MiB in 17 packages 12:33:02 Removing intermediate container 963c719c70dc 12:33:02 ---> bb014b948d09 12:33:02 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:33:03 ---> c92e9d291341 12:33:03 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:33:03 ---> 175554b8bd32 12:33:03 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:33:04 ---> 094cd16abe06 12:33:04 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:33:05 ---> b3b3554db20c 12:33:05 Step 21/26 : EXPOSE 48095 12:33:05 ---> Running in 10092c01dcef 12:33:06 Removing intermediate container 10092c01dcef 12:33:06 ---> cb56f53ebba2 12:33:06 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:33:06 ---> Running in 0a8c7615e205 12:33:06 Removing intermediate container 0a8c7615e205 12:33:06 ---> 06569918d1ca 12:33:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:33:06 ---> Running in 006d2e5ab483 12:33:06 Removing intermediate container 006d2e5ab483 12:33:06 ---> e43c515dfa5b 12:33:06 Step 24/26 : LABEL arch=arm64 12:33:06 ---> Running in be48ff8c1f30 12:33:07 Removing intermediate container be48ff8c1f30 12:33:07 ---> 8e6bafc6a10d 12:33:07 Step 25/26 : LABEL git_sha=ba748ca26e422442fb9af01cae1f1425c200c19a 12:33:07 ---> Running in 8c05eda0645a 12:33:07 Removing intermediate container 8c05eda0645a 12:33:07 ---> b756ac771db7 12:33:07 Step 26/26 : LABEL version=0.0.0 12:33:07 ---> Running in 35c4235f3f6b 12:33:08 Removing intermediate container 35c4235f3f6b 12:33:08 ---> bf88756f9239 12:33:08 [Warning] One or more build-args [ARCH] were not consumed 12:33:08 Successfully built bf88756f9239 12:33:08 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:08 12:33:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:09 arm64: Pulling from edgex-lftools-log-publisher 12:33:09 8998bd30e6a1: Pulling fs layer 12:33:09 04944245beec: Pulling fs layer 12:33:09 699f458cf7ca: Pulling fs layer 12:33:09 765212b225bb: Pulling fs layer 12:33:09 f23df028b6ca: Pulling fs layer 12:33:09 d65c8cfc05b1: Pulling fs layer 12:33:09 2437ff75d9bd: Pulling fs layer 12:33:09 f23df028b6ca: Waiting 12:33:09 d65c8cfc05b1: Waiting 12:33:09 2437ff75d9bd: Waiting 12:33:09 765212b225bb: Waiting 12:33:09 04944245beec: Verifying Checksum 12:33:09 04944245beec: Download complete 12:33:09 765212b225bb: Verifying Checksum 12:33:09 765212b225bb: Download complete 12:33:09 f23df028b6ca: Verifying Checksum 12:33:09 f23df028b6ca: Download complete 12:33:09 d65c8cfc05b1: Verifying Checksum 12:33:09 d65c8cfc05b1: Download complete 12:33:09 699f458cf7ca: Verifying Checksum 12:33:09 699f458cf7ca: Download complete 12:33:10 8998bd30e6a1: Verifying Checksum 12:33:10 8998bd30e6a1: Download complete 12:33:12 2437ff75d9bd: Download complete 12:33:14 8998bd30e6a1: Pull complete 12:33:15 04944245beec: Pull complete 12:33:17 699f458cf7ca: Pull complete 12:33:17 765212b225bb: Pull complete 12:33:18 f23df028b6ca: Pull complete 12:33:18 d65c8cfc05b1: Pull complete 12:33:40 2437ff75d9bd: Pull complete 12:33:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:33:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:41 prd-ubuntu20.04-docker-arm64-4c-16g-16843 does not seem to be running inside a container 12:33:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:33:43 $ docker top 312e3ee7ccf141aeabf752bd7ef81aa5d7e07ae544c5c22cec06f702af687c65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:44 ---> job-cost.sh 12:33:44 lf-activate-venv: SKIPPING 12:33:44 INFO: No Stack... 12:33:45 INFO: Retrieving Pricing Info for: v3-standard-4 12:33:46 INFO: Archiving Costs [Pipeline] sh 12:33:46 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:33:46 + cut -d, -f6 [Pipeline] lock 12:33:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] 12:33:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] did not exist. Created. 12:33:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:33:47 /w/workspace/app-service-configurable/1@tmp/durable-23ee78b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:33:48 + echo total: 0.10999999940395355 [Pipeline] stash 12:33:48 Warning: overwriting stash ‘stack-cost’ 12:33:48 Stashed 1 file(s) [Pipeline] } 12:33:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-620-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:33:48 $ docker stop --time=1 312e3ee7ccf141aeabf752bd7ef81aa5d7e07ae544c5c22cec06f702af687c65 12:33:52 $ docker rm -f --volumes 312e3ee7ccf141aeabf752bd7ef81aa5d7e07ae544c5c22cec06f702af687c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:33:53 provisioning config files... 12:33:53 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-620@tmp/config4907119035239178365tmp [Pipeline] { [Pipeline] sh 12:33:53 + set +x 12:33:53 + + curl -s https://codecov.io/bash 12:33:53 bash -s -- 12:33:53 12:33:53 _____ _ 12:33:53 / ____| | | 12:33:53 | | ___ __| | ___ ___ _____ __ 12:33:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:33:53 | |___| (_) | (_| | __/ (_| (_) \ V / 12:33:53 \_____\___/ \__,_|\___|\___\___/ \_/ 12:33:53 Bash-1.0.6 12:33:53 12:33:53 12:33:53 ==> git version 2.25.1 found 12:33:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:33:53 Release-Date: 2020-01-08 12:33:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:33:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:33:53 ==> Jenkins CI detected. 12:33:53 current dir:  /w/workspace/_app-service-configurable_PR-620 12:33:53 project root: . 12:33:53 --> token set from env 12:33:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:33:53 ==> Running gcov in . (disable via -X gcov) 12:33:53 ==> Python coveragepy not found 12:33:53 ==> Searching for coverage reports in: 12:33:53 + . 12:33:53 -> Found 1 reports 12:33:53 ==> Detecting git/mercurial file structure 12:33:53 ==> Reading reports 12:33:54 + ./coverage.out bytes=13 12:33:54 ==> Appending adjustments 12:33:54 https://docs.codecov.io/docs/fixing-reports 12:33:54 + Found adjustments 12:33:54 ==> Gzipping contents 12:33:54 4.0K /tmp/codecov.nsco2R.gz 12:33:54 ==> Uploading reports 12:33:54 url: https://codecov.io 12:33:54 query: branch=PR-620&commit=ba748ca26e422442fb9af01cae1f1425c200c19a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=620&job=&cmd_args= 12:33:54 -> Pinging Codecov 12:33:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-620&commit=ba748ca26e422442fb9af01cae1f1425c200c19a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=620&job=&cmd_args= 12:33:54 -> Uploading to 12:33:54 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/A97CA9966030D2A3747ED39772930CCE/ba748ca26e422442fb9af01cae1f1425c200c19a/fbcbbc96-8696-49d8-b96b-5498af6e92ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T123354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c47c5db869791e9ac610d5f755eeff2a261e83f560357a0c92262ad5af115125 12:33:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:33:54 Dload Upload Total Spent Left Speed 12:33:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 959 --:--:-- --:--:-- --:--:-- 959 12:33:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ba748ca26e422442fb9af01cae1f1425c200c19a [Pipeline] } 12:33:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:33:56 + [ -d /w/workspace/_app-service-configurable_PR-620/archives ] 12:33:56 + ls -al /w/workspace/_app-service-configurable_PR-620/archives 12:33:56 total 16 12:33:56 drwxr-xr-x 3 root root 4096 Nov 7 12:24 . 12:33:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 12:24 .. 12:33:56 drwxr-xr-x 2 root root 4096 Nov 7 12:24 cost 12:33:56 -rw-r--r-- 1 root root 96 Nov 7 12:24 cost.csv 12:33:56 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-620/archives 12:33:56 + ls -al /w/workspace/_app-service-configurable_PR-620/archives 12:33:56 total 16 12:33:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 12:24 . 12:33:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 12:24 .. 12:33:56 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 12:24 cost 12:33:56 -rw-r--r-- 1 jenkins jenkins 96 Nov 7 12:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:33:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:57 ---> package-listing.sh 12:33:57 ++ facter osfamily 12:33:57 ++ tr '[:upper:]' '[:lower:]' 12:33:57 + OS_FAMILY=debian 12:33:57 + workspace=/w/workspace/_app-service-configurable_PR-620 12:33:57 + START_PACKAGES=/tmp/packages_start.txt 12:33:57 + END_PACKAGES=/tmp/packages_end.txt 12:33:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:57 + PACKAGES=/tmp/packages_start.txt 12:33:57 + '[' /w/workspace/_app-service-configurable_PR-620 ']' 12:33:57 + PACKAGES=/tmp/packages_end.txt 12:33:57 + case "${OS_FAMILY}" in 12:33:57 + dpkg -l 12:33:57 + grep '^ii' 12:33:57 + '[' -f /tmp/packages_start.txt ']' 12:33:57 + '[' -f /tmp/packages_end.txt ']' 12:33:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:57 + '[' /w/workspace/_app-service-configurable_PR-620 ']' 12:33:57 + mkdir -p /w/workspace/_app-service-configurable_PR-620/archives/ 12:33:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-620/archives/ [Pipeline] echo 12:33:57 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-620/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:33:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:33:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:58 prd-ubuntu20.04-docker-8c-8g-16842 does not seem to be running inside a container 12:33:58 $ 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-620/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-620 -v /w/workspace/_app-service-configurable_PR-620:/w/workspace/_app-service-configurable_PR-620:rw,z -v /w/workspace/_app-service-configurable_PR-620@tmp:/w/workspace/_app-service-configurable_PR-620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:33:59 $ docker top f6cb8f8cb2e453631d998b71ba533fde027fd4aba3a328ecb8cdf167d00b8175 -eo pid,comm [Pipeline] { [Pipeline] sh 12:33:59 + touch /tmp/pre-build-complete [Pipeline] sh 12:33:59 + mkdir -p /var/log/sysstat [Pipeline] sh 12:34:00 + ls /var/log/sa-host 12:34:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:34:00 provisioning config files... 12:34:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-620@tmp/config1319226504556681158tmp [Pipeline] { [Pipeline] echo 12:34:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:34:00 ---> create-netrc.sh [Pipeline] } 12:34:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:34:01 ---> python-tools-install.sh [Pipeline] echo 12:34:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:34:01 ---> sudo-logs.sh 12:34:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:34:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:34:01 ---> job-cost.sh 12:34:01 lf-activate-venv: SKIPPING 12:34:01 DEBUG: total: 0.2199999988079071 12:34:01 INFO: Retrieving Stack Cost... 12:34:02 INFO: Retrieving Pricing Info for: v3-standard-8 12:34:02 INFO: Archiving Costs [Pipeline] echo 12:34:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:34:03 ---> logs-deploy.sh 12:34:03 lf-activate-venv: SKIPPING 12:34:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-620/1 12:34:03 INFO: archiving workspace using pattern(s): 12:34:04 Archives upload complete. 12:34:04 INFO: archiving logs to Nexus