Started by user Jin Lin Guan Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/sample-service Obtained Jenkinsfile from eb869c661586b1b6b4d3a43b635254038c5246fa+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (58c3fa9b8099333c00e2f274e26e6a9ca74396cc) Loading library edgex-global-pipelines@experimental Attempting to resolve experimental 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-ssh12934362823356258571.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 7622d85de905ca5453c0752456ab8c8146a23a31 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-ssh9300053944640349865.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/experimental^{commit} # timeout=10 Resolved tag experimental revision 7622d85de905ca5453c0752456ab8c8146a23a31 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/sample-service/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11938900536380253175.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7622d85de905ca5453c0752456ab8c8146a23a31 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 7622d85de905ca5453c0752456ab8c8146a23a31 # timeout=10 Commit message: "multi-arch base image" > 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 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-ssh11872963125843755270.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/sample-service/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9380862407399612609.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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:sample-service] ========================================================= [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: sample-service-settings PROJECT: sample-service USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: sample-service DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-44707 in /w/workspace/gexfoundry_sample-service_PR-165 [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/sample-service.git > git init /w/workspace/gexfoundry_sample-service_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.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/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit eb869c661586b1b6b4d3a43b635254038c5246fa Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # 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 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:13:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:13:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:13:42 ========================================================= 11:13:42 EdgeX Global Pipelines Version Info 11:13:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:13:43 ------------------- 11:13:43 stable info: 11:13:43 ------------------- 11:13:43 Commited By: Ginny Guan ginny@iotechsys.com 11:13:43 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 11:13:43 Message: update stable to v1.0.274 11:13:44 ------------------- 11:13:44 experimental info: 11:13:44 ------------------- 11:13:44 Commited By: Ginny Guan ginny@iotechsys.com 11:13:44 Commit SHA: 7622d85de905ca5453c0752456ab8c8146a23a31 11:13:44 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:13:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo 11:13:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:45 provisioning config files... 11:13:47 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config1207455639018216397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:47 ---> ****-login.sh 11:13:47 nexus3.edgexfoundry.org:10001 11:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:48 Configure a credential helper to remove this warning. See 11:13:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:48 11:13:48 Login Succeeded 11:13:48 nexus3.edgexfoundry.org:10002 11:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:48 Configure a credential helper to remove this warning. See 11:13:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:48 11:13:48 Login Succeeded 11:13:48 nexus3.edgexfoundry.org:10003 11:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:48 Configure a credential helper to remove this warning. See 11:13:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:48 11:13:48 Login Succeeded 11:13:48 nexus3.edgexfoundry.org:10004 11:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:48 Configure a credential helper to remove this warning. See 11:13:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:48 11:13:48 Login Succeeded 11:13:48 ****.io 11:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:48 Configure a credential helper to remove this warning. See 11:13:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:48 11:13:48 Login Succeeded 11:13:48 ---> ****-login.sh ends [Pipeline] } 11:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:13:48 + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 11:13:49 -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh 11:13:49 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 11:13:49 ========================================================= 11:13:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:13:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:49 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 11:13:49 [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 11:13:49 [semverPrep] This is not a build commit. [Pipeline] sh 11:13:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:13:50 + grep -v github /etc/ssh/ssh_known_hosts 11:13:50 + [ -e /tmp/ssh_known_hosts ] 11:13:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:13:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:13:50 + sudo tee -a /etc/ssh/ssh_known_hosts 11:13:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:50 11:13:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:52 0.1.4: Pulling from edgex-devops/py-git-semver 11:13:52 b85a868b505f: Pulling fs layer 11:13:52 e2be974225ed: Pulling fs layer 11:13:52 339a4e72a1f5: Pulling fs layer 11:13:52 988bab9f4d93: Pulling fs layer 11:13:52 1469e6f7b9e6: Pulling fs layer 11:13:52 eaf3925da568: Pulling fs layer 11:13:52 bab4dde63d76: Pulling fs layer 11:13:52 bde34c3a00c8: Pulling fs layer 11:13:52 b352a97aabf1: Pulling fs layer 11:13:52 4872d77fe225: Pulling fs layer 11:13:52 5851b861e8e6: Pulling fs layer 11:13:52 988bab9f4d93: Waiting 11:13:52 1469e6f7b9e6: Waiting 11:13:52 eaf3925da568: Waiting 11:13:52 bab4dde63d76: Waiting 11:13:52 bde34c3a00c8: Waiting 11:13:52 b352a97aabf1: Waiting 11:13:52 4872d77fe225: Waiting 11:13:52 5851b861e8e6: Waiting 11:13:52 e2be974225ed: Verifying Checksum 11:13:52 e2be974225ed: Download complete 11:13:52 988bab9f4d93: Verifying Checksum 11:13:52 988bab9f4d93: Download complete 11:13:52 1469e6f7b9e6: Verifying Checksum 11:13:52 1469e6f7b9e6: Download complete 11:13:52 eaf3925da568: Verifying Checksum 11:13:52 eaf3925da568: Download complete 11:13:52 339a4e72a1f5: Verifying Checksum 11:13:52 339a4e72a1f5: Download complete 11:13:52 bde34c3a00c8: Verifying Checksum 11:13:52 bde34c3a00c8: Download complete 11:13:52 b352a97aabf1: Verifying Checksum 11:13:52 b352a97aabf1: Download complete 11:13:52 4872d77fe225: Verifying Checksum 11:13:52 4872d77fe225: Download complete 11:13:52 5851b861e8e6: Verifying Checksum 11:13:52 5851b861e8e6: Download complete 11:13:52 b85a868b505f: Verifying Checksum 11:13:52 b85a868b505f: Download complete 11:13:52 bab4dde63d76: Verifying Checksum 11:13:52 bab4dde63d76: Download complete 11:13:55 b85a868b505f: Pull complete 11:13:55 e2be974225ed: Pull complete 11:13:55 339a4e72a1f5: Pull complete 11:13:55 988bab9f4d93: Pull complete 11:13:55 1469e6f7b9e6: Pull complete 11:13:55 eaf3925da568: Pull complete 11:13:57 bab4dde63d76: Pull complete 11:13:57 bde34c3a00c8: Pull complete 11:13:57 b352a97aabf1: Pull complete 11:13:57 4872d77fe225: Pull complete 11:13:57 5851b861e8e6: Pull complete 11:13:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:57 prd-ubuntu20.04-docker-8c-8g-44707 does not seem to be running inside a container 11:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:14:05 $ docker top 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 -eo pid,comm 11:14:05 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). 11:14:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:14:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:14:05 [ssh-agent] Looking for ssh-agent implementation... 11:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:14:05 $ docker exec 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 ssh-agent 11:14:05 SSH_AUTH_SOCK=/tmp/ssh-ucHS9VxTehzN/agent.14 11:14:05 SSH_AGENT_PID=20 11:14:05 Running ssh-add (command line suppressed) 11:14:06 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12701328465219729485.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12701328465219729485.key) 11:14:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:14:06 + git tag --points-at HEAD [Pipeline] } 11:14:06 $ docker exec --env ******** --env ******** 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 ssh-agent -k 11:14:06 unset SSH_AUTH_SOCK; 11:14:06 unset SSH_AGENT_PID; 11:14:06 echo Agent pid 20 killed; 11:14:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:14:07 [ssh-agent] Looking for ssh-agent implementation... 11:14:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:14:07 $ docker exec 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 ssh-agent 11:14:07 SSH_AUTH_SOCK=/tmp/ssh-IuN1dsBn0Gci/agent.72 11:14:07 SSH_AGENT_PID=78 11:14:07 Running ssh-add (command line suppressed) 11:14:07 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_6483451476965084744.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_6483451476965084744.key) 11:14:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:14:07 + git semver init 11:14:07 2025-04-10 11:14:07,935 [run_init] DEBUG init version:0.0.0 force:False 11:14:07 2025-04-10 11:14:07,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 11:14:07 2025-04-10 11:14:07,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 11:14:07 2025-04-10 11:14:07,938 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/sample-service.git', '/w/workspace/gexfoundry_sample-service_PR-165/.semver'], cwd=/w/workspace/gexfoundry_sample-service_PR-165, universal_newlines=False, shell=None, istream=None) 11:14:09 2025-04-10 11:14:08,687 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 11:14:09 2025-04-10 11:14:08,687 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 11:14:09 2025-04-10 11:14:08,687 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 11:14:09 2025-04-10 11:14:08,692 [execute] INFO git cat-file --batch-check 11:14:09 2025-04-10 11:14:08,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 11:14:09 2025-04-10 11:14:08,699 [execute] INFO git cat-file --batch 11:14:09 2025-04-10 11:14:08,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 11:14:09 2025-04-10 11:14:08,704 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 11:14:09 0.0.0 [Pipeline] } 11:14:09 $ docker exec --env ******** --env ******** 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 ssh-agent -k 11:14:09 unset SSH_AUTH_SOCK; 11:14:09 unset SSH_AGENT_PID; 11:14:09 echo Agent pid 78 killed; 11:14:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:14:09 + git semver [Pipeline] } 11:14:10 $ docker stop --time=1 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 11:14:11 $ docker rm -f --volumes 07b9befda98fc6f98a23fbfa66a4b68133bce5ca601ddb1cef2d84caa27d5853 [Pipeline] // withDockerContainer [Pipeline] sh 11:14:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:14:12 Stashed 1 file(s) [Pipeline] echo 11:14:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] node 11:14:27 Still waiting to schedule task 11:14:27 All nodes of label ‘centos7-docker-4c-2g’ are offline 11:15:28 Running on prd-centos7-docker-4c-2g-44715 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] ws 11:15:28 Running in /w/workspace/sample-service/33 [Pipeline] { [Pipeline] checkout 11:15:28 Selected Git installation does not exist. Using Default 11:15:28 The recommended git tool is: NONE 11:15:31 using credential edgex-jenkins-ssh 11:15:31 Cloning the remote Git repository 11:15:31 Cloning repository git@github.com:edgexfoundry/sample-service.git 11:15:31 > git init /w/workspace/sample-service/33 # timeout=10 11:15:31 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git 11:15:31 > git --version # timeout=10 11:15:31 > git --version # 'git version 2.36.1' 11:15:31 using GIT_SSH to set credentials SSH Credentials for GitHub 11:15:31 [INFO] Currently running in a labeled security context 11:15:31 [INFO] Currently SELinux is 'enforcing' on the host 11:15:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/sample-service/33@tmp/jenkins-gitclient-ssh4250996446614528448.key 11:15:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:15:32 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 11:15:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:15:34 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit eb869c661586b1b6b4d3a43b635254038c5246fa 11:15:33 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 11:15:33 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git 11:15:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:15:33 [INFO] Currently running in a labeled security context 11:15:33 [INFO] Currently SELinux is 'enforcing' on the host 11:15:33 > /usr/bin/chcon --type=ssh_home_t /w/workspace/sample-service/33@tmp/jenkins-gitclient-ssh13924854263747554681.key 11:15:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:15:34 > git config core.sparsecheckout # timeout=10 11:15:34 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 11:15:34 Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa 11:15:34 Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) 11:15:34 > git remote # timeout=10 11:15:34 > git config --get remote.origin.url # timeout=10 11:15:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:15:34 [INFO] Currently running in a labeled security context 11:15:34 [INFO] Currently SELinux is 'enforcing' on the host 11:15:34 > /usr/bin/chcon --type=ssh_home_t /w/workspace/sample-service/33@tmp/jenkins-gitclient-ssh5594622271279334709.key 11:15:34 > git merge 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 11:15:34 > git rev-parse HEAD^{commit} # timeout=10 11:15:34 > git config core.sparsecheckout # timeout=10 11:15:34 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 11:15:37 Commit message: "ci: test multi-arch pipeline" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:38 provisioning config files... 11:15:38 copy managed file [sample-service-settings] to file:/w/workspace/sample-service/33@tmp/config5326788273611118823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:41 ---> ****-login.sh 11:15:41 nexus3.edgexfoundry.org:10001 11:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:41 Configure a credential helper to remove this warning. See 11:15:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:41 11:15:41 Login Succeeded 11:15:41 nexus3.edgexfoundry.org:10002 11:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:41 Configure a credential helper to remove this warning. See 11:15:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:41 11:15:41 Login Succeeded 11:15:41 nexus3.edgexfoundry.org:10003 11:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:41 Configure a credential helper to remove this warning. See 11:15:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:41 11:15:41 Login Succeeded 11:15:41 nexus3.edgexfoundry.org:10004 11:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:41 Configure a credential helper to remove this warning. See 11:15:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:41 11:15:41 Login Succeeded 11:15:41 ****.io 11:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:42 Configure a credential helper to remove this warning. See 11:15:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:42 11:15:42 Login Succeeded 11:15:42 ---> ****-login.sh ends [Pipeline] } 11:15:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 11:15:42 + docker buildx ls 11:15:42 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 11:15:42 default * docker 11:15:42 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 11:15:43 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 11:15:43 edgex-builder [Pipeline] sh 11:15:43 + docker buildx inspect --bootstrap 11:15:43 #1 [internal] booting buildkit 11:15:43 #1 pulling image moby/buildkit:buildx-stable-1 11:15:46 #1 pulling image moby/buildkit:buildx-stable-1 2.6s done 11:15:46 #1 creating container buildx_buildkit_edgex-builder0 11:15:47 #1 creating container buildx_buildkit_edgex-builder0 1.6s done 11:15:47 #1 DONE 4.2s 11:15:47 Name: edgex-builder 11:15:47 Driver: docker-container 11:15:47 11:15:47 Nodes: 11:15:47 Name: edgex-builder0 11:15:47 Endpoint: unix:///var/run/docker.sock 11:15:47 Status: running 11:15:47 Buildkit: v0.20.2 11:15:47 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 11:15:48 + docker buildx ls 11:15:48 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 11:15:48 edgex-builder * docker-container 11:15:48 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 11:15:48 default docker 11:15:48 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 11:15:48 + docker buildx build --platform linux/amd64,linux/arm64 -f Dockerfile --build-arg MAKE=make build -t nexus3.edgexfoundry.org:10004/sample-service:latest --push . 11:15:48 ERROR: "docker buildx build" requires exactly 1 argument. 11:15:48 See 'docker buildx build --help'. 11:15:48 11:15:48 Usage: docker buildx build [OPTIONS] PATH | URL | - 11:15:48 11:15:48 Start a build [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:15:49 11:15:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:15:49 latest: Pulling from edgex-lftools-log-publisher 11:15:49 5eb5b503b376: Pulling fs layer 11:15:49 5c69ac0246d0: Pulling fs layer 11:15:49 ec43610c2a17: Pulling fs layer 11:15:49 3a2ae6a8a46f: Pulling fs layer 11:15:49 33b1e0a273af: Pulling fs layer 11:15:49 5d3b04190fa2: Pulling fs layer 11:15:49 2f39f015ded8: Pulling fs layer 11:15:49 3a2ae6a8a46f: Waiting 11:15:49 33b1e0a273af: Waiting 11:15:49 5d3b04190fa2: Waiting 11:15:49 2f39f015ded8: Waiting 11:15:49 5c69ac0246d0: Verifying Checksum 11:15:49 5c69ac0246d0: Download complete 11:15:49 3a2ae6a8a46f: Verifying Checksum 11:15:49 3a2ae6a8a46f: Download complete 11:15:49 33b1e0a273af: Verifying Checksum 11:15:49 33b1e0a273af: Download complete 11:15:49 ec43610c2a17: Verifying Checksum 11:15:49 ec43610c2a17: Download complete 11:15:49 5d3b04190fa2: Verifying Checksum 11:15:49 5d3b04190fa2: Download complete 11:15:49 5eb5b503b376: Verifying Checksum 11:15:49 5eb5b503b376: Download complete 11:15:50 2f39f015ded8: Verifying Checksum 11:15:50 2f39f015ded8: Download complete 11:15:50 5eb5b503b376: Pull complete 11:15:51 5c69ac0246d0: Pull complete 11:15:51 ec43610c2a17: Pull complete 11:15:51 3a2ae6a8a46f: Pull complete 11:15:51 33b1e0a273af: Pull complete 11:15:51 5d3b04190fa2: Pull complete 11:15:56 2f39f015ded8: Pull complete 11:15:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:15:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:56 prd-centos7-docker-4c-2g-44715 does not seem to be running inside a container 11:15:56 $ 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/sample-service/33 -v /w/workspace/sample-service/33:/w/workspace/sample-service/33:rw,z -v /w/workspace/sample-service/33@tmp:/w/workspace/sample-service/33@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:15:59 $ docker top 15b298563e391f38523952d048609e7d2a6d5647fed72956a9c70224ff104c99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:00 ---> job-cost.sh 11:16:00 lf-activate-venv: SKIPPING 11:16:00 INFO: No Stack... 11:16:00 INFO: Retrieving Pricing Info for: v3-standard-2 11:16:00 INFO: Archiving Costs [Pipeline] sh 11:16:01 + cat /w/workspace/sample-service/33/archives/cost.csv 11:16:01 + cut -d, -f6 [Pipeline] lock 11:16:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-33-stack-cost] 11:16:01 Resource [jenkins-edgexfoundry-sample-service-PR-165-33-stack-cost] did not exist. Created. 11:16:01 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:16:01 + echo total: 0.05999999865889549 [Pipeline] stash 11:16:01 Stashed 1 file(s) [Pipeline] } 11:16:01 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-33-stack-cost] [Pipeline] // lock [Pipeline] } 11:16:01 $ docker stop --time=1 15b298563e391f38523952d048609e7d2a6d5647fed72956a9c70224ff104c99 11:16:03 $ docker rm -f --volumes 15b298563e391f38523952d048609e7d2a6d5647fed72956a9c70224ff104c99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:16:03 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:16:04 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [Pipeline] libraryResource [Pipeline] sh 11:16:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:16:05 ---> package-listing.sh 11:16:05 ++ facter osfamily 11:16:05 ++ tr '[:upper:]' '[:lower:]' 11:16:05 + OS_FAMILY=debian 11:16:05 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 11:16:05 + START_PACKAGES=/tmp/packages_start.txt 11:16:05 + END_PACKAGES=/tmp/packages_end.txt 11:16:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:05 + PACKAGES=/tmp/packages_start.txt 11:16:05 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 11:16:05 + PACKAGES=/tmp/packages_end.txt 11:16:05 + case "${OS_FAMILY}" in 11:16:05 + dpkg -l 11:16:05 + grep '^ii' 11:16:05 + '[' -f /tmp/packages_start.txt ']' 11:16:05 + '[' -f /tmp/packages_end.txt ']' 11:16:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:05 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 11:16:05 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 11:16:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 11:16:05 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/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:16:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:06 11:16:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:07 latest: Pulling from edgex-lftools-log-publisher 11:16:07 5eb5b503b376: Pulling fs layer 11:16:07 5c69ac0246d0: Pulling fs layer 11:16:07 ec43610c2a17: Pulling fs layer 11:16:07 3a2ae6a8a46f: Pulling fs layer 11:16:07 33b1e0a273af: Pulling fs layer 11:16:07 5d3b04190fa2: Pulling fs layer 11:16:07 2f39f015ded8: Pulling fs layer 11:16:07 33b1e0a273af: Waiting 11:16:07 5d3b04190fa2: Waiting 11:16:07 2f39f015ded8: Waiting 11:16:07 3a2ae6a8a46f: Waiting 11:16:07 5c69ac0246d0: Verifying Checksum 11:16:07 5c69ac0246d0: Download complete 11:16:07 3a2ae6a8a46f: Verifying Checksum 11:16:07 3a2ae6a8a46f: Download complete 11:16:07 33b1e0a273af: Verifying Checksum 11:16:07 33b1e0a273af: Download complete 11:16:07 ec43610c2a17: Verifying Checksum 11:16:07 ec43610c2a17: Download complete 11:16:07 5d3b04190fa2: Verifying Checksum 11:16:07 5d3b04190fa2: Download complete 11:16:07 5eb5b503b376: Verifying Checksum 11:16:07 5eb5b503b376: Download complete 11:16:08 2f39f015ded8: Download complete 11:16:08 5eb5b503b376: Pull complete 11:16:08 5c69ac0246d0: Pull complete 11:16:08 ec43610c2a17: Pull complete 11:16:08 3a2ae6a8a46f: Pull complete 11:16:09 33b1e0a273af: Pull complete 11:16:09 5d3b04190fa2: Pull complete 11:16:13 2f39f015ded8: Pull complete 11:16:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:13 prd-ubuntu20.04-docker-8c-8g-44707 does not seem to be running inside a container 11:16:13 $ 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/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:16:15 $ docker top e6e18ef9e3d47792e2dd31f3e0395efd1aea1f8c8a6dd02c741ec6680fabcd17 -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:16 + touch /tmp/pre-build-complete [Pipeline] sh 11:16:16 + mkdir -p /var/log/sysstat [Pipeline] sh 11:16:16 + ls /var/log/sa-host 11:16:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:16 provisioning config files... 11:16:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config9463737140310996810tmp [Pipeline] { [Pipeline] echo 11:16:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:16:17 ---> create-netrc.sh [Pipeline] } 11:16:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:16:17 ---> python-tools-install.sh [Pipeline] echo 11:16:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:16:17 ---> sudo-logs.sh 11:16:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:16:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:16:18 ---> job-cost.sh 11:16:18 lf-activate-venv: SKIPPING 11:16:18 DEBUG: total: 0.05999999865889549 11:16:18 INFO: Retrieving Stack Cost... 11:16:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:16:18 INFO: Archiving Costs [Pipeline] echo 11:16:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:16:18 ---> logs-deploy.sh 11:16:18 lf-activate-venv: SKIPPING 11:16:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/33 11:16:18 INFO: archiving workspace using pattern(s): 11:16:19 Archives upload complete. 11:16:19 INFO: archiving logs to Nexus