Pull request #592 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db50b53be1661eea0823f816b060f52e4d8fb10b+7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 (c6b90a0f8e6bb8d6f343354819d1a167ef0ec672) 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-ssh6131804964320902689.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16542634046897876133.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-592/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-592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18346380120963671610.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-592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17850597804457111626.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13699122190959715158.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-592/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-592/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5016088096329104562.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 ‘prd-ubuntu20.04-docker-8c-8g-4998’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5001 in /w/workspace/_app-service-configurable_PR-592 [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-592 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 into PR head commit db50b53be1661eea0823f816b060f52e4d8fb10b > 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/592/head:refs/remotes/origin/PR-592 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing db50b53be1661eea0823f816b060f52e4d8fb10b Checking out Revision db50b53be1661eea0823f816b060f52e4d8fb10b (PR-592) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:05:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:05:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:05:11 ========================================================= 12:05:11 EdgeX Global Pipelines Version Info 12:05:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f db50b53be1661eea0823f816b060f52e4d8fb10b # 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 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db50b53be1661eea0823f816b060f52e4d8fb10b # timeout=10 12:05:12 ------------------- 12:05:12 stable info: 12:05:12 ------------------- 12:05:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:12 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:05:12 Message: update stable to v1.0.253 12:05:13 ------------------- 12:05:13 experimental info: 12:05:13 ------------------- 12:05:13 Commited By: **** collab-it+edgex@linuxfoundation.org 12:05:13 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:05:13 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-592 [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-592 [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-592 [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db50b53be1661eea0823f816b060f52e4d8fb10b [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db50b53 [Pipeline] echo 12:05:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:14 provisioning config files... 12:05:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-592@tmp/config6231379170165402591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:15 ---> docker-login.sh 12:05:15 nexus3.edgexfoundry.org:10001 12:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:15 Configure a credential helper to remove this warning. See 12:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:15 12:05:15 Login Succeeded 12:05:15 nexus3.edgexfoundry.org:10002 12:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:15 Configure a credential helper to remove this warning. See 12:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:15 12:05:15 Login Succeeded 12:05:15 nexus3.edgexfoundry.org:10003 12:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:15 Configure a credential helper to remove this warning. See 12:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:15 12:05:15 Login Succeeded 12:05:15 nexus3.edgexfoundry.org:10004 12:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:15 Configure a credential helper to remove this warning. See 12:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:15 12:05:15 Login Succeeded 12:05:15 docker.io 12:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:16 Configure a credential helper to remove this warning. See 12:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:16 12:05:16 Login Succeeded 12:05:16 ---> docker-login.sh ends [Pipeline] } 12:05:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:05:16 + git rev-list -1 --merges db50b53be1661eea0823f816b060f52e4d8fb10b~1..db50b53be1661eea0823f816b060f52e4d8fb10b [Pipeline] echo 12:05:16 -----------> git rev-list -1 --merges db50b53be1661eea0823f816b060f52e4d8fb10b~1..db50b53be1661eea0823f816b060f52e4d8fb10b db50b53be1661eea0823f816b060f52e4d8fb10b [false] [Pipeline] sh 12:05:17 + git log --format=format:%s -1 db50b53be1661eea0823f816b060f52e4d8fb10b [Pipeline] echo 12:05:17 ========================================================= 12:05:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:05:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:17 + git log --format=format:%s -1 db50b53be1661eea0823f816b060f52e4d8fb10b [Pipeline] echo 12:05:17 [semverPrep] GIT_COMMIT: db50b53be1661eea0823f816b060f52e4d8fb10b, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:05:17 [semverPrep] This is not a build commit. [Pipeline] sh 12:05:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:05:18 + grep -v github /etc/ssh/ssh_known_hosts 12:05:18 + [ -e /tmp/ssh_known_hosts ] 12:05:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:05:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:05:18 + sudo tee -a /etc/ssh/ssh_known_hosts 12:05:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:18 12:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:18 0.1.4: Pulling from edgex-devops/py-git-semver 12:05:18 b85a868b505f: Pulling fs layer 12:05:18 e2be974225ed: Pulling fs layer 12:05:18 339a4e72a1f5: Pulling fs layer 12:05:18 988bab9f4d93: Pulling fs layer 12:05:18 1469e6f7b9e6: Pulling fs layer 12:05:18 eaf3925da568: Pulling fs layer 12:05:18 bab4dde63d76: Pulling fs layer 12:05:18 988bab9f4d93: Waiting 12:05:18 1469e6f7b9e6: Waiting 12:05:18 bde34c3a00c8: Pulling fs layer 12:05:18 b352a97aabf1: Pulling fs layer 12:05:18 4872d77fe225: Pulling fs layer 12:05:18 5851b861e8e6: Pulling fs layer 12:05:18 eaf3925da568: Waiting 12:05:18 bde34c3a00c8: Waiting 12:05:18 bab4dde63d76: Waiting 12:05:18 4872d77fe225: Waiting 12:05:18 5851b861e8e6: Waiting 12:05:18 e2be974225ed: Download complete 12:05:18 988bab9f4d93: Download complete 12:05:19 1469e6f7b9e6: Verifying Checksum 12:05:19 1469e6f7b9e6: Download complete 12:05:19 339a4e72a1f5: Verifying Checksum 12:05:19 339a4e72a1f5: Download complete 12:05:19 eaf3925da568: Verifying Checksum 12:05:19 eaf3925da568: Download complete 12:05:19 bde34c3a00c8: Verifying Checksum 12:05:19 bde34c3a00c8: Download complete 12:05:19 b352a97aabf1: Verifying Checksum 12:05:19 b352a97aabf1: Download complete 12:05:19 4872d77fe225: Verifying Checksum 12:05:19 4872d77fe225: Download complete 12:05:19 5851b861e8e6: Download complete 12:05:19 b85a868b505f: Verifying Checksum 12:05:19 b85a868b505f: Download complete 12:05:19 bab4dde63d76: Verifying Checksum 12:05:19 bab4dde63d76: Download complete 12:05:22 b85a868b505f: Pull complete 12:05:22 e2be974225ed: Pull complete 12:05:23 339a4e72a1f5: Pull complete 12:05:23 988bab9f4d93: Pull complete 12:05:23 1469e6f7b9e6: Pull complete 12:05:23 eaf3925da568: Pull complete 12:05:27 bab4dde63d76: Pull complete 12:05:27 bde34c3a00c8: Pull complete 12:05:27 b352a97aabf1: Pull complete 12:05:27 4872d77fe225: Pull complete 12:05:27 5851b861e8e6: Pull complete 12:05:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:27 prd-ubuntu20.04-docker-8c-8g-5001 does not seem to be running inside a container 12:05:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-592 -v /w/workspace/_app-service-configurable_PR-592:/w/workspace/_app-service-configurable_PR-592:rw,z -v /w/workspace/_app-service-configurable_PR-592@tmp:/w/workspace/_app-service-configurable_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:05:30 $ docker top 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f -eo pid,comm 12:05:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:05:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:31 [ssh-agent] Looking for ssh-agent implementation... 12:05:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:31 $ docker exec 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f ssh-agent 12:05:31 SSH_AUTH_SOCK=/tmp/ssh-V8mHkXAyExgF/agent.32 12:05:31 SSH_AGENT_PID=38 12:05:31 Running ssh-add (command line suppressed) 12:05:31 Identity added: /w/workspace/_app-service-configurable_PR-592@tmp/private_key_3445399401914655564.key (/w/workspace/_app-service-configurable_PR-592@tmp/private_key_3445399401914655564.key) 12:05:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:31 + git tag --points-at HEAD [Pipeline] } 12:05:31 $ docker exec --env ******** --env ******** 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f ssh-agent -k 12:05:31 unset SSH_AUTH_SOCK; 12:05:31 unset SSH_AGENT_PID; 12:05:31 echo Agent pid 38 killed; 12:05:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:31 [ssh-agent] Looking for ssh-agent implementation... 12:05:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:32 $ docker exec 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f ssh-agent 12:05:32 SSH_AUTH_SOCK=/tmp/ssh-K8BLRp7sVV2Q/agent.70 12:05:32 SSH_AGENT_PID=76 12:05:32 Running ssh-add (command line suppressed) 12:05:32 Identity added: /w/workspace/_app-service-configurable_PR-592@tmp/private_key_14229983787484588849.key (/w/workspace/_app-service-configurable_PR-592@tmp/private_key_14229983787484588849.key) 12:05:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:32 + git semver init 12:05:32 2023-08-31 12:05:32,833 [run_init] DEBUG init version:0.0.0 force:False 12:05:32 2023-08-31 12:05:32,834 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-592/.semver 12:05:32 2023-08-31 12:05:32,834 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-592/.semver 12:05:32 2023-08-31 12:05:32,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-592/.semver'], cwd=/w/workspace/_app-service-configurable_PR-592, universal_newlines=False, shell=None, istream=None) 12:05:33 2023-08-31 12:05:33,626 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-592/.git/info/exclude 12:05:33 2023-08-31 12:05:33,626 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-592/.semver/PR-592 with force:False 12:05:33 2023-08-31 12:05:33,627 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-592/.semver/PR-592 12:05:33 2023-08-31 12:05:33,631 [execute] INFO git cat-file --batch-check 12:05:33 2023-08-31 12:05:33,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-592/.semver, universal_newlines=False, shell=None, istream=) 12:05:33 2023-08-31 12:05:33,637 [execute] INFO git cat-file --batch 12:05:33 2023-08-31 12:05:33,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-592/.semver, universal_newlines=False, shell=None, istream=) 12:05:33 2023-08-31 12:05:33,642 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-592/.semver/PR-592 12:05:33 0.0.0 [Pipeline] } 12:05:33 $ docker exec --env ******** --env ******** 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f ssh-agent -k 12:05:33 unset SSH_AUTH_SOCK; 12:05:33 unset SSH_AGENT_PID; 12:05:33 echo Agent pid 76 killed; 12:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:34 + git semver [Pipeline] } 12:05:34 $ docker stop --time=1 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f 12:05:35 $ docker rm -f --volumes 62e07b22e9d633d7f325cec924b57a7c8771c7293669e966aea8cd9c2e553e6f [Pipeline] // withDockerContainer [Pipeline] sh 12:05:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:05:36 Stashed 1 file(s) [Pipeline] echo 12:05:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:37 provisioning config files... 12:05:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-592@tmp/config13478265653336189403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:37 ---> docker-login.sh 12:05:37 nexus3.edgexfoundry.org:10001 12:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:37 Configure a credential helper to remove this warning. See 12:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:37 12:05:37 Login Succeeded 12:05:37 nexus3.edgexfoundry.org:10002 12:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:37 Configure a credential helper to remove this warning. See 12:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:37 12:05:37 Login Succeeded 12:05:37 nexus3.edgexfoundry.org:10003 12:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:37 Configure a credential helper to remove this warning. See 12:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:37 12:05:37 Login Succeeded 12:05:37 nexus3.edgexfoundry.org:10004 12:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:37 Configure a credential helper to remove this warning. See 12:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:37 12:05:37 Login Succeeded 12:05:37 docker.io 12:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:38 Configure a credential helper to remove this warning. See 12:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:38 12:05:38 Login Succeeded 12:05:38 ---> docker-login.sh ends [Pipeline] } 12:05:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:38 ========================================================= 12:05:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:05:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:39 + 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 . 12:05:39 Sending build context to Docker daemon 3.339MB 12:05:39 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:05:39 Step 2/12 : FROM ${BASE} AS builder 12:05:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:05:39 4db1b89c0bd1: Pulling fs layer 12:05:39 6911f1a30b25: Pulling fs layer 12:05:39 e194b8c5c2a9: Pulling fs layer 12:05:39 6863d3e3a2b1: Pulling fs layer 12:05:39 ec0bb842ea78: Pulling fs layer 12:05:39 40a00589a448: Pulling fs layer 12:05:39 6c08303d61cc: Pulling fs layer 12:05:39 798269fcf238: Pulling fs layer 12:05:39 ec0bb842ea78: Waiting 12:05:39 40a00589a448: Waiting 12:05:39 6c08303d61cc: Waiting 12:05:39 798269fcf238: Waiting 12:05:39 6911f1a30b25: Download complete 12:05:39 6863d3e3a2b1: Download complete 12:05:39 4db1b89c0bd1: Verifying Checksum 12:05:39 4db1b89c0bd1: Download complete 12:05:39 ec0bb842ea78: Verifying Checksum 12:05:39 ec0bb842ea78: Download complete 12:05:39 40a00589a448: Verifying Checksum 12:05:39 40a00589a448: Download complete 12:05:39 4db1b89c0bd1: Pull complete 12:05:39 6911f1a30b25: Pull complete 12:05:39 798269fcf238: Verifying Checksum 12:05:39 798269fcf238: Download complete 12:05:39 e194b8c5c2a9: Verifying Checksum 12:05:39 e194b8c5c2a9: Download complete 12:05:40 6c08303d61cc: Verifying Checksum 12:05:40 6c08303d61cc: Download complete 12:05:43 e194b8c5c2a9: Pull complete 12:05:43 6863d3e3a2b1: Pull complete 12:05:43 ec0bb842ea78: Pull complete 12:05:43 40a00589a448: Pull complete 12:05:45 6c08303d61cc: Pull complete 12:05:46 798269fcf238: Pull complete 12:05:46 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:05:46 ---> ec979cd7f677 12:05:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:05:52 Still waiting to schedule task 12:05:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:05:57 ---> Running in 969baa7f0766 12:05:57 Removing intermediate container 969baa7f0766 12:05:57 ---> 8da20bf7b867 12:05:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:05:57 ---> Running in 1adf9e3e7caa 12:05:57 Removing intermediate container 1adf9e3e7caa 12:05:57 ---> 15995a2ac084 12:05:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:05:57 ---> Running in 15c0dbff63eb 12:05:57 Removing intermediate container 15c0dbff63eb 12:05:57 ---> 6121f8597153 12:05:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:57 ---> Running in fa083a6c843f 12:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:05:58 OK: 265 MiB in 53 packages 12:05:59 Removing intermediate container fa083a6c843f 12:05:59 ---> 01e0960b18a6 12:05:59 Step 7/12 : WORKDIR /app 12:05:59 ---> Running in 890ea638ddb8 12:05:59 Removing intermediate container 890ea638ddb8 12:05:59 ---> 62040b7d9ead 12:05:59 Step 8/12 : COPY go.mod vendor* ./ 12:05:59 ---> af33cc0f98e5 12:05:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:59 ---> Running in 68e06f20f5d6 12:06:32 Removing intermediate container 68e06f20f5d6 12:06:32 ---> 60a7bd2e8200 12:06:32 Step 10/12 : COPY . . 12:06:32 ---> 56f9622e99fd 12:06:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:32 ---> Running in f847b55935b8 12:06:32 Removing intermediate container f847b55935b8 12:06:32 ---> 0ea47695cc87 12:06:32 Step 12/12 : RUN $MAKE 12:06:32 ---> Running in 3b3bf840cdef 12:06:32 noop 12:06:32 Removing intermediate container 3b3bf840cdef 12:06:32 ---> b6b3f096fd1b 12:06:32 Successfully built b6b3f096fd1b 12:06:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:32 + docker inspect -f . ci-base-image-x86_64 12:06:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:32 prd-ubuntu20.04-docker-8c-8g-5001 does not seem to be running inside a container 12:06:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-592 -v /w/workspace/_app-service-configurable_PR-592:/w/workspace/_app-service-configurable_PR-592:rw,z -v /w/workspace/_app-service-configurable_PR-592@tmp:/w/workspace/_app-service-configurable_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:06:32 $ docker top 7084c2a30345b73174ea33c3a97f1db4c3fd73599ae45e4500c8eaaa8e2492ee -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:33 + go version 12:06:33 go version go1.20.6 linux/amd64 [Pipeline] } 12:06:33 $ docker stop --time=1 7084c2a30345b73174ea33c3a97f1db4c3fd73599ae45e4500c8eaaa8e2492ee 12:06:34 $ docker rm -f --volumes 7084c2a30345b73174ea33c3a97f1db4c3fd73599ae45e4500c8eaaa8e2492ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:35 + docker inspect -f . ci-base-image-x86_64 12:06:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:35 prd-ubuntu20.04-docker-8c-8g-5001 does not seem to be running inside a container 12:06:35 $ 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-592 -v /w/workspace/_app-service-configurable_PR-592:/w/workspace/_app-service-configurable_PR-592:rw,z -v /w/workspace/_app-service-configurable_PR-592@tmp:/w/workspace/_app-service-configurable_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:06:35 $ docker top 5c191331182b72e53b1c8cbc5303c24bc0f823334e24d9ba891c22cbc8d8b070 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:36 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-592 [Pipeline] fileExists [Pipeline] sh 12:06:36 + make test 12:06:36 go test -race -coverprofile=coverage.out ./... 12:06:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:07:22 go vet ./... 12:07:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5002 in /w/workspace/_app-service-configurable_PR-592 [Pipeline] { [Pipeline] ws 12:07:22 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:07:22 Selected Git installation does not exist. Using Default 12:07:22 The recommended git tool is: NONE 12:07:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:07:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:07:23 ./bin/test-attribution-txt.sh 12:07:23 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 12:07:23 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 12:07:23 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 12:07:23 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 12:07:23 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 12:07:23 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 12:07:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:07:23 $ docker stop --time=1 5c191331182b72e53b1c8cbc5303c24bc0f823334e24d9ba891c22cbc8d8b070 12:07:27 using credential edgex-jenkins-ssh 12:07:27 Cloning the remote Git repository 12:07:27 $ docker rm -f --volumes 5c191331182b72e53b1c8cbc5303c24bc0f823334e24d9ba891c22cbc8d8b070 [Pipeline] // withDockerContainer [Pipeline] sh 12:07:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:07:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 12:07:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:07:27 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:07:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:27 > git --version # timeout=10 12:07:27 > git --version # 'git version 2.25.1' 12:07:27 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 12:07:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:07:29 + ls -al . 12:07:29 total 184 12:07:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 12:06 . 12:07:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 12:05 .. 12:07:29 -rw-rw-r-- 1 jenkins jenkins 119 Aug 31 12:05 .dockerignore 12:07:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 12:05 .git 12:07:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 12:05 .github 12:07:29 -rw-rw-r-- 1 jenkins jenkins 171 Aug 31 12:05 .gitignore 12:07:29 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 12:05 .golangci.yml 12:07:29 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 12:05 .semver 12:07:29 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 31 12:05 Attribution.txt 12:07:29 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 31 12:05 CHANGELOG.md 12:07:29 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 31 12:05 Dockerfile 12:07:29 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 12:05 GOVERNANCE.md 12:07:29 -rw-rw-r-- 1 jenkins jenkins 688 Aug 31 12:05 Jenkinsfile 12:07:29 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 31 12:05 LICENSE 12:07:29 -rw-rw-r-- 1 jenkins jenkins 618 Aug 31 12:05 OWNERS.md 12:07:29 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 31 12:05 README.md 12:07:29 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 12:05 VERSION 12:07:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 12:05 bin 12:07:29 -rw-r--r-- 1 jenkins jenkins 13 Aug 31 12:06 coverage.out 12:07:29 -rw-rw-r-- 1 jenkins jenkins 3729 Aug 31 12:05 go.mod 12:07:29 -rw-rw-r-- 1 jenkins jenkins 33854 Aug 31 12:05 go.sum 12:07:29 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 31 12:05 main.go 12:07:29 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 31 12:05 makefile 12:07:29 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 12:05 res 12:07:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 12:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:30 + 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=db50b53be1661eea0823f816b060f52e4d8fb10b --label arch=amd64 --label version=0.0.0 . 12:07:30 Sending build context to Docker daemon 3.34MB 12:07:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:07:30 Step 2/26 : FROM ${BASE} AS builder 12:07:30 ---> b6b3f096fd1b 12:07:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:07:30 ---> Running in b6a465dceb38 12:07:30 Removing intermediate container b6a465dceb38 12:07:30 ---> efee21bf7c2d 12:07:30 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:07:30 ---> Running in 9801af261c9c 12:07:30 Removing intermediate container 9801af261c9c 12:07:30 ---> 15f3b8dc3abe 12:07:30 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:07:30 ---> Running in 6430cd84729a 12:07:30 Removing intermediate container 6430cd84729a 12:07:30 ---> b07c099ed499 12:07:30 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:30 ---> Running in 6ab8b08e6b99 12:07:30 Merging remotes/origin/main commit 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 into PR head commit db50b53be1661eea0823f816b060f52e4d8fb10b 12:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:07:31 Merge succeeded, producing db50b53be1661eea0823f816b060f52e4d8fb10b 12:07:31 Checking out Revision db50b53be1661eea0823f816b060f52e4d8fb10b (PR-592) 12:07:31 OK: 265 MiB in 53 packages 12:07:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:30 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:07:30 > git config core.sparsecheckout # timeout=10 12:07:30 > git checkout -f db50b53be1661eea0823f816b060f52e4d8fb10b # timeout=10 12:07:30 > git remote # timeout=10 12:07:30 > git config --get remote.origin.url # timeout=10 12:07:30 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:31 > git merge 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 # timeout=10 12:07:31 > git rev-parse HEAD^{commit} # timeout=10 12:07:31 > git config core.sparsecheckout # timeout=10 12:07:31 > git checkout -f db50b53be1661eea0823f816b060f52e4d8fb10b # timeout=10 12:07:31 Removing intermediate container 6ab8b08e6b99 12:07:31 ---> 22df4046e9ab 12:07:31 Step 7/26 : WORKDIR /app 12:07:31 ---> Running in 95023475ab11 12:07:31 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:07:31 > git --version # timeout=10 12:07:31 > git --version # 'git version 2.25.1' 12:07:31 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:07:31 Removing intermediate container 95023475ab11 12:07:31 ---> a5c2afbbe926 12:07:31 Step 8/26 : COPY go.mod vendor* ./ 12:07:31 ---> bde167e4fa01 12:07:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:31 ---> Running in bdcbc855f44c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:07:32 Removing intermediate container bdcbc855f44c 12:07:32 ---> 6b2a86ca314b 12:07:32 Step 10/26 : COPY . . 12:07:32 ---> ef12df101f1a 12:07:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:07:32 ---> Running in 0f833db31500 12:07:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:07:32 % Total % Received % Xferd Average Speed Time Time Time Current 12:07:32 Dload Upload Total Spent Left Speed 12:07:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70060 0 --:--:-- --:--:-- --:--:-- 70060 12:07:32 Removing intermediate container 0f833db31500 12:07:32 ---> 6f21d1df8ec4 12:07:32 Step 12/26 : RUN $MAKE 12:07:32 ---> Running in b25c2850c6ff 12:07:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] sh 12:07:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:07:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:07:33 + sudo tee /etc/docker/daemon.new 12:07:33 { 12:07:33 "registry-mirrors": [ 12:07:33 "https://nexus3.edgexfoundry.org:10001" 12:07:33 ], 12:07:33 "bip": "10.250.0.254/24", 12:07:33 "hosts": [ 12:07:33 "tcp://0.0.0.0:5555", 12:07:33 "unix:///var/run/docker.sock" 12:07:33 ], 12:07:33 "mtu": 1458, 12:07:33 "selinux-enabled": true, 12:07:33 "seccomp-profile": "/etc/docker/seccomp.json" 12:07:33 } [Pipeline] sh 12:07:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:07:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:07:52 provisioning config files... 12:07:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config14878894711420502415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:53 ---> docker-login.sh 12:07:53 nexus3.edgexfoundry.org:10001 12:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:53 Configure a credential helper to remove this warning. See 12:07:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:53 12:07:53 Login Succeeded 12:07:53 nexus3.edgexfoundry.org:10002 12:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:54 Configure a credential helper to remove this warning. See 12:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:54 12:07:54 Login Succeeded 12:07:54 nexus3.edgexfoundry.org:10003 12:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:54 Configure a credential helper to remove this warning. See 12:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:54 12:07:54 Login Succeeded 12:07:54 nexus3.edgexfoundry.org:10004 12:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:54 Configure a credential helper to remove this warning. See 12:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:54 12:07:54 Login Succeeded 12:07:54 docker.io 12:07:55 Removing intermediate container b25c2850c6ff 12:07:55 ---> 8f19cb19fabe 12:07:55 Step 13/26 : FROM alpine:3.17 12:07:55 3.17: Pulling from library/alpine 12:07:55 9398808236ff: Pulling fs layer 12:07:55 9398808236ff: Verifying Checksum 12:07:55 9398808236ff: Download complete 12:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:55 9398808236ff: Pull complete 12:07:55 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 12:07:55 Status: Downloaded newer image for alpine:3.17 12:07:55 ---> 1e0b8b5322fc 12:07:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:55 Configure a credential helper to remove this warning. See 12:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:55 12:07:55 Login Succeeded 12:07:55 ---> docker-login.sh ends [Pipeline] } 12:07:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:07:55 ---> Running in a3fa3171f8c8 12:07:55 Removing intermediate container a3fa3171f8c8 12:07:55 ---> 5f1799dd8c46 12:07:55 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:07:55 ---> Running in 9e770f987c43 12:07:55 Removing intermediate container 9e770f987c43 12:07:55 ---> 54f5fdd9d7f1 12:07:55 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:07:55 ---> Running in 19f57e40b17b [Pipeline] echo 12:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 12:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [Pipeline] echo 12:07:56 ========================================================= 12:07:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:07:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv 12:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 12:07:56 (1/2) Installing ca-certificates (20230506-r0) 12:07:56 (2/2) Installing dumb-init (1.2.5-r2) 12:07:56 Executing busybox-1.35.0-r29.trigger 12:07:56 Executing ca-certificates-20230506-r0.trigger 12:07:56 OK: 8 MiB in 17 packages 12:07:56 + 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 . 12:07:56 Sending build context to Docker daemon 178.2kB 12:07:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:07:56 Step 2/12 : FROM ${BASE} AS builder 12:07:56 Removing intermediate container 19f57e40b17b 12:07:56 ---> 2f76945ec5c0 12:07:56 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:07:56 ---> 09592676c517 12:07:56 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:07:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:07:57 edb6bdbacee9: Pulling fs layer 12:07:57 5f9638ab2659: Pulling fs layer 12:07:57 8d51d6327a98: Pulling fs layer 12:07:57 8b374f2dd631: Pulling fs layer 12:07:57 ec14aa9079de: Pulling fs layer 12:07:57 2f466654f4bb: Pulling fs layer 12:07:57 554e91adad29: Pulling fs layer 12:07:57 8b374f2dd631: Waiting 12:07:57 ec14aa9079de: Waiting 12:07:57 2f466654f4bb: Waiting 12:07:57 554e91adad29: Waiting 12:07:57 5f9638ab2659: Verifying Checksum 12:07:57 5f9638ab2659: Download complete 12:07:57 8b374f2dd631: Verifying Checksum 12:07:57 8b374f2dd631: Download complete 12:07:57 ec14aa9079de: Verifying Checksum 12:07:57 ec14aa9079de: Download complete 12:07:57 edb6bdbacee9: Verifying Checksum 12:07:57 edb6bdbacee9: Download complete 12:07:57 ---> 3a78711bebd0 12:07:57 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:07:57 ---> 1395b1b6bc8f 12:07:57 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:07:58 edb6bdbacee9: Pull complete 12:07:58 ---> afd3658d5fd9 12:07:58 Step 21/26 : EXPOSE 48095 12:07:58 ---> Running in 3a8c62826f91 12:07:58 Removing intermediate container 3a8c62826f91 12:07:58 ---> ff6dba920e4e 12:07:58 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:07:58 ---> Running in 1b7a6082578d 12:07:58 Removing intermediate container 1b7a6082578d 12:07:58 ---> 045f40c209f1 12:07:58 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:07:58 ---> Running in 00f4da5676ed 12:07:58 Removing intermediate container 00f4da5676ed 12:07:58 ---> 6254b5505660 12:07:58 Step 24/26 : LABEL arch=amd64 12:07:58 ---> Running in c7a79476d46c 12:07:58 Removing intermediate container c7a79476d46c 12:07:58 ---> c51d0cfb483e 12:07:58 Step 25/26 : LABEL git_sha=db50b53be1661eea0823f816b060f52e4d8fb10b 12:07:58 ---> Running in fe524ede81cc 12:07:58 554e91adad29: Verifying Checksum 12:07:58 554e91adad29: Download complete 12:07:58 5f9638ab2659: Pull complete 12:07:58 Removing intermediate container fe524ede81cc 12:07:58 ---> 47ce43383d63 12:07:58 Step 26/26 : LABEL version=0.0.0 12:07:58 ---> Running in b34189675115 12:07:58 Removing intermediate container b34189675115 12:07:58 ---> 68923c35c49a 12:07:58 [Warning] One or more build-args [ARCH] were not consumed 12:07:58 Successfully built 68923c35c49a 12:07:58 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:59 8d51d6327a98: Verifying Checksum 12:07:59 8d51d6327a98: Download complete 12:07:59 2f466654f4bb: Verifying Checksum 12:07:59 2f466654f4bb: Download complete 12:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:59 12:07:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:08:00 latest: Pulling from edgex-lftools-log-publisher 12:08:00 5eb5b503b376: Pulling fs layer 12:08:00 5c69ac0246d0: Pulling fs layer 12:08:00 ec43610c2a17: Pulling fs layer 12:08:00 3a2ae6a8a46f: Pulling fs layer 12:08:00 33b1e0a273af: Pulling fs layer 12:08:00 5d3b04190fa2: Pulling fs layer 12:08:00 2f39f015ded8: Pulling fs layer 12:08:00 3a2ae6a8a46f: Waiting 12:08:00 33b1e0a273af: Waiting 12:08:00 5d3b04190fa2: Waiting 12:08:00 2f39f015ded8: Waiting 12:08:00 5c69ac0246d0: Verifying Checksum 12:08:00 5c69ac0246d0: Download complete 12:08:00 3a2ae6a8a46f: Verifying Checksum 12:08:00 3a2ae6a8a46f: Download complete 12:08:00 33b1e0a273af: Verifying Checksum 12:08:00 33b1e0a273af: Download complete 12:08:00 5d3b04190fa2: Verifying Checksum 12:08:00 ec43610c2a17: Verifying Checksum 12:08:00 ec43610c2a17: Download complete 12:08:00 5eb5b503b376: Verifying Checksum 12:08:00 5eb5b503b376: Download complete 12:08:00 2f39f015ded8: Download complete 12:08:01 5eb5b503b376: Pull complete 12:08:01 5c69ac0246d0: Pull complete 12:08:01 ec43610c2a17: Pull complete 12:08:02 3a2ae6a8a46f: Pull complete 12:08:02 33b1e0a273af: Pull complete 12:08:02 5d3b04190fa2: Pull complete 12:08:06 2f39f015ded8: Pull complete 12:08:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:08:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:08:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:06 prd-ubuntu20.04-docker-8c-8g-5001 does not seem to be running inside a container 12:08:06 $ 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-592 -v /w/workspace/_app-service-configurable_PR-592:/w/workspace/_app-service-configurable_PR-592:rw,z -v /w/workspace/_app-service-configurable_PR-592@tmp:/w/workspace/_app-service-configurable_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:08:11 8d51d6327a98: Pull complete 12:08:11 8b374f2dd631: Pull complete 12:08:11 ec14aa9079de: Pull complete 12:08:12 $ docker top 5a0076a77e1c7822b4087dba6b134c4ea18eae91e3dd99d295bd6b913feb87f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:13 ---> job-cost.sh 12:08:13 lf-activate-venv: SKIPPING 12:08:13 INFO: No Stack... 12:08:13 INFO: Retrieving Pricing Info for: v3-standard-8 12:08:13 INFO: Archiving Costs [Pipeline] sh 12:08:14 + cat /w/workspace/_app-service-configurable_PR-592/archives/cost.csv 12:08:14 + cut -d, -f6 [Pipeline] lock 12:08:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] 12:08:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] did not exist. Created. 12:08:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:08:14 + echo total: 0.2199999988079071 [Pipeline] stash 12:08:14 Stashed 1 file(s) [Pipeline] } 12:08:14 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:08:14 $ docker stop --time=1 5a0076a77e1c7822b4087dba6b134c4ea18eae91e3dd99d295bd6b913feb87f4 12:08:15 $ docker rm -f --volumes 5a0076a77e1c7822b4087dba6b134c4ea18eae91e3dd99d295bd6b913feb87f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:08:17 2f466654f4bb: Pull complete 12:08:19 554e91adad29: Pull complete 12:08:19 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:08:19 ---> 1e15ea492957 12:08:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:08:21 ---> Running in dd9bc83c1509 12:08:21 Removing intermediate container dd9bc83c1509 12:08:21 ---> 2485f0057582 12:08:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:08:22 ---> Running in fd026bd7411d 12:08:22 Removing intermediate container fd026bd7411d 12:08:22 ---> 983864d8e9d7 12:08:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:08:22 ---> Running in de8adb91da88 12:08:22 Removing intermediate container de8adb91da88 12:08:22 ---> bbe9be0de826 12:08:22 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:22 ---> Running in 30221bce56e8 12:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:08:25 OK: 263 MiB in 53 packages 12:08:26 Removing intermediate container 30221bce56e8 12:08:26 ---> 129506e0f465 12:08:26 Step 7/12 : WORKDIR /app 12:08:26 ---> Running in e94b78f9b803 12:08:26 Removing intermediate container e94b78f9b803 12:08:26 ---> c76f0ae99954 12:08:26 Step 8/12 : COPY go.mod vendor* ./ 12:08:27 ---> c5b9e9f1b5e3 12:08:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:08:27 ---> Running in e3d2f73846a3 12:09:35 Removing intermediate container e3d2f73846a3 12:09:35 ---> 0a300c7c60dc 12:09:35 Step 10/12 : COPY . . 12:09:35 ---> 1ce4fcec53ae 12:09:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:09:35 ---> Running in e59bbc69bac7 12:09:35 Removing intermediate container e59bbc69bac7 12:09:35 ---> 0a2fdeac0730 12:09:35 Step 12/12 : RUN $MAKE 12:09:35 ---> Running in e1c3680fa390 12:09:35 noop 12:09:35 Removing intermediate container e1c3680fa390 12:09:35 ---> b576bea0cdf5 12:09:35 Successfully built b576bea0cdf5 12:09:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:35 + docker inspect -f . ci-base-image-arm64 12:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:36 prd-ubuntu20.04-docker-arm64-4c-16g-5002 does not seem to be running inside a container 12:09:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:37 $ docker top 595e410b5a90dc9cf13b00d138d15b8515f2c34ed0601b8e700cd8321bc89230 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:38 + go version 12:09:38 go version go1.20.6 linux/arm64 [Pipeline] } 12:09:38 $ docker stop --time=1 595e410b5a90dc9cf13b00d138d15b8515f2c34ed0601b8e700cd8321bc89230 12:09:39 $ docker rm -f --volumes 595e410b5a90dc9cf13b00d138d15b8515f2c34ed0601b8e700cd8321bc89230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:40 + docker inspect -f . ci-base-image-arm64 12:09:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:41 prd-ubuntu20.04-docker-arm64-4c-16g-5002 does not seem to be running inside a container 12:09:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:45 $ docker top d97805b1889e5c966dd1db5ad4b6d65b9ba928d65a85c24253b147e462659a63 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:45 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:09:46 + make test 12:09:46 go test -race -coverprofile=coverage.out ./... 12:12:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:12:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:12:38 go vet ./... 12:14:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:14:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:14:44 ./bin/test-attribution-txt.sh 12:14:44 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 12:14:44 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 12:14:44 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 12:14:44 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 12:14:44 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 12:14:44 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 12:14:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:14:45 $ docker stop --time=1 d97805b1889e5c966dd1db5ad4b6d65b9ba928d65a85c24253b147e462659a63 12:14:46 $ docker rm -f --volumes d97805b1889e5c966dd1db5ad4b6d65b9ba928d65a85c24253b147e462659a63 [Pipeline] // withDockerContainer [Pipeline] sh 12:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:14:48 Warning: overwriting stash ‘coverage-report’ 12:14:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:14:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:14:49 + ls -al . 12:14:49 total 180 12:14:49 drwxrwxr-x 7 jenkins jenkins 4096 Aug 31 12:09 . 12:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 12:07 .. 12:14:49 -rw-rw-r-- 1 jenkins jenkins 119 Aug 31 12:07 .dockerignore 12:14:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 12:07 .git 12:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 12:07 .github 12:14:49 -rw-rw-r-- 1 jenkins jenkins 171 Aug 31 12:07 .gitignore 12:14:49 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 12:07 .golangci.yml 12:14:49 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 31 12:07 Attribution.txt 12:14:49 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 31 12:07 CHANGELOG.md 12:14:49 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 31 12:07 Dockerfile 12:14:49 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 12:07 GOVERNANCE.md 12:14:49 -rw-rw-r-- 1 jenkins jenkins 688 Aug 31 12:07 Jenkinsfile 12:14:49 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 31 12:07 LICENSE 12:14:49 -rw-rw-r-- 1 jenkins jenkins 618 Aug 31 12:07 OWNERS.md 12:14:49 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 31 12:07 README.md 12:14:49 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 12:05 VERSION 12:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 12:07 bin 12:14:49 -rw-r--r-- 1 jenkins jenkins 13 Aug 31 12:09 coverage.out 12:14:49 -rw-rw-r-- 1 jenkins jenkins 3729 Aug 31 12:07 go.mod 12:14:49 -rw-rw-r-- 1 jenkins jenkins 33854 Aug 31 12:07 go.sum 12:14:49 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 31 12:07 main.go 12:14:49 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 31 12:07 makefile 12:14:49 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 12:07 res 12:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 12:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:50 + 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=db50b53be1661eea0823f816b060f52e4d8fb10b --label arch=arm64 --label version=0.0.0 . 12:14:50 Sending build context to Docker daemon 179.2kB 12:14:50 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:14:50 Step 2/26 : FROM ${BASE} AS builder 12:14:50 ---> b576bea0cdf5 12:14:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:14:50 ---> Running in 1c94ab65e99b 12:14:50 Removing intermediate container 1c94ab65e99b 12:14:50 ---> 0f37c2ee6237 12:14:50 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:14:50 ---> Running in 2018368524c2 12:14:50 Removing intermediate container 2018368524c2 12:14:50 ---> 7d11283a479b 12:14:50 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:14:51 ---> Running in 621ca3df6c11 12:14:51 Removing intermediate container 621ca3df6c11 12:14:51 ---> 325173a3d62b 12:14:51 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:51 ---> Running in cc9ceefac5ed 12:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:14:54 OK: 263 MiB in 53 packages 12:14:54 Removing intermediate container cc9ceefac5ed 12:14:54 ---> 73f0239c8618 12:14:54 Step 7/26 : WORKDIR /app 12:14:54 ---> Running in 4cc5bbaaec8b 12:14:55 Removing intermediate container 4cc5bbaaec8b 12:14:55 ---> cd27bba564ac 12:14:55 Step 8/26 : COPY go.mod vendor* ./ 12:14:55 ---> 6458af01daaf 12:14:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:55 ---> Running in 9fd57ce6f213 12:14:58 Removing intermediate container 9fd57ce6f213 12:14:58 ---> 4bbd190bd94b 12:14:58 Step 10/26 : COPY . . 12:14:58 ---> 64ea68e9cbb5 12:14:58 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:14:58 ---> Running in 36fac7d29509 12:14:58 Removing intermediate container 36fac7d29509 12:14:58 ---> 8fddedd3d1c6 12:14:58 Step 12/26 : RUN $MAKE 12:14:59 ---> Running in 090e16e5104f 12:15:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:17:21 Removing intermediate container 090e16e5104f 12:17:21 ---> edc8b452dcbc 12:17:21 Step 13/26 : FROM alpine:3.17 12:17:21 3.17: Pulling from library/alpine 12:17:21 4060ece20d7a: Pulling fs layer 12:17:21 4060ece20d7a: Download complete 12:17:21 4060ece20d7a: Pull complete 12:17:21 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 12:17:21 Status: Downloaded newer image for alpine:3.17 12:17:21 ---> 8650cd65339b 12:17:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:17:21 ---> Running in e9803b5101d9 12:17:21 Removing intermediate container e9803b5101d9 12:17:21 ---> 37a702caee18 12:17:21 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:17:21 ---> Running in 81ea52520418 12:17:21 Removing intermediate container 81ea52520418 12:17:21 ---> d0531b45d03a 12:17:21 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:17:21 ---> Running in a6dfef08d3c4 12:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:17:21 (1/2) Installing ca-certificates (20230506-r0) 12:17:21 (2/2) Installing dumb-init (1.2.5-r2) 12:17:21 Executing busybox-1.35.0-r29.trigger 12:17:21 Executing ca-certificates-20230506-r0.trigger 12:17:21 OK: 8 MiB in 17 packages 12:17:21 Removing intermediate container a6dfef08d3c4 12:17:21 ---> b34f3790536e 12:17:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:17:21 ---> dc8848683016 12:17:21 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:17:21 ---> a8d4f4b4362e 12:17:21 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:17:21 ---> 9523497cb2d9 12:17:21 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:17:21 ---> aaebf6012d54 12:17:21 Step 21/26 : EXPOSE 48095 12:17:21 ---> Running in 8043a889816e 12:17:21 Removing intermediate container 8043a889816e 12:17:21 ---> ca42c6e0ccc9 12:17:21 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:17:21 ---> Running in b85ffea5ae9b 12:17:21 Removing intermediate container b85ffea5ae9b 12:17:21 ---> e9dfdd51e7df 12:17:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:17:21 ---> Running in 96c4a7963bb5 12:17:21 Removing intermediate container 96c4a7963bb5 12:17:21 ---> ce529ab8c3c3 12:17:21 Step 24/26 : LABEL arch=arm64 12:17:21 ---> Running in 41c724947af6 12:17:21 Removing intermediate container 41c724947af6 12:17:21 ---> d4c98fda65ca 12:17:21 Step 25/26 : LABEL git_sha=db50b53be1661eea0823f816b060f52e4d8fb10b 12:17:21 ---> Running in 9dc9cb78e165 12:17:21 Removing intermediate container 9dc9cb78e165 12:17:21 ---> 379f1f4f1756 12:17:21 Step 26/26 : LABEL version=0.0.0 12:17:21 ---> Running in 972a79aa39da 12:17:21 Removing intermediate container 972a79aa39da 12:17:21 ---> 10b5789f555f 12:17:21 [Warning] One or more build-args [ARCH] were not consumed 12:17:21 Successfully built 10b5789f555f 12:17:21 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:22 12:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:23 arm64: Pulling from edgex-lftools-log-publisher 12:17:23 8998bd30e6a1: Pulling fs layer 12:17:23 04944245beec: Pulling fs layer 12:17:23 699f458cf7ca: Pulling fs layer 12:17:23 765212b225bb: Pulling fs layer 12:17:23 f23df028b6ca: Pulling fs layer 12:17:23 d65c8cfc05b1: Pulling fs layer 12:17:23 2437ff75d9bd: Pulling fs layer 12:17:23 765212b225bb: Waiting 12:17:23 d65c8cfc05b1: Waiting 12:17:23 f23df028b6ca: Waiting 12:17:23 2437ff75d9bd: Waiting 12:17:23 04944245beec: Verifying Checksum 12:17:23 04944245beec: Download complete 12:17:23 765212b225bb: Verifying Checksum 12:17:23 765212b225bb: Download complete 12:17:23 f23df028b6ca: Verifying Checksum 12:17:23 f23df028b6ca: Download complete 12:17:23 d65c8cfc05b1: Verifying Checksum 12:17:23 d65c8cfc05b1: Download complete 12:17:23 699f458cf7ca: Verifying Checksum 12:17:23 699f458cf7ca: Download complete 12:17:24 8998bd30e6a1: Verifying Checksum 12:17:24 8998bd30e6a1: Download complete 12:17:26 2437ff75d9bd: Verifying Checksum 12:17:26 2437ff75d9bd: Download complete 12:17:27 8998bd30e6a1: Pull complete 12:17:28 04944245beec: Pull complete 12:17:29 699f458cf7ca: Pull complete 12:17:29 765212b225bb: Pull complete 12:17:30 f23df028b6ca: Pull complete 12:17:30 d65c8cfc05b1: Pull complete 12:17:45 2437ff75d9bd: Pull complete 12:17:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:45 prd-ubuntu20.04-docker-arm64-4c-16g-5002 does not seem to be running inside a container 12:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:17:48 $ docker top 25c7cd3353e31751fea5de9a2e45190a67fc78a1bbf85064fba1515ed23f43f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:17:49 ---> job-cost.sh 12:17:49 lf-activate-venv: SKIPPING 12:17:49 INFO: No Stack... 12:17:49 INFO: Retrieving Pricing Info for: v3-standard-4 12:17:50 INFO: Archiving Costs [Pipeline] sh 12:17:51 + cut -d, -f6 12:17:51 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:17:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] 12:17:51 Resource [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] did not exist. Created. 12:17:51 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:17:51 /w/workspace/app-service-configurable/1@tmp/durable-01e88d74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:17:51 + echo total: 0.10999999940395355 [Pipeline] stash 12:17:52 Warning: overwriting stash ‘stack-cost’ 12:17:52 Stashed 1 file(s) [Pipeline] } 12:17:52 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-592-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:17:52 $ docker stop --time=1 25c7cd3353e31751fea5de9a2e45190a67fc78a1bbf85064fba1515ed23f43f5 12:17:53 $ docker rm -f --volumes 25c7cd3353e31751fea5de9a2e45190a67fc78a1bbf85064fba1515ed23f43f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:17:54 provisioning config files... 12:17:54 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-592@tmp/config7313219309597254784tmp [Pipeline] { [Pipeline] sh 12:17:55 + set +x 12:17:55 + + bash -s --curl 12:17:55 -s https://codecov.io/bash 12:17:55 12:17:55 _____ _ 12:17:55 / ____| | | 12:17:55 | | ___ __| | ___ ___ _____ __ 12:17:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:17:55 | |___| (_) | (_| | __/ (_| (_) \ V / 12:17:55 \_____\___/ \__,_|\___|\___\___/ \_/ 12:17:55 Bash-1.0.6 12:17:55 12:17:55 12:17:55 ==> git version 2.25.1 found 12:17:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:17:55 Release-Date: 2020-01-08 12:17:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:17:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:17:55 ==> Jenkins CI detected. 12:17:55 current dir:  /w/workspace/_app-service-configurable_PR-592 12:17:55 project root: . 12:17:55 --> token set from env 12:17:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:17:55 ==> Running gcov in . (disable via -X gcov) 12:17:55 ==> Python coveragepy not found 12:17:55 ==> Searching for coverage reports in: 12:17:55 + . 12:17:55 -> Found 1 reports 12:17:55 ==> Detecting git/mercurial file structure 12:17:55 ==> Reading reports 12:17:55 + ./coverage.out bytes=13 12:17:55 ==> Appending adjustments 12:17:55 https://docs.codecov.io/docs/fixing-reports 12:17:55 + Found adjustments 12:17:55 ==> Gzipping contents 12:17:55 4.0K /tmp/codecov.alghpH.gz 12:17:55 ==> Uploading reports 12:17:55 url: https://codecov.io 12:17:55 query: branch=PR-592&commit=db50b53be1661eea0823f816b060f52e4d8fb10b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=592&job=&cmd_args= 12:17:55 -> Pinging Codecov 12:17:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-592&commit=db50b53be1661eea0823f816b060f52e4d8fb10b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=592&job=&cmd_args= 12:17:55 -> Uploading to 12:17:55 https://storage.googleapis.com/codecov/v4/raw/2023-08-31/A97CA9966030D2A3747ED39772930CCE/db50b53be1661eea0823f816b060f52e4d8fb10b/79a118cf-dc82-49c0-9a28-a1e0f37b129e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T121755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ff86bf4f740902e57de422d540d73ca8995e1cf1280f32e4fac55cdb0e21ac1 12:17:55 % Total % Received % Xferd Average Speed Time Time Time Current 12:17:55 Dload Upload Total Spent Left Speed 12:17:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2177 --:--:-- --:--:-- --:--:-- 2177 12:17:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/db50b53be1661eea0823f816b060f52e4d8fb10b [Pipeline] } 12:17:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:17:57 + [ -d /w/workspace/_app-service-configurable_PR-592/archives ] 12:17:57 + ls -al /w/workspace/_app-service-configurable_PR-592/archives 12:17:57 total 16 12:17:57 drwxr-xr-x 3 root root 4096 Aug 31 12:08 . 12:17:57 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 12:08 .. 12:17:57 drwxr-xr-x 2 root root 4096 Aug 31 12:08 cost 12:17:57 -rw-r--r-- 1 root root 96 Aug 31 12:08 cost.csv 12:17:57 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-592/archives 12:17:57 + ls -al /w/workspace/_app-service-configurable_PR-592/archives 12:17:57 total 16 12:17:57 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 12:08 . 12:17:57 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 12:08 .. 12:17:57 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 12:08 cost 12:17:57 -rw-r--r-- 1 jenkins jenkins 96 Aug 31 12:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:17:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:17:58 ---> package-listing.sh 12:17:58 ++ tr '[:upper:]' '[:lower:]' 12:17:58 ++ facter osfamily 12:17:58 + OS_FAMILY=debian 12:17:58 + workspace=/w/workspace/_app-service-configurable_PR-592 12:17:58 + START_PACKAGES=/tmp/packages_start.txt 12:17:58 + END_PACKAGES=/tmp/packages_end.txt 12:17:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:17:58 + PACKAGES=/tmp/packages_start.txt 12:17:58 + '[' /w/workspace/_app-service-configurable_PR-592 ']' 12:17:58 + PACKAGES=/tmp/packages_end.txt 12:17:58 + case "${OS_FAMILY}" in 12:17:58 + dpkg -l 12:17:58 + grep '^ii' 12:17:58 + '[' -f /tmp/packages_start.txt ']' 12:17:58 + '[' -f /tmp/packages_end.txt ']' 12:17:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:17:58 + '[' /w/workspace/_app-service-configurable_PR-592 ']' 12:17:58 + mkdir -p /w/workspace/_app-service-configurable_PR-592/archives/ 12:17:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-592/archives/ [Pipeline] echo 12:17:58 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-592/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:17:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:00 prd-ubuntu20.04-docker-8c-8g-5001 does not seem to be running inside a container 12:18:00 $ 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-592/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-592 -v /w/workspace/_app-service-configurable_PR-592:/w/workspace/_app-service-configurable_PR-592:rw,z -v /w/workspace/_app-service-configurable_PR-592@tmp:/w/workspace/_app-service-configurable_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:18:00 $ docker top 87480e21a0eb20f9b95fe521097d098933000dd8e8e27b6fff720cae1680c5db -eo pid,comm [Pipeline] { [Pipeline] sh 12:18:00 + touch /tmp/pre-build-complete [Pipeline] sh 12:18:00 + mkdir -p /var/log/sysstat [Pipeline] sh 12:18:01 + ls /var/log/sa-host 12:18:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:18:01 provisioning config files... 12:18:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-592@tmp/config16524877318309479835tmp [Pipeline] { [Pipeline] echo 12:18:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:18:01 ---> create-netrc.sh [Pipeline] } 12:18:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:18:02 ---> python-tools-install.sh [Pipeline] echo 12:18:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:18:02 ---> sudo-logs.sh 12:18:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:18:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:18:03 ---> job-cost.sh 12:18:03 lf-activate-venv: SKIPPING 12:18:03 DEBUG: total: 0.2199999988079071 12:18:03 INFO: Retrieving Stack Cost... 12:18:03 INFO: Retrieving Pricing Info for: v3-standard-8 12:18:03 INFO: Archiving Costs [Pipeline] echo 12:18:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:18:04 ---> logs-deploy.sh 12:18:04 lf-activate-venv: SKIPPING 12:18:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-592/1 12:18:04 INFO: archiving workspace using pattern(s): 12:18:05 Archives upload complete. 12:18:05 INFO: archiving logs to Nexus