Pull request #608 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb0e07b153948e162a9b016afcb92264050f6224+45e919d065bcf9d6ec896798706eaa455abbfee1 (93cf0810b72c1194d925b93f9a77231ffecf59aa) 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-ssh18337843234147633036.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-ssh16254340129371259554.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-608/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-608/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9864746349093309556.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-608/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16800307503981127035.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-ssh4468737985106627123.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-608/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-608/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh449155939392929499.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-9604 in /w/workspace/_app-service-configurable_PR-608 [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-608 # 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/608/head:refs/remotes/origin/PR-608 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45e919d065bcf9d6ec896798706eaa455abbfee1 into PR head commit fb0e07b153948e162a9b016afcb92264050f6224 Merge succeeded, producing fb0e07b153948e162a9b016afcb92264050f6224 Checking out Revision fb0e07b153948e162a9b016afcb92264050f6224 (PR-608) 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] } > git config core.sparsecheckout # timeout=10 > git checkout -f fb0e07b153948e162a9b016afcb92264050f6224 # 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 fb0e07b153948e162a9b016afcb92264050f6224 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:09:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:09:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:09:30 ========================================================= 12:09:30 EdgeX Global Pipelines Version Info 12:09:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:09:31 ------------------- 12:09:31 stable info: 12:09:31 ------------------- 12:09:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:09:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:09:31 Message: update stable to v1.0.254 12:09:32 ------------------- 12:09:32 experimental info: 12:09:32 ------------------- 12:09:32 Commited By: **** collab-it+edgex@linuxfoundation.org 12:09:32 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:09:32 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-608 [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-608 [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-608 [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb0e07b153948e162a9b016afcb92264050f6224 [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb0e07b [Pipeline] echo 12:09:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:33 provisioning config files... 12:09:33 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-608@tmp/config18197228828052380773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:34 ---> docker-login.sh 12:09:34 nexus3.edgexfoundry.org:10001 12:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:34 Configure a credential helper to remove this warning. See 12:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:34 12:09:34 Login Succeeded 12:09:34 nexus3.edgexfoundry.org:10002 12:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:34 Configure a credential helper to remove this warning. See 12:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:34 12:09:34 Login Succeeded 12:09:34 nexus3.edgexfoundry.org:10003 12:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:34 Configure a credential helper to remove this warning. See 12:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:34 12:09:34 Login Succeeded 12:09:34 nexus3.edgexfoundry.org:10004 12:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:35 Configure a credential helper to remove this warning. See 12:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:35 12:09:35 Login Succeeded 12:09:35 docker.io 12:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:35 Configure a credential helper to remove this warning. See 12:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:35 12:09:35 Login Succeeded 12:09:35 ---> docker-login.sh ends [Pipeline] } 12:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:09:36 + git rev-list -1 --merges fb0e07b153948e162a9b016afcb92264050f6224~1..fb0e07b153948e162a9b016afcb92264050f6224 [Pipeline] echo 12:09:36 -----------> git rev-list -1 --merges fb0e07b153948e162a9b016afcb92264050f6224~1..fb0e07b153948e162a9b016afcb92264050f6224 fb0e07b153948e162a9b016afcb92264050f6224 [false] [Pipeline] sh 12:09:36 + git log --format=format:%s -1 fb0e07b153948e162a9b016afcb92264050f6224 [Pipeline] echo 12:09:36 ========================================================= 12:09:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:09:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:36 + git log --format=format:%s -1 fb0e07b153948e162a9b016afcb92264050f6224 [Pipeline] echo 12:09:36 [semverPrep] GIT_COMMIT: fb0e07b153948e162a9b016afcb92264050f6224, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:09:36 [semverPrep] This is not a build commit. [Pipeline] sh 12:09:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:09:37 + grep -v github /etc/ssh/ssh_known_hosts 12:09:37 + [ -e /tmp/ssh_known_hosts ] 12:09:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:09:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:09:37 sudo tee -a /etc/ssh/ssh_known_hosts 12:09:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:37 12:09:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:38 0.1.4: Pulling from edgex-devops/py-git-semver 12:09:38 b85a868b505f: Pulling fs layer 12:09:38 e2be974225ed: Pulling fs layer 12:09:38 339a4e72a1f5: Pulling fs layer 12:09:38 988bab9f4d93: Pulling fs layer 12:09:38 1469e6f7b9e6: Pulling fs layer 12:09:38 eaf3925da568: Pulling fs layer 12:09:38 988bab9f4d93: Waiting 12:09:38 bab4dde63d76: Pulling fs layer 12:09:38 bde34c3a00c8: Pulling fs layer 12:09:38 b352a97aabf1: Pulling fs layer 12:09:38 4872d77fe225: Pulling fs layer 12:09:38 eaf3925da568: Waiting 12:09:38 5851b861e8e6: Pulling fs layer 12:09:38 b352a97aabf1: Waiting 12:09:38 bab4dde63d76: Waiting 12:09:38 bde34c3a00c8: Waiting 12:09:38 4872d77fe225: Waiting 12:09:38 5851b861e8e6: Waiting 12:09:38 e2be974225ed: Download complete 12:09:38 988bab9f4d93: Verifying Checksum 12:09:38 988bab9f4d93: Download complete 12:09:38 1469e6f7b9e6: Verifying Checksum 12:09:38 1469e6f7b9e6: Download complete 12:09:38 eaf3925da568: Verifying Checksum 12:09:38 eaf3925da568: Download complete 12:09:38 339a4e72a1f5: Verifying Checksum 12:09:38 339a4e72a1f5: Download complete 12:09:38 bde34c3a00c8: Verifying Checksum 12:09:38 b352a97aabf1: Verifying Checksum 12:09:38 b352a97aabf1: Download complete 12:09:38 4872d77fe225: Verifying Checksum 12:09:38 4872d77fe225: Download complete 12:09:38 5851b861e8e6: Verifying Checksum 12:09:38 5851b861e8e6: Download complete 12:09:38 b85a868b505f: Verifying Checksum 12:09:38 b85a868b505f: Download complete 12:09:38 bab4dde63d76: Verifying Checksum 12:09:38 bab4dde63d76: Download complete 12:09:40 b85a868b505f: Pull complete 12:09:40 e2be974225ed: Pull complete 12:09:40 339a4e72a1f5: Pull complete 12:09:41 988bab9f4d93: Pull complete 12:09:41 1469e6f7b9e6: Pull complete 12:09:41 eaf3925da568: Pull complete 12:09:43 bab4dde63d76: Pull complete 12:09:43 bde34c3a00c8: Pull complete 12:09:43 b352a97aabf1: Pull complete 12:09:43 4872d77fe225: Pull complete 12:09:43 5851b861e8e6: Pull complete 12:09:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:09:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:44 prd-ubuntu20.04-docker-8c-8g-9604 does not seem to be running inside a container 12:09:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-608 -v /w/workspace/_app-service-configurable_PR-608:/w/workspace/_app-service-configurable_PR-608:rw,z -v /w/workspace/_app-service-configurable_PR-608@tmp:/w/workspace/_app-service-configurable_PR-608@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:09:48 $ docker top a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 -eo pid,comm 12:09:48 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:09:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:09:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:48 [ssh-agent] Looking for ssh-agent implementation... 12:09:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:49 $ docker exec a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 ssh-agent 12:09:49 SSH_AUTH_SOCK=/tmp/ssh-wQBy4kLpwdN4/agent.32 12:09:49 SSH_AGENT_PID=38 12:09:49 Running ssh-add (command line suppressed) 12:09:49 Identity added: /w/workspace/_app-service-configurable_PR-608@tmp/private_key_7303796788648770064.key (/w/workspace/_app-service-configurable_PR-608@tmp/private_key_7303796788648770064.key) 12:09:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:49 + git tag --points-at HEAD [Pipeline] } 12:09:49 $ docker exec --env ******** --env ******** a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 ssh-agent -k 12:09:49 unset SSH_AUTH_SOCK; 12:09:49 unset SSH_AGENT_PID; 12:09:49 echo Agent pid 38 killed; 12:09:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:09:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:49 [ssh-agent] Looking for ssh-agent implementation... 12:09:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:50 $ docker exec a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 ssh-agent 12:09:50 SSH_AUTH_SOCK=/tmp/ssh-YfVJsvv3mush/agent.71 12:09:50 SSH_AGENT_PID=77 12:09:50 Running ssh-add (command line suppressed) 12:09:50 Identity added: /w/workspace/_app-service-configurable_PR-608@tmp/private_key_15111857105857927726.key (/w/workspace/_app-service-configurable_PR-608@tmp/private_key_15111857105857927726.key) 12:09:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:50 + git semver init 12:09:51 2023-10-19 12:09:50,892 [run_init] DEBUG init version:0.0.0 force:False 12:09:51 2023-10-19 12:09:50,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-608/.semver 12:09:51 2023-10-19 12:09:50,894 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-608/.semver 12:09:51 2023-10-19 12:09:50,894 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-608/.semver'], cwd=/w/workspace/_app-service-configurable_PR-608, universal_newlines=False, shell=None, istream=None) 12:09:52 2023-10-19 12:09:51,937 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-608/.git/info/exclude 12:09:52 2023-10-19 12:09:51,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-608/.semver/PR-608 with force:False 12:09:52 2023-10-19 12:09:51,937 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-608/.semver/PR-608 12:09:52 2023-10-19 12:09:51,940 [execute] INFO git cat-file --batch-check 12:09:52 2023-10-19 12:09:51,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-608/.semver, universal_newlines=False, shell=None, istream=) 12:09:52 2023-10-19 12:09:51,947 [execute] INFO git cat-file --batch 12:09:52 2023-10-19 12:09:51,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-608/.semver, universal_newlines=False, shell=None, istream=) 12:09:52 2023-10-19 12:09:51,953 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-608/.semver/PR-608 12:09:52 0.0.0 [Pipeline] } 12:09:52 $ docker exec --env ******** --env ******** a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 ssh-agent -k 12:09:52 unset SSH_AUTH_SOCK; 12:09:52 unset SSH_AGENT_PID; 12:09:52 echo Agent pid 77 killed; 12:09:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:09:52 + git semver [Pipeline] } 12:09:53 $ docker stop --time=1 a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 12:09:54 $ docker rm -f --volumes a1c4b87ab4678324a791acf2e43c682a50a35646b3369eabb5865cec8837c6d9 [Pipeline] // withDockerContainer [Pipeline] sh 12:09:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:09:55 Stashed 1 file(s) [Pipeline] echo 12:09:55 [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:09:56 provisioning config files... 12:09:56 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-608@tmp/config12068188267925819012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:56 ---> docker-login.sh 12:09:56 nexus3.edgexfoundry.org:10001 12:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:56 Configure a credential helper to remove this warning. See 12:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:56 12:09:56 Login Succeeded 12:09:56 nexus3.edgexfoundry.org:10002 12:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:56 Configure a credential helper to remove this warning. See 12:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:56 12:09:56 Login Succeeded 12:09:56 nexus3.edgexfoundry.org:10003 12:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:57 Configure a credential helper to remove this warning. See 12:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:57 12:09:57 Login Succeeded 12:09:57 nexus3.edgexfoundry.org:10004 12:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:57 Configure a credential helper to remove this warning. See 12:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:57 12:09:57 Login Succeeded 12:09:57 docker.io 12:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:57 Configure a credential helper to remove this warning. See 12:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:57 12:09:57 Login Succeeded 12:09:57 ---> docker-login.sh ends [Pipeline] } 12:09:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:09:57 ========================================================= 12:09:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:09:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:58 + 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:09:58 Sending build context to Docker daemon 3.378MB 12:09:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:09:58 Step 2/12 : FROM ${BASE} AS builder 12:09:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:09:58 7264a8db6415: Pulling fs layer 12:09:58 c4d48a809fc2: Pulling fs layer 12:09:58 4f1c88b9dad5: Pulling fs layer 12:09:58 ad3a456e5733: Pulling fs layer 12:09:58 33e27b845d1e: Pulling fs layer 12:09:58 c68163c4e522: Pulling fs layer 12:09:58 50da416c3ac9: Pulling fs layer 12:09:58 23d2d4c4bb30: Pulling fs layer 12:09:58 33e27b845d1e: Waiting 12:09:58 50da416c3ac9: Waiting 12:09:58 23d2d4c4bb30: Waiting 12:09:58 ad3a456e5733: Waiting 12:09:58 c68163c4e522: Waiting 12:09:58 c4d48a809fc2: Verifying Checksum 12:09:58 c4d48a809fc2: Download complete 12:09:58 7264a8db6415: Download complete 12:09:58 33e27b845d1e: Verifying Checksum 12:09:58 33e27b845d1e: Download complete 12:09:58 c68163c4e522: Verifying Checksum 12:09:58 c68163c4e522: Download complete 12:09:58 ad3a456e5733: Verifying Checksum 12:09:58 ad3a456e5733: Download complete 12:09:58 7264a8db6415: Pull complete 12:09:58 23d2d4c4bb30: Download complete 12:09:58 c4d48a809fc2: Pull complete 12:09:58 4f1c88b9dad5: Verifying Checksum 12:09:58 4f1c88b9dad5: Download complete 12:09:59 50da416c3ac9: Verifying Checksum 12:09:59 50da416c3ac9: Download complete 12:10:02 4f1c88b9dad5: Pull complete 12:10:02 ad3a456e5733: Pull complete 12:10:03 33e27b845d1e: Pull complete 12:10:03 c68163c4e522: Pull complete 12:10:06 50da416c3ac9: Pull complete 12:10:06 23d2d4c4bb30: Pull complete 12:10:06 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:10:06 ---> 0786185ac409 12:10:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:10:11 Still waiting to schedule task 12:10:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:10:18 ---> Running in 0032ac664bd7 12:10:18 Removing intermediate container 0032ac664bd7 12:10:18 ---> 068df77e2749 12:10:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:10:18 ---> Running in 4c4fb7f1a0f6 12:10:18 Removing intermediate container 4c4fb7f1a0f6 12:10:18 ---> 30ad80469d01 12:10:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:10:18 ---> Running in 6f2fd1a9d704 12:10:18 Removing intermediate container 6f2fd1a9d704 12:10:18 ---> 75370bf6b716 12:10:18 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:18 ---> Running in 1268dcd957b3 12:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:10:19 OK: 264 MiB in 52 packages 12:10:19 Removing intermediate container 1268dcd957b3 12:10:19 ---> 27db6f53ad5e 12:10:19 Step 7/12 : WORKDIR /app 12:10:19 ---> Running in 6ba71065ce24 12:10:19 Removing intermediate container 6ba71065ce24 12:10:19 ---> 7bb90bc1c673 12:10:19 Step 8/12 : COPY go.mod vendor* ./ 12:10:19 ---> 08e23aa2ddbc 12:10:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:19 ---> Running in 093708699d02 12:11:41 Removing intermediate container 093708699d02 12:11:41 ---> af008b00bcb4 12:11:41 Step 10/12 : COPY . . 12:11:41 ---> dc590780ed64 12:11:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:11:41 ---> Running in cfba0e8ebea4 12:11:41 Removing intermediate container cfba0e8ebea4 12:11:41 ---> 39d05001d4f1 12:11:41 Step 12/12 : RUN $MAKE 12:11:41 ---> Running in 24c921befc07 12:11:41 noop 12:11:41 Removing intermediate container 24c921befc07 12:11:41 ---> 1867354a5095 12:11:41 Successfully built 1867354a5095 12:11:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:41 + docker inspect -f . ci-base-image-x86_64 12:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:41 prd-ubuntu20.04-docker-8c-8g-9604 does not seem to be running inside a container 12:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-608 -v /w/workspace/_app-service-configurable_PR-608:/w/workspace/_app-service-configurable_PR-608:rw,z -v /w/workspace/_app-service-configurable_PR-608@tmp:/w/workspace/_app-service-configurable_PR-608@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:11:42 $ docker top 9af629378c7405040d2cb5c8b325b44843d611027f2a3c07a8bad3cf51449051 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:42 + go version 12:11:42 go version go1.21.0 linux/amd64 [Pipeline] } 12:11:42 $ docker stop --time=1 9af629378c7405040d2cb5c8b325b44843d611027f2a3c07a8bad3cf51449051 12:11:43 $ docker rm -f --volumes 9af629378c7405040d2cb5c8b325b44843d611027f2a3c07a8bad3cf51449051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:44 + docker inspect -f . ci-base-image-x86_64 12:11:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:44 prd-ubuntu20.04-docker-8c-8g-9604 does not seem to be running inside a container 12:11:44 $ 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-608 -v /w/workspace/_app-service-configurable_PR-608:/w/workspace/_app-service-configurable_PR-608:rw,z -v /w/workspace/_app-service-configurable_PR-608@tmp:/w/workspace/_app-service-configurable_PR-608@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:11:45 $ docker top 11eb388f0ec7969df5a3099fde31385ba6441d0b162625f1d444ae39100182ac -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:45 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-608 [Pipeline] fileExists [Pipeline] sh 12:11:45 + make test 12:11:45 go test -race -coverprofile=coverage.out ./... 12:11:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9605 in /w/workspace/_app-service-configurable_PR-608 [Pipeline] { [Pipeline] ws 12:11:49 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:11:49 Selected Git installation does not exist. Using Default 12:11:49 The recommended git tool is: NONE 12:11:55 using credential edgex-jenkins-ssh 12:11:55 Cloning the remote Git repository 12:11:55 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:11:55 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:11:55 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:11:55 > git --version # timeout=10 12:11:55 > git --version # 'git version 2.25.1' 12:11:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:11:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:11:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:11:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:11:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:11:58 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:11:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:11:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/608/head:refs/remotes/origin/PR-608 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:11:58 Merging remotes/origin/main commit 45e919d065bcf9d6ec896798706eaa455abbfee1 into PR head commit fb0e07b153948e162a9b016afcb92264050f6224 12:11:58 Merge succeeded, producing fb0e07b153948e162a9b016afcb92264050f6224 12:11:58 Checking out Revision fb0e07b153948e162a9b016afcb92264050f6224 (PR-608) 12:11:59 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:11:59 > git --version # timeout=10 12:11:59 > git --version # 'git version 2.25.1' 12:11:59 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:11:58 > git config core.sparsecheckout # timeout=10 12:11:58 > git checkout -f fb0e07b153948e162a9b016afcb92264050f6224 # timeout=10 12:11:58 > git remote # timeout=10 12:11:58 > git config --get remote.origin.url # timeout=10 12:11:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:11:58 > git merge 45e919d065bcf9d6ec896798706eaa455abbfee1 # timeout=10 12:11:58 > git rev-parse HEAD^{commit} # timeout=10 12:11:58 > git config core.sparsecheckout # timeout=10 12:11:58 > git checkout -f fb0e07b153948e162a9b016afcb92264050f6224 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:12:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:12:00 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:00 Dload Upload Total Spent Left Speed 12:12:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 12:12:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:12:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:12:01 + sudo tee /etc/docker/daemon.new 12:12:01 { 12:12:01 "registry-mirrors": [ 12:12:01 "https://nexus3.edgexfoundry.org:10001" 12:12:01 ], 12:12:01 "bip": "10.250.0.254/24", 12:12:01 "hosts": [ 12:12:01 "tcp://0.0.0.0:5555", 12:12:01 "unix:///var/run/docker.sock" 12:12:01 ], 12:12:01 "mtu": 1458, 12:12:01 "selinux-enabled": true, 12:12:01 "seccomp-profile": "/etc/docker/seccomp.json" 12:12:01 } [Pipeline] sh 12:12:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:12:02 + sudo service docker restart 12:12:07 ? github.com/edgexfoundry/app-service-configurable [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:20 provisioning config files... 12:12:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1099252080431382807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:21 ---> docker-login.sh 12:12:21 nexus3.edgexfoundry.org:10001 12:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:21 Configure a credential helper to remove this warning. See 12:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:21 12:12:21 Login Succeeded 12:12:21 nexus3.edgexfoundry.org:10002 12:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:22 Configure a credential helper to remove this warning. See 12:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:22 12:12:22 Login Succeeded 12:12:22 nexus3.edgexfoundry.org:10003 12:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:22 Configure a credential helper to remove this warning. See 12:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:22 12:12:22 Login Succeeded 12:12:22 nexus3.edgexfoundry.org:10004 12:12:22 go vet ./... 12:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:23 Configure a credential helper to remove this warning. See 12:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:23 12:12:23 Login Succeeded 12:12:23 docker.io 12:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:23 Configure a credential helper to remove this warning. See 12:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:23 12:12:23 Login Succeeded 12:12:23 ---> docker-login.sh ends [Pipeline] } 12:12:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:24 ========================================================= 12:12:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:12:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:24 + 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:12:24 Sending build context to Docker daemon 181.2kB 12:12:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:12:25 Step 2/12 : FROM ${BASE} AS builder 12:12:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:12:25 9fda8d8052c6: Pulling fs layer 12:12:25 5d54e960e981: Pulling fs layer 12:12:25 c4a7e357bf2a: Pulling fs layer 12:12:25 f0e02332f6b5: Pulling fs layer 12:12:25 cefa15bbcfad: Pulling fs layer 12:12:25 f0e02332f6b5: Waiting 12:12:25 17808c966233: Pulling fs layer 12:12:25 f4c1fc716caa: Pulling fs layer 12:12:25 cefa15bbcfad: Waiting 12:12:25 f4c1fc716caa: Waiting 12:12:25 17808c966233: Waiting 12:12:25 5d54e960e981: Verifying Checksum 12:12:25 5d54e960e981: Download complete 12:12:25 f0e02332f6b5: Download complete 12:12:25 cefa15bbcfad: Verifying Checksum 12:12:25 cefa15bbcfad: Download complete 12:12:25 9fda8d8052c6: Verifying Checksum 12:12:25 9fda8d8052c6: Download complete 12:12:26 f4c1fc716caa: Verifying Checksum 12:12:26 f4c1fc716caa: Download complete 12:12:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:12:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:12:26 ./bin/test-attribution-txt.sh [Pipeline] echo 12:12:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:12:26 $ docker stop --time=1 11eb388f0ec7969df5a3099fde31385ba6441d0b162625f1d444ae39100182ac 12:12:26 9fda8d8052c6: Pull complete 12:12:26 5d54e960e981: Pull complete 12:12:27 c4a7e357bf2a: Verifying Checksum 12:12:27 c4a7e357bf2a: Download complete 12:12:28 17808c966233: Verifying Checksum 12:12:28 17808c966233: Download complete 12:12:33 $ docker rm -f --volumes 11eb388f0ec7969df5a3099fde31385ba6441d0b162625f1d444ae39100182ac [Pipeline] // withDockerContainer [Pipeline] sh 12:12:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:12:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:12:34 + ls -al . 12:12:34 total 184 12:12:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 12:11 . 12:12:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 12:09 .. 12:12:34 -rw-rw-r-- 1 jenkins jenkins 119 Oct 19 12:09 .dockerignore 12:12:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 12:12 .git 12:12:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 12:09 .github 12:12:34 -rw-rw-r-- 1 jenkins jenkins 171 Oct 19 12:09 .gitignore 12:12:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 12:09 .golangci.yml 12:12:34 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 12:09 .semver 12:12:34 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 19 12:09 Attribution.txt 12:12:34 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 19 12:09 CHANGELOG.md 12:12:34 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 19 12:09 Dockerfile 12:12:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 12:09 GOVERNANCE.md 12:12:34 -rw-rw-r-- 1 jenkins jenkins 688 Oct 19 12:09 Jenkinsfile 12:12:34 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 19 12:09 LICENSE 12:12:34 -rw-rw-r-- 1 jenkins jenkins 618 Oct 19 12:09 OWNERS.md 12:12:34 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 19 12:09 README.md 12:12:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 12:09 VERSION 12:12:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 12:09 bin 12:12:34 -rw-r--r-- 1 jenkins jenkins 13 Oct 19 12:11 coverage.out 12:12:34 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 19 12:09 go.mod 12:12:34 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 19 12:09 go.sum 12:12:34 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 19 12:09 main.go 12:12:34 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 19 12:09 makefile 12:12:34 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 12:09 res 12:12:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 12:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:35 + 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=fb0e07b153948e162a9b016afcb92264050f6224 --label arch=amd64 --label version=0.0.0 . 12:12:35 Sending build context to Docker daemon 3.379MB 12:12:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:12:35 Step 2/26 : FROM ${BASE} AS builder 12:12:35 ---> 1867354a5095 12:12:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:12:35 ---> Running in 68a18a88dd06 12:12:35 Removing intermediate container 68a18a88dd06 12:12:35 ---> 3091dd82f3cf 12:12:35 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:12:35 ---> Running in 539086ced600 12:12:35 Removing intermediate container 539086ced600 12:12:35 ---> 5141d902d08d 12:12:35 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:12:35 ---> Running in 66712d5c5e69 12:12:35 Removing intermediate container 66712d5c5e69 12:12:35 ---> 9a5454c3506d 12:12:35 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:12:35 ---> Running in 79cd18cf975b 12:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:36 OK: 264 MiB in 52 packages 12:12:36 Removing intermediate container 79cd18cf975b 12:12:36 ---> 05c46395ec5a 12:12:36 Step 7/26 : WORKDIR /app 12:12:36 ---> Running in 95be42dfa594 12:12:36 Removing intermediate container 95be42dfa594 12:12:36 ---> fa475881344a 12:12:36 Step 8/26 : COPY go.mod vendor* ./ 12:12:37 ---> fdd12929583e 12:12:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:12:37 ---> Running in 4a411eaeb1da 12:12:37 Removing intermediate container 4a411eaeb1da 12:12:37 ---> 3e5611a4f350 12:12:37 Step 10/26 : COPY . . 12:12:38 ---> 4d9b404518d9 12:12:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:12:38 ---> Running in 4bcc31cbeef8 12:12:38 Removing intermediate container 4bcc31cbeef8 12:12:38 ---> cccc57c86ec8 12:12:38 Step 12/26 : RUN $MAKE 12:12:38 ---> Running in f7d569c77749 12:12:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.44 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:12:40 c4a7e357bf2a: Pull complete 12:12:40 f0e02332f6b5: Pull complete 12:12:40 cefa15bbcfad: Pull complete 12:12:49 17808c966233: Pull complete 12:12:51 f4c1fc716caa: Pull complete 12:12:51 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:12:51 ---> ea914061e18c 12:12:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:12:52 ---> Running in 0a3017cccb2a 12:12:52 Removing intermediate container 0a3017cccb2a 12:12:52 ---> a08d9600764e 12:12:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:12:53 ---> Running in e083f1dd3329 12:12:53 Removing intermediate container e083f1dd3329 12:12:53 ---> 9fd4bd53323b 12:12:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:12:53 ---> Running in 3b1df412456c 12:12:53 Removing intermediate container 3b1df412456c 12:12:53 ---> 02e252b5b213 12:12:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:12:54 ---> Running in 609d009c6322 12:12:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:12:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:12:56 OK: 266 MiB in 52 packages 12:12:57 Removing intermediate container 609d009c6322 12:12:57 ---> 48e349a0c141 12:12:57 Step 7/12 : WORKDIR /app 12:12:57 ---> Running in 67e972c47c56 12:12:57 Removing intermediate container 67e972c47c56 12:12:57 ---> 82cc597ccf34 12:12:57 Step 8/12 : COPY go.mod vendor* ./ 12:12:58 ---> 10e3b6d74d36 12:12:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:12:58 ---> Running in 30db11c44966 12:13:05 Removing intermediate container f7d569c77749 12:13:05 ---> c4630f84c524 12:13:05 Step 13/26 : FROM alpine:3.18 12:13:05 3.18: Pulling from library/alpine 12:13:05 96526aa774ef: Pulling fs layer 12:13:06 96526aa774ef: Verifying Checksum 12:13:06 96526aa774ef: Download complete 12:13:06 96526aa774ef: Pull complete 12:13:06 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:13:06 Status: Downloaded newer image for alpine:3.18 12:13:06 ---> 8ca4688f4f35 12:13:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:13:06 ---> Running in d71a02ec0183 12:13:06 Removing intermediate container d71a02ec0183 12:13:06 ---> 9b27500e61a6 12:13:06 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:13:06 ---> Running in cf41345cec7b 12:13:06 Removing intermediate container cf41345cec7b 12:13:06 ---> c07045e46c6a 12:13:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:13:06 ---> Running in 0414824637f6 12:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:13:07 (1/2) Installing ca-certificates (20230506-r0) 12:13:07 (2/2) Installing dumb-init (1.2.5-r2) 12:13:07 Executing busybox-1.36.1-r2.trigger 12:13:07 Executing ca-certificates-20230506-r0.trigger 12:13:07 OK: 8 MiB in 17 packages 12:13:08 Removing intermediate container 0414824637f6 12:13:08 ---> 498d3cdfbec2 12:13:08 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:13:08 ---> 77adebaaa8a2 12:13:08 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:13:10 ---> ba9746d60d51 12:13:10 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:13:11 ---> 8b9f95abcf7e 12:13:11 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:13:12 ---> a877d290fd16 12:13:12 Step 21/26 : EXPOSE 48095 12:13:12 ---> Running in d21aa4eb0db1 12:13:13 Removing intermediate container d21aa4eb0db1 12:13:13 ---> a4d13231882a 12:13:13 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:13:13 ---> Running in d2308b6de54d 12:13:13 Removing intermediate container d2308b6de54d 12:13:13 ---> 83a0aa6ca4f4 12:13:13 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:13:13 ---> Running in 68ec02d2a071 12:13:13 Removing intermediate container 68ec02d2a071 12:13:13 ---> 4dd381240bc4 12:13:13 Step 24/26 : LABEL arch=amd64 12:13:13 ---> Running in cbbc6ee0870a 12:13:13 Removing intermediate container cbbc6ee0870a 12:13:13 ---> 565cdcae51cc 12:13:13 Step 25/26 : LABEL git_sha=fb0e07b153948e162a9b016afcb92264050f6224 12:13:13 ---> Running in d7fb97357743 12:13:13 Removing intermediate container d7fb97357743 12:13:13 ---> d1dd0c4ce519 12:13:13 Step 26/26 : LABEL version=0.0.0 12:13:13 ---> Running in 2a68e905dd4e 12:13:13 Removing intermediate container 2a68e905dd4e 12:13:13 ---> e5d39c9219bf 12:13:13 [Warning] One or more build-args [ARCH] were not consumed 12:13:13 Successfully built e5d39c9219bf 12:13:13 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:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:14 12:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:15 latest: Pulling from edgex-lftools-log-publisher 12:13:15 5eb5b503b376: Pulling fs layer 12:13:15 5c69ac0246d0: Pulling fs layer 12:13:15 ec43610c2a17: Pulling fs layer 12:13:15 3a2ae6a8a46f: Pulling fs layer 12:13:15 33b1e0a273af: Pulling fs layer 12:13:15 5d3b04190fa2: Pulling fs layer 12:13:15 2f39f015ded8: Pulling fs layer 12:13:15 3a2ae6a8a46f: Waiting 12:13:15 33b1e0a273af: Waiting 12:13:15 2f39f015ded8: Waiting 12:13:15 5d3b04190fa2: Waiting 12:13:15 5c69ac0246d0: Verifying Checksum 12:13:15 5c69ac0246d0: Download complete 12:13:15 3a2ae6a8a46f: Verifying Checksum 12:13:15 3a2ae6a8a46f: Download complete 12:13:15 ec43610c2a17: Verifying Checksum 12:13:15 ec43610c2a17: Download complete 12:13:15 33b1e0a273af: Verifying Checksum 12:13:15 33b1e0a273af: Download complete 12:13:15 5d3b04190fa2: Verifying Checksum 12:13:15 5eb5b503b376: Verifying Checksum 12:13:15 5eb5b503b376: Download complete 12:13:16 2f39f015ded8: Download complete 12:13:17 5eb5b503b376: Pull complete 12:13:17 5c69ac0246d0: Pull complete 12:13:17 ec43610c2a17: Pull complete 12:13:17 3a2ae6a8a46f: Pull complete 12:13:17 33b1e0a273af: Pull complete 12:13:17 5d3b04190fa2: Pull complete 12:13:21 2f39f015ded8: Pull complete 12:13:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:13:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:22 prd-ubuntu20.04-docker-8c-8g-9604 does not seem to be running inside a container 12:13:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-608 -v /w/workspace/_app-service-configurable_PR-608:/w/workspace/_app-service-configurable_PR-608:rw,z -v /w/workspace/_app-service-configurable_PR-608@tmp:/w/workspace/_app-service-configurable_PR-608@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:13:30 $ docker top 771fbc746896116ea2c3e3ebadb3c91ce497936ea87f3ca0dd3f667c5229a0f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:30 ---> job-cost.sh 12:13:30 lf-activate-venv: SKIPPING 12:13:30 INFO: No Stack... 12:13:30 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:31 INFO: Archiving Costs [Pipeline] sh 12:13:31 + cat /w/workspace/_app-service-configurable_PR-608/archives/cost.csv 12:13:31 + cut -d, -f6 [Pipeline] lock 12:13:31 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] 12:13:31 Resource [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] did not exist. Created. 12:13:31 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:31 + echo total: 0.2199999988079071 [Pipeline] stash 12:13:32 Stashed 1 file(s) [Pipeline] } 12:13:32 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:32 $ docker stop --time=1 771fbc746896116ea2c3e3ebadb3c91ce497936ea87f3ca0dd3f667c5229a0f2 12:13:33 $ docker rm -f --volumes 771fbc746896116ea2c3e3ebadb3c91ce497936ea87f3ca0dd3f667c5229a0f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:14:34 Removing intermediate container 30db11c44966 12:14:34 ---> a33d2406d74a 12:14:34 Step 10/12 : COPY . . 12:14:34 ---> 7dd9c34cb025 12:14:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:14:34 ---> Running in 1f6792490b6e 12:14:34 Removing intermediate container 1f6792490b6e 12:14:34 ---> f7f4d4826108 12:14:34 Step 12/12 : RUN $MAKE 12:14:34 ---> Running in 18c13fe8a8ad 12:14:34 noop 12:14:34 Removing intermediate container 18c13fe8a8ad 12:14:34 ---> 953a3ff08be7 12:14:34 Successfully built 953a3ff08be7 12:14:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:35 + docker inspect -f . ci-base-image-arm64 12:14:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-9605 does not seem to be running inside a container 12:14:35 $ 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:14:36 $ docker top 5301bb3137622833e81b8fb5d3f54df1e36fe654f136b0565ce2440b4067034a -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:37 + go version 12:14:37 go version go1.21.0 linux/arm64 [Pipeline] } 12:14:37 $ docker stop --time=1 5301bb3137622833e81b8fb5d3f54df1e36fe654f136b0565ce2440b4067034a 12:14:39 $ docker rm -f --volumes 5301bb3137622833e81b8fb5d3f54df1e36fe654f136b0565ce2440b4067034a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:40 + docker inspect -f . ci-base-image-arm64 12:14:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-9605 does not seem to be running inside a container 12:14:40 $ 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:14:41 $ docker top 18c46b1c0bbba9394ef8bee86c89c20ecabb2b0786eacd2d5c9c005de14fbf60 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:42 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:14:43 + make test 12:14:43 go test -race -coverprofile=coverage.out ./... 12:16:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:16:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:16:38 go vet ./... 12:18:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:18:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:18:29 ./bin/test-attribution-txt.sh [Pipeline] echo 12:18:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:18:30 $ docker stop --time=1 18c46b1c0bbba9394ef8bee86c89c20ecabb2b0786eacd2d5c9c005de14fbf60 12:18:31 $ docker rm -f --volumes 18c46b1c0bbba9394ef8bee86c89c20ecabb2b0786eacd2d5c9c005de14fbf60 [Pipeline] // withDockerContainer [Pipeline] sh 12:18:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:18:33 Warning: overwriting stash ‘coverage-report’ 12:18:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:18:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:18:34 + ls -al . 12:18:34 total 180 12:18:34 drwxrwxr-x 7 jenkins jenkins 4096 Oct 19 12:14 . 12:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 12:11 .. 12:18:34 -rw-rw-r-- 1 jenkins jenkins 119 Oct 19 12:11 .dockerignore 12:18:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 12:11 .git 12:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 12:11 .github 12:18:34 -rw-rw-r-- 1 jenkins jenkins 171 Oct 19 12:11 .gitignore 12:18:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 12:11 .golangci.yml 12:18:34 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 19 12:11 Attribution.txt 12:18:34 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 19 12:11 CHANGELOG.md 12:18:34 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 19 12:11 Dockerfile 12:18:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 12:11 GOVERNANCE.md 12:18:34 -rw-rw-r-- 1 jenkins jenkins 688 Oct 19 12:11 Jenkinsfile 12:18:34 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 19 12:11 LICENSE 12:18:34 -rw-rw-r-- 1 jenkins jenkins 618 Oct 19 12:11 OWNERS.md 12:18:34 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 19 12:11 README.md 12:18:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 12:09 VERSION 12:18:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 12:11 bin 12:18:34 -rw-r--r-- 1 jenkins jenkins 13 Oct 19 12:14 coverage.out 12:18:34 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 19 12:11 go.mod 12:18:34 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 19 12:11 go.sum 12:18:34 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 19 12:11 main.go 12:18:34 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 19 12:11 makefile 12:18:34 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 12:11 res 12:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 12:11 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:35 + 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=fb0e07b153948e162a9b016afcb92264050f6224 --label arch=arm64 --label version=0.0.0 . 12:18:35 Sending build context to Docker daemon 182.3kB 12:18:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:18:35 Step 2/26 : FROM ${BASE} AS builder 12:18:35 ---> 953a3ff08be7 12:18:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:18:35 ---> Running in 7009d3f55c65 12:18:35 Removing intermediate container 7009d3f55c65 12:18:35 ---> 379dfbb8b510 12:18:35 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:18:36 ---> Running in f51b309d8f5d 12:18:36 Removing intermediate container f51b309d8f5d 12:18:36 ---> 34399162530d 12:18:36 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:18:36 ---> Running in 4131e49d146d 12:18:36 Removing intermediate container 4131e49d146d 12:18:36 ---> f12955993ac1 12:18:36 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:18:36 ---> Running in 8dc08b49feb2 12:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:18:39 OK: 266 MiB in 52 packages 12:18:40 Removing intermediate container 8dc08b49feb2 12:18:40 ---> bdf4a96719cc 12:18:40 Step 7/26 : WORKDIR /app 12:18:40 ---> Running in a5e6b00e1540 12:18:40 Removing intermediate container a5e6b00e1540 12:18:40 ---> 4b37683180f9 12:18:40 Step 8/26 : COPY go.mod vendor* ./ 12:18:43 ---> a75658776d77 12:18:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:18:43 ---> Running in 25d45e05c5b5 12:18:46 Removing intermediate container 25d45e05c5b5 12:18:46 ---> e021c9c16539 12:18:46 Step 10/26 : COPY . . 12:18:46 ---> 65fbeda420a9 12:18:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:18:46 ---> Running in 8d12bd0ce79a 12:18:47 Removing intermediate container 8d12bd0ce79a 12:18:47 ---> 92a8fcbe0830 12:18:47 Step 12/26 : RUN $MAKE 12:18:47 ---> Running in e7baa463d520 12:18:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.44 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:20:39 Removing intermediate container e7baa463d520 12:20:39 ---> f8efd6667491 12:20:39 Step 13/26 : FROM alpine:3.18 12:20:39 3.18: Pulling from library/alpine 12:20:39 579b34f0a95b: Pulling fs layer 12:20:39 579b34f0a95b: Verifying Checksum 12:20:39 579b34f0a95b: Download complete 12:20:39 579b34f0a95b: Pull complete 12:20:39 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:20:39 Status: Downloaded newer image for alpine:3.18 12:20:39 ---> 3cc203321400 12:20:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:20:39 ---> Running in 71d27f89e375 12:20:39 Removing intermediate container 71d27f89e375 12:20:39 ---> fedc84ffae21 12:20:39 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:20:39 ---> Running in 8b4fe075df2e 12:20:39 Removing intermediate container 8b4fe075df2e 12:20:39 ---> 3f93d35081c0 12:20:39 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:20:39 ---> Running in 8c6725163b38 12:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:20:39 (1/2) Installing ca-certificates (20230506-r0) 12:20:39 (2/2) Installing dumb-init (1.2.5-r2) 12:20:39 Executing busybox-1.36.1-r2.trigger 12:20:39 Executing ca-certificates-20230506-r0.trigger 12:20:39 OK: 9 MiB in 17 packages 12:20:39 Removing intermediate container 8c6725163b38 12:20:39 ---> be9a8904119c 12:20:39 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:20:39 ---> 4a5909f54abd 12:20:39 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:20:39 ---> 49cf749c8a04 12:20:39 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:20:40 ---> a524fd5f4a46 12:20:40 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:20:42 ---> 8286e67c226c 12:20:42 Step 21/26 : EXPOSE 48095 12:20:42 ---> Running in f9f40f93da52 12:20:42 Removing intermediate container f9f40f93da52 12:20:42 ---> 378afaff12bf 12:20:42 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:20:42 ---> Running in b88c453c4d52 12:20:42 Removing intermediate container b88c453c4d52 12:20:42 ---> 4fdd66224ffc 12:20:42 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:20:43 ---> Running in 1672b3a6c33d 12:20:43 Removing intermediate container 1672b3a6c33d 12:20:43 ---> 6f308bd445e7 12:20:43 Step 24/26 : LABEL arch=arm64 12:20:43 ---> Running in 70f290f6c730 12:20:43 Removing intermediate container 70f290f6c730 12:20:43 ---> ca19b5ef9cf3 12:20:43 Step 25/26 : LABEL git_sha=fb0e07b153948e162a9b016afcb92264050f6224 12:20:43 ---> Running in 1fec911ea3bf 12:20:43 Removing intermediate container 1fec911ea3bf 12:20:43 ---> ba26dba77aa9 12:20:43 Step 26/26 : LABEL version=0.0.0 12:20:44 ---> Running in e52122940b8a 12:20:44 Removing intermediate container e52122940b8a 12:20:44 ---> b48f5c060ff9 12:20:44 [Warning] One or more build-args [ARCH] were not consumed 12:20:44 Successfully built b48f5c060ff9 12:20:44 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:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:20:45 12:20:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:20:45 arm64: Pulling from edgex-lftools-log-publisher 12:20:45 8998bd30e6a1: Pulling fs layer 12:20:45 04944245beec: Pulling fs layer 12:20:45 699f458cf7ca: Pulling fs layer 12:20:45 765212b225bb: Pulling fs layer 12:20:45 f23df028b6ca: Pulling fs layer 12:20:45 d65c8cfc05b1: Pulling fs layer 12:20:45 2437ff75d9bd: Pulling fs layer 12:20:45 765212b225bb: Waiting 12:20:45 f23df028b6ca: Waiting 12:20:45 d65c8cfc05b1: Waiting 12:20:45 2437ff75d9bd: Waiting 12:20:45 04944245beec: Verifying Checksum 12:20:45 04944245beec: Download complete 12:20:45 765212b225bb: Download complete 12:20:45 f23df028b6ca: Verifying Checksum 12:20:45 f23df028b6ca: Download complete 12:20:45 d65c8cfc05b1: Verifying Checksum 12:20:45 d65c8cfc05b1: Download complete 12:20:46 699f458cf7ca: Verifying Checksum 12:20:46 699f458cf7ca: Download complete 12:20:46 8998bd30e6a1: Verifying Checksum 12:20:46 8998bd30e6a1: Download complete 12:20:49 2437ff75d9bd: Verifying Checksum 12:20:49 2437ff75d9bd: Download complete 12:20:51 8998bd30e6a1: Pull complete 12:20:51 04944245beec: Pull complete 12:20:53 699f458cf7ca: Pull complete 12:20:53 765212b225bb: Pull complete 12:20:54 f23df028b6ca: Pull complete 12:20:54 d65c8cfc05b1: Pull complete 12:21:12 2437ff75d9bd: Pull complete 12:21:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:21:13 prd-ubuntu20.04-docker-arm64-4c-16g-9605 does not seem to be running inside a container 12:21:13 $ 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:21:16 $ docker top 8c6b565fc74788a03a1caf8ce3f4903f944ee51eaf78cd81e826cd7662bc206f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:21:16 ---> job-cost.sh 12:21:16 lf-activate-venv: SKIPPING 12:21:16 INFO: No Stack... 12:21:17 INFO: Retrieving Pricing Info for: v3-standard-4 12:21:18 INFO: Archiving Costs [Pipeline] sh 12:21:18 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:21:18 + cut -d, -f6 [Pipeline] lock 12:21:18 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] 12:21:18 Resource [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] did not exist. Created. 12:21:18 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:21:19 /w/workspace/app-service-configurable/1@tmp/durable-17d6a035/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:21:20 + echo total: 0.10999999940395355 [Pipeline] stash 12:21:20 Warning: overwriting stash ‘stack-cost’ 12:21:20 Stashed 1 file(s) [Pipeline] } 12:21:20 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-608-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:21:20 $ docker stop --time=1 8c6b565fc74788a03a1caf8ce3f4903f944ee51eaf78cd81e826cd7662bc206f 12:21:22 $ docker rm -f --volumes 8c6b565fc74788a03a1caf8ce3f4903f944ee51eaf78cd81e826cd7662bc206f [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:21:23 provisioning config files... 12:21:23 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-608@tmp/config12424077534698719544tmp [Pipeline] { [Pipeline] sh 12:21:23 + set +x 12:21:23 + curl -s https://codecov.io/bash 12:21:23 + bash -s -- 12:21:23 12:21:23 _____ _ 12:21:23 / ____| | | 12:21:23 | | ___ __| | ___ ___ _____ __ 12:21:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:21:23 | |___| (_) | (_| | __/ (_| (_) \ V / 12:21:23 \_____\___/ \__,_|\___|\___\___/ \_/ 12:21:23 Bash-1.0.6 12:21:23 12:21:23 12:21:23 ==> git version 2.25.1 found 12:21:23 ==> 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:21:23 Release-Date: 2020-01-08 12:21:23 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:21:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:21:23 ==> Jenkins CI detected. 12:21:23 current dir:  /w/workspace/_app-service-configurable_PR-608 12:21:23 project root: . 12:21:23 --> token set from env 12:21:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:21:23 ==> Running gcov in . (disable via -X gcov) 12:21:23 ==> Python coveragepy not found 12:21:23 ==> Searching for coverage reports in: 12:21:23 + . 12:21:23 -> Found 1 reports 12:21:23 ==> Detecting git/mercurial file structure 12:21:23 ==> Reading reports 12:21:23 + ./coverage.out bytes=13 12:21:23 ==> Appending adjustments 12:21:23 https://docs.codecov.io/docs/fixing-reports 12:21:23 + Found adjustments 12:21:23 ==> Gzipping contents 12:21:23 4.0K /tmp/codecov.nhqQlu.gz 12:21:23 ==> Uploading reports 12:21:23 url: https://codecov.io 12:21:23 query: branch=PR-608&commit=fb0e07b153948e162a9b016afcb92264050f6224&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-608%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=608&job=&cmd_args= 12:21:23 -> Pinging Codecov 12:21:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-608&commit=fb0e07b153948e162a9b016afcb92264050f6224&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-608%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=608&job=&cmd_args= 12:21:23 -> Uploading to 12:21:23 https://storage.googleapis.com/codecov/v4/raw/2023-10-19/A97CA9966030D2A3747ED39772930CCE/fb0e07b153948e162a9b016afcb92264050f6224/d8b27941-aec5-4a9e-9d56-495013ec4203.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231019T122123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2822672a7a50cb7103fe667db811210a699f0b786bb8bd8d90ef04314ad5435a 12:21:23 % Total % Received % Xferd Average Speed Time Time Time Current 12:21:23 Dload Upload Total Spent Left Speed 12:21:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1484 --:--:-- --:--:-- --:--:-- 1484 12:21:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/fb0e07b153948e162a9b016afcb92264050f6224 [Pipeline] } 12:21:24 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:21:26 + [ -d /w/workspace/_app-service-configurable_PR-608/archives ] 12:21:26 + ls -al /w/workspace/_app-service-configurable_PR-608/archives 12:21:26 total 16 12:21:26 drwxr-xr-x 3 root root 4096 Oct 19 12:13 . 12:21:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 12:13 .. 12:21:26 drwxr-xr-x 2 root root 4096 Oct 19 12:13 cost 12:21:26 -rw-r--r-- 1 root root 96 Oct 19 12:13 cost.csv 12:21:26 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-608/archives 12:21:26 + ls -al /w/workspace/_app-service-configurable_PR-608/archives 12:21:26 total 16 12:21:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 12:13 . 12:21:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 12:13 .. 12:21:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 12:13 cost 12:21:26 -rw-r--r-- 1 jenkins jenkins 96 Oct 19 12:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:21:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:21:27 ---> package-listing.sh 12:21:27 ++ facter osfamily 12:21:27 ++ tr '[:upper:]' '[:lower:]' 12:21:27 + OS_FAMILY=debian 12:21:27 + workspace=/w/workspace/_app-service-configurable_PR-608 12:21:27 + START_PACKAGES=/tmp/packages_start.txt 12:21:27 + END_PACKAGES=/tmp/packages_end.txt 12:21:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:21:27 + PACKAGES=/tmp/packages_start.txt 12:21:27 + '[' /w/workspace/_app-service-configurable_PR-608 ']' 12:21:27 + PACKAGES=/tmp/packages_end.txt 12:21:27 + case "${OS_FAMILY}" in 12:21:27 + dpkg -l 12:21:27 + grep '^ii' 12:21:27 + '[' -f /tmp/packages_start.txt ']' 12:21:27 + '[' -f /tmp/packages_end.txt ']' 12:21:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:21:27 + '[' /w/workspace/_app-service-configurable_PR-608 ']' 12:21:27 + mkdir -p /w/workspace/_app-service-configurable_PR-608/archives/ 12:21:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-608/archives/ [Pipeline] echo 12:21:27 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-608/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:21:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:21:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:21:28 prd-ubuntu20.04-docker-8c-8g-9604 does not seem to be running inside a container 12:21:28 $ 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-608/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-608 -v /w/workspace/_app-service-configurable_PR-608:/w/workspace/_app-service-configurable_PR-608:rw,z -v /w/workspace/_app-service-configurable_PR-608@tmp:/w/workspace/_app-service-configurable_PR-608@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:21:28 $ docker top 7c310a972faaad6938dd5615a9f71ce8fb0ee1dcab802b7b3f78b422a2826823 -eo pid,comm [Pipeline] { [Pipeline] sh 12:21:29 + touch /tmp/pre-build-complete [Pipeline] sh 12:21:29 + mkdir -p /var/log/sysstat [Pipeline] sh 12:21:29 + ls /var/log/sa-host 12:21:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:21:30 provisioning config files... 12:21:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-608@tmp/config13354215549104659367tmp [Pipeline] { [Pipeline] echo 12:21:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:21:30 ---> create-netrc.sh [Pipeline] } 12:21:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:21:30 ---> python-tools-install.sh [Pipeline] echo 12:21:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:21:31 ---> sudo-logs.sh 12:21:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:21:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:21:31 ---> job-cost.sh 12:21:31 lf-activate-venv: SKIPPING 12:21:31 DEBUG: total: 0.2199999988079071 12:21:31 INFO: Retrieving Stack Cost... 12:21:31 INFO: Retrieving Pricing Info for: v3-standard-8 12:21:32 INFO: Archiving Costs [Pipeline] echo 12:21:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:21:32 ---> logs-deploy.sh 12:21:32 lf-activate-venv: SKIPPING 12:21:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-608/1 12:21:32 INFO: archiving workspace using pattern(s): 12:21:33 Archives upload complete. 12:21:33 INFO: archiving logs to Nexus