Pull request #645 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0205f2fa53740fbf48cd2dd9567276f13bba321+e029c947a342a97fa89232dc0db458535b381c54 (cd8465f158fb15d012b9ce9e89177e0e4a09b4f2) 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-ssh5844437659471776627.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6546105463008150987.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-645/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-645/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10487028542273122873.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-645/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3087686366611519178.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10077567645725983143.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-645/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-645/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16763682037621025950.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5003 in /w/workspace/_app-service-configurable_PR-645 [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-645 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e029c947a342a97fa89232dc0db458535b381c54 into PR head commit e0205f2fa53740fbf48cd2dd9567276f13bba321 Merge succeeded, producing e0205f2fa53740fbf48cd2dd9567276f13bba321 Checking out Revision e0205f2fa53740fbf48cd2dd9567276f13bba321 (PR-645) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0205f2fa53740fbf48cd2dd9567276f13bba321 # 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 e029c947a342a97fa89232dc0db458535b381c54 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0205f2fa53740fbf48cd2dd9567276f13bba321 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:53:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:53:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:53:02 ========================================================= 12:53:02 EdgeX Global Pipelines Version Info 12:53:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:53:03 ------------------- 12:53:03 stable info: 12:53:03 ------------------- 12:53:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:53:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:53:03 Message: update stable to v1.0.258 12:53:04 ------------------- 12:53:04 experimental info: 12:53:04 ------------------- 12:53:04 Commited By: **** collab-it+edgex@linuxfoundation.org 12:53:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:53:04 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:53:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:53:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-645 [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-645 [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-645 [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0205f2fa53740fbf48cd2dd9567276f13bba321 [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0205f2 [Pipeline] echo 12:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:06 provisioning config files... 12:53:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-645@tmp/config12269234539525215156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:07 ---> ****-login.sh 12:53:07 nexus3.edgexfoundry.org:10001 12:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:08 Configure a credential helper to remove this warning. See 12:53:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:08 12:53:08 Login Succeeded 12:53:08 nexus3.edgexfoundry.org:10002 12:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:08 Configure a credential helper to remove this warning. See 12:53:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:08 12:53:08 Login Succeeded 12:53:08 nexus3.edgexfoundry.org:10003 12:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:08 Configure a credential helper to remove this warning. See 12:53:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:08 12:53:08 Login Succeeded 12:53:08 nexus3.edgexfoundry.org:10004 12:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:09 Configure a credential helper to remove this warning. See 12:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:09 12:53:09 Login Succeeded 12:53:09 ****.io 12:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:09 Configure a credential helper to remove this warning. See 12:53:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:09 12:53:09 Login Succeeded 12:53:09 ---> ****-login.sh ends [Pipeline] } 12:53:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:53:10 + git rev-list -1 --merges e0205f2fa53740fbf48cd2dd9567276f13bba321~1..e0205f2fa53740fbf48cd2dd9567276f13bba321 [Pipeline] echo 12:53:10 -----------> git rev-list -1 --merges e0205f2fa53740fbf48cd2dd9567276f13bba321~1..e0205f2fa53740fbf48cd2dd9567276f13bba321 e0205f2fa53740fbf48cd2dd9567276f13bba321 [false] [Pipeline] sh 12:53:10 + git log --format=format:%s -1 e0205f2fa53740fbf48cd2dd9567276f13bba321 [Pipeline] echo 12:53:10 ========================================================= 12:53:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:53:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:11 + git log --format=format:%s -1 e0205f2fa53740fbf48cd2dd9567276f13bba321 [Pipeline] echo 12:53:11 [semverPrep] GIT_COMMIT: e0205f2fa53740fbf48cd2dd9567276f13bba321, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:53:11 [semverPrep] This is not a build commit. [Pipeline] sh 12:53:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:53:11 + grep -v github /etc/ssh/ssh_known_hosts 12:53:11 + [ -e /tmp/ssh_known_hosts ] 12:53:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:53:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:53:11 + sudo tee -a /etc/ssh/ssh_known_hosts 12:53:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:12 12:53:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:12 0.1.4: Pulling from edgex-devops/py-git-semver 12:53:12 b85a868b505f: Pulling fs layer 12:53:12 e2be974225ed: Pulling fs layer 12:53:12 339a4e72a1f5: Pulling fs layer 12:53:12 988bab9f4d93: Pulling fs layer 12:53:12 1469e6f7b9e6: Pulling fs layer 12:53:12 eaf3925da568: Pulling fs layer 12:53:12 1469e6f7b9e6: Waiting 12:53:12 bab4dde63d76: Pulling fs layer 12:53:12 bde34c3a00c8: Pulling fs layer 12:53:12 b352a97aabf1: Pulling fs layer 12:53:12 4872d77fe225: Pulling fs layer 12:53:12 5851b861e8e6: Pulling fs layer 12:53:12 bab4dde63d76: Waiting 12:53:12 bde34c3a00c8: Waiting 12:53:12 4872d77fe225: Waiting 12:53:12 988bab9f4d93: Waiting 12:53:12 5851b861e8e6: Waiting 12:53:12 b352a97aabf1: Waiting 12:53:12 e2be974225ed: Download complete 12:53:12 988bab9f4d93: Verifying Checksum 12:53:12 988bab9f4d93: Download complete 12:53:12 339a4e72a1f5: Verifying Checksum 12:53:12 339a4e72a1f5: Download complete 12:53:12 1469e6f7b9e6: Verifying Checksum 12:53:12 1469e6f7b9e6: Download complete 12:53:12 eaf3925da568: Download complete 12:53:12 bde34c3a00c8: Verifying Checksum 12:53:12 bde34c3a00c8: Download complete 12:53:13 b352a97aabf1: Download complete 12:53:13 4872d77fe225: Download complete 12:53:13 5851b861e8e6: Download complete 12:53:13 b85a868b505f: Verifying Checksum 12:53:13 b85a868b505f: Download complete 12:53:13 bab4dde63d76: Verifying Checksum 12:53:13 bab4dde63d76: Download complete 12:53:14 b85a868b505f: Pull complete 12:53:15 e2be974225ed: Pull complete 12:53:15 339a4e72a1f5: Pull complete 12:53:15 988bab9f4d93: Pull complete 12:53:16 1469e6f7b9e6: Pull complete 12:53:16 eaf3925da568: Pull complete 12:53:19 bab4dde63d76: Pull complete 12:53:19 bde34c3a00c8: Pull complete 12:53:19 b352a97aabf1: Pull complete 12:53:19 4872d77fe225: Pull complete 12:53:19 5851b861e8e6: Pull complete 12:53:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:20 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 12:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-645 -v /w/workspace/_app-service-configurable_PR-645:/w/workspace/_app-service-configurable_PR-645:rw,z -v /w/workspace/_app-service-configurable_PR-645@tmp:/w/workspace/_app-service-configurable_PR-645@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:53:27 $ docker top 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b -eo pid,comm 12:53:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:53:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:27 [ssh-agent] Looking for ssh-agent implementation... 12:53:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:27 $ docker exec 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b ssh-agent 12:53:27 SSH_AUTH_SOCK=/tmp/ssh-eX1fPGXXA4sw/agent.33 12:53:27 SSH_AGENT_PID=39 12:53:27 Running ssh-add (command line suppressed) 12:53:27 Identity added: /w/workspace/_app-service-configurable_PR-645@tmp/private_key_12233135837305177836.key (/w/workspace/_app-service-configurable_PR-645@tmp/private_key_12233135837305177836.key) 12:53:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:28 + git tag --points-at HEAD [Pipeline] } 12:53:28 $ docker exec --env ******** --env ******** 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b ssh-agent -k 12:53:28 unset SSH_AUTH_SOCK; 12:53:28 unset SSH_AGENT_PID; 12:53:28 echo Agent pid 39 killed; 12:53:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:28 [ssh-agent] Looking for ssh-agent implementation... 12:53:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:28 $ docker exec 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b ssh-agent 12:53:28 SSH_AUTH_SOCK=/tmp/ssh-DDCGAJKtJgVf/agent.71 12:53:28 SSH_AGENT_PID=77 12:53:28 Running ssh-add (command line suppressed) 12:53:29 Identity added: /w/workspace/_app-service-configurable_PR-645@tmp/private_key_13338864911464139577.key (/w/workspace/_app-service-configurable_PR-645@tmp/private_key_13338864911464139577.key) 12:53:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:29 + git semver init 12:53:29 2024-03-05 12:53:29,553 [run_init] DEBUG init version:0.0.0 force:False 12:53:29 2024-03-05 12:53:29,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-645/.semver 12:53:29 2024-03-05 12:53:29,554 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-645/.semver 12:53:29 2024-03-05 12:53:29,554 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-645/.semver'], cwd=/w/workspace/_app-service-configurable_PR-645, universal_newlines=False, shell=None, istream=None) 12:53:31 2024-03-05 12:53:30,659 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-645/.git/info/exclude 12:53:31 2024-03-05 12:53:30,660 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-645/.semver/PR-645 with force:False 12:53:31 2024-03-05 12:53:30,660 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-645/.semver/PR-645 12:53:31 2024-03-05 12:53:30,662 [execute] INFO git cat-file --batch-check 12:53:31 2024-03-05 12:53:30,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-645/.semver, universal_newlines=False, shell=None, istream=) 12:53:31 2024-03-05 12:53:30,668 [execute] INFO git cat-file --batch 12:53:31 2024-03-05 12:53:30,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-645/.semver, universal_newlines=False, shell=None, istream=) 12:53:31 2024-03-05 12:53:30,674 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-645/.semver/PR-645 12:53:31 0.0.0 [Pipeline] } 12:53:31 $ docker exec --env ******** --env ******** 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b ssh-agent -k 12:53:31 unset SSH_AUTH_SOCK; 12:53:31 unset SSH_AGENT_PID; 12:53:31 echo Agent pid 77 killed; 12:53:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:31 + git semver [Pipeline] } 12:53:31 $ docker stop --time=1 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b 12:53:33 $ docker rm -f --volumes 413335efc0ce121e31d8071370c0fe2b22d5925106df2ef72c111416232c620b [Pipeline] // withDockerContainer [Pipeline] sh 12:53:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:34 Stashed 1 file(s) [Pipeline] echo 12:53:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:35 provisioning config files... 12:53:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-645@tmp/config1795831566030534441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:35 ---> ****-login.sh 12:53:35 nexus3.edgexfoundry.org:10001 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 nexus3.edgexfoundry.org:10002 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 nexus3.edgexfoundry.org:10003 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 nexus3.edgexfoundry.org:10004 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 ****.io 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:53:36 Configure a credential helper to remove this warning. See 12:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:53:36 12:53:36 Login Succeeded 12:53:36 ---> ****-login.sh ends [Pipeline] } 12:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:53:36 ========================================================= 12:53:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:53:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:53:37 Sending build context to Docker daemon 8.801MB 12:53:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:53:37 Step 2/12 : FROM ${BASE} AS builder 12:53:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:53:37 7264a8db6415: Pulling fs layer 12:53:37 c4d48a809fc2: Pulling fs layer 12:53:37 4f1c88b9dad5: Pulling fs layer 12:53:37 ad3a456e5733: Pulling fs layer 12:53:37 69c7f0334f64: Pulling fs layer 12:53:37 1f1c1a5573a3: Pulling fs layer 12:53:37 ce7588e14bc9: Pulling fs layer 12:53:37 b5e4710f87ac: Pulling fs layer 12:53:37 ad3a456e5733: Waiting 12:53:37 69c7f0334f64: Waiting 12:53:37 1f1c1a5573a3: Waiting 12:53:37 b5e4710f87ac: Waiting 12:53:37 c4d48a809fc2: Verifying Checksum 12:53:37 c4d48a809fc2: Download complete 12:53:37 ad3a456e5733: Verifying Checksum 12:53:37 ad3a456e5733: Download complete 12:53:37 69c7f0334f64: Download complete 12:53:37 7264a8db6415: Verifying Checksum 12:53:37 7264a8db6415: Download complete 12:53:37 1f1c1a5573a3: Verifying Checksum 12:53:37 1f1c1a5573a3: Download complete 12:53:37 b5e4710f87ac: Verifying Checksum 12:53:37 b5e4710f87ac: Download complete 12:53:37 7264a8db6415: Pull complete 12:53:37 4f1c88b9dad5: Verifying Checksum 12:53:37 4f1c88b9dad5: Download complete 12:53:37 c4d48a809fc2: Pull complete 12:53:38 ce7588e14bc9: Verifying Checksum 12:53:38 ce7588e14bc9: Download complete 12:53:41 4f1c88b9dad5: Pull complete 12:53:41 ad3a456e5733: Pull complete 12:53:41 69c7f0334f64: Pull complete 12:53:41 1f1c1a5573a3: Pull complete 12:53:44 ce7588e14bc9: Pull complete 12:53:44 b5e4710f87ac: Pull complete 12:53:44 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:53:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:53:44 ---> 88b5674ff536 12:53:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:53:49 Still waiting to schedule task 12:53:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:53:52 ---> Running in 6d271639aa27 12:53:52 Removing intermediate container 6d271639aa27 12:53:52 ---> 0268c190e4db 12:53:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:53:52 ---> Running in a73eec28979a 12:53:52 Removing intermediate container a73eec28979a 12:53:52 ---> 8329e96eb505 12:53:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:53:52 ---> Running in 042ec3207e19 12:53:52 Removing intermediate container 042ec3207e19 12:53:52 ---> 9c1dbe53ee9d 12:53:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:53:52 ---> Running in f50172dc3dac 12:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:53:52 OK: 264 MiB in 52 packages 12:53:52 Removing intermediate container f50172dc3dac 12:53:52 ---> a2cc06d70038 12:53:52 Step 7/12 : WORKDIR /app 12:53:52 ---> Running in e5453bec95f1 12:53:52 Removing intermediate container e5453bec95f1 12:53:52 ---> d7d42a665d2a 12:53:52 Step 8/12 : COPY go.mod vendor* ./ 12:53:52 ---> 361d4f570414 12:53:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:52 ---> Running in d19dacdbbb17 12:54:39 Removing intermediate container d19dacdbbb17 12:54:39 ---> 1367eb79883f 12:54:39 Step 10/12 : COPY . . 12:54:39 ---> 9d068efaa699 12:54:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:54:39 ---> Running in dfbf22a9d951 12:54:39 Removing intermediate container dfbf22a9d951 12:54:39 ---> e70af7318a66 12:54:39 Step 12/12 : RUN $MAKE 12:54:39 ---> Running in 801d058bf246 12:54:39 noop 12:54:39 Removing intermediate container 801d058bf246 12:54:39 ---> 1e6da92f866d 12:54:39 Successfully built 1e6da92f866d 12:54:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:40 + docker inspect -f . ci-base-image-x86_64 12:54:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:40 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 12:54:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-645 -v /w/workspace/_app-service-configurable_PR-645:/w/workspace/_app-service-configurable_PR-645:rw,z -v /w/workspace/_app-service-configurable_PR-645@tmp:/w/workspace/_app-service-configurable_PR-645@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 ******** ci-base-image-x86_64 cat 12:54:40 $ docker top 77e674347f1d1b61ea8586a88005edca21a55b8f2e6383e868888a549e7aada6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:41 + go version 12:54:41 go version go1.21.0 linux/amd64 [Pipeline] } 12:54:41 $ docker stop --time=1 77e674347f1d1b61ea8586a88005edca21a55b8f2e6383e868888a549e7aada6 12:54:42 $ docker rm -f --volumes 77e674347f1d1b61ea8586a88005edca21a55b8f2e6383e868888a549e7aada6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:43 + docker inspect -f . ci-base-image-x86_64 12:54:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:43 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 12:54:43 $ 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-645 -v /w/workspace/_app-service-configurable_PR-645:/w/workspace/_app-service-configurable_PR-645:rw,z -v /w/workspace/_app-service-configurable_PR-645@tmp:/w/workspace/_app-service-configurable_PR-645@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 ******** ci-base-image-x86_64 cat 12:54:44 $ docker top 58107269c846a18458736a40572e47066457440357d3d1bd27891d1c2a297052 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:44 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-645 [Pipeline] fileExists [Pipeline] sh 12:54:44 + make test 12:54:44 go test -race -coverprofile=coverage.out ./... 12:55:06 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:55:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5004 in /w/workspace/_app-service-configurable_PR-645 [Pipeline] { [Pipeline] ws 12:55:19 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:55:22 Selected Git installation does not exist. Using Default 12:55:22 The recommended git tool is: NONE 12:55:24 go vet ./... 12:55:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:55:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:55:25 ./bin/test-attribution-txt.sh 12:55:25 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:55:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:55:25 $ docker stop --time=1 58107269c846a18458736a40572e47066457440357d3d1bd27891d1c2a297052 12:55:27 using credential edgex-jenkins-ssh 12:55:27 Cloning the remote Git repository 12:55:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:55:27 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:55:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:27 > git --version # timeout=10 12:55:27 > git --version # 'git version 2.25.1' 12:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:31 Merging remotes/origin/main commit e029c947a342a97fa89232dc0db458535b381c54 into PR head commit e0205f2fa53740fbf48cd2dd9567276f13bba321 12:55:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:30 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:55:31 > git config core.sparsecheckout # timeout=10 12:55:31 Merge succeeded, producing e0205f2fa53740fbf48cd2dd9567276f13bba321 12:55:31 Checking out Revision e0205f2fa53740fbf48cd2dd9567276f13bba321 (PR-645) 12:55:32 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:55:32 > git --version # timeout=10 12:55:32 > git --version # 'git version 2.25.1' 12:55:32 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:55:31 > git checkout -f e0205f2fa53740fbf48cd2dd9567276f13bba321 # timeout=10 12:55:31 > git remote # timeout=10 12:55:31 > git config --get remote.origin.url # timeout=10 12:55:31 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:31 > git merge e029c947a342a97fa89232dc0db458535b381c54 # timeout=10 12:55:31 > git rev-parse HEAD^{commit} # timeout=10 12:55:31 > git config core.sparsecheckout # timeout=10 12:55:31 > git checkout -f e0205f2fa53740fbf48cd2dd9567276f13bba321 # timeout=10 12:55:33 $ docker rm -f --volumes 58107269c846a18458736a40572e47066457440357d3d1bd27891d1c2a297052 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 12:55:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:55:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] sh 12:55:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:55:35 % Total % Received % Xferd Average Speed Time Time Time Current 12:55:35 Dload Upload Total Spent Left Speed 12:55:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 12:55:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:55:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:55:35 + ls -al . 12:55:35 total 184 12:55:35 drwxrwxr-x 7 jenkins jenkins 4096 Mar 5 12:54 . 12:55:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 12:52 .. 12:55:35 -rw-rw-r-- 1 jenkins jenkins 119 Mar 5 12:53 .dockerignore 12:55:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 12:55 .git 12:55:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 12:53 .github 12:55:35 -rw-rw-r-- 1 jenkins jenkins 106 Mar 5 12:53 .gitignore 12:55:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 12:53 .golangci.yml 12:55:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 12:53 .semver 12:55:35 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 5 12:53 Attribution.txt 12:55:35 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 5 12:53 CHANGELOG.md 12:55:35 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 5 12:53 Dockerfile 12:55:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 12:53 GOVERNANCE.md 12:55:35 -rw-rw-r-- 1 jenkins jenkins 666 Mar 5 12:53 Jenkinsfile 12:55:35 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 5 12:53 LICENSE 12:55:35 -rw-rw-r-- 1 jenkins jenkins 618 Mar 5 12:53 OWNERS.md 12:55:35 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 5 12:53 README.md 12:55:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 12:53 VERSION 12:55:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:53 bin 12:55:35 -rw-r--r-- 1 jenkins jenkins 13 Mar 5 12:54 coverage.out 12:55:35 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 5 12:53 go.mod 12:55:35 -rw-rw-r-- 1 jenkins jenkins 34159 Mar 5 12:53 go.sum 12:55:35 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 5 12:53 main.go 12:55:35 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 5 12:53 makefile 12:55:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 12:53 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:55:36 + sudo tee /etc/docker/daemon.new 12:55:36 { 12:55:36 "registry-mirrors": [ 12:55:36 "https://nexus3.edgexfoundry.org:10001" 12:55:36 ], 12:55:36 "bip": "10.250.0.254/24", 12:55:36 "hosts": [ 12:55:36 "tcp://0.0.0.0:5555", 12:55:36 "unix:///var/run/docker.sock" 12:55:36 ], 12:55:36 "mtu": 1458, 12:55:36 "selinux-enabled": true, 12:55:36 "seccomp-profile": "/etc/docker/seccomp.json" 12:55:36 } [Pipeline] sh 12:55:36 + 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=e0205f2fa53740fbf48cd2dd9567276f13bba321 --label arch=amd64 --label version=0.0.0 . 12:55:36 Sending build context to Docker daemon 8.802MB 12:55:36 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:55:36 Step 2/27 : FROM ${BASE} AS builder 12:55:36 ---> 1e6da92f866d 12:55:36 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:55:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:55:36 ---> Running in 6e3a90556cec 12:55:36 Removing intermediate container 6e3a90556cec 12:55:36 ---> 75e0fafdeff4 12:55:36 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:55:36 ---> Running in 9ec07c686e54 12:55:36 Removing intermediate container 9ec07c686e54 12:55:36 ---> 90ebfea59b20 12:55:36 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:55:36 + sudo service docker restart 12:55:36 ---> Running in 9929cfbae094 12:55:36 Removing intermediate container 9929cfbae094 12:55:36 ---> 9e700863c31c 12:55:36 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:55:36 ---> Running in 78233abb5d94 12:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:55:37 OK: 264 MiB in 52 packages 12:55:37 Removing intermediate container 78233abb5d94 12:55:37 ---> b2455a56d84a 12:55:37 Step 7/27 : WORKDIR /app 12:55:37 ---> Running in 21063d619676 12:55:38 Removing intermediate container 21063d619676 12:55:38 ---> de02dc9b9549 12:55:38 Step 8/27 : COPY go.mod vendor* ./ 12:55:38 ---> aafc1f16a204 12:55:38 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:55:38 ---> Running in adea1d8003ce 12:55:38 Removing intermediate container adea1d8003ce 12:55:38 ---> 623b513ba97e 12:55:38 Step 10/27 : COPY . . 12:55:39 ---> e19e7ba19102 12:55:39 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:55:39 ---> Running in a49eead1270a 12:55:39 Removing intermediate container a49eead1270a 12:55:39 ---> 18ef435570ac 12:55:39 Step 12/27 : RUN $MAKE 12:55:39 ---> Running in 6ee6dee58591 12:55:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.24 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:55 provisioning config files... 12:55:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config4711856531220098965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:55 ---> ****-login.sh 12:55:55 nexus3.edgexfoundry.org:10001 12:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:56 Configure a credential helper to remove this warning. See 12:55:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:56 12:55:56 Login Succeeded 12:55:56 nexus3.edgexfoundry.org:10002 12:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:56 Configure a credential helper to remove this warning. See 12:55:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:56 12:55:56 Login Succeeded 12:55:56 nexus3.edgexfoundry.org:10003 12:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:57 Configure a credential helper to remove this warning. See 12:55:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:57 12:55:57 Login Succeeded 12:55:57 nexus3.edgexfoundry.org:10004 12:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:57 Configure a credential helper to remove this warning. See 12:55:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:57 12:55:57 Login Succeeded 12:55:57 ****.io 12:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:57 Configure a credential helper to remove this warning. See 12:55:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:57 12:55:57 Login Succeeded 12:55:57 ---> ****-login.sh ends [Pipeline] } 12:55:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:55:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:55:58 ========================================================= 12:55:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:55:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:55:59 Sending build context to Docker daemon 158.7kB 12:55:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:55:59 Step 2/12 : FROM ${BASE} AS builder 12:55:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:59 9fda8d8052c6: Pulling fs layer 12:55:59 5d54e960e981: Pulling fs layer 12:55:59 c4a7e357bf2a: Pulling fs layer 12:55:59 f0e02332f6b5: Pulling fs layer 12:55:59 872ee5b61b7b: Pulling fs layer 12:55:59 0c6a40ed1a82: Pulling fs layer 12:55:59 94ae7d8d031c: Pulling fs layer 12:55:59 f0e02332f6b5: Waiting 12:55:59 872ee5b61b7b: Waiting 12:55:59 0c6a40ed1a82: Waiting 12:55:59 5d54e960e981: Verifying Checksum 12:55:59 5d54e960e981: Download complete 12:55:59 f0e02332f6b5: Verifying Checksum 12:55:59 f0e02332f6b5: Download complete 12:55:59 872ee5b61b7b: Verifying Checksum 12:55:59 872ee5b61b7b: Download complete 12:55:59 9fda8d8052c6: Download complete 12:56:00 94ae7d8d031c: Verifying Checksum 12:56:00 94ae7d8d031c: Download complete 12:56:00 9fda8d8052c6: Pull complete 12:56:01 5d54e960e981: Pull complete 12:56:01 c4a7e357bf2a: Verifying Checksum 12:56:01 c4a7e357bf2a: Download complete 12:56:02 0c6a40ed1a82: Verifying Checksum 12:56:02 0c6a40ed1a82: Download complete 12:56:06 Removing intermediate container 6ee6dee58591 12:56:06 ---> 5c18aae1d57d 12:56:06 Step 13/27 : FROM alpine:3.18 12:56:06 3.18: Pulling from library/alpine 12:56:06 619be1103602: Pulling fs layer 12:56:06 619be1103602: Verifying Checksum 12:56:06 619be1103602: Download complete 12:56:06 619be1103602: Pull complete 12:56:06 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:56:06 Status: Downloaded newer image for alpine:3.18 12:56:06 ---> d3782b16ccc9 12:56:06 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:56:06 ---> Running in f2a9da5e0e13 12:56:06 Removing intermediate container f2a9da5e0e13 12:56:06 ---> aaf153ff623f 12:56:06 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:56:06 ---> Running in ce547572fdcb 12:56:06 Removing intermediate container ce547572fdcb 12:56:06 ---> 75f0cd0e42d0 12:56:06 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:56:06 ---> Running in a63286eeadb3 12:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:56:06 (1/2) Installing ca-certificates (20230506-r0) 12:56:06 (2/2) Installing dumb-init (1.2.5-r2) 12:56:06 Executing busybox-1.36.1-r5.trigger 12:56:06 Executing ca-certificates-20230506-r0.trigger 12:56:06 OK: 8 MiB in 17 packages 12:56:06 Removing intermediate container a63286eeadb3 12:56:06 ---> 594e2dd756f7 12:56:06 Step 17/27 : RUN apk --no-cache upgrade 12:56:06 ---> Running in a4cef3fe0d3f 12:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:56:06 OK: 8 MiB in 17 packages 12:56:06 Removing intermediate container a4cef3fe0d3f 12:56:06 ---> ebc2e3465b79 12:56:06 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:56:07 ---> d13a4ed5830e 12:56:07 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:56:07 ---> 99de500f911c 12:56:07 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:56:07 ---> 55173be39fe7 12:56:07 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:56:08 ---> 4f9f93247171 12:56:08 Step 22/27 : EXPOSE 48095 12:56:08 ---> Running in 179541da2efe 12:56:08 Removing intermediate container 179541da2efe 12:56:08 ---> e7d739451aef 12:56:08 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:56:08 ---> Running in b5f6e2f7b708 12:56:08 Removing intermediate container b5f6e2f7b708 12:56:08 ---> 456d4a6475e2 12:56:08 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:56:08 ---> Running in 83ec13e9aa94 12:56:08 Removing intermediate container 83ec13e9aa94 12:56:08 ---> d49cb0c013a9 12:56:08 Step 25/27 : LABEL arch=amd64 12:56:08 ---> Running in 8905938a0181 12:56:08 Removing intermediate container 8905938a0181 12:56:08 ---> 2d881aea036e 12:56:08 Step 26/27 : LABEL git_sha=e0205f2fa53740fbf48cd2dd9567276f13bba321 12:56:08 ---> Running in ed29b1d117ed 12:56:08 Removing intermediate container ed29b1d117ed 12:56:08 ---> cf005637f2f9 12:56:08 Step 27/27 : LABEL version=0.0.0 12:56:08 ---> Running in 3c1d6d7f7d7a 12:56:08 Removing intermediate container 3c1d6d7f7d7a 12:56:08 ---> 186d2079467c 12:56:08 [Warning] One or more build-args [ARCH] were not consumed 12:56:08 Successfully built 186d2079467c 12:56:08 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:56:10 12:56:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:56:10 latest: Pulling from edgex-lftools-log-publisher 12:56:10 5eb5b503b376: Pulling fs layer 12:56:10 5c69ac0246d0: Pulling fs layer 12:56:10 ec43610c2a17: Pulling fs layer 12:56:10 3a2ae6a8a46f: Pulling fs layer 12:56:10 33b1e0a273af: Pulling fs layer 12:56:10 5d3b04190fa2: Pulling fs layer 12:56:10 3a2ae6a8a46f: Waiting 12:56:10 33b1e0a273af: Waiting 12:56:10 5d3b04190fa2: Waiting 12:56:10 2f39f015ded8: Pulling fs layer 12:56:10 2f39f015ded8: Waiting 12:56:10 5c69ac0246d0: Download complete 12:56:10 3a2ae6a8a46f: Verifying Checksum 12:56:10 3a2ae6a8a46f: Download complete 12:56:11 33b1e0a273af: Verifying Checksum 12:56:11 33b1e0a273af: Download complete 12:56:11 5d3b04190fa2: Download complete 12:56:11 ec43610c2a17: Verifying Checksum 12:56:11 ec43610c2a17: Download complete 12:56:11 5eb5b503b376: Verifying Checksum 12:56:11 5eb5b503b376: Download complete 12:56:12 2f39f015ded8: Verifying Checksum 12:56:12 2f39f015ded8: Download complete 12:56:12 5eb5b503b376: Pull complete 12:56:13 5c69ac0246d0: Pull complete 12:56:13 ec43610c2a17: Pull complete 12:56:14 3a2ae6a8a46f: Pull complete 12:56:14 33b1e0a273af: Pull complete 12:56:14 c4a7e357bf2a: Pull complete 12:56:14 f0e02332f6b5: Pull complete 12:56:14 872ee5b61b7b: Pull complete 12:56:14 5d3b04190fa2: Pull complete 12:56:19 2f39f015ded8: Pull complete 12:56:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:56:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:56:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:19 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 12:56:19 $ 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-645 -v /w/workspace/_app-service-configurable_PR-645:/w/workspace/_app-service-configurable_PR-645:rw,z -v /w/workspace/_app-service-configurable_PR-645@tmp:/w/workspace/_app-service-configurable_PR-645@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:56:23 0c6a40ed1a82: Pull complete 12:56:24 94ae7d8d031c: Pull complete 12:56:24 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:56:24 ---> 86de565de09d 12:56:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:26 $ docker top 0f4e0080af20171b91a865b04805f8b8e09ca6f4d9c8c270ef5824117d2845e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:26 ---> Running in 0858ec970283 12:56:26 Removing intermediate container 0858ec970283 12:56:26 ---> f84162516f6f 12:56:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:56:26 ---> Running in ed21e1779133 12:56:26 ---> job-cost.sh 12:56:26 lf-activate-venv: SKIPPING 12:56:26 INFO: No Stack... 12:56:26 Removing intermediate container ed21e1779133 12:56:26 ---> a2be0452ff58 12:56:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:56:26 ---> Running in 885703658be3 12:56:26 INFO: Retrieving Pricing Info for: v3-standard-8 12:56:27 Removing intermediate container 885703658be3 12:56:27 ---> cbe38333426f 12:56:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:27 ---> Running in aa8e662f4f18 12:56:27 INFO: Archiving Costs [Pipeline] sh 12:56:27 + cat /w/workspace/_app-service-configurable_PR-645/archives/cost.csv 12:56:27 + cut -d, -f6 [Pipeline] lock 12:56:27 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] 12:56:27 Resource [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] did not exist. Created. 12:56:27 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:56:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:56:28 + echo total: 0.2199999988079071 [Pipeline] stash 12:56:28 Stashed 1 file(s) [Pipeline] } 12:56:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:56:28 $ docker stop --time=1 0f4e0080af20171b91a865b04805f8b8e09ca6f4d9c8c270ef5824117d2845e8 12:56:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:56:29 $ docker rm -f --volumes 0f4e0080af20171b91a865b04805f8b8e09ca6f4d9c8c270ef5824117d2845e8 12:56:29 OK: 266 MiB in 52 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:56:30 Removing intermediate container aa8e662f4f18 12:56:30 ---> 15609b00e4e3 12:56:30 Step 7/12 : WORKDIR /app 12:56:30 ---> Running in aecffc0244a5 12:56:30 Removing intermediate container aecffc0244a5 12:56:30 ---> a6935355c86c 12:56:30 Step 8/12 : COPY go.mod vendor* ./ 12:56:31 ---> 9517ffa23a58 12:56:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:31 ---> Running in 0ea636467014 12:57:39 Removing intermediate container 0ea636467014 12:57:39 ---> b0c60b017883 12:57:39 Step 10/12 : COPY . . 12:57:39 ---> 6f1fd24da7fe 12:57:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:39 ---> Running in 67407fb7ca5d 12:57:39 Removing intermediate container 67407fb7ca5d 12:57:39 ---> c793a4d01481 12:57:39 Step 12/12 : RUN $MAKE 12:57:39 ---> Running in 4cfdc9673da1 12:57:39 noop 12:57:39 Removing intermediate container 4cfdc9673da1 12:57:39 ---> 28c3eea1f73a 12:57:39 Successfully built 28c3eea1f73a 12:57:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:40 + docker inspect -f . ci-base-image-arm64 12:57:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:40 prd-ubuntu20.04-docker-arm64-4c-16g-5004 does not seem to be running inside a container 12:57:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:57:41 $ docker top c0b4c0014810e399bafd25f41f53b834506d5f8ee6a2faeee5603a66fb03750a -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:42 + go version 12:57:42 go version go1.21.0 linux/arm64 [Pipeline] } 12:57:42 $ docker stop --time=1 c0b4c0014810e399bafd25f41f53b834506d5f8ee6a2faeee5603a66fb03750a 12:57:44 $ docker rm -f --volumes c0b4c0014810e399bafd25f41f53b834506d5f8ee6a2faeee5603a66fb03750a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:45 + docker inspect -f . ci-base-image-arm64 12:57:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:45 prd-ubuntu20.04-docker-arm64-4c-16g-5004 does not seem to be running inside a container 12:57:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:57:47 $ docker top 2dc0cd3a7e78ca48ebfe2409607b239ce49e23e590cdb252adfd529641a8cb0b -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:57:48 + make test 12:57:48 go test -race -coverprofile=coverage.out ./... 12:59:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:59:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:59:55 go vet ./... 13:01:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:01:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:01:46 ./bin/test-attribution-txt.sh 13:01:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 13:01:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:01:47 $ docker stop --time=1 2dc0cd3a7e78ca48ebfe2409607b239ce49e23e590cdb252adfd529641a8cb0b 13:01:49 $ docker rm -f --volumes 2dc0cd3a7e78ca48ebfe2409607b239ce49e23e590cdb252adfd529641a8cb0b [Pipeline] // withDockerContainer [Pipeline] sh 13:01:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:01:50 Warning: overwriting stash ‘coverage-report’ 13:01:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:01:52 + ls -al . 13:01:52 total 180 13:01:52 drwxrwxr-x 6 jenkins jenkins 4096 Mar 5 12:57 . 13:01:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 12:55 .. 13:01:52 -rw-rw-r-- 1 jenkins jenkins 119 Mar 5 12:55 .dockerignore 13:01:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 12:55 .git 13:01:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 12:55 .github 13:01:52 -rw-rw-r-- 1 jenkins jenkins 106 Mar 5 12:55 .gitignore 13:01:52 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 12:55 .golangci.yml 13:01:52 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 5 12:55 Attribution.txt 13:01:52 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 5 12:55 CHANGELOG.md 13:01:52 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 5 12:55 Dockerfile 13:01:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 12:55 GOVERNANCE.md 13:01:52 -rw-rw-r-- 1 jenkins jenkins 666 Mar 5 12:55 Jenkinsfile 13:01:52 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 5 12:55 LICENSE 13:01:52 -rw-rw-r-- 1 jenkins jenkins 618 Mar 5 12:55 OWNERS.md 13:01:52 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 5 12:55 README.md 13:01:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 12:53 VERSION 13:01:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 12:55 bin 13:01:52 -rw-r--r-- 1 jenkins jenkins 13 Mar 5 12:57 coverage.out 13:01:52 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 5 12:55 go.mod 13:01:52 -rw-rw-r-- 1 jenkins jenkins 34159 Mar 5 12:55 go.sum 13:01:52 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 5 12:55 main.go 13:01:52 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 5 12:55 makefile 13:01:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 12:55 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:53 + 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=e0205f2fa53740fbf48cd2dd9567276f13bba321 --label arch=arm64 --label version=0.0.0 . 13:01:53 Sending build context to Docker daemon 159.7kB 13:01:53 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 13:01:53 Step 2/27 : FROM ${BASE} AS builder 13:01:53 ---> 28c3eea1f73a 13:01:53 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 13:01:53 ---> Running in 9262fa53c434 13:01:53 Removing intermediate container 9262fa53c434 13:01:53 ---> 7cf250102143 13:01:53 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:01:53 ---> Running in 5fc35ba93477 13:01:54 Removing intermediate container 5fc35ba93477 13:01:54 ---> a23553d96b2d 13:01:54 Step 5/27 : ARG ADD_BUILD_TAGS="" 13:01:54 ---> Running in 9a14c40f53fc 13:01:54 Removing intermediate container 9a14c40f53fc 13:01:54 ---> a5f77a405beb 13:01:54 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:54 ---> Running in f44681d4063e 13:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:01:56 OK: 266 MiB in 52 packages 13:01:57 Removing intermediate container f44681d4063e 13:01:57 ---> 46668d2185da 13:01:57 Step 7/27 : WORKDIR /app 13:01:58 ---> Running in 964871eb5883 13:01:58 Removing intermediate container 964871eb5883 13:01:58 ---> 3db3ad56009c 13:01:58 Step 8/27 : COPY go.mod vendor* ./ 13:01:58 ---> e005168ec3ad 13:01:58 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:58 ---> Running in be3e56770b3b 13:02:00 Removing intermediate container be3e56770b3b 13:02:00 ---> 4e638e126f0a 13:02:00 Step 10/27 : COPY . . 13:02:00 ---> cf206a3e755e 13:02:00 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:00 ---> Running in 08d0f554410c 13:02:01 Removing intermediate container 08d0f554410c 13:02:01 ---> 4189838a46b4 13:02:01 Step 12/27 : RUN $MAKE 13:02:01 ---> Running in d16dbf876139 13:02:02 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.24 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:03:41 Removing intermediate container d16dbf876139 13:03:41 ---> b2c2dbc2757f 13:03:41 Step 13/27 : FROM alpine:3.18 13:03:41 3.18: Pulling from library/alpine 13:03:41 c6b39de5b339: Pulling fs layer 13:03:41 c6b39de5b339: Verifying Checksum 13:03:41 c6b39de5b339: Download complete 13:03:41 c6b39de5b339: Pull complete 13:03:41 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:03:41 Status: Downloaded newer image for alpine:3.18 13:03:41 ---> 33abbf032149 13:03:41 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:03:41 ---> Running in ccabae9922e7 13:03:41 Removing intermediate container ccabae9922e7 13:03:41 ---> 779a65ee14f1 13:03:41 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:03:41 ---> Running in 63c30346f5e4 13:03:41 Removing intermediate container 63c30346f5e4 13:03:41 ---> 4264464ae956 13:03:41 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 13:03:42 ---> Running in 92b102125522 13:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:03:44 (1/2) Installing ca-certificates (20230506-r0) 13:03:44 (2/2) Installing dumb-init (1.2.5-r2) 13:03:44 Executing busybox-1.36.1-r5.trigger 13:03:44 Executing ca-certificates-20230506-r0.trigger 13:03:44 OK: 9 MiB in 17 packages 13:03:46 Removing intermediate container 92b102125522 13:03:46 ---> 1474123da4fc 13:03:46 Step 17/27 : RUN apk --no-cache upgrade 13:03:46 ---> Running in 953c0f43b4d4 13:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:03:48 OK: 9 MiB in 17 packages 13:03:49 Removing intermediate container 953c0f43b4d4 13:03:49 ---> 8ad6182aabe3 13:03:49 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:03:49 ---> 98822407940b 13:03:49 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:03:50 ---> 4c6b0b28b21d 13:03:50 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:03:50 ---> 5e9075326fd1 13:03:50 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:03:51 ---> 5ab0ffbdc78e 13:03:51 Step 22/27 : EXPOSE 48095 13:03:51 ---> Running in bdfba1c8dfd9 13:03:52 Removing intermediate container bdfba1c8dfd9 13:03:52 ---> 507c89750bb4 13:03:52 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:03:52 ---> Running in ee4b21f7d055 13:03:52 Removing intermediate container ee4b21f7d055 13:03:52 ---> 85539cb6fb5c 13:03:52 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:03:52 ---> Running in 97ed1695a308 13:03:52 Removing intermediate container 97ed1695a308 13:03:52 ---> 4947f329a911 13:03:52 Step 25/27 : LABEL arch=arm64 13:03:52 ---> Running in bb9ad25c045d 13:03:53 Removing intermediate container bb9ad25c045d 13:03:53 ---> 1b9b8b82050d 13:03:53 Step 26/27 : LABEL git_sha=e0205f2fa53740fbf48cd2dd9567276f13bba321 13:03:53 ---> Running in 12e29403baeb 13:03:53 Removing intermediate container 12e29403baeb 13:03:53 ---> dcae70617ba0 13:03:53 Step 27/27 : LABEL version=0.0.0 13:03:53 ---> Running in 83eb9f5281ff 13:03:53 Removing intermediate container 83eb9f5281ff 13:03:53 ---> 9b2630dbaeb4 13:03:53 [Warning] One or more build-args [ARCH] were not consumed 13:03:53 Successfully built 9b2630dbaeb4 13:03:53 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:55 13:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:55 arm64: Pulling from edgex-lftools-log-publisher 13:03:55 8998bd30e6a1: Pulling fs layer 13:03:55 04944245beec: Pulling fs layer 13:03:55 699f458cf7ca: Pulling fs layer 13:03:55 765212b225bb: Pulling fs layer 13:03:55 f23df028b6ca: Pulling fs layer 13:03:55 d65c8cfc05b1: Pulling fs layer 13:03:55 2437ff75d9bd: Pulling fs layer 13:03:55 d65c8cfc05b1: Waiting 13:03:55 2437ff75d9bd: Waiting 13:03:55 765212b225bb: Waiting 13:03:55 f23df028b6ca: Waiting 13:03:55 04944245beec: Verifying Checksum 13:03:55 04944245beec: Download complete 13:03:55 765212b225bb: Verifying Checksum 13:03:55 765212b225bb: Download complete 13:03:55 f23df028b6ca: Verifying Checksum 13:03:55 f23df028b6ca: Download complete 13:03:55 d65c8cfc05b1: Verifying Checksum 13:03:55 d65c8cfc05b1: Download complete 13:03:56 699f458cf7ca: Verifying Checksum 13:03:56 699f458cf7ca: Download complete 13:03:56 8998bd30e6a1: Download complete 13:03:58 2437ff75d9bd: Verifying Checksum 13:03:58 2437ff75d9bd: Download complete 13:04:00 8998bd30e6a1: Pull complete 13:04:01 04944245beec: Pull complete 13:04:02 699f458cf7ca: Pull complete 13:04:03 765212b225bb: Pull complete 13:04:04 f23df028b6ca: Pull complete 13:04:04 d65c8cfc05b1: Pull complete 13:04:22 2437ff75d9bd: Pull complete 13:04:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:04:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:22 prd-ubuntu20.04-docker-arm64-4c-16g-5004 does not seem to be running inside a container 13:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:04:25 $ docker top ae685451add328f7098d73eaf67cd13e8b95fa45cdb124a2659eb5aadfd2594f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:26 ---> job-cost.sh 13:04:26 lf-activate-venv: SKIPPING 13:04:26 INFO: No Stack... 13:04:27 INFO: Retrieving Pricing Info for: v3-standard-4 13:04:28 INFO: Archiving Costs [Pipeline] sh 13:04:28 + cut -d, -f6 13:04:28 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 13:04:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] 13:04:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] did not exist. Created. 13:04:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:04:29 /w/workspace/app-service-configurable/1@tmp/durable-f21555f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:04:29 + echo total: 0.10999999940395355 [Pipeline] stash 13:04:29 Warning: overwriting stash ‘stack-cost’ 13:04:29 Stashed 1 file(s) [Pipeline] } 13:04:29 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-645-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:04:30 $ docker stop --time=1 ae685451add328f7098d73eaf67cd13e8b95fa45cdb124a2659eb5aadfd2594f 13:04:31 $ docker rm -f --volumes ae685451add328f7098d73eaf67cd13e8b95fa45cdb124a2659eb5aadfd2594f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:04:33 provisioning config files... 13:04:33 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-645@tmp/config42449987305779197tmp [Pipeline] { [Pipeline] sh 13:04:34 + set +x 13:04:34 + curl -s https://codecov.io/bash 13:04:34 + bash -s -- 13:04:34 13:04:34 _____ _ 13:04:34 / ____| | | 13:04:34 | | ___ __| | ___ ___ _____ __ 13:04:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:04:34 | |___| (_) | (_| | __/ (_| (_) \ V / 13:04:34 \_____\___/ \__,_|\___|\___\___/ \_/ 13:04:34 Bash-1.0.6 13:04:34 13:04:34 13:04:34 ==> git version 2.25.1 found 13:04:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:04:34 Release-Date: 2020-01-08 13:04:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:04:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:04:34 ==> Jenkins CI detected. 13:04:34 current dir:  /w/workspace/_app-service-configurable_PR-645 13:04:34 project root: . 13:04:34 --> token set from env 13:04:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:04:34 ==> Running gcov in . (disable via -X gcov) 13:04:34 ==> Python coveragepy not found 13:04:34 ==> Searching for coverage reports in: 13:04:34 + . 13:04:34 -> Found 1 reports 13:04:34 ==> Detecting git/mercurial file structure 13:04:34 ==> Reading reports 13:04:34 + ./coverage.out bytes=13 13:04:34 ==> Appending adjustments 13:04:34 https://docs.codecov.io/docs/fixing-reports 13:04:34 + Found adjustments 13:04:34 ==> Gzipping contents 13:04:34 4.0K /tmp/codecov.n69q23.gz 13:04:34 ==> Uploading reports 13:04:34 url: https://codecov.io 13:04:34 query: branch=PR-645&commit=e0205f2fa53740fbf48cd2dd9567276f13bba321&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-645%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=645&job=&cmd_args= 13:04:34 -> Pinging Codecov 13:04:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-645&commit=e0205f2fa53740fbf48cd2dd9567276f13bba321&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-645%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=645&job=&cmd_args= 13:04:34 -> Uploading to 13:04:34 https://storage.googleapis.com/codecov/v4/raw/2024-03-05/A97CA9966030D2A3747ED39772930CCE/e0205f2fa53740fbf48cd2dd9567276f13bba321/0f54393e-ad2e-48d5-a360-77eff62d8a29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240305%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240305T130434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67101235f1fff2d29e6b0ac997d81311b8123cacc3d178dcd4b965c1d3372e15 13:04:34 % Total % Received % Xferd Average Speed Time Time Time Current 13:04:34 Dload Upload Total Spent Left Speed 13:04:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 979 --:--:-- --:--:-- --:--:-- 979 13:04:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/e0205f2fa53740fbf48cd2dd9567276f13bba321 [Pipeline] } 13:04:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:04:38 + [ -d /w/workspace/_app-service-configurable_PR-645/archives ] 13:04:38 + ls -al /w/workspace/_app-service-configurable_PR-645/archives 13:04:38 total 16 13:04:38 drwxr-xr-x 3 root root 4096 Mar 5 12:56 . 13:04:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 12:56 .. 13:04:38 drwxr-xr-x 2 root root 4096 Mar 5 12:56 cost 13:04:38 -rw-r--r-- 1 root root 96 Mar 5 12:56 cost.csv 13:04:38 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-645/archives 13:04:38 + ls -al /w/workspace/_app-service-configurable_PR-645/archives 13:04:38 total 16 13:04:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 12:56 . 13:04:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 12:56 .. 13:04:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 12:56 cost 13:04:38 -rw-r--r-- 1 jenkins jenkins 96 Mar 5 12:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:04:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:04:39 ---> package-listing.sh 13:04:39 ++ facter osfamily 13:04:39 ++ tr '[:upper:]' '[:lower:]' 13:04:39 + OS_FAMILY=debian 13:04:39 + workspace=/w/workspace/_app-service-configurable_PR-645 13:04:39 + START_PACKAGES=/tmp/packages_start.txt 13:04:39 + END_PACKAGES=/tmp/packages_end.txt 13:04:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:04:39 + PACKAGES=/tmp/packages_start.txt 13:04:39 + '[' /w/workspace/_app-service-configurable_PR-645 ']' 13:04:39 + PACKAGES=/tmp/packages_end.txt 13:04:39 + case "${OS_FAMILY}" in 13:04:39 + dpkg -l 13:04:39 + grep '^ii' 13:04:39 + '[' -f /tmp/packages_start.txt ']' 13:04:39 + '[' -f /tmp/packages_end.txt ']' 13:04:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:04:39 + '[' /w/workspace/_app-service-configurable_PR-645 ']' 13:04:39 + mkdir -p /w/workspace/_app-service-configurable_PR-645/archives/ 13:04:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-645/archives/ [Pipeline] echo 13:04:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-645/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:04:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:40 prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container 13:04:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-645/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-645 -v /w/workspace/_app-service-configurable_PR-645:/w/workspace/_app-service-configurable_PR-645:rw,z -v /w/workspace/_app-service-configurable_PR-645@tmp:/w/workspace/_app-service-configurable_PR-645@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:04:41 $ docker top d969f4b1f4cfd327e89a74702599198a88812c32b0a745ac3355f94580bbc397 -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:41 + touch /tmp/pre-build-complete [Pipeline] sh 13:04:41 + mkdir -p /var/log/sysstat [Pipeline] sh 13:04:42 + ls /var/log/sa-host 13:04:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:42 provisioning config files... 13:04:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-645@tmp/config5936292468782969293tmp [Pipeline] { [Pipeline] echo 13:04:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:04:42 ---> create-netrc.sh [Pipeline] } 13:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:04:43 ---> python-tools-install.sh [Pipeline] echo 13:04:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:04:43 ---> sudo-logs.sh 13:04:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:04:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:04:44 ---> job-cost.sh 13:04:44 lf-activate-venv: SKIPPING 13:04:44 DEBUG: total: 0.2199999988079071 13:04:44 INFO: Retrieving Stack Cost... 13:04:44 INFO: Retrieving Pricing Info for: v3-standard-8 13:04:45 INFO: Archiving Costs [Pipeline] echo 13:04:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:04:45 ---> logs-deploy.sh 13:04:45 lf-activate-venv: SKIPPING 13:04:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-645/1 13:04:45 INFO: archiving workspace using pattern(s): 13:04:46 Archives upload complete. 13:04:46 INFO: archiving logs to Nexus