Pull request #557 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 72460d07b04784ea889ed977af71f1b4fb8c4923+694e3ae60c9df22c057b1690b970d5b19176c4d2 (d9de458ad5af032a344e45f9e529b52a01dd1b14) 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-ssh9884344925118341578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3059956085413935601.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-557/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-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18040218643457552766.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-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10151470162088599563.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3346526131291382538.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-557/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-557/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11533018756816812684.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-13289’ Running on prd-ubuntu20.04-docker-8c-8g-13291 in /w/workspace/_app-service-configurable_PR-557 [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-557 # 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/557/head:refs/remotes/origin/PR-557 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 694e3ae60c9df22c057b1690b970d5b19176c4d2 into PR head commit 72460d07b04784ea889ed977af71f1b4fb8c4923 Merge succeeded, producing 72460d07b04784ea889ed977af71f1b4fb8c4923 Checking out Revision 72460d07b04784ea889ed977af71f1b4fb8c4923 (PR-557) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:01:04 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 72460d07b04784ea889ed977af71f1b4fb8c4923 # 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 694e3ae60c9df22c057b1690b970d5b19176c4d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72460d07b04784ea889ed977af71f1b4fb8c4923 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:01:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:01:05 ========================================================= 13:01:05 EdgeX Global Pipelines Version Info 13:01:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:01:05 ------------------- 13:01:05 stable info: 13:01:05 ------------------- 13:01:05 Commited By: Bill Mahoney bill.mahoney@intel.com 13:01:05 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:01:05 Message: update stable to v1.0.248 13:01:06 ------------------- 13:01:06 experimental info: 13:01:06 ------------------- 13:01:06 Commited By: **** collab-it+edgex@linuxfoundation.org 13:01:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:01:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:01:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:01:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:01:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-557 [Pipeline] echo 13:01:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-557 [Pipeline] echo 13:01:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-557 [Pipeline] echo 13:01:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72460d07b04784ea889ed977af71f1b4fb8c4923 [Pipeline] echo 13:01:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72460d0 [Pipeline] echo 13:01:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:08 provisioning config files... 13:01:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-557@tmp/config5629703724801509921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:08 ---> docker-login.sh 13:01:08 nexus3.edgexfoundry.org:10001 13:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:09 Configure a credential helper to remove this warning. See 13:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:09 13:01:09 Login Succeeded 13:01:09 nexus3.edgexfoundry.org:10002 13:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:09 Configure a credential helper to remove this warning. See 13:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:09 13:01:09 Login Succeeded 13:01:09 nexus3.edgexfoundry.org:10003 13:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:09 Configure a credential helper to remove this warning. See 13:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:09 13:01:09 Login Succeeded 13:01:09 nexus3.edgexfoundry.org:10004 13:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:10 Configure a credential helper to remove this warning. See 13:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:10 13:01:10 Login Succeeded 13:01:10 docker.io 13:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:10 Configure a credential helper to remove this warning. See 13:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:10 13:01:10 Login Succeeded 13:01:10 ---> docker-login.sh ends [Pipeline] } 13:01:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:01:11 + git rev-list -1 --merges 72460d07b04784ea889ed977af71f1b4fb8c4923~1..72460d07b04784ea889ed977af71f1b4fb8c4923 [Pipeline] echo 13:01:11 -----------> git rev-list -1 --merges 72460d07b04784ea889ed977af71f1b4fb8c4923~1..72460d07b04784ea889ed977af71f1b4fb8c4923 72460d07b04784ea889ed977af71f1b4fb8c4923 [false] [Pipeline] sh 13:01:11 + git log --format=format:%s -1 72460d07b04784ea889ed977af71f1b4fb8c4923 [Pipeline] echo 13:01:11 ========================================================= 13:01:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:01:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:12 + git log --format=format:%s -1 72460d07b04784ea889ed977af71f1b4fb8c4923 [Pipeline] echo 13:01:12 [semverPrep] GIT_COMMIT: 72460d07b04784ea889ed977af71f1b4fb8c4923, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:01:12 [semverPrep] This is not a build commit. [Pipeline] sh 13:01:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:01:12 + grep -v github /etc/ssh/ssh_known_hosts 13:01:12 + [ -e /tmp/ssh_known_hosts ] 13:01:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:01:12 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:01:12 sudo tee -a /etc/ssh/ssh_known_hosts 13:01:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:01:12 13:01:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:01:13 0.1.4: Pulling from edgex-devops/py-git-semver 13:01:13 b85a868b505f: Pulling fs layer 13:01:13 e2be974225ed: Pulling fs layer 13:01:13 339a4e72a1f5: Pulling fs layer 13:01:13 988bab9f4d93: Pulling fs layer 13:01:13 1469e6f7b9e6: Pulling fs layer 13:01:13 eaf3925da568: Pulling fs layer 13:01:13 bab4dde63d76: Pulling fs layer 13:01:13 bde34c3a00c8: Pulling fs layer 13:01:13 b352a97aabf1: Pulling fs layer 13:01:13 4872d77fe225: Pulling fs layer 13:01:13 5851b861e8e6: Pulling fs layer 13:01:13 eaf3925da568: Waiting 13:01:13 988bab9f4d93: Waiting 13:01:13 1469e6f7b9e6: Waiting 13:01:13 bab4dde63d76: Waiting 13:01:13 b352a97aabf1: Waiting 13:01:13 5851b861e8e6: Waiting 13:01:13 bde34c3a00c8: Waiting 13:01:13 4872d77fe225: Waiting 13:01:13 e2be974225ed: Verifying Checksum 13:01:13 e2be974225ed: Download complete 13:01:13 988bab9f4d93: Verifying Checksum 13:01:13 988bab9f4d93: Download complete 13:01:13 1469e6f7b9e6: Verifying Checksum 13:01:13 1469e6f7b9e6: Download complete 13:01:13 eaf3925da568: Verifying Checksum 13:01:13 eaf3925da568: Download complete 13:01:13 339a4e72a1f5: Verifying Checksum 13:01:13 339a4e72a1f5: Download complete 13:01:13 bde34c3a00c8: Verifying Checksum 13:01:13 bde34c3a00c8: Download complete 13:01:14 b352a97aabf1: Download complete 13:01:14 4872d77fe225: Download complete 13:01:14 5851b861e8e6: Verifying Checksum 13:01:14 5851b861e8e6: Download complete 13:01:14 b85a868b505f: Verifying Checksum 13:01:14 b85a868b505f: Download complete 13:01:14 bab4dde63d76: Verifying Checksum 13:01:14 bab4dde63d76: Download complete 13:01:15 b85a868b505f: Pull complete 13:01:15 e2be974225ed: Pull complete 13:01:16 339a4e72a1f5: Pull complete 13:01:17 988bab9f4d93: Pull complete 13:01:17 1469e6f7b9e6: Pull complete 13:01:17 eaf3925da568: Pull complete 13:01:20 bab4dde63d76: Pull complete 13:01:20 bde34c3a00c8: Pull complete 13:01:21 b352a97aabf1: Pull complete 13:01:21 4872d77fe225: Pull complete 13:01:21 5851b861e8e6: Pull complete 13:01:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:01:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:22 prd-ubuntu20.04-docker-8c-8g-13291 does not seem to be running inside a container 13:01:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-557 -v /w/workspace/_app-service-configurable_PR-557:/w/workspace/_app-service-configurable_PR-557:rw,z -v /w/workspace/_app-service-configurable_PR-557@tmp:/w/workspace/_app-service-configurable_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:01:32 $ docker top f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 -eo pid,comm 13:01:32 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). 13:01:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:01:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:01:32 [ssh-agent] Looking for ssh-agent implementation... 13:01:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:01:32 $ docker exec f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 ssh-agent 13:01:32 SSH_AUTH_SOCK=/tmp/ssh-SCcrEfVk63uh/agent.15 13:01:32 SSH_AGENT_PID=21 13:01:32 Running ssh-add (command line suppressed) 13:01:32 Identity added: /w/workspace/_app-service-configurable_PR-557@tmp/private_key_6499887762743718563.key (/w/workspace/_app-service-configurable_PR-557@tmp/private_key_6499887762743718563.key) 13:01:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:01:33 + git tag --points-at HEAD [Pipeline] } 13:01:33 $ docker exec --env ******** --env ******** f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 ssh-agent -k 13:01:33 unset SSH_AUTH_SOCK; 13:01:33 unset SSH_AGENT_PID; 13:01:33 echo Agent pid 21 killed; 13:01:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:01:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:01:33 [ssh-agent] Looking for ssh-agent implementation... 13:01:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:01:33 $ docker exec f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 ssh-agent 13:01:33 SSH_AUTH_SOCK=/tmp/ssh-XclbEHJ3LxnE/agent.71 13:01:33 SSH_AGENT_PID=77 13:01:33 Running ssh-add (command line suppressed) 13:01:33 Identity added: /w/workspace/_app-service-configurable_PR-557@tmp/private_key_15982163457629428738.key (/w/workspace/_app-service-configurable_PR-557@tmp/private_key_15982163457629428738.key) 13:01:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:01:34 + git semver init 13:01:34 2023-05-04 13:01:34,370 [run_init] DEBUG init version:0.0.0 force:False 13:01:34 2023-05-04 13:01:34,371 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-557/.semver 13:01:34 2023-05-04 13:01:34,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-557/.semver 13:01:34 2023-05-04 13:01:34,372 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-557/.semver'], cwd=/w/workspace/_app-service-configurable_PR-557, universal_newlines=False, shell=None, istream=None) 13:01:35 2023-05-04 13:01:35,317 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-557/.git/info/exclude 13:01:35 2023-05-04 13:01:35,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-557/.semver/PR-557 with force:False 13:01:35 2023-05-04 13:01:35,318 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-557/.semver/PR-557 13:01:35 2023-05-04 13:01:35,322 [execute] INFO git cat-file --batch-check 13:01:35 2023-05-04 13:01:35,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-557/.semver, universal_newlines=False, shell=None, istream=) 13:01:35 2023-05-04 13:01:35,330 [execute] INFO git cat-file --batch 13:01:35 2023-05-04 13:01:35,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-557/.semver, universal_newlines=False, shell=None, istream=) 13:01:35 2023-05-04 13:01:35,336 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-557/.semver/PR-557 13:01:35 0.0.0 [Pipeline] } 13:01:35 $ docker exec --env ******** --env ******** f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 ssh-agent -k 13:01:35 unset SSH_AUTH_SOCK; 13:01:35 unset SSH_AGENT_PID; 13:01:35 echo Agent pid 77 killed; 13:01:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:01:35 + git semver [Pipeline] } 13:01:36 $ docker stop --time=1 f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 13:01:37 $ docker rm -f --volumes f4ab883b5b2b05f06af25caa9626380c0f9173ccebad026941ff3030f153d569 [Pipeline] // withDockerContainer [Pipeline] sh 13:01:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:01:38 Stashed 1 file(s) [Pipeline] echo 13:01:38 [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 13:01:39 provisioning config files... 13:01:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-557@tmp/config17245594425420892006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:39 ---> docker-login.sh 13:01:39 nexus3.edgexfoundry.org:10001 13:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:39 Configure a credential helper to remove this warning. See 13:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:39 13:01:39 Login Succeeded 13:01:39 nexus3.edgexfoundry.org:10002 13:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:39 Configure a credential helper to remove this warning. See 13:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:39 13:01:39 Login Succeeded 13:01:39 nexus3.edgexfoundry.org:10003 13:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:40 Configure a credential helper to remove this warning. See 13:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:40 13:01:40 Login Succeeded 13:01:40 nexus3.edgexfoundry.org:10004 13:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:40 Configure a credential helper to remove this warning. See 13:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:40 13:01:40 Login Succeeded 13:01:40 docker.io 13:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:40 Configure a credential helper to remove this warning. See 13:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:40 13:01:40 Login Succeeded 13:01:40 ---> docker-login.sh ends [Pipeline] } 13:01:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:40 ========================================================= 13:01:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:01:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:01:41 Sending build context to Docker daemon 3.313MB 13:01:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:41 Step 2/12 : FROM ${BASE} AS builder 13:01:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:01:41 f56be85fc22e: Pulling fs layer 13:01:41 85791d961cd3: Pulling fs layer 13:01:41 d694b5ae8c79: Pulling fs layer 13:01:41 9f32a84ed3da: Pulling fs layer 13:01:41 4d19c01a9841: Pulling fs layer 13:01:41 9325e15d5711: Pulling fs layer 13:01:41 9f32a84ed3da: Waiting 13:01:41 4d19c01a9841: Waiting 13:01:41 556b6ee489ea: Pulling fs layer 13:01:41 c5a4b2cf53e6: Pulling fs layer 13:01:41 556b6ee489ea: Waiting 13:01:41 c5a4b2cf53e6: Waiting 13:01:41 85791d961cd3: Download complete 13:01:41 9f32a84ed3da: Verifying Checksum 13:01:41 9f32a84ed3da: Download complete 13:01:41 4d19c01a9841: Verifying Checksum 13:01:41 4d19c01a9841: Download complete 13:01:41 f56be85fc22e: Verifying Checksum 13:01:41 f56be85fc22e: Download complete 13:01:41 9325e15d5711: Verifying Checksum 13:01:41 9325e15d5711: Download complete 13:01:41 f56be85fc22e: Pull complete 13:01:42 d694b5ae8c79: Verifying Checksum 13:01:42 d694b5ae8c79: Download complete 13:01:42 c5a4b2cf53e6: Verifying Checksum 13:01:42 c5a4b2cf53e6: Download complete 13:01:42 85791d961cd3: Pull complete 13:01:42 556b6ee489ea: Verifying Checksum 13:01:42 556b6ee489ea: Download complete 13:01:46 d694b5ae8c79: Pull complete 13:01:46 9f32a84ed3da: Pull complete 13:01:46 4d19c01a9841: Pull complete 13:01:47 9325e15d5711: Pull complete 13:01:50 556b6ee489ea: Pull complete 13:01:51 c5a4b2cf53e6: Pull complete 13:01:51 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 13:01:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:01:51 ---> c4be618373d6 13:01:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:54 Still waiting to schedule task 13:01:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13290’ 13:02:04 ---> Running in d3ac62db4142 13:02:04 Removing intermediate container d3ac62db4142 13:02:04 ---> 14798f854f25 13:02:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:02:04 ---> Running in 3a5511ee01ad 13:02:04 Removing intermediate container 3a5511ee01ad 13:02:04 ---> 675d6f2727ad 13:02:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:02:04 ---> Running in bf75e2ee9e21 13:02:04 Removing intermediate container bf75e2ee9e21 13:02:04 ---> 81b0d4c11d01 13:02:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:04 ---> Running in 74c74eef16bd 13:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:02:05 OK: 265 MiB in 53 packages 13:02:06 Removing intermediate container 74c74eef16bd 13:02:06 ---> 79536c7e5ba4 13:02:06 Step 7/12 : WORKDIR /app 13:02:06 ---> Running in 3fc13064b98c 13:02:06 Removing intermediate container 3fc13064b98c 13:02:06 ---> 506a717dc20f 13:02:06 Step 8/12 : COPY go.mod vendor* ./ 13:02:06 ---> 5f391dab6519 13:02:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:06 ---> Running in 40dbdfdb4560 13:03:02 Removing intermediate container 40dbdfdb4560 13:03:02 ---> 62d71fb95f59 13:03:02 Step 10/12 : COPY . . 13:03:02 ---> 98637e082380 13:03:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:02 ---> Running in 4c4a5d7ee5c5 13:03:02 Removing intermediate container 4c4a5d7ee5c5 13:03:02 ---> 70115775a629 13:03:02 Step 12/12 : RUN $MAKE 13:03:02 ---> Running in 1fe6398c7baf 13:03:02 noop 13:03:02 Removing intermediate container 1fe6398c7baf 13:03:02 ---> 9e972321b5f6 13:03:02 Successfully built 9e972321b5f6 13:03:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:03 + docker inspect -f . ci-base-image-x86_64 13:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:03 prd-ubuntu20.04-docker-8c-8g-13291 does not seem to be running inside a container 13:03:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-557 -v /w/workspace/_app-service-configurable_PR-557:/w/workspace/_app-service-configurable_PR-557:rw,z -v /w/workspace/_app-service-configurable_PR-557@tmp:/w/workspace/_app-service-configurable_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:03:04 $ docker top b01f9da427669629db6db12774dcf384e6e0e24dd5b02b6243955be64aee0782 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:04 + go version 13:03:04 go version go1.20.2 linux/amd64 [Pipeline] } 13:03:04 $ docker stop --time=1 b01f9da427669629db6db12774dcf384e6e0e24dd5b02b6243955be64aee0782 13:03:06 $ docker rm -f --volumes b01f9da427669629db6db12774dcf384e6e0e24dd5b02b6243955be64aee0782 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:07 + docker inspect -f . ci-base-image-x86_64 13:03:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:07 prd-ubuntu20.04-docker-8c-8g-13291 does not seem to be running inside a container 13:03:07 $ 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-557 -v /w/workspace/_app-service-configurable_PR-557:/w/workspace/_app-service-configurable_PR-557:rw,z -v /w/workspace/_app-service-configurable_PR-557@tmp:/w/workspace/_app-service-configurable_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:03:08 $ docker top 2763fced5de39c7434cf61e6a4d4af6be27b1a9145fceec989b434db46ef5fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:08 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-557 [Pipeline] fileExists [Pipeline] sh 13:03:08 + make test 13:03:08 go test -race -coverprofile=coverage.out ./... 13:03:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:03:52 go vet ./... 13:03:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:03:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:03:53 ./bin/test-attribution-txt.sh 13:03:53 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:03:53 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:03:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:03:53 $ docker stop --time=1 2763fced5de39c7434cf61e6a4d4af6be27b1a9145fceec989b434db46ef5fd2 13:03:59 $ docker rm -f --volumes 2763fced5de39c7434cf61e6a4d4af6be27b1a9145fceec989b434db46ef5fd2 [Pipeline] // withDockerContainer [Pipeline] sh 13:03:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:03:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:04:01 + ls -al . 13:04:01 total 176 13:04:01 drwxrwxr-x 8 jenkins jenkins 4096 May 4 13:03 . 13:04:01 drwxrwxr-x 4 jenkins jenkins 4096 May 4 13:01 .. 13:04:01 -rw-rw-r-- 1 jenkins jenkins 119 May 4 13:01 .dockerignore 13:04:01 drwxrwxr-x 8 jenkins jenkins 4096 May 4 13:01 .git 13:04:01 drwxrwxr-x 3 jenkins jenkins 4096 May 4 13:01 .github 13:04:01 -rw-rw-r-- 1 jenkins jenkins 171 May 4 13:01 .gitignore 13:04:01 -rw-rw-r-- 1 jenkins jenkins 41 May 4 13:01 .golangci.yml 13:04:01 drwxr-xr-x 3 jenkins jenkins 4096 May 4 13:01 .semver 13:04:01 -rw-rw-r-- 1 jenkins jenkins 9088 May 4 13:01 Attribution.txt 13:04:01 -rw-rw-r-- 1 jenkins jenkins 29118 May 4 13:01 CHANGELOG.md 13:04:01 -rw-rw-r-- 1 jenkins jenkins 1898 May 4 13:01 Dockerfile 13:04:01 -rw-rw-r-- 1 jenkins jenkins 677 May 4 13:01 GOVERNANCE.md 13:04:01 -rw-rw-r-- 1 jenkins jenkins 688 May 4 13:01 Jenkinsfile 13:04:01 -rw-rw-r-- 1 jenkins jenkins 10174 May 4 13:01 LICENSE 13:04:01 -rw-rw-r-- 1 jenkins jenkins 618 May 4 13:01 OWNERS.md 13:04:01 -rw-rw-r-- 1 jenkins jenkins 4369 May 4 13:01 README.md 13:04:01 -rw-rw-r-- 1 jenkins jenkins 5 May 4 13:01 VERSION 13:04:01 drwxrwxr-x 2 jenkins jenkins 4096 May 4 13:01 bin 13:04:01 -rw-r--r-- 1 jenkins jenkins 13 May 4 13:03 coverage.out 13:04:01 -rw-rw-r-- 1 jenkins jenkins 3302 May 4 13:01 go.mod 13:04:01 -rw-rw-r-- 1 jenkins jenkins 31421 May 4 13:01 go.sum 13:04:01 -rw-rw-r-- 1 jenkins jenkins 1949 May 4 13:01 main.go 13:04:01 -rw-rw-r-- 1 jenkins jenkins 2569 May 4 13:01 makefile 13:04:01 drwxrwxr-x 9 jenkins jenkins 4096 May 4 13:01 res 13:04:01 drwxrwxr-x 4 jenkins jenkins 4096 May 4 13:01 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:01 + 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=72460d07b04784ea889ed977af71f1b4fb8c4923 --label arch=amd64 --label version=0.0.0 . 13:04:01 Sending build context to Docker daemon 3.314MB 13:04:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:04:01 Step 2/26 : FROM ${BASE} AS builder 13:04:01 ---> 9e972321b5f6 13:04:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:04:01 ---> Running in f31cc76fe0fa 13:04:01 Removing intermediate container f31cc76fe0fa 13:04:01 ---> f754afcf866f 13:04:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:04:01 ---> Running in ffc06a3511a7 13:04:02 Removing intermediate container ffc06a3511a7 13:04:02 ---> dfe1fb24cec4 13:04:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:04:02 ---> Running in 3e465bd3f221 13:04:02 Removing intermediate container 3e465bd3f221 13:04:02 ---> b19a40215dd9 13:04:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:04:02 ---> Running in b1c34a187afa 13:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:04:03 OK: 265 MiB in 53 packages 13:04:03 Removing intermediate container b1c34a187afa 13:04:03 ---> 880ed4c6d487 13:04:03 Step 7/26 : WORKDIR /app 13:04:04 ---> Running in 3621b03e9781 13:04:04 Removing intermediate container 3621b03e9781 13:04:04 ---> 5d1af91bf212 13:04:04 Step 8/26 : COPY go.mod vendor* ./ 13:04:04 ---> c9e9773b35dd 13:04:04 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:04:04 ---> Running in 2fce453bf102 13:04:05 Removing intermediate container 2fce453bf102 13:04:05 ---> 9350ad5f1342 13:04:05 Step 10/26 : COPY . . 13:04:06 ---> 7ad8c31cc497 13:04:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:04:06 ---> Running in f4c601939c1e 13:04:06 Removing intermediate container f4c601939c1e 13:04:06 ---> 876f0b68f533 13:04:06 Step 12/26 : RUN $MAKE 13:04:06 ---> Running in 757553db8af4 13:04:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.59 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:04:33 Removing intermediate container 757553db8af4 13:04:33 ---> 30a2c90a011f 13:04:33 Step 13/26 : FROM alpine:3.17 13:04:33 3.17: Pulling from library/alpine 13:04:33 f56be85fc22e: Already exists 13:04:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:04:33 Status: Downloaded newer image for alpine:3.17 13:04:33 ---> 9ed4aefc74f6 13:04:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:04:33 ---> Running in 5f170d4fb0f5 13:04:34 Removing intermediate container 5f170d4fb0f5 13:04:34 ---> 7ae92f27c2ba 13:04:34 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:04:34 ---> Running in f3665684cfed 13:04:35 Removing intermediate container f3665684cfed 13:04:35 ---> 761289ee12fd 13:04:35 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:04:35 ---> Running in 1ed0b96cd238 13:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:04:35 (1/2) Installing ca-certificates (20220614-r4) 13:04:35 (2/2) Installing dumb-init (1.2.5-r2) 13:04:35 Executing busybox-1.35.0-r29.trigger 13:04:35 Executing ca-certificates-20220614-r4.trigger 13:04:35 OK: 8 MiB in 17 packages 13:04:36 Removing intermediate container 1ed0b96cd238 13:04:36 ---> 29a59e380c2a 13:04:36 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:04:37 ---> cee908eaf374 13:04:37 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:04:37 ---> d9bf89ed65d7 13:04:37 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:04:37 ---> e3b9af54b86d 13:04:37 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:04:38 ---> 9d344c21f061 13:04:38 Step 21/26 : EXPOSE 48095 13:04:38 ---> Running in 63749566e5cf 13:04:39 Removing intermediate container 63749566e5cf 13:04:39 ---> bd721981aa93 13:04:39 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:04:39 ---> Running in 6714e848655c 13:04:39 Removing intermediate container 6714e848655c 13:04:39 ---> 31929d370af4 13:04:39 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:04:39 ---> Running in 9ec60ccf6916 13:04:40 Removing intermediate container 9ec60ccf6916 13:04:40 ---> a8ee87d76ddf 13:04:40 Step 24/26 : LABEL arch=amd64 13:04:40 ---> Running in b8712026c5b5 13:04:40 Removing intermediate container b8712026c5b5 13:04:40 ---> 87888e7a10f7 13:04:40 Step 25/26 : LABEL git_sha=72460d07b04784ea889ed977af71f1b4fb8c4923 13:04:40 ---> Running in 21cba6025f55 13:04:40 Removing intermediate container 21cba6025f55 13:04:40 ---> b55689ab54ef 13:04:40 Step 26/26 : LABEL version=0.0.0 13:04:40 ---> Running in f4904b4579ac 13:04:40 Removing intermediate container f4904b4579ac 13:04:40 ---> b5cd9c589115 13:04:40 [Warning] One or more build-args [ARCH] were not consumed 13:04:40 Successfully built b5cd9c589115 13:04:40 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 13:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:41 13:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:42 latest: Pulling from edgex-lftools-log-publisher 13:04:42 5eb5b503b376: Pulling fs layer 13:04:42 5c69ac0246d0: Pulling fs layer 13:04:42 ec43610c2a17: Pulling fs layer 13:04:42 3a2ae6a8a46f: Pulling fs layer 13:04:42 33b1e0a273af: Pulling fs layer 13:04:42 5d3b04190fa2: Pulling fs layer 13:04:42 2f39f015ded8: Pulling fs layer 13:04:42 3a2ae6a8a46f: Waiting 13:04:42 2f39f015ded8: Waiting 13:04:42 5c69ac0246d0: Verifying Checksum 13:04:42 5c69ac0246d0: Download complete 13:04:42 3a2ae6a8a46f: Download complete 13:04:43 ec43610c2a17: Verifying Checksum 13:04:43 ec43610c2a17: Download complete 13:04:43 5d3b04190fa2: Verifying Checksum 13:04:43 5d3b04190fa2: Download complete 13:04:43 33b1e0a273af: Verifying Checksum 13:04:43 33b1e0a273af: Download complete 13:04:43 5eb5b503b376: Verifying Checksum 13:04:43 5eb5b503b376: Download complete 13:04:44 2f39f015ded8: Verifying Checksum 13:04:44 2f39f015ded8: Download complete 13:04:44 5eb5b503b376: Pull complete 13:04:44 5c69ac0246d0: Pull complete 13:04:45 ec43610c2a17: Pull complete 13:04:45 3a2ae6a8a46f: Pull complete 13:04:45 33b1e0a273af: Pull complete 13:04:46 5d3b04190fa2: Pull complete 13:04:50 2f39f015ded8: Pull complete 13:04:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:50 prd-ubuntu20.04-docker-8c-8g-13291 does not seem to be running inside a container 13:04:50 $ 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-557 -v /w/workspace/_app-service-configurable_PR-557:/w/workspace/_app-service-configurable_PR-557:rw,z -v /w/workspace/_app-service-configurable_PR-557@tmp:/w/workspace/_app-service-configurable_PR-557@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 13:04:59 $ docker top b7c05e24f97b65b9c5de09a65eb106cce70ce5a5682f612b20f57a46040575d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:59 ---> job-cost.sh 13:04:59 lf-activate-venv: SKIPPING 13:04:59 INFO: No Stack... 13:05:00 INFO: Retrieving Pricing Info for: v3-standard-8 13:05:00 INFO: Archiving Costs [Pipeline] sh 13:05:00 + cat+ cut /w/workspace/_app-service-configurable_PR-557/archives/cost.csv -d, 13:05:00 -f6 [Pipeline] lock 13:05:00 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] 13:05:00 Resource [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] did not exist. Created. 13:05:00 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:05:01 + echo total: 0.2199999988079071 [Pipeline] stash 13:05:01 Stashed 1 file(s) [Pipeline] } 13:05:01 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:05:01 $ docker stop --time=1 b7c05e24f97b65b9c5de09a65eb106cce70ce5a5682f612b20f57a46040575d7 13:05:02 $ docker rm -f --volumes b7c05e24f97b65b9c5de09a65eb106cce70ce5a5682f612b20f57a46040575d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:05:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13293 in /w/workspace/_app-service-configurable_PR-557 [Pipeline] { [Pipeline] ws 13:05:19 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:05:19 Selected Git installation does not exist. Using Default 13:05:19 The recommended git tool is: NONE 13:05:24 using credential edgex-jenkins-ssh 13:05:24 Cloning the remote Git repository 13:05:24 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:05:25 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:05:25 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:05:25 > git --version # timeout=10 13:05:25 > git --version # 'git version 2.25.1' 13:05:25 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:05:26 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:05:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:05:28 Merging remotes/origin/main commit 694e3ae60c9df22c057b1690b970d5b19176c4d2 into PR head commit 72460d07b04784ea889ed977af71f1b4fb8c4923 13:05:27 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:05:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:05:27 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/557/head:refs/remotes/origin/PR-557 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:05:28 > git config core.sparsecheckout # timeout=10 13:05:28 Merge succeeded, producing 72460d07b04784ea889ed977af71f1b4fb8c4923 13:05:28 Checking out Revision 72460d07b04784ea889ed977af71f1b4fb8c4923 (PR-557) 13:05:29 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:05:29 > git --version # timeout=10 13:05:29 > git --version # 'git version 2.25.1' 13:05:29 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 13:05:28 > git checkout -f 72460d07b04784ea889ed977af71f1b4fb8c4923 # timeout=10 13:05:28 > git remote # timeout=10 13:05:28 > git config --get remote.origin.url # timeout=10 13:05:28 using GIT_SSH to set credentials SSH Credentials for GitHub 13:05:28 > git merge 694e3ae60c9df22c057b1690b970d5b19176c4d2 # timeout=10 13:05:28 > git rev-parse HEAD^{commit} # timeout=10 13:05:28 > git config core.sparsecheckout # timeout=10 13:05:28 > git checkout -f 72460d07b04784ea889ed977af71f1b4fb8c4923 # timeout=10 [Pipeline] { [Pipeline] sh 13:05:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:05:30 % Total % Received % Xferd Average Speed Time Time Time Current 13:05:30 Dload Upload Total Spent Left Speed 13:05:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 13:05:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:05:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:05:31 + sudo tee /etc/docker/daemon.new 13:05:31 { 13:05:31 "registry-mirrors": [ 13:05:31 "https://nexus3.edgexfoundry.org:10001" 13:05:31 ], 13:05:31 "bip": "10.250.0.254/24", 13:05:31 "hosts": [ 13:05:31 "tcp://0.0.0.0:5555", 13:05:31 "unix:///var/run/docker.sock" 13:05:31 ], 13:05:31 "mtu": 1458, 13:05:31 "selinux-enabled": true, 13:05:31 "seccomp-profile": "/etc/docker/seccomp.json" 13:05:31 } [Pipeline] sh 13:05:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:05:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:05:50 provisioning config files... 13:05:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config13303572583791056254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:50 ---> docker-login.sh 13:05:50 nexus3.edgexfoundry.org:10001 13:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:51 Configure a credential helper to remove this warning. See 13:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:51 13:05:51 Login Succeeded 13:05:51 nexus3.edgexfoundry.org:10002 13:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:51 Configure a credential helper to remove this warning. See 13:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:51 13:05:51 Login Succeeded 13:05:51 nexus3.edgexfoundry.org:10003 13:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:51 Configure a credential helper to remove this warning. See 13:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:51 13:05:51 Login Succeeded 13:05:51 nexus3.edgexfoundry.org:10004 13:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:52 Configure a credential helper to remove this warning. See 13:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:52 13:05:52 Login Succeeded 13:05:52 docker.io 13:05:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:52 Configure a credential helper to remove this warning. See 13:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:52 13:05:52 Login Succeeded 13:05:52 ---> docker-login.sh ends [Pipeline] } 13:05:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:05:53 ========================================================= 13:05:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:05:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:05:53 Sending build context to Docker daemon 168.4kB 13:05:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:05:54 Step 2/12 : FROM ${BASE} AS builder 13:05:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:05:54 c41833b44d91: Pulling fs layer 13:05:54 ed15518f5707: Pulling fs layer 13:05:54 feae8fd75edb: Pulling fs layer 13:05:54 242c74f7c9fa: Pulling fs layer 13:05:54 3cdef696dda3: Pulling fs layer 13:05:54 2ced38df9373: Pulling fs layer 13:05:54 58f1dce35555: Pulling fs layer 13:05:54 242c74f7c9fa: Waiting 13:05:54 3cdef696dda3: Waiting 13:05:54 2ced38df9373: Waiting 13:05:54 58f1dce35555: Waiting 13:05:54 ed15518f5707: Download complete 13:05:54 242c74f7c9fa: Verifying Checksum 13:05:54 242c74f7c9fa: Download complete 13:05:54 3cdef696dda3: Verifying Checksum 13:05:54 3cdef696dda3: Download complete 13:05:54 c41833b44d91: Verifying Checksum 13:05:54 c41833b44d91: Download complete 13:05:55 c41833b44d91: Pull complete 13:05:55 58f1dce35555: Verifying Checksum 13:05:55 58f1dce35555: Download complete 13:05:55 ed15518f5707: Pull complete 13:05:56 feae8fd75edb: Verifying Checksum 13:05:56 feae8fd75edb: Download complete 13:05:56 2ced38df9373: Verifying Checksum 13:05:56 2ced38df9373: Download complete 13:06:07 feae8fd75edb: Pull complete 13:06:07 242c74f7c9fa: Pull complete 13:06:07 3cdef696dda3: Pull complete 13:06:13 2ced38df9373: Pull complete 13:06:15 58f1dce35555: Pull complete 13:06:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:06:15 ---> fadd8f120f05 13:06:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:06:17 ---> Running in 90bb832be79f 13:06:17 Removing intermediate container 90bb832be79f 13:06:17 ---> 8aacba23275f 13:06:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:06:17 ---> Running in 93287bffa184 13:06:17 Removing intermediate container 93287bffa184 13:06:17 ---> f44e835b772a 13:06:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:06:18 ---> Running in a0b0a240985c 13:06:18 Removing intermediate container a0b0a240985c 13:06:18 ---> 911fb6274428 13:06:18 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:18 ---> Running in 73de165c45ad 13:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:06:21 OK: 263 MiB in 53 packages 13:06:22 Removing intermediate container 73de165c45ad 13:06:22 ---> 4aa3c997a383 13:06:22 Step 7/12 : WORKDIR /app 13:06:22 ---> Running in dc568f6b3461 13:06:22 Removing intermediate container dc568f6b3461 13:06:22 ---> baad402d05f2 13:06:22 Step 8/12 : COPY go.mod vendor* ./ 13:06:23 ---> 961bc158283c 13:06:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:06:23 ---> Running in 4a8f8c681297 13:07:31 Removing intermediate container 4a8f8c681297 13:07:31 ---> 6766ce32dae0 13:07:31 Step 10/12 : COPY . . 13:07:31 ---> cc6eb084e1b7 13:07:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:31 ---> Running in 4daec89952a0 13:07:31 Removing intermediate container 4daec89952a0 13:07:31 ---> e5281c38f165 13:07:31 Step 12/12 : RUN $MAKE 13:07:31 ---> Running in 3162f6b30b2b 13:07:31 noop 13:07:31 Removing intermediate container 3162f6b30b2b 13:07:31 ---> 797ababde35b 13:07:31 Successfully built 797ababde35b 13:07:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:31 + docker inspect -f . ci-base-image-arm64 13:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:31 prd-ubuntu20.04-docker-arm64-4c-16g-13293 does not seem to be running inside a container 13:07:32 $ 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 13:07:33 $ docker top b490f5d852c2b562a6111342fa0cc8ecc6241999f44ba4a1f241b627cca39711 -eo pid,comm [Pipeline] { [Pipeline] sh 13:07:34 + go version 13:07:34 go version go1.20.2 linux/arm64 [Pipeline] } 13:07:34 $ docker stop --time=1 b490f5d852c2b562a6111342fa0cc8ecc6241999f44ba4a1f241b627cca39711 13:07:35 $ docker rm -f --volumes b490f5d852c2b562a6111342fa0cc8ecc6241999f44ba4a1f241b627cca39711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:36 + docker inspect -f . ci-base-image-arm64 13:07:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:37 prd-ubuntu20.04-docker-arm64-4c-16g-13293 does not seem to be running inside a container 13:07:37 $ 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 13:07:38 $ docker top f256c7f6952412cee5ed33c006ef4d23571abdabed30b58be7b3cea652149fbf -eo pid,comm [Pipeline] { [Pipeline] sh 13:07:38 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:07:39 + make test 13:07:39 go test -race -coverprofile=coverage.out ./... 13:10:31 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:10:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:10:31 go vet ./... 13:12:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:12:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:12:37 ./bin/test-attribution-txt.sh 13:12:37 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:12:37 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:12:37 $ docker stop --time=1 f256c7f6952412cee5ed33c006ef4d23571abdabed30b58be7b3cea652149fbf 13:12:39 $ docker rm -f --volumes f256c7f6952412cee5ed33c006ef4d23571abdabed30b58be7b3cea652149fbf [Pipeline] // withDockerContainer [Pipeline] sh 13:12:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:12:41 Warning: overwriting stash ‘coverage-report’ 13:12:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:12:42 + ls -al . 13:12:42 total 172 13:12:42 drwxrwxr-x 7 jenkins jenkins 4096 May 4 13:07 . 13:12:42 drwxrwxr-x 4 jenkins jenkins 4096 May 4 13:05 .. 13:12:42 -rw-rw-r-- 1 jenkins jenkins 119 May 4 13:05 .dockerignore 13:12:42 drwxrwxr-x 8 jenkins jenkins 4096 May 4 13:05 .git 13:12:42 drwxrwxr-x 3 jenkins jenkins 4096 May 4 13:05 .github 13:12:42 -rw-rw-r-- 1 jenkins jenkins 171 May 4 13:05 .gitignore 13:12:42 -rw-rw-r-- 1 jenkins jenkins 41 May 4 13:05 .golangci.yml 13:12:42 -rw-rw-r-- 1 jenkins jenkins 9088 May 4 13:05 Attribution.txt 13:12:42 -rw-rw-r-- 1 jenkins jenkins 29118 May 4 13:05 CHANGELOG.md 13:12:42 -rw-rw-r-- 1 jenkins jenkins 1898 May 4 13:05 Dockerfile 13:12:42 -rw-rw-r-- 1 jenkins jenkins 677 May 4 13:05 GOVERNANCE.md 13:12:42 -rw-rw-r-- 1 jenkins jenkins 688 May 4 13:05 Jenkinsfile 13:12:42 -rw-rw-r-- 1 jenkins jenkins 10174 May 4 13:05 LICENSE 13:12:42 -rw-rw-r-- 1 jenkins jenkins 618 May 4 13:05 OWNERS.md 13:12:42 -rw-rw-r-- 1 jenkins jenkins 4369 May 4 13:05 README.md 13:12:42 -rw-rw-r-- 1 jenkins jenkins 5 May 4 13:01 VERSION 13:12:42 drwxrwxr-x 2 jenkins jenkins 4096 May 4 13:05 bin 13:12:42 -rw-r--r-- 1 jenkins jenkins 13 May 4 13:07 coverage.out 13:12:42 -rw-rw-r-- 1 jenkins jenkins 3302 May 4 13:05 go.mod 13:12:42 -rw-rw-r-- 1 jenkins jenkins 31421 May 4 13:05 go.sum 13:12:42 -rw-rw-r-- 1 jenkins jenkins 1949 May 4 13:05 main.go 13:12:42 -rw-rw-r-- 1 jenkins jenkins 2569 May 4 13:05 makefile 13:12:42 drwxrwxr-x 9 jenkins jenkins 4096 May 4 13:05 res 13:12:42 drwxrwxr-x 4 jenkins jenkins 4096 May 4 13:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:43 + 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=72460d07b04784ea889ed977af71f1b4fb8c4923 --label arch=arm64 --label version=0.0.0 . 13:12:43 Sending build context to Docker daemon 169.5kB 13:12:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:12:43 Step 2/26 : FROM ${BASE} AS builder 13:12:43 ---> 797ababde35b 13:12:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:12:43 ---> Running in eca7b365055b 13:12:43 Removing intermediate container eca7b365055b 13:12:43 ---> 5de3dc879f01 13:12:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:12:43 ---> Running in f0c4bd31a1e7 13:12:44 Removing intermediate container f0c4bd31a1e7 13:12:44 ---> 6800fddd21c3 13:12:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:12:44 ---> Running in 11933d8a685e 13:12:44 Removing intermediate container 11933d8a685e 13:12:44 ---> d33863e9a69f 13:12:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:44 ---> Running in b45918dab7b6 13:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:12:47 OK: 263 MiB in 53 packages 13:12:49 Removing intermediate container b45918dab7b6 13:12:49 ---> 32c3e7cf066e 13:12:49 Step 7/26 : WORKDIR /app 13:12:49 ---> Running in 01b11c6fa36e 13:12:49 Removing intermediate container 01b11c6fa36e 13:12:49 ---> 9203cdfee7c6 13:12:49 Step 8/26 : COPY go.mod vendor* ./ 13:12:50 ---> 845e67bb703c 13:12:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:50 ---> Running in 5b4a2465c910 13:12:52 Removing intermediate container 5b4a2465c910 13:12:52 ---> c5acd36e4cac 13:12:52 Step 10/26 : COPY . . 13:12:53 ---> 0c42616325f2 13:12:53 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:12:53 ---> Running in 4f7add0367f2 13:12:53 Removing intermediate container 4f7add0367f2 13:12:53 ---> 394a01352b0c 13:12:53 Step 12/26 : RUN $MAKE 13:12:53 ---> Running in 5176a42e8eb6 13:12:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.59 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:15:16 Removing intermediate container 5176a42e8eb6 13:15:16 ---> d7b26ee4a426 13:15:16 Step 13/26 : FROM alpine:3.17 13:15:16 3.17: Pulling from library/alpine 13:15:16 c41833b44d91: Already exists 13:15:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:15:16 Status: Downloaded newer image for alpine:3.17 13:15:16 ---> 51e60588ff2c 13:15:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:15:16 ---> Running in 4baa7ac26ab5 13:15:16 Removing intermediate container 4baa7ac26ab5 13:15:16 ---> 3b88251d77a2 13:15:16 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:15:16 ---> Running in 00cda0ef1637 13:15:16 Removing intermediate container 00cda0ef1637 13:15:16 ---> 643094e3efe7 13:15:16 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:15:16 ---> Running in f0bcbb370807 13:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:15:16 (1/2) Installing ca-certificates (20220614-r4) 13:15:16 (2/2) Installing dumb-init (1.2.5-r2) 13:15:16 Executing busybox-1.35.0-r29.trigger 13:15:16 Executing ca-certificates-20220614-r4.trigger 13:15:16 OK: 8 MiB in 17 packages 13:15:16 Removing intermediate container f0bcbb370807 13:15:16 ---> 0d11c456c407 13:15:16 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:15:16 ---> 299e9c232117 13:15:16 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:15:16 ---> 7a24dd123980 13:15:16 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:15:16 ---> 6ad320386c79 13:15:16 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:15:16 ---> 5e9085e8118c 13:15:16 Step 21/26 : EXPOSE 48095 13:15:16 ---> Running in 0d18017f2e81 13:15:16 Removing intermediate container 0d18017f2e81 13:15:16 ---> fc4ecb566cb1 13:15:16 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:15:16 ---> Running in 5a6577ef5123 13:15:16 Removing intermediate container 5a6577ef5123 13:15:16 ---> b51c3e3bcc8b 13:15:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:15:16 ---> Running in dba73081a927 13:15:16 Removing intermediate container dba73081a927 13:15:16 ---> 001770f62631 13:15:16 Step 24/26 : LABEL arch=arm64 13:15:16 ---> Running in fc2bdb9afdf9 13:15:16 Removing intermediate container fc2bdb9afdf9 13:15:16 ---> de7d09b77537 13:15:16 Step 25/26 : LABEL git_sha=72460d07b04784ea889ed977af71f1b4fb8c4923 13:15:16 ---> Running in 97499abb8822 13:15:16 Removing intermediate container 97499abb8822 13:15:16 ---> edebe9dd2d09 13:15:16 Step 26/26 : LABEL version=0.0.0 13:15:16 ---> Running in 469fd27fbc58 13:15:17 Removing intermediate container 469fd27fbc58 13:15:17 ---> 12fbd4990310 13:15:17 [Warning] One or more build-args [ARCH] were not consumed 13:15:17 Successfully built 12fbd4990310 13:15:17 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:18 13:15:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:18 arm64: Pulling from edgex-lftools-log-publisher 13:15:18 8998bd30e6a1: Pulling fs layer 13:15:18 04944245beec: Pulling fs layer 13:15:18 699f458cf7ca: Pulling fs layer 13:15:18 765212b225bb: Pulling fs layer 13:15:18 f23df028b6ca: Pulling fs layer 13:15:18 d65c8cfc05b1: Pulling fs layer 13:15:18 2437ff75d9bd: Pulling fs layer 13:15:18 765212b225bb: Waiting 13:15:18 f23df028b6ca: Waiting 13:15:18 d65c8cfc05b1: Waiting 13:15:18 2437ff75d9bd: Waiting 13:15:18 04944245beec: Verifying Checksum 13:15:18 04944245beec: Download complete 13:15:18 765212b225bb: Download complete 13:15:18 f23df028b6ca: Verifying Checksum 13:15:18 f23df028b6ca: Download complete 13:15:18 d65c8cfc05b1: Verifying Checksum 13:15:18 d65c8cfc05b1: Download complete 13:15:19 699f458cf7ca: Verifying Checksum 13:15:19 699f458cf7ca: Download complete 13:15:19 8998bd30e6a1: Download complete 13:15:22 2437ff75d9bd: Verifying Checksum 13:15:22 2437ff75d9bd: Download complete 13:15:23 8998bd30e6a1: Pull complete 13:15:24 04944245beec: Pull complete 13:15:25 699f458cf7ca: Pull complete 13:15:25 765212b225bb: Pull complete 13:15:26 f23df028b6ca: Pull complete 13:15:26 d65c8cfc05b1: Pull complete 13:15:41 2437ff75d9bd: Pull complete 13:15:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:42 prd-ubuntu20.04-docker-arm64-4c-16g-13293 does not seem to be running inside a container 13:15:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:15:45 $ docker top b7a8d0c7ca7f4b89c536ea1cf09e598733597f93dedc7d7780c7c81248bf4119 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:46 ---> job-cost.sh 13:15:46 lf-activate-venv: SKIPPING 13:15:46 INFO: No Stack... 13:15:46 INFO: Retrieving Pricing Info for: v3-standard-4 13:15:47 INFO: Archiving Costs [Pipeline] sh 13:15:48 + cut -d, -f6 13:15:48 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 13:15:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] 13:15:48 Resource [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] did not exist. Created. 13:15:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:48 /w/workspace/app-service-configurable/1@tmp/durable-9eea869b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:15:49 + echo total: 0.10999999940395355 [Pipeline] stash 13:15:49 Warning: overwriting stash ‘stack-cost’ 13:15:49 Stashed 1 file(s) [Pipeline] } 13:15:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-557-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:49 $ docker stop --time=1 b7a8d0c7ca7f4b89c536ea1cf09e598733597f93dedc7d7780c7c81248bf4119 13:15:51 $ docker rm -f --volumes b7a8d0c7ca7f4b89c536ea1cf09e598733597f93dedc7d7780c7c81248bf4119 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:15:52 provisioning config files... 13:15:52 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-557@tmp/config10300144352564513122tmp [Pipeline] { [Pipeline] sh 13:15:52 + set +x 13:15:52 + curl -s https://codecov.io/bash 13:15:52 + bash -s -- 13:15:52 13:15:52 _____ _ 13:15:52 / ____| | | 13:15:52 | | ___ __| | ___ ___ _____ __ 13:15:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:15:52 | |___| (_) | (_| | __/ (_| (_) \ V / 13:15:52 \_____\___/ \__,_|\___|\___\___/ \_/ 13:15:52 Bash-1.0.6 13:15:52 13:15:52 13:15:52 ==> git version 2.25.1 found 13:15:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:15:52 Release-Date: 2020-01-08 13:15:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:15:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:15:52 ==> Jenkins CI detected. 13:15:52 current dir:  /w/workspace/_app-service-configurable_PR-557 13:15:52 project root: . 13:15:52 --> token set from env 13:15:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:15:52 ==> Running gcov in . (disable via -X gcov) 13:15:52 ==> Python coveragepy not found 13:15:52 ==> Searching for coverage reports in: 13:15:52 + . 13:15:52 -> Found 1 reports 13:15:52 ==> Detecting git/mercurial file structure 13:15:52 ==> Reading reports 13:15:52 + ./coverage.out bytes=13 13:15:52 ==> Appending adjustments 13:15:52 https://docs.codecov.io/docs/fixing-reports 13:15:52 + Found adjustments 13:15:52 ==> Gzipping contents 13:15:52 4.0K /tmp/codecov.kPsPMl.gz 13:15:52 ==> Uploading reports 13:15:52 url: https://codecov.io 13:15:52 query: branch=PR-557&commit=72460d07b04784ea889ed977af71f1b4fb8c4923&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=557&job=&cmd_args= 13:15:52 -> Pinging Codecov 13:15:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-557&commit=72460d07b04784ea889ed977af71f1b4fb8c4923&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=557&job=&cmd_args= 13:15:52 -> Uploading to 13:15:52 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/A97CA9966030D2A3747ED39772930CCE/72460d07b04784ea889ed977af71f1b4fb8c4923/4d4c3628-e462-4890-a7e8-267b5d79f929.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T131552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=139e0d9733956b2f43b071d5acbe89da436aa3f742f3f069b5aa93089d881c2d 13:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 13:15:52 Dload Upload Total Spent Left Speed 13:15:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1825 --:--:-- --:--:-- --:--:-- 1825 13:15:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/72460d07b04784ea889ed977af71f1b4fb8c4923 [Pipeline] } 13:15:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:15:55 + [ -d /w/workspace/_app-service-configurable_PR-557/archives ] 13:15:55 + ls -al /w/workspace/_app-service-configurable_PR-557/archives 13:15:55 total 16 13:15:55 drwxr-xr-x 3 root root 4096 May 4 13:05 . 13:15:55 drwxrwxr-x 9 jenkins jenkins 4096 May 4 13:05 .. 13:15:55 drwxr-xr-x 2 root root 4096 May 4 13:05 cost 13:15:55 -rw-r--r-- 1 root root 96 May 4 13:05 cost.csv 13:15:55 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-557/archives 13:15:55 + ls -al /w/workspace/_app-service-configurable_PR-557/archives 13:15:55 total 16 13:15:55 drwxr-xr-x 3 jenkins jenkins 4096 May 4 13:05 . 13:15:55 drwxrwxr-x 9 jenkins jenkins 4096 May 4 13:05 .. 13:15:55 drwxr-xr-x 2 jenkins jenkins 4096 May 4 13:05 cost 13:15:55 -rw-r--r-- 1 jenkins jenkins 96 May 4 13:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:15:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:15:56 ---> package-listing.sh 13:15:56 ++ facter osfamily 13:15:56 ++ tr '[:upper:]' '[:lower:]' 13:15:56 + OS_FAMILY=debian 13:15:56 + workspace=/w/workspace/_app-service-configurable_PR-557 13:15:56 + START_PACKAGES=/tmp/packages_start.txt 13:15:56 + END_PACKAGES=/tmp/packages_end.txt 13:15:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:15:56 + PACKAGES=/tmp/packages_start.txt 13:15:56 + '[' /w/workspace/_app-service-configurable_PR-557 ']' 13:15:56 + PACKAGES=/tmp/packages_end.txt 13:15:56 + case "${OS_FAMILY}" in 13:15:56 + dpkg -l 13:15:56 + grep '^ii' 13:15:56 + '[' -f /tmp/packages_start.txt ']' 13:15:56 + '[' -f /tmp/packages_end.txt ']' 13:15:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:15:56 + '[' /w/workspace/_app-service-configurable_PR-557 ']' 13:15:56 + mkdir -p /w/workspace/_app-service-configurable_PR-557/archives/ 13:15:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-557/archives/ [Pipeline] echo 13:15:56 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-557/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:15:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:57 prd-ubuntu20.04-docker-8c-8g-13291 does not seem to be running inside a container 13:15:57 $ 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-557/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-557 -v /w/workspace/_app-service-configurable_PR-557:/w/workspace/_app-service-configurable_PR-557:rw,z -v /w/workspace/_app-service-configurable_PR-557@tmp:/w/workspace/_app-service-configurable_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:15:57 $ docker top 26d421f6bf7fafbf1f74fbb7145af07563f9912cd3cb1e925a32395908d82085 -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:58 + touch /tmp/pre-build-complete [Pipeline] sh 13:15:58 + mkdir -p /var/log/sysstat [Pipeline] sh 13:15:58 + ls /var/log/sa-host 13:15:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:58 provisioning config files... 13:15:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-557@tmp/config7798210806945920097tmp [Pipeline] { [Pipeline] echo 13:15:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:15:59 ---> create-netrc.sh [Pipeline] } 13:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:15:59 ---> python-tools-install.sh [Pipeline] echo 13:15:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:16:00 ---> sudo-logs.sh 13:16:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:16:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:16:00 ---> job-cost.sh 13:16:00 lf-activate-venv: SKIPPING 13:16:00 DEBUG: total: 0.2199999988079071 13:16:00 INFO: Retrieving Stack Cost... 13:16:00 INFO: Retrieving Pricing Info for: v3-standard-8 13:16:01 INFO: Archiving Costs [Pipeline] echo 13:16:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:16:01 ---> logs-deploy.sh 13:16:01 lf-activate-venv: SKIPPING 13:16:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-557/1 13:16:01 INFO: archiving workspace using pattern(s): 13:16:02 Archives upload complete. 13:16:02 INFO: archiving logs to Nexus