Pull request #610 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 1825dd6a8c768d2c50796d2ee79c4f45355dcfff+7321a994598ca5e537abf0d162217fba0461ceb8 (ae3fc382adc8eb0daae18c829dd4b51d69b6a3c2) 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-ssh16146916047343945563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6728039376262676090.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-610/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-610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14199661709186894740.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-610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9345038676117456885.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7836319236851242372.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-610/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-610/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8557938700619765515.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-ubuntu20.04-docker-8c-8g-9822’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9825 in /w/workspace/_app-service-configurable_PR-610 [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-610 # 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 Merging remotes/origin/main commit 7321a994598ca5e537abf0d162217fba0461ceb8 into PR head commit 1825dd6a8c768d2c50796d2ee79c4f45355dcfff Merge succeeded, producing 1825dd6a8c768d2c50796d2ee79c4f45355dcfff Checking out Revision 1825dd6a8c768d2c50796d2ee79c4f45355dcfff (PR-610) > 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/610/head:refs/remotes/origin/PR-610 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1825dd6a8c768d2c50796d2ee79c4f45355dcfff # 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 7321a994598ca5e537abf0d162217fba0461ceb8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1825dd6a8c768d2c50796d2ee79c4f45355dcfff # timeout=10 Commit message: "feat: Add defaults for new Last Will options" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:09:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:09:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:09:09 ========================================================= 19:09:09 EdgeX Global Pipelines Version Info 19:09:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:09:10 ------------------- 19:09:10 stable info: 19:09:10 ------------------- 19:09:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:09:10 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 19:09:10 Message: update stable to v1.0.254 19:09:10 ------------------- 19:09:10 experimental info: 19:09:10 ------------------- 19:09:10 Commited By: **** collab-it+edgex@linuxfoundation.org 19:09:10 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 19:09:10 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:09:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 19:09:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 19:09:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:09:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:09:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:09:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:09:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-610 [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-610 [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-610 [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1825dd6a8c768d2c50796d2ee79c4f45355dcfff [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1825dd6 [Pipeline] echo 19:09:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:09:12 provisioning config files... 19:09:12 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-610@tmp/config851789033976754283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:12 ---> docker-login.sh 19:09:12 nexus3.edgexfoundry.org:10001 19:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:13 Configure a credential helper to remove this warning. See 19:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:13 19:09:13 Login Succeeded 19:09:13 nexus3.edgexfoundry.org:10002 19:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:14 Configure a credential helper to remove this warning. See 19:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:14 19:09:14 Login Succeeded 19:09:14 nexus3.edgexfoundry.org:10003 19:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:14 Configure a credential helper to remove this warning. See 19:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:14 19:09:14 Login Succeeded 19:09:14 nexus3.edgexfoundry.org:10004 19:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:14 Configure a credential helper to remove this warning. See 19:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:14 19:09:14 Login Succeeded 19:09:14 docker.io 19:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:14 Configure a credential helper to remove this warning. See 19:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:14 19:09:14 Login Succeeded 19:09:14 ---> docker-login.sh ends [Pipeline] } 19:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:09:15 + git rev-list -1 --merges 1825dd6a8c768d2c50796d2ee79c4f45355dcfff~1..1825dd6a8c768d2c50796d2ee79c4f45355dcfff [Pipeline] echo 19:09:15 -----------> git rev-list -1 --merges 1825dd6a8c768d2c50796d2ee79c4f45355dcfff~1..1825dd6a8c768d2c50796d2ee79c4f45355dcfff 1825dd6a8c768d2c50796d2ee79c4f45355dcfff [false] [Pipeline] sh 19:09:15 + git log --format=format:%s -1 1825dd6a8c768d2c50796d2ee79c4f45355dcfff [Pipeline] echo 19:09:15 ========================================================= 19:09:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:09:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:16 + git log --format=format:%s -1 1825dd6a8c768d2c50796d2ee79c4f45355dcfff [Pipeline] echo 19:09:16 [semverPrep] GIT_COMMIT: 1825dd6a8c768d2c50796d2ee79c4f45355dcfff, Commit Message: feat: Add defaults for new Last Will options [Pipeline] echo 19:09:16 [semverPrep] This is not a build commit. [Pipeline] sh 19:09:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:09:16 + grep -v github /etc/ssh/ssh_known_hosts 19:09:16 + [ -e /tmp/ssh_known_hosts ] 19:09:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:09:16 + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 19:09:16 19:09:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:17 19:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:18 0.1.4: Pulling from edgex-devops/py-git-semver 19:09:18 b85a868b505f: Pulling fs layer 19:09:18 e2be974225ed: Pulling fs layer 19:09:18 339a4e72a1f5: Pulling fs layer 19:09:18 988bab9f4d93: Pulling fs layer 19:09:18 1469e6f7b9e6: Pulling fs layer 19:09:18 eaf3925da568: Pulling fs layer 19:09:18 bab4dde63d76: Pulling fs layer 19:09:18 bde34c3a00c8: Pulling fs layer 19:09:18 b352a97aabf1: Pulling fs layer 19:09:18 4872d77fe225: Pulling fs layer 19:09:18 5851b861e8e6: Pulling fs layer 19:09:18 988bab9f4d93: Waiting 19:09:18 1469e6f7b9e6: Waiting 19:09:18 eaf3925da568: Waiting 19:09:18 bab4dde63d76: Waiting 19:09:18 bde34c3a00c8: Waiting 19:09:18 b352a97aabf1: Waiting 19:09:18 4872d77fe225: Waiting 19:09:18 e2be974225ed: Verifying Checksum 19:09:18 e2be974225ed: Download complete 19:09:18 988bab9f4d93: Verifying Checksum 19:09:18 988bab9f4d93: Download complete 19:09:18 1469e6f7b9e6: Verifying Checksum 19:09:18 1469e6f7b9e6: Download complete 19:09:18 eaf3925da568: Download complete 19:09:18 b85a868b505f: Verifying Checksum 19:09:18 b85a868b505f: Download complete 19:09:18 bde34c3a00c8: Verifying Checksum 19:09:18 bde34c3a00c8: Download complete 19:09:18 339a4e72a1f5: Download complete 19:09:18 4872d77fe225: Download complete 19:09:18 b352a97aabf1: Download complete 19:09:18 5851b861e8e6: Download complete 19:09:18 bab4dde63d76: Verifying Checksum 19:09:18 bab4dde63d76: Download complete 19:09:20 b85a868b505f: Pull complete 19:09:20 e2be974225ed: Pull complete 19:09:20 339a4e72a1f5: Pull complete 19:09:21 988bab9f4d93: Pull complete 19:09:21 1469e6f7b9e6: Pull complete 19:09:22 eaf3925da568: Pull complete 19:09:25 bab4dde63d76: Pull complete 19:09:25 bde34c3a00c8: Pull complete 19:09:25 b352a97aabf1: Pull complete 19:09:25 4872d77fe225: Pull complete 19:09:26 5851b861e8e6: Pull complete 19:09:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:09:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:26 prd-ubuntu20.04-docker-8c-8g-9825 does not seem to be running inside a container 19:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-610 -v /w/workspace/_app-service-configurable_PR-610:/w/workspace/_app-service-configurable_PR-610:rw,z -v /w/workspace/_app-service-configurable_PR-610@tmp:/w/workspace/_app-service-configurable_PR-610@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-devops/py-git-semver:0.1.4 cat 19:09:35 $ docker top 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 -eo pid,comm 19:09:35 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). 19:09:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:35 [ssh-agent] Looking for ssh-agent implementation... 19:09:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:35 $ docker exec 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 ssh-agent 19:09:35 SSH_AUTH_SOCK=/tmp/ssh-XB4LepnDwbnZ/agent.14 19:09:35 SSH_AGENT_PID=20 19:09:35 Running ssh-add (command line suppressed) 19:09:35 Identity added: /w/workspace/_app-service-configurable_PR-610@tmp/private_key_14492327947742581113.key (/w/workspace/_app-service-configurable_PR-610@tmp/private_key_14492327947742581113.key) 19:09:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:36 + git tag --points-at HEAD [Pipeline] } 19:09:36 $ docker exec --env ******** --env ******** 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 ssh-agent -k 19:09:36 unset SSH_AUTH_SOCK; 19:09:36 unset SSH_AGENT_PID; 19:09:36 echo Agent pid 20 killed; 19:09:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:09:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:36 [ssh-agent] Looking for ssh-agent implementation... 19:09:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:36 $ docker exec 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 ssh-agent 19:09:36 SSH_AUTH_SOCK=/tmp/ssh-5L0zOJGLuY2a/agent.70 19:09:36 SSH_AGENT_PID=76 19:09:36 Running ssh-add (command line suppressed) 19:09:36 Identity added: /w/workspace/_app-service-configurable_PR-610@tmp/private_key_13802610080164128013.key (/w/workspace/_app-service-configurable_PR-610@tmp/private_key_13802610080164128013.key) 19:09:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:37 + git semver init 19:09:37 2023-10-23 19:09:37,401 [run_init] DEBUG init version:0.0.0 force:False 19:09:37 2023-10-23 19:09:37,402 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-610/.semver 19:09:37 2023-10-23 19:09:37,404 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-610/.semver 19:09:37 2023-10-23 19:09:37,404 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-610/.semver'], cwd=/w/workspace/_app-service-configurable_PR-610, universal_newlines=False, shell=None, istream=None) 19:09:38 2023-10-23 19:09:38,417 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-610/.git/info/exclude 19:09:38 2023-10-23 19:09:38,418 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-610/.semver/PR-610 with force:False 19:09:38 2023-10-23 19:09:38,418 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-610/.semver/PR-610 19:09:38 2023-10-23 19:09:38,424 [execute] INFO git cat-file --batch-check 19:09:38 2023-10-23 19:09:38,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-610/.semver, universal_newlines=False, shell=None, istream=) 19:09:38 2023-10-23 19:09:38,432 [execute] INFO git cat-file --batch 19:09:38 2023-10-23 19:09:38,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-610/.semver, universal_newlines=False, shell=None, istream=) 19:09:38 2023-10-23 19:09:38,438 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-610/.semver/PR-610 19:09:38 0.0.0 [Pipeline] } 19:09:38 $ docker exec --env ******** --env ******** 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 ssh-agent -k 19:09:38 unset SSH_AUTH_SOCK; 19:09:38 unset SSH_AGENT_PID; 19:09:38 echo Agent pid 76 killed; 19:09:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:39 + git semver [Pipeline] } 19:09:39 $ docker stop --time=1 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 19:09:41 $ docker rm -f --volumes 0082991b25a48c2ff30cc9e2f45699f7c03857e11fc7d04525cb5576a7ef91a0 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:09:42 Stashed 1 file(s) [Pipeline] echo 19:09:42 [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 19:09:43 provisioning config files... 19:09:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-610@tmp/config11752865649473035440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:43 ---> docker-login.sh 19:09:43 nexus3.edgexfoundry.org:10001 19:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:43 Configure a credential helper to remove this warning. See 19:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:43 19:09:43 Login Succeeded 19:09:43 nexus3.edgexfoundry.org:10002 19:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:43 Configure a credential helper to remove this warning. See 19:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:43 19:09:43 Login Succeeded 19:09:43 nexus3.edgexfoundry.org:10003 19:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:43 Configure a credential helper to remove this warning. See 19:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:43 19:09:43 Login Succeeded 19:09:43 nexus3.edgexfoundry.org:10004 19:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:44 Configure a credential helper to remove this warning. See 19:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:44 19:09:44 Login Succeeded 19:09:44 docker.io 19:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:44 Configure a credential helper to remove this warning. See 19:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:44 19:09:44 Login Succeeded 19:09:44 ---> docker-login.sh ends [Pipeline] } 19:09:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:09:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:09:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:09:44 ========================================================= 19:09:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:09:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:45 + 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 . 19:09:45 Sending build context to Docker daemon 3.38MB 19:09:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:09:45 Step 2/12 : FROM ${BASE} AS builder 19:09:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:09:45 7264a8db6415: Pulling fs layer 19:09:45 c4d48a809fc2: Pulling fs layer 19:09:45 4f1c88b9dad5: Pulling fs layer 19:09:45 ad3a456e5733: Pulling fs layer 19:09:45 33e27b845d1e: Pulling fs layer 19:09:45 c68163c4e522: Pulling fs layer 19:09:45 50da416c3ac9: Pulling fs layer 19:09:45 23d2d4c4bb30: Pulling fs layer 19:09:45 33e27b845d1e: Waiting 19:09:45 50da416c3ac9: Waiting 19:09:45 c68163c4e522: Waiting 19:09:45 23d2d4c4bb30: Waiting 19:09:45 c4d48a809fc2: Download complete 19:09:45 ad3a456e5733: Download complete 19:09:45 33e27b845d1e: Verifying Checksum 19:09:45 33e27b845d1e: Download complete 19:09:45 7264a8db6415: Verifying Checksum 19:09:45 7264a8db6415: Download complete 19:09:45 c68163c4e522: Verifying Checksum 19:09:45 c68163c4e522: Download complete 19:09:45 23d2d4c4bb30: Verifying Checksum 19:09:45 23d2d4c4bb30: Download complete 19:09:46 7264a8db6415: Pull complete 19:09:46 4f1c88b9dad5: Verifying Checksum 19:09:46 4f1c88b9dad5: Download complete 19:09:46 50da416c3ac9: Verifying Checksum 19:09:46 50da416c3ac9: Download complete 19:09:46 c4d48a809fc2: Pull complete 19:09:50 4f1c88b9dad5: Pull complete 19:09:51 ad3a456e5733: Pull complete 19:09:51 33e27b845d1e: Pull complete 19:09:51 c68163c4e522: Pull complete 19:09:54 50da416c3ac9: Pull complete 19:09:55 23d2d4c4bb30: Pull complete 19:09:55 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 19:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:09:55 ---> 0786185ac409 19:09:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:09:58 Still waiting to schedule task 19:09:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:10:07 ---> Running in d17965a92257 19:10:08 Removing intermediate container d17965a92257 19:10:08 ---> ec320ac25038 19:10:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:10:08 ---> Running in 5c4bd66e6665 19:10:09 Removing intermediate container 5c4bd66e6665 19:10:09 ---> cc49294aadf8 19:10:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:10:09 ---> Running in 74ab362e2d97 19:10:09 Removing intermediate container 74ab362e2d97 19:10:09 ---> 4325ba52972b 19:10:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:09 ---> Running in df613227a69d 19:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:11 OK: 264 MiB in 52 packages 19:10:12 Removing intermediate container df613227a69d 19:10:12 ---> 345cf57fc459 19:10:12 Step 7/12 : WORKDIR /app 19:10:12 ---> Running in bde050ad99af 19:10:13 Removing intermediate container bde050ad99af 19:10:13 ---> 041fa1c3683e 19:10:13 Step 8/12 : COPY go.mod vendor* ./ 19:10:13 ---> 5b56c9e795c1 19:10:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:13 ---> Running in 77fd3daecfa4 19:11:50 Removing intermediate container 77fd3daecfa4 19:11:50 ---> e74899fb8c9a 19:11:50 Step 10/12 : COPY . . 19:11:50 ---> f6f8cd85a9f8 19:11:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:11:50 ---> Running in d3b8b3cfb7f0 19:11:50 Removing intermediate container d3b8b3cfb7f0 19:11:50 ---> 9f4bdbfa5cf0 19:11:50 Step 12/12 : RUN $MAKE 19:11:50 ---> Running in df0dc20c0a90 19:11:50 noop 19:11:50 Removing intermediate container df0dc20c0a90 19:11:50 ---> e91644570b6f 19:11:50 Successfully built e91644570b6f 19:11:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:50 + docker inspect -f . ci-base-image-x86_64 19:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:51 prd-ubuntu20.04-docker-8c-8g-9825 does not seem to be running inside a container 19:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-610 -v /w/workspace/_app-service-configurable_PR-610:/w/workspace/_app-service-configurable_PR-610:rw,z -v /w/workspace/_app-service-configurable_PR-610@tmp:/w/workspace/_app-service-configurable_PR-610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:11:52 $ docker top 550931d5312284be6945d50a2a82d4aa82a673cd729e418b2637efe710e15875 -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:52 + go version 19:11:52 go version go1.21.0 linux/amd64 [Pipeline] } 19:11:52 $ docker stop --time=1 550931d5312284be6945d50a2a82d4aa82a673cd729e418b2637efe710e15875 19:11:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9826 in /w/workspace/_app-service-configurable_PR-610 19:11:54 $ docker rm -f --volumes 550931d5312284be6945d50a2a82d4aa82a673cd729e418b2637efe710e15875 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 19:11:54 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout 19:11:54 Selected Git installation does not exist. Using Default 19:11:54 The recommended git tool is: NONE [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:55 + docker inspect -f . ci-base-image-x86_64 19:11:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:55 prd-ubuntu20.04-docker-8c-8g-9825 does not seem to be running inside a container 19:11:55 $ 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-610 -v /w/workspace/_app-service-configurable_PR-610:/w/workspace/_app-service-configurable_PR-610:rw,z -v /w/workspace/_app-service-configurable_PR-610@tmp:/w/workspace/_app-service-configurable_PR-610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:11:56 $ docker top 83ee0424dbac7ef88ef2db7ad988dfa49ccc5052578039207f204d5418dc766f -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:56 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-610 [Pipeline] fileExists [Pipeline] sh 19:11:57 + make test 19:11:57 go test -race -coverprofile=coverage.out ./... 19:12:00 using credential edgex-jenkins-ssh 19:12:00 Cloning the remote Git repository 19:12:00 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:12:00 > git init /w/workspace/app-service-configurable/1 # timeout=10 19:12:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:12:00 > git --version # timeout=10 19:12:00 > git --version # 'git version 2.25.1' 19:12:00 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:01 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:12:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:03 Merging remotes/origin/main commit 7321a994598ca5e537abf0d162217fba0461ceb8 into PR head commit 1825dd6a8c768d2c50796d2ee79c4f45355dcfff 19:12:02 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:12:02 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:12:02 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/610/head:refs/remotes/origin/PR-610 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:12:03 > git config core.sparsecheckout # timeout=10 19:12:03 Merge succeeded, producing 1825dd6a8c768d2c50796d2ee79c4f45355dcfff 19:12:03 Checking out Revision 1825dd6a8c768d2c50796d2ee79c4f45355dcfff (PR-610) 19:12:03 > git checkout -f 1825dd6a8c768d2c50796d2ee79c4f45355dcfff # timeout=10 19:12:03 > git remote # timeout=10 19:12:03 > git config --get remote.origin.url # timeout=10 19:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:03 > git merge 7321a994598ca5e537abf0d162217fba0461ceb8 # timeout=10 19:12:03 > git rev-parse HEAD^{commit} # timeout=10 19:12:03 > git config core.sparsecheckout # timeout=10 19:12:03 > git checkout -f 1825dd6a8c768d2c50796d2ee79c4f45355dcfff # timeout=10 19:12:07 Commit message: "feat: Add defaults for new Last Will options" 19:12:07 > git --version # timeout=10 19:12:07 > git --version # 'git version 2.25.1' 19:12:07 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:12:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:12:08 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:08 Dload Upload Total Spent Left Speed 19:12:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 19:12:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:12:09 + sudo tee /etc/docker/daemon.new 19:12:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:12:09 { 19:12:09 "registry-mirrors": [ 19:12:09 "https://nexus3.edgexfoundry.org:10001" 19:12:09 ], 19:12:09 "bip": "10.250.0.254/24", 19:12:09 "hosts": [ 19:12:09 "tcp://0.0.0.0:5555", 19:12:09 "unix:///var/run/docker.sock" 19:12:09 ], 19:12:09 "mtu": 1458, 19:12:09 "selinux-enabled": true, 19:12:09 "seccomp-profile": "/etc/docker/seccomp.json" 19:12:09 } [Pipeline] sh 19:12:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:12:10 + sudo service docker restart 19:12:19 ? github.com/edgexfoundry/app-service-configurable [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:28 provisioning config files... 19:12:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config12521640142962398409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:29 ---> docker-login.sh 19:12:29 nexus3.edgexfoundry.org:10001 19:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:29 Configure a credential helper to remove this warning. See 19:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:29 19:12:29 Login Succeeded 19:12:29 nexus3.edgexfoundry.org:10002 19:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:30 Configure a credential helper to remove this warning. See 19:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:30 19:12:30 Login Succeeded 19:12:30 nexus3.edgexfoundry.org:10003 19:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:30 Configure a credential helper to remove this warning. See 19:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:30 19:12:30 Login Succeeded 19:12:30 nexus3.edgexfoundry.org:10004 19:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:31 Configure a credential helper to remove this warning. See 19:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:31 19:12:31 Login Succeeded 19:12:31 docker.io 19:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:31 Configure a credential helper to remove this warning. See 19:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:31 19:12:31 Login Succeeded 19:12:31 ---> docker-login.sh ends [Pipeline] } 19:12:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:12:32 ========================================================= 19:12:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:12:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:32 + 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 . 19:12:32 Sending build context to Docker daemon 181.2kB 19:12:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:12:32 Step 2/12 : FROM ${BASE} AS builder 19:12:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:12:33 9fda8d8052c6: Pulling fs layer 19:12:33 5d54e960e981: Pulling fs layer 19:12:33 c4a7e357bf2a: Pulling fs layer 19:12:33 f0e02332f6b5: Pulling fs layer 19:12:33 cefa15bbcfad: Pulling fs layer 19:12:33 17808c966233: Pulling fs layer 19:12:33 f4c1fc716caa: Pulling fs layer 19:12:33 cefa15bbcfad: Waiting 19:12:33 17808c966233: Waiting 19:12:33 f4c1fc716caa: Waiting 19:12:33 f0e02332f6b5: Waiting 19:12:33 5d54e960e981: Download complete 19:12:33 f0e02332f6b5: Verifying Checksum 19:12:33 f0e02332f6b5: Download complete 19:12:33 cefa15bbcfad: Verifying Checksum 19:12:33 cefa15bbcfad: Download complete 19:12:33 9fda8d8052c6: Download complete 19:12:33 f4c1fc716caa: Verifying Checksum 19:12:33 f4c1fc716caa: Download complete 19:12:34 9fda8d8052c6: Pull complete 19:12:34 5d54e960e981: Pull complete 19:12:34 c4a7e357bf2a: Verifying Checksum 19:12:34 c4a7e357bf2a: Download complete 19:12:35 17808c966233: Verifying Checksum 19:12:35 17808c966233: Download complete 19:12:41 go vet ./... 19:12:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:12:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:12:43 ./bin/test-attribution-txt.sh [Pipeline] echo 19:12:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:12:44 $ docker stop --time=1 83ee0424dbac7ef88ef2db7ad988dfa49ccc5052578039207f204d5418dc766f 19:12:48 c4a7e357bf2a: Pull complete 19:12:48 f0e02332f6b5: Pull complete 19:12:48 cefa15bbcfad: Pull complete 19:12:50 $ docker rm -f --volumes 83ee0424dbac7ef88ef2db7ad988dfa49ccc5052578039207f204d5418dc766f [Pipeline] // withDockerContainer [Pipeline] sh 19:12:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:12:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:12:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:12:52 + ls -al . 19:12:52 total 184 19:12:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 19:11 . 19:12:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 19:09 .. 19:12:52 -rw-rw-r-- 1 jenkins jenkins 119 Oct 23 19:09 .dockerignore 19:12:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 19:12 .git 19:12:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 19:09 .github 19:12:52 -rw-rw-r-- 1 jenkins jenkins 171 Oct 23 19:09 .gitignore 19:12:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 23 19:09 .golangci.yml 19:12:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 19:09 .semver 19:12:52 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 23 19:09 Attribution.txt 19:12:52 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 23 19:09 CHANGELOG.md 19:12:52 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 23 19:09 Dockerfile 19:12:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 19:09 GOVERNANCE.md 19:12:52 -rw-rw-r-- 1 jenkins jenkins 688 Oct 23 19:09 Jenkinsfile 19:12:52 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 19:09 LICENSE 19:12:52 -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 19:09 OWNERS.md 19:12:52 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 23 19:09 README.md 19:12:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 19:09 VERSION 19:12:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 19:09 bin 19:12:52 -rw-r--r-- 1 jenkins jenkins 13 Oct 23 19:11 coverage.out 19:12:52 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 23 19:09 go.mod 19:12:52 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 23 19:09 go.sum 19:12:52 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 23 19:09 main.go 19:12:52 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 23 19:09 makefile 19:12:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 19:09 res 19:12:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 19:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:52 + 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=1825dd6a8c768d2c50796d2ee79c4f45355dcfff --label arch=amd64 --label version=0.0.0 . 19:12:52 Sending build context to Docker daemon 3.381MB 19:12:52 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:12:52 Step 2/26 : FROM ${BASE} AS builder 19:12:52 ---> e91644570b6f 19:12:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 19:12:52 ---> Running in f68ea0fa0e73 19:12:52 Removing intermediate container f68ea0fa0e73 19:12:52 ---> fb407a7f3b17 19:12:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:12:52 ---> Running in cadf31163abf 19:12:52 Removing intermediate container cadf31163abf 19:12:52 ---> 741f36ffff48 19:12:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:12:52 ---> Running in 8307ec0561f0 19:12:52 Removing intermediate container 8307ec0561f0 19:12:52 ---> f7e74a56136c 19:12:52 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:12:53 ---> Running in e79b5ec5f67a 19:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:12:53 OK: 264 MiB in 52 packages 19:12:53 Removing intermediate container e79b5ec5f67a 19:12:53 ---> ac7778966bad 19:12:53 Step 7/26 : WORKDIR /app 19:12:53 ---> Running in e11b5c59b01f 19:12:54 Removing intermediate container e11b5c59b01f 19:12:54 ---> 0d0a1b7e9a11 19:12:54 Step 8/26 : COPY go.mod vendor* ./ 19:12:54 ---> 0039289c72b6 19:12:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:12:54 ---> Running in ba6789ed1be0 19:12:55 Removing intermediate container ba6789ed1be0 19:12:55 ---> e538b556efd9 19:12:55 Step 10/26 : COPY . . 19:12:55 ---> 60e8033e9979 19:12:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:12:55 ---> Running in 7cb599dc1144 19:12:55 Removing intermediate container 7cb599dc1144 19:12:55 ---> 9173fd1164b5 19:12:55 Step 12/26 : RUN $MAKE 19:12:55 ---> Running in 571826c489cd 19:12:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 19:12:58 17808c966233: Pull complete 19:12:59 f4c1fc716caa: Pull complete 19:12:59 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 19:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:12:59 ---> ea914061e18c 19:12:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:13:00 ---> Running in a973aff5cac1 19:13:00 Removing intermediate container a973aff5cac1 19:13:00 ---> 995fe5f2c575 19:13:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:13:00 ---> Running in fc98a51f38ea 19:13:00 Removing intermediate container fc98a51f38ea 19:13:00 ---> 62b57fc8e5a5 19:13:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:13:00 ---> Running in b3ed610e6722 19:13:01 Removing intermediate container b3ed610e6722 19:13:01 ---> 2eb2edba0151 19:13:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:13:01 ---> Running in 87a0f2fe7033 19:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:13:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:13:03 OK: 266 MiB in 52 packages 19:13:04 Removing intermediate container 87a0f2fe7033 19:13:04 ---> e8a2b1fd3fa2 19:13:04 Step 7/12 : WORKDIR /app 19:13:04 ---> Running in bbb2804df594 19:13:05 Removing intermediate container bbb2804df594 19:13:05 ---> d3e055a59098 19:13:05 Step 8/12 : COPY go.mod vendor* ./ 19:13:05 ---> 5f619e19e1e9 19:13:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:05 ---> Running in bf96a1f96c9d 19:13:28 Removing intermediate container 571826c489cd 19:13:28 ---> ea55cf7c3f82 19:13:28 Step 13/26 : FROM alpine:3.18 19:13:28 3.18: Pulling from library/alpine 19:13:28 96526aa774ef: Pulling fs layer 19:13:28 96526aa774ef: Verifying Checksum 19:13:28 96526aa774ef: Download complete 19:13:28 96526aa774ef: Pull complete 19:13:28 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:13:28 Status: Downloaded newer image for alpine:3.18 19:13:28 ---> 8ca4688f4f35 19:13:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:13:28 ---> Running in ee092c955393 19:13:28 Removing intermediate container ee092c955393 19:13:28 ---> a0231a221519 19:13:28 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 19:13:28 ---> Running in aef0c342b8f3 19:13:28 Removing intermediate container aef0c342b8f3 19:13:28 ---> 7c3d0b3cfcb0 19:13:28 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 19:13:28 ---> Running in 94e32c837a41 19:13:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:13:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:13:28 (1/2) Installing ca-certificates (20230506-r0) 19:13:28 (2/2) Installing dumb-init (1.2.5-r2) 19:13:28 Executing busybox-1.36.1-r2.trigger 19:13:28 Executing ca-certificates-20230506-r0.trigger 19:13:28 OK: 8 MiB in 17 packages 19:13:28 Removing intermediate container 94e32c837a41 19:13:28 ---> 9b80c1b7cb01 19:13:28 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:13:28 ---> ed0a2f92b3c7 19:13:28 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 19:13:28 ---> a81d0a7b7337 19:13:28 Step 19/26 : COPY --from=builder /app/res/ /res/ 19:13:28 ---> 84d521234668 19:13:28 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:13:28 ---> f16807b72770 19:13:28 Step 21/26 : EXPOSE 48095 19:13:28 ---> Running in ba8e246ebe01 19:13:28 Removing intermediate container ba8e246ebe01 19:13:28 ---> b2ac4f3c16e8 19:13:28 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 19:13:28 ---> Running in 6d2c6bd4ab40 19:13:28 Removing intermediate container 6d2c6bd4ab40 19:13:28 ---> 11b25407f340 19:13:28 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:13:28 ---> Running in 08f56b10ab3e 19:13:28 Removing intermediate container 08f56b10ab3e 19:13:28 ---> 6f1199d7c0c8 19:13:28 Step 24/26 : LABEL arch=amd64 19:13:28 ---> Running in 5127a972854e 19:13:28 Removing intermediate container 5127a972854e 19:13:28 ---> 39ea8a5c4fb0 19:13:28 Step 25/26 : LABEL git_sha=1825dd6a8c768d2c50796d2ee79c4f45355dcfff 19:13:28 ---> Running in b1cca54de5b9 19:13:28 Removing intermediate container b1cca54de5b9 19:13:28 ---> 0125553af9cf 19:13:28 Step 26/26 : LABEL version=0.0.0 19:13:28 ---> Running in 455cb589f22e 19:13:28 Removing intermediate container 455cb589f22e 19:13:28 ---> 318c9330366a 19:13:28 [Warning] One or more build-args [ARCH] were not consumed 19:13:28 Successfully built 318c9330366a 19:13:28 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:29 19:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:29 latest: Pulling from edgex-lftools-log-publisher 19:13:29 5eb5b503b376: Pulling fs layer 19:13:29 5c69ac0246d0: Pulling fs layer 19:13:29 ec43610c2a17: Pulling fs layer 19:13:29 3a2ae6a8a46f: Pulling fs layer 19:13:29 33b1e0a273af: Pulling fs layer 19:13:29 5d3b04190fa2: Pulling fs layer 19:13:29 2f39f015ded8: Pulling fs layer 19:13:29 3a2ae6a8a46f: Waiting 19:13:29 33b1e0a273af: Waiting 19:13:29 5d3b04190fa2: Waiting 19:13:29 2f39f015ded8: Waiting 19:13:29 5c69ac0246d0: Download complete 19:13:29 3a2ae6a8a46f: Verifying Checksum 19:13:29 3a2ae6a8a46f: Download complete 19:13:29 ec43610c2a17: Verifying Checksum 19:13:29 ec43610c2a17: Download complete 19:13:29 5d3b04190fa2: Verifying Checksum 19:13:29 5d3b04190fa2: Download complete 19:13:29 33b1e0a273af: Verifying Checksum 19:13:30 5eb5b503b376: Verifying Checksum 19:13:30 5eb5b503b376: Download complete 19:13:30 2f39f015ded8: Verifying Checksum 19:13:30 2f39f015ded8: Download complete 19:13:31 5eb5b503b376: Pull complete 19:13:31 5c69ac0246d0: Pull complete 19:13:32 ec43610c2a17: Pull complete 19:13:32 3a2ae6a8a46f: Pull complete 19:13:32 33b1e0a273af: Pull complete 19:13:32 5d3b04190fa2: Pull complete 19:13:38 2f39f015ded8: Pull complete 19:13:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:38 prd-ubuntu20.04-docker-8c-8g-9825 does not seem to be running inside a container 19:13:38 $ 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-610 -v /w/workspace/_app-service-configurable_PR-610:/w/workspace/_app-service-configurable_PR-610:rw,z -v /w/workspace/_app-service-configurable_PR-610@tmp:/w/workspace/_app-service-configurable_PR-610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:13:48 $ docker top 1cc28842ceaad579e20f8a74e19f71f9f39254318f275f895697d4ee9da24d3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:48 ---> job-cost.sh 19:13:48 lf-activate-venv: SKIPPING 19:13:48 INFO: No Stack... 19:13:48 INFO: Retrieving Pricing Info for: v3-standard-8 19:13:49 INFO: Archiving Costs [Pipeline] sh 19:13:49 + cat /w/workspace/_app-service-configurable_PR-610/archives/cost.csv 19:13:49 + cut -d, -f6 [Pipeline] lock 19:13:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] 19:13:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] did not exist. Created. 19:13:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:13:50 + echo total: 0.2199999988079071 [Pipeline] stash 19:13:50 Stashed 1 file(s) [Pipeline] } 19:13:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:13:50 $ docker stop --time=1 1cc28842ceaad579e20f8a74e19f71f9f39254318f275f895697d4ee9da24d3a 19:13:51 $ docker rm -f --volumes 1cc28842ceaad579e20f8a74e19f71f9f39254318f275f895697d4ee9da24d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:14:42 Removing intermediate container bf96a1f96c9d 19:14:42 ---> c800d03b2385 19:14:42 Step 10/12 : COPY . . 19:14:42 ---> 10efdb7b4a12 19:14:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:14:42 ---> Running in 584ca3207d99 19:14:42 Removing intermediate container 584ca3207d99 19:14:42 ---> d3388a7995ad 19:14:42 Step 12/12 : RUN $MAKE 19:14:42 ---> Running in 1b8c963e9aeb 19:14:42 noop 19:14:42 Removing intermediate container 1b8c963e9aeb 19:14:42 ---> 610440125248 19:14:42 Successfully built 610440125248 19:14:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:42 + docker inspect -f . ci-base-image-arm64 19:14:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:43 prd-ubuntu20.04-docker-arm64-4c-16g-9826 does not seem to be running inside a container 19:14:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:14:45 $ docker top 75708d7a267ad7fafbc987b74903a8c9bbff088276fb187ff20c240f3868ff93 -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:46 + go version 19:14:46 go version go1.21.0 linux/arm64 [Pipeline] } 19:14:46 $ docker stop --time=1 75708d7a267ad7fafbc987b74903a8c9bbff088276fb187ff20c240f3868ff93 19:14:48 $ docker rm -f --volumes 75708d7a267ad7fafbc987b74903a8c9bbff088276fb187ff20c240f3868ff93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:49 + docker inspect -f . ci-base-image-arm64 19:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:49 prd-ubuntu20.04-docker-arm64-4c-16g-9826 does not seem to be running inside a container 19:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:14:50 $ docker top 2f1906f07748701b62866c143ae0f4d6492c5433542c704afcc093f43b1f521c -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:51 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 19:14:52 + make test 19:14:52 go test -race -coverprofile=coverage.out ./... 19:16:59 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:16:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:16:59 go vet ./... 19:18:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:18:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:18:35 ./bin/test-attribution-txt.sh [Pipeline] echo 19:18:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:18:35 $ docker stop --time=1 2f1906f07748701b62866c143ae0f4d6492c5433542c704afcc093f43b1f521c 19:18:38 $ docker rm -f --volumes 2f1906f07748701b62866c143ae0f4d6492c5433542c704afcc093f43b1f521c [Pipeline] // withDockerContainer [Pipeline] sh 19:18:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:18:39 Warning: overwriting stash ‘coverage-report’ 19:18:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:18:41 + ls -al . 19:18:41 total 180 19:18:41 drwxrwxr-x 7 jenkins jenkins 4096 Oct 23 19:14 . 19:18:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 19:12 .. 19:18:41 -rw-rw-r-- 1 jenkins jenkins 119 Oct 23 19:12 .dockerignore 19:18:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 19:12 .git 19:18:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 19:12 .github 19:18:41 -rw-rw-r-- 1 jenkins jenkins 171 Oct 23 19:12 .gitignore 19:18:41 -rw-rw-r-- 1 jenkins jenkins 41 Oct 23 19:12 .golangci.yml 19:18:41 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 23 19:12 Attribution.txt 19:18:41 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 23 19:12 CHANGELOG.md 19:18:41 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 23 19:12 Dockerfile 19:18:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 19:12 GOVERNANCE.md 19:18:41 -rw-rw-r-- 1 jenkins jenkins 688 Oct 23 19:12 Jenkinsfile 19:18:41 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 19:12 LICENSE 19:18:41 -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 19:12 OWNERS.md 19:18:41 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 23 19:12 README.md 19:18:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 19:09 VERSION 19:18:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 19:12 bin 19:18:41 -rw-r--r-- 1 jenkins jenkins 13 Oct 23 19:14 coverage.out 19:18:41 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 23 19:12 go.mod 19:18:41 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 23 19:12 go.sum 19:18:41 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 23 19:12 main.go 19:18:41 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 23 19:12 makefile 19:18:41 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 19:12 res 19:18:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 19:12 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:41 + 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=1825dd6a8c768d2c50796d2ee79c4f45355dcfff --label arch=arm64 --label version=0.0.0 . 19:18:41 Sending build context to Docker daemon 182.3kB 19:18:42 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:18:42 Step 2/26 : FROM ${BASE} AS builder 19:18:42 ---> 610440125248 19:18:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 19:18:42 ---> Running in ce520dcde884 19:18:42 Removing intermediate container ce520dcde884 19:18:42 ---> 2fabea7a91ba 19:18:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:18:42 ---> Running in 76d3d159174f 19:18:42 Removing intermediate container 76d3d159174f 19:18:42 ---> 81139f4172d0 19:18:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:18:42 ---> Running in 2dfd4ba35114 19:18:43 Removing intermediate container 2dfd4ba35114 19:18:43 ---> 5cac642d9c9e 19:18:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:18:43 ---> Running in 08c420f1f861 19:18:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:18:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:18:46 OK: 266 MiB in 52 packages 19:18:47 Removing intermediate container 08c420f1f861 19:18:47 ---> 6d6267784cc8 19:18:47 Step 7/26 : WORKDIR /app 19:18:47 ---> Running in b35ab138b6ef 19:18:47 Removing intermediate container b35ab138b6ef 19:18:47 ---> 36e8de9f5b88 19:18:47 Step 8/26 : COPY go.mod vendor* ./ 19:18:50 ---> 040418774da0 19:18:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:18:50 ---> Running in fe6b7b2f71d3 19:18:52 Removing intermediate container fe6b7b2f71d3 19:18:52 ---> fcb34688c87b 19:18:52 Step 10/26 : COPY . . 19:18:52 ---> 130431f4e1f3 19:18:52 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:18:52 ---> Running in 6e71ac72dc6b 19:18:53 Removing intermediate container 6e71ac72dc6b 19:18:53 ---> 27e3ae2bf1e3 19:18:53 Step 12/26 : RUN $MAKE 19:18:53 ---> Running in 05387c5d075b 19:18:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 19:20:46 Removing intermediate container 05387c5d075b 19:20:46 ---> 98e0045ae2a9 19:20:46 Step 13/26 : FROM alpine:3.18 19:20:46 3.18: Pulling from library/alpine 19:20:46 579b34f0a95b: Pulling fs layer 19:20:46 579b34f0a95b: Verifying Checksum 19:20:46 579b34f0a95b: Download complete 19:20:46 579b34f0a95b: Pull complete 19:20:46 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:20:46 Status: Downloaded newer image for alpine:3.18 19:20:46 ---> 3cc203321400 19:20:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:20:46 ---> Running in 7bbd093696be 19:20:46 Removing intermediate container 7bbd093696be 19:20:46 ---> 7a64b71d9a3f 19:20:46 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 19:20:46 ---> Running in fbe261535b7e 19:20:46 Removing intermediate container fbe261535b7e 19:20:46 ---> 9dac5cca854d 19:20:46 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 19:20:46 ---> Running in df6ff1337ca3 19:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:20:46 (1/2) Installing ca-certificates (20230506-r0) 19:20:46 (2/2) Installing dumb-init (1.2.5-r2) 19:20:46 Executing busybox-1.36.1-r2.trigger 19:20:46 Executing ca-certificates-20230506-r0.trigger 19:20:46 OK: 9 MiB in 17 packages 19:20:46 Removing intermediate container df6ff1337ca3 19:20:46 ---> 04f0fc44fde2 19:20:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:20:46 ---> 39779b301d83 19:20:46 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 19:20:46 ---> 9ea1ed8a9d95 19:20:46 Step 19/26 : COPY --from=builder /app/res/ /res/ 19:20:46 ---> 5de051d8b42e 19:20:46 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:20:46 ---> a512d67375ff 19:20:46 Step 21/26 : EXPOSE 48095 19:20:46 ---> Running in 9834395f1c9f 19:20:46 Removing intermediate container 9834395f1c9f 19:20:46 ---> 251edfaa9d0d 19:20:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 19:20:46 ---> Running in e7e1c1e5c00d 19:20:46 Removing intermediate container e7e1c1e5c00d 19:20:46 ---> a304ba5d3c91 19:20:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:20:46 ---> Running in 30f3fd95f98f 19:20:46 Removing intermediate container 30f3fd95f98f 19:20:46 ---> 1db6edbbbb7b 19:20:46 Step 24/26 : LABEL arch=arm64 19:20:46 ---> Running in e5b0fc7913c5 19:20:46 Removing intermediate container e5b0fc7913c5 19:20:46 ---> c718c05d8a09 19:20:46 Step 25/26 : LABEL git_sha=1825dd6a8c768d2c50796d2ee79c4f45355dcfff 19:20:46 ---> Running in 327dac8343c5 19:20:46 Removing intermediate container 327dac8343c5 19:20:46 ---> 55921706ca24 19:20:46 Step 26/26 : LABEL version=0.0.0 19:20:47 ---> Running in dafba50f104d 19:20:47 Removing intermediate container dafba50f104d 19:20:47 ---> 46996bf4f706 19:20:47 [Warning] One or more build-args [ARCH] were not consumed 19:20:47 Successfully built 46996bf4f706 19:20:47 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:48 19:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:48 arm64: Pulling from edgex-lftools-log-publisher 19:20:48 8998bd30e6a1: Pulling fs layer 19:20:48 04944245beec: Pulling fs layer 19:20:48 699f458cf7ca: Pulling fs layer 19:20:48 765212b225bb: Pulling fs layer 19:20:48 f23df028b6ca: Pulling fs layer 19:20:48 d65c8cfc05b1: Pulling fs layer 19:20:48 2437ff75d9bd: Pulling fs layer 19:20:48 765212b225bb: Waiting 19:20:48 f23df028b6ca: Waiting 19:20:48 d65c8cfc05b1: Waiting 19:20:48 2437ff75d9bd: Waiting 19:20:48 04944245beec: Verifying Checksum 19:20:48 04944245beec: Download complete 19:20:48 765212b225bb: Verifying Checksum 19:20:48 765212b225bb: Download complete 19:20:48 f23df028b6ca: Verifying Checksum 19:20:48 f23df028b6ca: Download complete 19:20:48 d65c8cfc05b1: Verifying Checksum 19:20:48 d65c8cfc05b1: Download complete 19:20:48 699f458cf7ca: Download complete 19:20:49 8998bd30e6a1: Verifying Checksum 19:20:49 8998bd30e6a1: Download complete 19:20:52 2437ff75d9bd: Verifying Checksum 19:20:52 2437ff75d9bd: Download complete 19:20:54 8998bd30e6a1: Pull complete 19:20:54 04944245beec: Pull complete 19:20:56 699f458cf7ca: Pull complete 19:20:56 765212b225bb: Pull complete 19:20:57 f23df028b6ca: Pull complete 19:20:57 d65c8cfc05b1: Pull complete 19:21:15 2437ff75d9bd: Pull complete 19:21:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:21:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:15 prd-ubuntu20.04-docker-arm64-4c-16g-9826 does not seem to be running inside a container 19:21:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:21:18 $ docker top 18ec833b69cd2d4957bcf8d10b5d0f681f56738ae799f722c0d2fb4dab52e89b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:19 ---> job-cost.sh 19:21:19 lf-activate-venv: SKIPPING 19:21:19 INFO: No Stack... 19:21:19 INFO: Retrieving Pricing Info for: v3-standard-4 19:21:20 INFO: Archiving Costs [Pipeline] sh 19:21:21 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 19:21:21 + cut -d, -f6 [Pipeline] lock 19:21:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] 19:21:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] did not exist. Created. 19:21:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:22 /w/workspace/app-service-configurable/1@tmp/durable-9c96ef76/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:21:22 + echo total: 0.10999999940395355 [Pipeline] stash 19:21:22 Warning: overwriting stash ‘stack-cost’ 19:21:22 Stashed 1 file(s) [Pipeline] } 19:21:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-610-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:22 $ docker stop --time=1 18ec833b69cd2d4957bcf8d10b5d0f681f56738ae799f722c0d2fb4dab52e89b 19:21:24 $ docker rm -f --volumes 18ec833b69cd2d4957bcf8d10b5d0f681f56738ae799f722c0d2fb4dab52e89b [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 19:21:25 provisioning config files... 19:21:25 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-610@tmp/config11930841625141142889tmp [Pipeline] { [Pipeline] sh 19:21:25 + set +x 19:21:25 + curl -s https://codecov.io/bash 19:21:25 + bash -s -- 19:21:25 19:21:25 _____ _ 19:21:25 / ____| | | 19:21:25 | | ___ __| | ___ ___ _____ __ 19:21:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:21:25 | |___| (_) | (_| | __/ (_| (_) \ V / 19:21:25 \_____\___/ \__,_|\___|\___\___/ \_/ 19:21:25 Bash-1.0.6 19:21:25 19:21:25 19:21:25 ==> git version 2.25.1 found 19:21:25 ==> 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 19:21:25 Release-Date: 2020-01-08 19:21:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:21:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:21:25 ==> Jenkins CI detected. 19:21:25 current dir:  /w/workspace/_app-service-configurable_PR-610 19:21:25 project root: . 19:21:25 --> token set from env 19:21:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:21:25 ==> Running gcov in . (disable via -X gcov) 19:21:25 ==> Python coveragepy not found 19:21:25 ==> Searching for coverage reports in: 19:21:25 + . 19:21:25 -> Found 1 reports 19:21:25 ==> Detecting git/mercurial file structure 19:21:26 ==> Reading reports 19:21:26 + ./coverage.out bytes=13 19:21:26 ==> Appending adjustments 19:21:26 https://docs.codecov.io/docs/fixing-reports 19:21:26 + Found adjustments 19:21:26 ==> Gzipping contents 19:21:26 4.0K /tmp/codecov.6sUWzx.gz 19:21:26 ==> Uploading reports 19:21:26 url: https://codecov.io 19:21:26 query: branch=PR-610&commit=1825dd6a8c768d2c50796d2ee79c4f45355dcfff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-610%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=610&job=&cmd_args= 19:21:26 -> Pinging Codecov 19:21:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-610&commit=1825dd6a8c768d2c50796d2ee79c4f45355dcfff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-610%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=610&job=&cmd_args= 19:21:26 -> Uploading to 19:21:26 https://storage.googleapis.com/codecov/v4/raw/2023-10-23/A97CA9966030D2A3747ED39772930CCE/1825dd6a8c768d2c50796d2ee79c4f45355dcfff/ea894e3c-9ecf-4d68-81bb-0c654db7171e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231023%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231023T192126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa75b87f46f1e2b85ae03ed42a25bc0a9c0243a06b40fadce75a14e588975582 19:21:26 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:26 Dload Upload Total Spent Left Speed 19:21:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1349 --:--:-- --:--:-- --:--:-- 1344 19:21:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1825dd6a8c768d2c50796d2ee79c4f45355dcfff [Pipeline] } 19:21:26 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 19:21:28 + [ -d /w/workspace/_app-service-configurable_PR-610/archives ] 19:21:28 + ls -al /w/workspace/_app-service-configurable_PR-610/archives 19:21:28 total 16 19:21:28 drwxr-xr-x 3 root root 4096 Oct 23 19:13 . 19:21:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 19:13 .. 19:21:28 drwxr-xr-x 2 root root 4096 Oct 23 19:13 cost 19:21:28 -rw-r--r-- 1 root root 96 Oct 23 19:13 cost.csv 19:21:28 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-610/archives 19:21:28 + ls -al /w/workspace/_app-service-configurable_PR-610/archives 19:21:28 total 16 19:21:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 19:13 . 19:21:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 19:13 .. 19:21:28 drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 19:13 cost 19:21:28 -rw-r--r-- 1 jenkins jenkins 96 Oct 23 19:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:21:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:21:30 ---> package-listing.sh 19:21:30 ++ facter osfamily 19:21:30 ++ tr '[:upper:]' '[:lower:]' 19:21:30 + OS_FAMILY=debian 19:21:30 + workspace=/w/workspace/_app-service-configurable_PR-610 19:21:30 + START_PACKAGES=/tmp/packages_start.txt 19:21:30 + END_PACKAGES=/tmp/packages_end.txt 19:21:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:30 + PACKAGES=/tmp/packages_start.txt 19:21:30 + '[' /w/workspace/_app-service-configurable_PR-610 ']' 19:21:30 + PACKAGES=/tmp/packages_end.txt 19:21:30 + case "${OS_FAMILY}" in 19:21:30 + dpkg -l 19:21:30 + grep '^ii' 19:21:30 + '[' -f /tmp/packages_start.txt ']' 19:21:30 + '[' -f /tmp/packages_end.txt ']' 19:21:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:30 + '[' /w/workspace/_app-service-configurable_PR-610 ']' 19:21:30 + mkdir -p /w/workspace/_app-service-configurable_PR-610/archives/ 19:21:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-610/archives/ [Pipeline] echo 19:21:30 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-610/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:21:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:31 prd-ubuntu20.04-docker-8c-8g-9825 does not seem to be running inside a container 19:21:31 $ 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-610/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-610 -v /w/workspace/_app-service-configurable_PR-610:/w/workspace/_app-service-configurable_PR-610:rw,z -v /w/workspace/_app-service-configurable_PR-610@tmp:/w/workspace/_app-service-configurable_PR-610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:21:31 $ docker top fc01ace0797459c9368ae371ff68f43202e2860cd28ff27c6910c6028d8c0f3b -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:32 + touch /tmp/pre-build-complete [Pipeline] sh 19:21:32 + mkdir -p /var/log/sysstat [Pipeline] sh 19:21:32 + ls /var/log/sa-host 19:21:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:33 provisioning config files... 19:21:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-610@tmp/config9822495488601622012tmp [Pipeline] { [Pipeline] echo 19:21:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:21:33 ---> create-netrc.sh [Pipeline] } 19:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:21:33 ---> python-tools-install.sh [Pipeline] echo 19:21:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:21:34 ---> sudo-logs.sh 19:21:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:21:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:21:34 ---> job-cost.sh 19:21:34 lf-activate-venv: SKIPPING 19:21:34 DEBUG: total: 0.2199999988079071 19:21:34 INFO: Retrieving Stack Cost... 19:21:34 INFO: Retrieving Pricing Info for: v3-standard-8 19:21:35 INFO: Archiving Costs [Pipeline] echo 19:21:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:21:35 ---> logs-deploy.sh 19:21:35 lf-activate-venv: SKIPPING 19:21:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-610/1 19:21:35 INFO: archiving workspace using pattern(s): 19:21:36 Archives upload complete. 19:21:37 INFO: archiving logs to Nexus