Pull request #609 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc8b939d260b77ace2563830a09f19ce43e99cdd+45e919d065bcf9d6ec896798706eaa455abbfee1 (1de398de3359c51ccfccdb03fa9fa62fbd70e476) 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-ssh16758011278430611045.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14070795946729756662.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-609/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-609/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1810167540945774727.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-609/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4728083248840777091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3388413602794070488.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-609/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-609/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10805648765104708839.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9797 in /w/workspace/_app-service-configurable_PR-609 [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-609 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/609/head:refs/remotes/origin/PR-609 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45e919d065bcf9d6ec896798706eaa455abbfee1 into PR head commit bc8b939d260b77ace2563830a09f19ce43e99cdd Merge succeeded, producing bc8b939d260b77ace2563830a09f19ce43e99cdd Checking out Revision bc8b939d260b77ace2563830a09f19ce43e99cdd (PR-609) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:25:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:25:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bc8b939d260b77ace2563830a09f19ce43e99cdd # 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 45e919d065bcf9d6ec896798706eaa455abbfee1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc8b939d260b77ace2563830a09f19ce43e99cdd # timeout=10 [Pipeline] echo 12:25:56 ========================================================= 12:25:56 EdgeX Global Pipelines Version Info 12:25:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:25:57 ------------------- 12:25:57 stable info: 12:25:57 ------------------- 12:25:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:25:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:25:57 Message: update stable to v1.0.254 12:25:57 ------------------- 12:25:57 experimental info: 12:25:57 ------------------- 12:25:57 Commited By: **** collab-it+edgex@linuxfoundation.org 12:25:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:25:57 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:25:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-609 [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-609 [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-609 [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc8b939d260b77ace2563830a09f19ce43e99cdd [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc8b939 [Pipeline] echo 12:25:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:59 provisioning config files... 12:25:59 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-609@tmp/config7679321697517776152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:00 ---> docker-login.sh 12:26:00 nexus3.edgexfoundry.org:10001 12:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:00 Configure a credential helper to remove this warning. See 12:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:00 12:26:00 Login Succeeded 12:26:00 nexus3.edgexfoundry.org:10002 12:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:00 Configure a credential helper to remove this warning. See 12:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:00 12:26:00 Login Succeeded 12:26:00 nexus3.edgexfoundry.org:10003 12:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:00 Configure a credential helper to remove this warning. See 12:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:00 12:26:00 Login Succeeded 12:26:00 nexus3.edgexfoundry.org:10004 12:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:00 Configure a credential helper to remove this warning. See 12:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:00 12:26:00 Login Succeeded 12:26:00 docker.io 12:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:01 Configure a credential helper to remove this warning. See 12:26:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:01 12:26:01 Login Succeeded 12:26:01 ---> docker-login.sh ends [Pipeline] } 12:26:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:26:01 + git rev-list -1 --merges bc8b939d260b77ace2563830a09f19ce43e99cdd~1..bc8b939d260b77ace2563830a09f19ce43e99cdd [Pipeline] echo 12:26:01 -----------> git rev-list -1 --merges bc8b939d260b77ace2563830a09f19ce43e99cdd~1..bc8b939d260b77ace2563830a09f19ce43e99cdd bc8b939d260b77ace2563830a09f19ce43e99cdd [false] [Pipeline] sh 12:26:02 + git log --format=format:%s -1 bc8b939d260b77ace2563830a09f19ce43e99cdd [Pipeline] echo 12:26:02 ========================================================= 12:26:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:26:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:26:02 + git log --format=format:%s -1 bc8b939d260b77ace2563830a09f19ce43e99cdd [Pipeline] echo 12:26:02 [semverPrep] GIT_COMMIT: bc8b939d260b77ace2563830a09f19ce43e99cdd, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:26:02 [semverPrep] This is not a build commit. [Pipeline] sh 12:26:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:26:03 + grep -v github /etc/ssh/ssh_known_hosts 12:26:03 + [ -e /tmp/ssh_known_hosts ] 12:26:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:26:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:26:03 + sudo tee -a /etc/ssh/ssh_known_hosts 12:26:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:26:03 12:26:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:26:04 0.1.4: Pulling from edgex-devops/py-git-semver 12:26:04 b85a868b505f: Pulling fs layer 12:26:04 e2be974225ed: Pulling fs layer 12:26:04 339a4e72a1f5: Pulling fs layer 12:26:04 988bab9f4d93: Pulling fs layer 12:26:04 1469e6f7b9e6: Pulling fs layer 12:26:04 eaf3925da568: Pulling fs layer 12:26:04 bab4dde63d76: Pulling fs layer 12:26:04 bde34c3a00c8: Pulling fs layer 12:26:04 b352a97aabf1: Pulling fs layer 12:26:04 4872d77fe225: Pulling fs layer 12:26:04 5851b861e8e6: Pulling fs layer 12:26:04 b352a97aabf1: Waiting 12:26:04 bab4dde63d76: Waiting 12:26:04 4872d77fe225: Waiting 12:26:04 bde34c3a00c8: Waiting 12:26:04 988bab9f4d93: Waiting 12:26:04 1469e6f7b9e6: Waiting 12:26:04 eaf3925da568: Waiting 12:26:04 5851b861e8e6: Waiting 12:26:04 e2be974225ed: Download complete 12:26:04 988bab9f4d93: Verifying Checksum 12:26:04 988bab9f4d93: Download complete 12:26:04 1469e6f7b9e6: Verifying Checksum 12:26:04 1469e6f7b9e6: Download complete 12:26:04 339a4e72a1f5: Verifying Checksum 12:26:04 339a4e72a1f5: Download complete 12:26:04 eaf3925da568: Verifying Checksum 12:26:04 eaf3925da568: Download complete 12:26:04 bde34c3a00c8: Verifying Checksum 12:26:04 bde34c3a00c8: Download complete 12:26:04 b352a97aabf1: Download complete 12:26:04 4872d77fe225: Verifying Checksum 12:26:04 4872d77fe225: Download complete 12:26:04 5851b861e8e6: Verifying Checksum 12:26:04 5851b861e8e6: Download complete 12:26:04 b85a868b505f: Download complete 12:26:04 bab4dde63d76: Verifying Checksum 12:26:04 bab4dde63d76: Download complete 12:26:05 b85a868b505f: Pull complete 12:26:05 e2be974225ed: Pull complete 12:26:06 339a4e72a1f5: Pull complete 12:26:06 988bab9f4d93: Pull complete 12:26:06 1469e6f7b9e6: Pull complete 12:26:06 eaf3925da568: Pull complete 12:26:08 bab4dde63d76: Pull complete 12:26:08 bde34c3a00c8: Pull complete 12:26:08 b352a97aabf1: Pull complete 12:26:08 4872d77fe225: Pull complete 12:26:08 5851b861e8e6: Pull complete 12:26:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:26:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:09 prd-ubuntu20.04-docker-8c-8g-9797 does not seem to be running inside a container 12:26:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-609 -v /w/workspace/_app-service-configurable_PR-609:/w/workspace/_app-service-configurable_PR-609:rw,z -v /w/workspace/_app-service-configurable_PR-609@tmp:/w/workspace/_app-service-configurable_PR-609@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:26:15 $ docker top c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 -eo pid,comm 12:26:15 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:26:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:26:15 [ssh-agent] Looking for ssh-agent implementation... 12:26:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:26:15 $ docker exec c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 ssh-agent 12:26:15 SSH_AUTH_SOCK=/tmp/ssh-lKTdvMXpzIrz/agent.31 12:26:15 SSH_AGENT_PID=37 12:26:15 Running ssh-add (command line suppressed) 12:26:15 Identity added: /w/workspace/_app-service-configurable_PR-609@tmp/private_key_2296413555334950178.key (/w/workspace/_app-service-configurable_PR-609@tmp/private_key_2296413555334950178.key) 12:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:26:16 + git tag --points-at HEAD [Pipeline] } 12:26:16 $ docker exec --env ******** --env ******** c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 ssh-agent -k 12:26:16 unset SSH_AUTH_SOCK; 12:26:16 unset SSH_AGENT_PID; 12:26:16 echo Agent pid 37 killed; 12:26:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:26:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:26:16 [ssh-agent] Looking for ssh-agent implementation... 12:26:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:26:16 $ docker exec c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 ssh-agent 12:26:16 SSH_AUTH_SOCK=/tmp/ssh-MFBAzOwKRwsj/agent.69 12:26:16 SSH_AGENT_PID=75 12:26:16 Running ssh-add (command line suppressed) 12:26:16 Identity added: /w/workspace/_app-service-configurable_PR-609@tmp/private_key_8644239254202490987.key (/w/workspace/_app-service-configurable_PR-609@tmp/private_key_8644239254202490987.key) 12:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:26:16 + git semver init 12:26:17 2023-10-23 12:26:17,122 [run_init] DEBUG init version:0.0.0 force:False 12:26:17 2023-10-23 12:26:17,123 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-609/.semver 12:26:17 2023-10-23 12:26:17,124 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-609/.semver 12:26:17 2023-10-23 12:26:17,124 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-609/.semver'], cwd=/w/workspace/_app-service-configurable_PR-609, universal_newlines=False, shell=None, istream=None) 12:26:18 2023-10-23 12:26:18,039 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-609/.git/info/exclude 12:26:18 2023-10-23 12:26:18,040 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-609/.semver/PR-609 with force:False 12:26:18 2023-10-23 12:26:18,040 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-609/.semver/PR-609 12:26:18 2023-10-23 12:26:18,045 [execute] INFO git cat-file --batch-check 12:26:18 2023-10-23 12:26:18,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-609/.semver, universal_newlines=False, shell=None, istream=) 12:26:18 2023-10-23 12:26:18,052 [execute] INFO git cat-file --batch 12:26:18 2023-10-23 12:26:18,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-609/.semver, universal_newlines=False, shell=None, istream=) 12:26:18 2023-10-23 12:26:18,059 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-609/.semver/PR-609 12:26:18 0.0.0 [Pipeline] } 12:26:18 $ docker exec --env ******** --env ******** c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 ssh-agent -k 12:26:18 unset SSH_AUTH_SOCK; 12:26:18 unset SSH_AGENT_PID; 12:26:18 echo Agent pid 75 killed; 12:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:26:18 + git semver [Pipeline] } 12:26:19 $ docker stop --time=1 c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 12:26:20 $ docker rm -f --volumes c42ca255113bbf1b39095f43cc6f6ee4b57004b7e30132a2f092c98f76fe2f43 [Pipeline] // withDockerContainer [Pipeline] sh 12:26:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:26:20 Stashed 1 file(s) [Pipeline] echo 12:26:20 [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:26:21 provisioning config files... 12:26:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-609@tmp/config6336021293574533872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:21 ---> docker-login.sh 12:26:21 nexus3.edgexfoundry.org:10001 12:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:21 Configure a credential helper to remove this warning. See 12:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:21 12:26:21 Login Succeeded 12:26:21 nexus3.edgexfoundry.org:10002 12:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:21 Configure a credential helper to remove this warning. See 12:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:21 12:26:21 Login Succeeded 12:26:21 nexus3.edgexfoundry.org:10003 12:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:22 Configure a credential helper to remove this warning. See 12:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:22 12:26:22 Login Succeeded 12:26:22 nexus3.edgexfoundry.org:10004 12:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:22 Configure a credential helper to remove this warning. See 12:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:22 12:26:22 Login Succeeded 12:26:22 docker.io 12:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:22 Configure a credential helper to remove this warning. See 12:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:22 12:26:22 Login Succeeded 12:26:22 ---> docker-login.sh ends [Pipeline] } 12:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:26:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:26:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:26:23 ========================================================= 12:26:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:26:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:23 + 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:26:23 Sending build context to Docker daemon 3.378MB 12:26:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:26:23 Step 2/12 : FROM ${BASE} AS builder 12:26:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:26:23 7264a8db6415: Pulling fs layer 12:26:23 c4d48a809fc2: Pulling fs layer 12:26:23 4f1c88b9dad5: Pulling fs layer 12:26:23 ad3a456e5733: Pulling fs layer 12:26:23 33e27b845d1e: Pulling fs layer 12:26:23 c68163c4e522: Pulling fs layer 12:26:23 50da416c3ac9: Pulling fs layer 12:26:23 23d2d4c4bb30: Pulling fs layer 12:26:23 33e27b845d1e: Waiting 12:26:23 c68163c4e522: Waiting 12:26:23 50da416c3ac9: Waiting 12:26:23 23d2d4c4bb30: Waiting 12:26:23 ad3a456e5733: Waiting 12:26:23 c4d48a809fc2: Verifying Checksum 12:26:23 c4d48a809fc2: Download complete 12:26:23 ad3a456e5733: Verifying Checksum 12:26:23 ad3a456e5733: Download complete 12:26:23 33e27b845d1e: Verifying Checksum 12:26:23 33e27b845d1e: Download complete 12:26:23 7264a8db6415: Download complete 12:26:23 c68163c4e522: Verifying Checksum 12:26:23 c68163c4e522: Download complete 12:26:23 7264a8db6415: Pull complete 12:26:23 23d2d4c4bb30: Verifying Checksum 12:26:23 23d2d4c4bb30: Download complete 12:26:24 c4d48a809fc2: Pull complete 12:26:24 4f1c88b9dad5: Download complete 12:26:24 50da416c3ac9: Verifying Checksum 12:26:24 50da416c3ac9: Download complete 12:26:27 4f1c88b9dad5: Pull complete 12:26:27 ad3a456e5733: Pull complete 12:26:27 33e27b845d1e: Pull complete 12:26:27 c68163c4e522: Pull complete 12:26:30 50da416c3ac9: Pull complete 12:26:30 23d2d4c4bb30: Pull complete 12:26:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:26:30 ---> 0786185ac409 12:26:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:26:36 Still waiting to schedule task 12:26:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:26:36 ---> Running in 2de2bea24a55 12:26:36 Removing intermediate container 2de2bea24a55 12:26:36 ---> 96bc4a2369b5 12:26:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:26:36 ---> Running in fd328746020f 12:26:36 Removing intermediate container fd328746020f 12:26:36 ---> 97bcfe144d95 12:26:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:26:36 ---> Running in 5983fad72efa 12:26:36 Removing intermediate container 5983fad72efa 12:26:36 ---> 0d990be7ee95 12:26:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:37 ---> Running in 6e5b529f68f1 12:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:26:37 OK: 264 MiB in 52 packages 12:26:38 Removing intermediate container 6e5b529f68f1 12:26:38 ---> 03876981fc20 12:26:38 Step 7/12 : WORKDIR /app 12:26:38 ---> Running in 600e848387b9 12:26:38 Removing intermediate container 600e848387b9 12:26:38 ---> fb2a0428680d 12:26:38 Step 8/12 : COPY go.mod vendor* ./ 12:26:38 ---> c3442bdc0e7c 12:26:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:38 ---> Running in e1b00db6b69e 12:27:46 Removing intermediate container e1b00db6b69e 12:27:46 ---> 6622d1c054a2 12:27:46 Step 10/12 : COPY . . 12:27:46 ---> af40232f82d9 12:27:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:46 ---> Running in 33f9e51f8221 12:27:46 Removing intermediate container 33f9e51f8221 12:27:46 ---> 99edcd340343 12:27:46 Step 12/12 : RUN $MAKE 12:27:46 ---> Running in 08d88a61b411 12:27:46 noop 12:27:46 Removing intermediate container 08d88a61b411 12:27:46 ---> 9ce8588a4225 12:27:46 Successfully built 9ce8588a4225 12:27:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:46 + docker inspect -f . ci-base-image-x86_64 12:27:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:46 prd-ubuntu20.04-docker-8c-8g-9797 does not seem to be running inside a container 12:27:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-609 -v /w/workspace/_app-service-configurable_PR-609:/w/workspace/_app-service-configurable_PR-609:rw,z -v /w/workspace/_app-service-configurable_PR-609@tmp:/w/workspace/_app-service-configurable_PR-609@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:27:47 $ docker top 42492dd90d08a15772a6216ca91074fb5a3cdf6ee04301d1c3d209cac6b37871 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:47 + go version 12:27:47 go version go1.21.0 linux/amd64 [Pipeline] } 12:27:47 $ docker stop --time=1 42492dd90d08a15772a6216ca91074fb5a3cdf6ee04301d1c3d209cac6b37871 12:27:48 $ docker rm -f --volumes 42492dd90d08a15772a6216ca91074fb5a3cdf6ee04301d1c3d209cac6b37871 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:49 + docker inspect -f . ci-base-image-x86_64 12:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:49 prd-ubuntu20.04-docker-8c-8g-9797 does not seem to be running inside a container 12:27:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-609 -v /w/workspace/_app-service-configurable_PR-609:/w/workspace/_app-service-configurable_PR-609:rw,z -v /w/workspace/_app-service-configurable_PR-609@tmp:/w/workspace/_app-service-configurable_PR-609@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:27:50 $ docker top 7a3ba7bb0c18fa5964a30f64faed864f9725ab8c52c7d7274718742add91273a -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:50 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-609 [Pipeline] fileExists [Pipeline] sh 12:27:50 + make test 12:27:50 go test -race -coverprofile=coverage.out ./... 12:28:09 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:28:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9798 in /w/workspace/_app-service-configurable_PR-609 [Pipeline] { [Pipeline] ws 12:28:23 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:28:23 Selected Git installation does not exist. Using Default 12:28:23 The recommended git tool is: NONE 12:28:27 go vet ./... 12:28:28 using credential edgex-jenkins-ssh 12:28:28 Cloning the remote Git repository 12:28:28 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:28:28 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:28:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:28:28 > git --version # timeout=10 12:28:28 > git --version # 'git version 2.25.1' 12:28:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:28:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:28:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:28:29 ./bin/test-attribution-txt.sh [Pipeline] echo 12:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:28:29 $ docker stop --time=1 7a3ba7bb0c18fa5964a30f64faed864f9725ab8c52c7d7274718742add91273a 12:28:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:28:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:28:31 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:28:31 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:28:31 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/609/head:refs/remotes/origin/PR-609 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:28:32 Merging remotes/origin/main commit 45e919d065bcf9d6ec896798706eaa455abbfee1 into PR head commit bc8b939d260b77ace2563830a09f19ce43e99cdd 12:28:32 Merge succeeded, producing bc8b939d260b77ace2563830a09f19ce43e99cdd 12:28:32 Checking out Revision bc8b939d260b77ace2563830a09f19ce43e99cdd (PR-609) 12:28:33 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:28:33 > git --version # timeout=10 12:28:33 > git --version # 'git version 2.25.1' 12:28:33 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:28:32 > git config core.sparsecheckout # timeout=10 12:28:32 > git checkout -f bc8b939d260b77ace2563830a09f19ce43e99cdd # timeout=10 12:28:32 > git remote # timeout=10 12:28:32 > git config --get remote.origin.url # timeout=10 12:28:32 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:32 > git merge 45e919d065bcf9d6ec896798706eaa455abbfee1 # timeout=10 12:28:32 > git rev-parse HEAD^{commit} # timeout=10 12:28:32 > git config core.sparsecheckout # timeout=10 12:28:32 > git checkout -f bc8b939d260b77ace2563830a09f19ce43e99cdd # timeout=10 12:28:36 $ docker rm -f --volumes 7a3ba7bb0c18fa5964a30f64faed864f9725ab8c52c7d7274718742add91273a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:28:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:28:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 12:28:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:28:37 % Total % Received % Xferd Average Speed Time Time Time Current 12:28:37 Dload Upload Total Spent Left Speed 12:28:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [Pipeline] sh 12:28:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:28:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:28:38 + ls -al . 12:28:38 total 184 12:28:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 12:27 . 12:28:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 12:25 .. 12:28:38 -rw-rw-r-- 1 jenkins jenkins 119 Oct 23 12:25 .dockerignore 12:28:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 12:28 .git 12:28:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 12:25 .github 12:28:38 -rw-rw-r-- 1 jenkins jenkins 171 Oct 23 12:25 .gitignore 12:28:38 -rw-rw-r-- 1 jenkins jenkins 41 Oct 23 12:25 .golangci.yml 12:28:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 12:26 .semver 12:28:38 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 23 12:25 Attribution.txt 12:28:38 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 23 12:25 CHANGELOG.md 12:28:38 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 23 12:25 Dockerfile 12:28:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 12:25 GOVERNANCE.md 12:28:38 -rw-rw-r-- 1 jenkins jenkins 688 Oct 23 12:25 Jenkinsfile 12:28:38 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 12:25 LICENSE 12:28:38 -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 12:25 OWNERS.md 12:28:38 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 23 12:25 README.md 12:28:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 12:26 VERSION 12:28:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 12:25 bin 12:28:38 -rw-r--r-- 1 jenkins jenkins 13 Oct 23 12:27 coverage.out 12:28:38 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 23 12:25 go.mod 12:28:38 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 23 12:25 go.sum 12:28:38 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 23 12:25 main.go 12:28:38 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 23 12:25 makefile 12:28:38 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 12:25 res 12:28:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 12:25 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:28:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:28:38 + sudo tee /etc/docker/daemon.new 12:28:38 { 12:28:38 "registry-mirrors": [ 12:28:38 "https://nexus3.edgexfoundry.org:10001" 12:28:38 ], 12:28:38 "bip": "10.250.0.254/24", 12:28:38 "hosts": [ 12:28:38 "tcp://0.0.0.0:5555", 12:28:38 "unix:///var/run/docker.sock" 12:28:38 ], 12:28:38 "mtu": 1458, 12:28:38 "selinux-enabled": true, 12:28:38 "seccomp-profile": "/etc/docker/seccomp.json" 12:28:38 } [Pipeline] sh 12:28:39 + 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=bc8b939d260b77ace2563830a09f19ce43e99cdd --label arch=amd64 --label version=0.0.0 . 12:28:39 Sending build context to Docker daemon 3.379MB 12:28:39 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:28:39 Step 2/26 : FROM ${BASE} AS builder 12:28:39 ---> 9ce8588a4225 12:28:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:28:39 ---> Running in 1d1e48cfe85c 12:28:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:28:39 Removing intermediate container 1d1e48cfe85c 12:28:39 ---> 87d9d81a8909 12:28:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:28:39 ---> Running in 5b82b910df5d 12:28:39 Removing intermediate container 5b82b910df5d 12:28:39 ---> 3bb343c43c30 12:28:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:28:39 ---> Running in fd8f97de593c 12:28:39 Removing intermediate container fd8f97de593c 12:28:39 ---> cf3cf2d997f9 12:28:39 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:28:39 ---> Running in ca4b084bcb71 12:28:39 + sudo service docker restart 12:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:28:40 OK: 264 MiB in 52 packages 12:28:40 Removing intermediate container ca4b084bcb71 12:28:40 ---> 97c7dc3a774b 12:28:40 Step 7/26 : WORKDIR /app 12:28:40 ---> Running in 50bb36496b86 12:28:40 Removing intermediate container 50bb36496b86 12:28:40 ---> 785579167c1d 12:28:40 Step 8/26 : COPY go.mod vendor* ./ 12:28:40 ---> ac718383ee66 12:28:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:28:40 ---> Running in 0d814e237229 12:28:41 Removing intermediate container 0d814e237229 12:28:41 ---> 28ab7952e975 12:28:41 Step 10/26 : COPY . . 12:28:41 ---> 865b11c276da 12:28:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:28:41 ---> Running in dd3685da8ef4 12:28:41 Removing intermediate container dd3685da8ef4 12:28:41 ---> 904379971ba0 12:28:41 Step 12/26 : RUN $MAKE 12:28:41 ---> Running in 4bc90cfc7a63 12:28:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:29:01 provisioning config files... 12:29:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1149731209116824997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:02 ---> docker-login.sh 12:29:02 nexus3.edgexfoundry.org:10001 12:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:02 Configure a credential helper to remove this warning. See 12:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:02 12:29:02 Login Succeeded 12:29:02 nexus3.edgexfoundry.org:10002 12:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:03 Configure a credential helper to remove this warning. See 12:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:03 12:29:03 Login Succeeded 12:29:03 nexus3.edgexfoundry.org:10003 12:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:03 Configure a credential helper to remove this warning. See 12:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:03 12:29:03 Login Succeeded 12:29:03 nexus3.edgexfoundry.org:10004 12:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:04 Configure a credential helper to remove this warning. See 12:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:04 12:29:04 Login Succeeded 12:29:04 docker.io 12:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:05 Configure a credential helper to remove this warning. See 12:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:05 12:29:05 Login Succeeded 12:29:05 ---> docker-login.sh ends [Pipeline] } 12:29:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:29:05 ========================================================= 12:29:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:29:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:06 + 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:29:06 Sending build context to Docker daemon 181.2kB 12:29:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:29:06 Step 2/12 : FROM ${BASE} AS builder 12:29:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:29:06 9fda8d8052c6: Pulling fs layer 12:29:06 5d54e960e981: Pulling fs layer 12:29:06 c4a7e357bf2a: Pulling fs layer 12:29:06 f0e02332f6b5: Pulling fs layer 12:29:06 cefa15bbcfad: Pulling fs layer 12:29:06 f0e02332f6b5: Waiting 12:29:06 17808c966233: Pulling fs layer 12:29:06 cefa15bbcfad: Waiting 12:29:06 f4c1fc716caa: Pulling fs layer 12:29:06 17808c966233: Waiting 12:29:06 f4c1fc716caa: Waiting 12:29:06 5d54e960e981: Verifying Checksum 12:29:06 5d54e960e981: Download complete 12:29:06 f0e02332f6b5: Verifying Checksum 12:29:06 f0e02332f6b5: Download complete 12:29:06 cefa15bbcfad: Verifying Checksum 12:29:06 cefa15bbcfad: Download complete 12:29:06 9fda8d8052c6: Verifying Checksum 12:29:06 9fda8d8052c6: Download complete 12:29:07 f4c1fc716caa: Verifying Checksum 12:29:07 f4c1fc716caa: Download complete 12:29:07 9fda8d8052c6: Pull complete 12:29:08 Removing intermediate container 4bc90cfc7a63 12:29:08 ---> 14a37da24f9d 12:29:08 Step 13/26 : FROM alpine:3.18 12:29:08 3.18: Pulling from library/alpine 12:29:08 96526aa774ef: Pulling fs layer 12:29:08 96526aa774ef: Verifying Checksum 12:29:08 96526aa774ef: Download complete 12:29:08 96526aa774ef: Pull complete 12:29:08 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:29:08 Status: Downloaded newer image for alpine:3.18 12:29:08 ---> 8ca4688f4f35 12:29:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:29:08 ---> Running in 4f73a3791ab3 12:29:08 Removing intermediate container 4f73a3791ab3 12:29:08 ---> aa8b73750bde 12:29:08 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:29:08 ---> Running in 669f9ef23244 12:29:08 Removing intermediate container 669f9ef23244 12:29:08 ---> 6badae68521c 12:29:08 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:29:08 ---> Running in a8e17ce61428 12:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:29:08 (1/2) Installing ca-certificates (20230506-r0) 12:29:08 (2/2) Installing dumb-init (1.2.5-r2) 12:29:08 Executing busybox-1.36.1-r2.trigger 12:29:08 Executing ca-certificates-20230506-r0.trigger 12:29:08 OK: 8 MiB in 17 packages 12:29:08 Removing intermediate container a8e17ce61428 12:29:08 ---> db36f4b91022 12:29:08 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:29:08 ---> 04b06d2b3d99 12:29:08 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:29:08 ---> 9a8f81a45896 12:29:08 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:29:08 ---> 37712d88880d 12:29:08 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:29:08 ---> 1e0c917317b0 12:29:08 Step 21/26 : EXPOSE 48095 12:29:08 ---> Running in 21b4f5bce026 12:29:08 Removing intermediate container 21b4f5bce026 12:29:08 ---> 581965bffaa3 12:29:08 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:29:08 ---> Running in add302e8d298 12:29:09 Removing intermediate container add302e8d298 12:29:09 ---> e24f92e3d663 12:29:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:29:09 ---> Running in ff64ef726477 12:29:09 Removing intermediate container ff64ef726477 12:29:09 ---> 04256c20c47e 12:29:09 Step 24/26 : LABEL arch=amd64 12:29:09 ---> Running in 91f9a05cd382 12:29:09 Removing intermediate container 91f9a05cd382 12:29:09 ---> 1ce5447346a6 12:29:09 Step 25/26 : LABEL git_sha=bc8b939d260b77ace2563830a09f19ce43e99cdd 12:29:09 ---> Running in 20a52065cf88 12:29:09 Removing intermediate container 20a52065cf88 12:29:09 ---> 93d19fc084c0 12:29:09 Step 26/26 : LABEL version=0.0.0 12:29:09 ---> Running in 74b867284094 12:29:09 Removing intermediate container 74b867284094 12:29:09 ---> 161ed81fff6f 12:29:09 [Warning] One or more build-args [ARCH] were not consumed 12:29:09 Successfully built 161ed81fff6f 12:29:09 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:29:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:10 12:29:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:10 latest: Pulling from edgex-lftools-log-publisher 12:29:10 5eb5b503b376: Pulling fs layer 12:29:10 5c69ac0246d0: Pulling fs layer 12:29:10 ec43610c2a17: Pulling fs layer 12:29:10 3a2ae6a8a46f: Pulling fs layer 12:29:10 33b1e0a273af: Pulling fs layer 12:29:10 5d3b04190fa2: Pulling fs layer 12:29:10 2f39f015ded8: Pulling fs layer 12:29:10 33b1e0a273af: Waiting 12:29:10 5d3b04190fa2: Waiting 12:29:10 2f39f015ded8: Waiting 12:29:10 3a2ae6a8a46f: Waiting 12:29:10 5c69ac0246d0: Verifying Checksum 12:29:10 5c69ac0246d0: Download complete 12:29:10 3a2ae6a8a46f: Verifying Checksum 12:29:10 3a2ae6a8a46f: Download complete 12:29:10 ec43610c2a17: Verifying Checksum 12:29:10 ec43610c2a17: Download complete 12:29:10 33b1e0a273af: Verifying Checksum 12:29:10 33b1e0a273af: Download complete 12:29:10 5d3b04190fa2: Download complete 12:29:10 5eb5b503b376: Verifying Checksum 12:29:10 5eb5b503b376: Download complete 12:29:11 2f39f015ded8: Download complete 12:29:11 5eb5b503b376: Pull complete 12:29:12 5c69ac0246d0: Pull complete 12:29:12 ec43610c2a17: Pull complete 12:29:12 3a2ae6a8a46f: Pull complete 12:29:12 33b1e0a273af: Pull complete 12:29:13 5d3b04190fa2: Pull complete 12:29:14 5d54e960e981: Pull complete 12:29:14 c4a7e357bf2a: Verifying Checksum 12:29:14 c4a7e357bf2a: Download complete 12:29:14 17808c966233: Verifying Checksum 12:29:14 17808c966233: Download complete 12:29:17 2f39f015ded8: Pull complete 12:29:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:29:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:17 prd-ubuntu20.04-docker-8c-8g-9797 does not seem to be running inside a container 12:29:17 $ 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-609 -v /w/workspace/_app-service-configurable_PR-609:/w/workspace/_app-service-configurable_PR-609:rw,z -v /w/workspace/_app-service-configurable_PR-609@tmp:/w/workspace/_app-service-configurable_PR-609@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:29:26 $ docker top 08e6672e4ea11f539a3199bf45084d60e55bfc44988e0a51fb76d8e5204edaa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:26 ---> job-cost.sh 12:29:26 lf-activate-venv: SKIPPING 12:29:26 INFO: No Stack... 12:29:26 INFO: Retrieving Pricing Info for: v3-standard-8 12:29:27 c4a7e357bf2a: Pull complete 12:29:27 f0e02332f6b5: Pull complete 12:29:27 cefa15bbcfad: Pull complete 12:29:27 INFO: Archiving Costs [Pipeline] sh 12:29:27 + cat /w/workspace/_app-service-configurable_PR-609/archives/cost.csv 12:29:27 + cut -d, -f6 [Pipeline] lock 12:29:27 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] 12:29:27 Resource [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] did not exist. Created. 12:29:27 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:29:28 + echo total: 0.2199999988079071 [Pipeline] stash 12:29:28 Stashed 1 file(s) [Pipeline] } 12:29:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:29:28 $ docker stop --time=1 08e6672e4ea11f539a3199bf45084d60e55bfc44988e0a51fb76d8e5204edaa1 12:29:29 $ docker rm -f --volumes 08e6672e4ea11f539a3199bf45084d60e55bfc44988e0a51fb76d8e5204edaa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:29:35 17808c966233: Pull complete 12:29:35 f4c1fc716caa: Pull complete 12:29:35 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:29:35 ---> ea914061e18c 12:29:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:29:37 ---> Running in d7eec1b1f99a 12:29:37 Removing intermediate container d7eec1b1f99a 12:29:37 ---> 1ad72f631e9c 12:29:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:29:37 ---> Running in 90012ab15ead 12:29:38 Removing intermediate container 90012ab15ead 12:29:38 ---> cc24c483ea02 12:29:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:29:38 ---> Running in 63ef6eb3e26e 12:29:38 Removing intermediate container 63ef6eb3e26e 12:29:38 ---> 2a1cc8deef7b 12:29:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:38 ---> Running in d8f6437c130b 12:29:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:29:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:29:41 OK: 266 MiB in 52 packages 12:29:42 Removing intermediate container d8f6437c130b 12:29:42 ---> 6c1628aac8e5 12:29:42 Step 7/12 : WORKDIR /app 12:29:42 ---> Running in 31626b411de9 12:29:42 Removing intermediate container 31626b411de9 12:29:42 ---> 9b407e03e452 12:29:42 Step 8/12 : COPY go.mod vendor* ./ 12:29:42 ---> d8576ad12d77 12:29:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:29:42 ---> Running in 69aab0fc8796 12:31:19 Removing intermediate container 69aab0fc8796 12:31:19 ---> 05d14b2e4ff9 12:31:19 Step 10/12 : COPY . . 12:31:19 ---> 826a2dddd94b 12:31:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:31:19 ---> Running in fdf4bb2a59dd 12:31:19 Removing intermediate container fdf4bb2a59dd 12:31:19 ---> f6cf1650e26c 12:31:19 Step 12/12 : RUN $MAKE 12:31:19 ---> Running in c94afa90d451 12:31:19 noop 12:31:19 Removing intermediate container c94afa90d451 12:31:19 ---> dfd34c452efb 12:31:19 Successfully built dfd34c452efb 12:31:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:20 + docker inspect -f . ci-base-image-arm64 12:31:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:20 prd-ubuntu20.04-docker-arm64-4c-16g-9798 does not seem to be running inside a container 12:31:20 $ 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:31:21 $ docker top 6ad6355696b45cc688a0348d398c7d6984bcc4dc563791f85cba9e7511d8cc83 -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:22 + go version 12:31:22 go version go1.21.0 linux/arm64 [Pipeline] } 12:31:22 $ docker stop --time=1 6ad6355696b45cc688a0348d398c7d6984bcc4dc563791f85cba9e7511d8cc83 12:31:24 $ docker rm -f --volumes 6ad6355696b45cc688a0348d398c7d6984bcc4dc563791f85cba9e7511d8cc83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:24 + docker inspect -f . ci-base-image-arm64 12:31:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:25 prd-ubuntu20.04-docker-arm64-4c-16g-9798 does not seem to be running inside a container 12:31:25 $ 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:31:26 $ docker top 17d8a70021fb3ffba0ef34a6adb42c6d27ea066ae384a9ca5cbd5da6e5a2e2eb -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:26 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:31:27 + make test 12:31:27 go test -race -coverprofile=coverage.out ./... 12:33:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:33:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:33:33 go vet ./... 12:35:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:35:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:35:25 ./bin/test-attribution-txt.sh [Pipeline] echo 12:35:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:35:25 $ docker stop --time=1 17d8a70021fb3ffba0ef34a6adb42c6d27ea066ae384a9ca5cbd5da6e5a2e2eb 12:35:27 $ docker rm -f --volumes 17d8a70021fb3ffba0ef34a6adb42c6d27ea066ae384a9ca5cbd5da6e5a2e2eb [Pipeline] // withDockerContainer [Pipeline] sh 12:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:35:29 Warning: overwriting stash ‘coverage-report’ 12:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:35:30 + ls -al . 12:35:30 total 180 12:35:30 drwxrwxr-x 7 jenkins jenkins 4096 Oct 23 12:31 . 12:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 12:28 .. 12:35:30 -rw-rw-r-- 1 jenkins jenkins 119 Oct 23 12:28 .dockerignore 12:35:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 12:28 .git 12:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 12:28 .github 12:35:30 -rw-rw-r-- 1 jenkins jenkins 171 Oct 23 12:28 .gitignore 12:35:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 23 12:28 .golangci.yml 12:35:30 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 23 12:28 Attribution.txt 12:35:30 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 23 12:28 CHANGELOG.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 23 12:28 Dockerfile 12:35:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 12:28 GOVERNANCE.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 688 Oct 23 12:28 Jenkinsfile 12:35:30 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 12:28 LICENSE 12:35:30 -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 12:28 OWNERS.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 23 12:28 README.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 12:26 VERSION 12:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 12:28 bin 12:35:30 -rw-r--r-- 1 jenkins jenkins 13 Oct 23 12:31 coverage.out 12:35:30 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 23 12:28 go.mod 12:35:30 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 23 12:28 go.sum 12:35:30 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 23 12:28 main.go 12:35:30 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 23 12:28 makefile 12:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 12:28 res 12:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 12:28 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:31 + 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=bc8b939d260b77ace2563830a09f19ce43e99cdd --label arch=arm64 --label version=0.0.0 . 12:35:31 Sending build context to Docker daemon 182.3kB 12:35:31 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:35:31 Step 2/26 : FROM ${BASE} AS builder 12:35:31 ---> dfd34c452efb 12:35:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:35:31 ---> Running in c4878b26d189 12:35:31 Removing intermediate container c4878b26d189 12:35:31 ---> a90d2cb8ec3f 12:35:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:35:31 ---> Running in 4668ee848cda 12:35:32 Removing intermediate container 4668ee848cda 12:35:32 ---> 15dd853bdc12 12:35:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:35:32 ---> Running in cd7adc36e0ee 12:35:32 Removing intermediate container cd7adc36e0ee 12:35:32 ---> 7a266d86100e 12:35:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:35:32 ---> Running in 5150118353d2 12:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:35:34 OK: 266 MiB in 52 packages 12:35:35 Removing intermediate container 5150118353d2 12:35:35 ---> ec4e5e3adc63 12:35:35 Step 7/26 : WORKDIR /app 12:35:35 ---> Running in d4cdd9c8f156 12:35:36 Removing intermediate container d4cdd9c8f156 12:35:36 ---> 3c50124f54ea 12:35:36 Step 8/26 : COPY go.mod vendor* ./ 12:35:39 ---> 0789830526e8 12:35:39 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:35:39 ---> Running in 39c224252e77 12:35:42 Removing intermediate container 39c224252e77 12:35:42 ---> 9a96a48c082f 12:35:42 Step 10/26 : COPY . . 12:35:42 ---> 50d0ba317234 12:35:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:35:42 ---> Running in f3167d1566ab 12:35:42 Removing intermediate container f3167d1566ab 12:35:42 ---> 12c45b310ac3 12:35:42 Step 12/26 : RUN $MAKE 12:35:42 ---> Running in ac2567a1f1bd 12:35:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:37:35 Removing intermediate container ac2567a1f1bd 12:37:35 ---> 75d5126c42da 12:37:35 Step 13/26 : FROM alpine:3.18 12:37:35 3.18: Pulling from library/alpine 12:37:35 579b34f0a95b: Pulling fs layer 12:37:35 579b34f0a95b: Verifying Checksum 12:37:35 579b34f0a95b: Download complete 12:37:35 579b34f0a95b: Pull complete 12:37:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:37:35 Status: Downloaded newer image for alpine:3.18 12:37:35 ---> 3cc203321400 12:37:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:37:35 ---> Running in dbe71bf661f6 12:37:35 Removing intermediate container dbe71bf661f6 12:37:35 ---> b343b754eada 12:37:35 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:37:35 ---> Running in 074e20f188a6 12:37:35 Removing intermediate container 074e20f188a6 12:37:35 ---> 10898a8f36ca 12:37:35 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:37:35 ---> Running in 95a2402d1042 12:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:37:35 (1/2) Installing ca-certificates (20230506-r0) 12:37:35 (2/2) Installing dumb-init (1.2.5-r2) 12:37:35 Executing busybox-1.36.1-r2.trigger 12:37:35 Executing ca-certificates-20230506-r0.trigger 12:37:35 OK: 9 MiB in 17 packages 12:37:35 Removing intermediate container 95a2402d1042 12:37:35 ---> 1ac8a918cb2e 12:37:35 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:37:35 ---> 7c25ca022240 12:37:35 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:37:35 ---> fd082b29f8af 12:37:35 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:37:35 ---> 8c00e58500e4 12:37:35 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:37:36 ---> 23172c0ea04b 12:37:36 Step 21/26 : EXPOSE 48095 12:37:36 ---> Running in b66cc49cc3cb 12:37:37 Removing intermediate container b66cc49cc3cb 12:37:37 ---> c0d1f41accc8 12:37:37 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:37:37 ---> Running in 164463e78b7f 12:37:37 Removing intermediate container 164463e78b7f 12:37:37 ---> b50edb06c717 12:37:37 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:37:37 ---> Running in adda6aa9d628 12:37:37 Removing intermediate container adda6aa9d628 12:37:37 ---> 669ebceb0f3d 12:37:37 Step 24/26 : LABEL arch=arm64 12:37:37 ---> Running in 6b57d2cc526f 12:37:38 Removing intermediate container 6b57d2cc526f 12:37:38 ---> 08e66e0726ee 12:37:38 Step 25/26 : LABEL git_sha=bc8b939d260b77ace2563830a09f19ce43e99cdd 12:37:38 ---> Running in 29c8751ee457 12:37:38 Removing intermediate container 29c8751ee457 12:37:38 ---> 62ba1c76284d 12:37:38 Step 26/26 : LABEL version=0.0.0 12:37:38 ---> Running in 39737f88bcf9 12:37:39 Removing intermediate container 39737f88bcf9 12:37:39 ---> 53c693b03db7 12:37:39 [Warning] One or more build-args [ARCH] were not consumed 12:37:39 Successfully built 53c693b03db7 12:37:39 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:37:39 12:37:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:37:40 arm64: Pulling from edgex-lftools-log-publisher 12:37:40 8998bd30e6a1: Pulling fs layer 12:37:40 04944245beec: Pulling fs layer 12:37:40 699f458cf7ca: Pulling fs layer 12:37:40 765212b225bb: Pulling fs layer 12:37:40 765212b225bb: Waiting 12:37:40 f23df028b6ca: Pulling fs layer 12:37:40 d65c8cfc05b1: Pulling fs layer 12:37:40 f23df028b6ca: Waiting 12:37:40 2437ff75d9bd: Pulling fs layer 12:37:40 d65c8cfc05b1: Waiting 12:37:40 2437ff75d9bd: Waiting 12:37:40 699f458cf7ca: Verifying Checksum 12:37:40 699f458cf7ca: Download complete 12:37:40 765212b225bb: Download complete 12:37:40 f23df028b6ca: Verifying Checksum 12:37:40 f23df028b6ca: Download complete 12:37:40 d65c8cfc05b1: Verifying Checksum 12:37:40 d65c8cfc05b1: Download complete 12:37:41 8998bd30e6a1: Verifying Checksum 12:37:41 8998bd30e6a1: Download complete 12:37:42 04944245beec: Verifying Checksum 12:37:42 04944245beec: Download complete 12:37:43 2437ff75d9bd: Verifying Checksum 12:37:43 2437ff75d9bd: Download complete 12:37:45 8998bd30e6a1: Pull complete 12:37:45 04944245beec: Pull complete 12:37:47 699f458cf7ca: Pull complete 12:37:47 765212b225bb: Pull complete 12:37:48 f23df028b6ca: Pull complete 12:37:48 d65c8cfc05b1: Pull complete 12:38:03 2437ff75d9bd: Pull complete 12:38:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:38:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:03 prd-ubuntu20.04-docker-arm64-4c-16g-9798 does not seem to be running inside a container 12:38:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:38:06 $ docker top e680f62ebde8bb9ca7d68a242b0d3184853932ca43d0e5de15f9ae53330065cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:38:07 ---> job-cost.sh 12:38:07 lf-activate-venv: SKIPPING 12:38:07 INFO: No Stack... 12:38:08 INFO: Retrieving Pricing Info for: v3-standard-4 12:38:08 INFO: Archiving Costs [Pipeline] sh 12:38:09 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:38:09 + cut -d, -f6 [Pipeline] lock 12:38:09 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] 12:38:09 Resource [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] did not exist. Created. 12:38:09 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:38:09 /w/workspace/app-service-configurable/1@tmp/durable-14b0d32b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:38:10 + echo total: 0.10999999940395355 [Pipeline] stash 12:38:10 Warning: overwriting stash ‘stack-cost’ 12:38:10 Stashed 1 file(s) [Pipeline] } 12:38:10 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-609-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:38:10 $ docker stop --time=1 e680f62ebde8bb9ca7d68a242b0d3184853932ca43d0e5de15f9ae53330065cc 12:38:11 $ docker rm -f --volumes e680f62ebde8bb9ca7d68a242b0d3184853932ca43d0e5de15f9ae53330065cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:38:12 provisioning config files... 12:38:12 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-609@tmp/config14674739847129010150tmp [Pipeline] { [Pipeline] sh 12:38:13 + set +x 12:38:13 + curl -s https://codecov.io/bash 12:38:13 + bash -s -- 12:38:13 12:38:13 _____ _ 12:38:13 / ____| | | 12:38:13 | | ___ __| | ___ ___ _____ __ 12:38:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:38:13 | |___| (_) | (_| | __/ (_| (_) \ V / 12:38:13 \_____\___/ \__,_|\___|\___\___/ \_/ 12:38:13 Bash-1.0.6 12:38:13 12:38:13 12:38:13 ==> git version 2.25.1 found 12:38:13 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:38:13 Release-Date: 2020-01-08 12:38:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:38:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:38:13 ==> Jenkins CI detected. 12:38:13 current dir:  /w/workspace/_app-service-configurable_PR-609 12:38:13 project root: . 12:38:13 --> token set from env 12:38:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:38:13 ==> Running gcov in . (disable via -X gcov) 12:38:13 ==> Python coveragepy not found 12:38:13 ==> Searching for coverage reports in: 12:38:13 + . 12:38:13 -> Found 1 reports 12:38:13 ==> Detecting git/mercurial file structure 12:38:13 ==> Reading reports 12:38:13 + ./coverage.out bytes=13 12:38:13 ==> Appending adjustments 12:38:13 https://docs.codecov.io/docs/fixing-reports 12:38:13 + Found adjustments 12:38:13 ==> Gzipping contents 12:38:13 4.0K /tmp/codecov.kOTnJp.gz 12:38:13 ==> Uploading reports 12:38:13 url: https://codecov.io 12:38:13 query: branch=PR-609&commit=bc8b939d260b77ace2563830a09f19ce43e99cdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-609%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=609&job=&cmd_args= 12:38:13 -> Pinging Codecov 12:38:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-609&commit=bc8b939d260b77ace2563830a09f19ce43e99cdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-609%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=609&job=&cmd_args= 12:38:13 -> Uploading to 12:38:13 https://storage.googleapis.com/codecov/v4/raw/2023-10-23/A97CA9966030D2A3747ED39772930CCE/bc8b939d260b77ace2563830a09f19ce43e99cdd/7b9daad3-9ec8-42a9-88e9-b4c6913ae232.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231023%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231023T123813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d6afbe40c307c2105e4ce9599fd2974e73b3e29ffacca079de6679009de7f98 12:38:13 % Total % Received % Xferd Average Speed Time Time Time Current 12:38:13 Dload Upload Total Spent Left Speed 12:38:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2072 --:--:-- --:--:-- --:--:-- 2062 100 429 0 0 100 429 0 1526 --:--:-- --:--:-- --:--:-- 1521 12:38:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/bc8b939d260b77ace2563830a09f19ce43e99cdd [Pipeline] } 12:38:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:38:15 + [ -d /w/workspace/_app-service-configurable_PR-609/archives ] 12:38:15 + ls -al /w/workspace/_app-service-configurable_PR-609/archives 12:38:15 total 16 12:38:15 drwxr-xr-x 3 root root 4096 Oct 23 12:29 . 12:38:15 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 12:29 .. 12:38:15 drwxr-xr-x 2 root root 4096 Oct 23 12:29 cost 12:38:15 -rw-r--r-- 1 root root 96 Oct 23 12:29 cost.csv 12:38:15 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-609/archives 12:38:15 + ls -al /w/workspace/_app-service-configurable_PR-609/archives 12:38:15 total 16 12:38:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 12:29 . 12:38:15 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 12:29 .. 12:38:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 12:29 cost 12:38:15 -rw-r--r-- 1 jenkins jenkins 96 Oct 23 12:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:38:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:38:16 ---> package-listing.sh 12:38:16 ++ tr '[:upper:]' '[:lower:]' 12:38:16 ++ facter osfamily 12:38:17 + OS_FAMILY=debian 12:38:17 + workspace=/w/workspace/_app-service-configurable_PR-609 12:38:17 + START_PACKAGES=/tmp/packages_start.txt 12:38:17 + END_PACKAGES=/tmp/packages_end.txt 12:38:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:38:17 + PACKAGES=/tmp/packages_start.txt 12:38:17 + '[' /w/workspace/_app-service-configurable_PR-609 ']' 12:38:17 + PACKAGES=/tmp/packages_end.txt 12:38:17 + case "${OS_FAMILY}" in 12:38:17 + dpkg -l 12:38:17 + grep '^ii' 12:38:17 + '[' -f /tmp/packages_start.txt ']' 12:38:17 + '[' -f /tmp/packages_end.txt ']' 12:38:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:38:17 + '[' /w/workspace/_app-service-configurable_PR-609 ']' 12:38:17 + mkdir -p /w/workspace/_app-service-configurable_PR-609/archives/ 12:38:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-609/archives/ [Pipeline] echo 12:38:17 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-609/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:38:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:18 prd-ubuntu20.04-docker-8c-8g-9797 does not seem to be running inside a container 12:38:18 $ 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-609/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-609 -v /w/workspace/_app-service-configurable_PR-609:/w/workspace/_app-service-configurable_PR-609:rw,z -v /w/workspace/_app-service-configurable_PR-609@tmp:/w/workspace/_app-service-configurable_PR-609@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:38:18 $ docker top 0669c075ceb4455d2473e4be7eb50fd02630ed6596523974ae788f79a23eded4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:18 + touch /tmp/pre-build-complete [Pipeline] sh 12:38:19 + mkdir -p /var/log/sysstat [Pipeline] sh 12:38:19 + ls /var/log/sa-host 12:38:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:38:19 provisioning config files... 12:38:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-609@tmp/config13939780050856089512tmp [Pipeline] { [Pipeline] echo 12:38:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:38:20 ---> create-netrc.sh [Pipeline] } 12:38:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:38:20 ---> python-tools-install.sh [Pipeline] echo 12:38:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:38:20 ---> sudo-logs.sh 12:38:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:38:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:38:21 ---> job-cost.sh 12:38:21 lf-activate-venv: SKIPPING 12:38:21 DEBUG: total: 0.2199999988079071 12:38:21 INFO: Retrieving Stack Cost... 12:38:21 INFO: Retrieving Pricing Info for: v3-standard-8 12:38:22 INFO: Archiving Costs [Pipeline] echo 12:38:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:38:22 ---> logs-deploy.sh 12:38:22 lf-activate-venv: SKIPPING 12:38:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-609/1 12:38:22 INFO: archiving workspace using pattern(s): 12:38:23 Archives upload complete. 12:38:23 INFO: archiving logs to Nexus