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-ssh11130945842173390706.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 440408d7503b335ae3c1e2169438273d63ce5539 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-ssh2826911619795529313.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 440408d7503b335ae3c1e2169438273d63ce5539 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-ssh4098918940791850197.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 440408d7503b335ae3c1e2169438273d63ce5539 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 440408d7503b335ae3c1e2169438273d63ce5539 # timeout=10 Commit message: "test sample-device" > 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-ssh12066764087976398470.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-ssh11092324458223317989.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-44772 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 > 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 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit eb869c661586b1b6b4d3a43b635254038c5246fa Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > 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 10:18:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:18:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:18:07 ========================================================= 10:18:07 EdgeX Global Pipelines Version Info 10:18:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:18:08 ------------------- 10:18:08 stable info: 10:18:08 ------------------- 10:18:08 Commited By: Ginny Guan ginny@iotechsys.com 10:18:08 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 10:18:08 Message: update stable to v1.0.274 10:18:08 ------------------- 10:18:08 experimental info: 10:18:08 ------------------- 10:18:08 Commited By: Ginny Guan ginny@iotechsys.com 10:18:08 Commit SHA: 440408d7503b335ae3c1e2169438273d63ce5539 10:18:08 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:18:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo 10:18:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:09 provisioning config files... 10:18:09 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config18358378560384346024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:10 ---> ****-login.sh 10:18:10 nexus3.edgexfoundry.org:10001 10:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:10 Configure a credential helper to remove this warning. See 10:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:10 10:18:10 Login Succeeded 10:18:10 nexus3.edgexfoundry.org:10002 10:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:10 Configure a credential helper to remove this warning. See 10:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:10 10:18:10 Login Succeeded 10:18:10 nexus3.edgexfoundry.org:10003 10:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:10 Configure a credential helper to remove this warning. See 10:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:10 10:18:10 Login Succeeded 10:18:10 nexus3.edgexfoundry.org:10004 10:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:10 Configure a credential helper to remove this warning. See 10:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:10 10:18:10 Login Succeeded 10:18:10 ****.io 10:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:11 Configure a credential helper to remove this warning. See 10:18:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:11 10:18:11 Login Succeeded 10:18:11 ---> ****-login.sh ends [Pipeline] } 10:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:18:11 + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 10:18:12 -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh 10:18:12 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 10:18:12 ========================================================= 10:18:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:18:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:12 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 10:18:12 [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 10:18:12 [semverPrep] This is not a build commit. [Pipeline] sh 10:18:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:18:13 + grep -v github /etc/ssh/ssh_known_hosts 10:18:13 + [ -e /tmp/ssh_known_hosts ] 10:18:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:18:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:18:13 + sudo tee -a /etc/ssh/ssh_known_hosts 10:18:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:13 10:18:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:14 0.1.4: Pulling from edgex-devops/py-git-semver 10:18:14 b85a868b505f: Pulling fs layer 10:18:14 e2be974225ed: Pulling fs layer 10:18:14 339a4e72a1f5: Pulling fs layer 10:18:14 988bab9f4d93: Pulling fs layer 10:18:14 1469e6f7b9e6: Pulling fs layer 10:18:14 eaf3925da568: Pulling fs layer 10:18:14 bab4dde63d76: Pulling fs layer 10:18:14 bde34c3a00c8: Pulling fs layer 10:18:14 b352a97aabf1: Pulling fs layer 10:18:14 4872d77fe225: Pulling fs layer 10:18:14 5851b861e8e6: Pulling fs layer 10:18:14 bde34c3a00c8: Waiting 10:18:14 bab4dde63d76: Waiting 10:18:14 988bab9f4d93: Waiting 10:18:14 eaf3925da568: Waiting 10:18:14 b352a97aabf1: Waiting 10:18:14 5851b861e8e6: Waiting 10:18:14 4872d77fe225: Waiting 10:18:14 e2be974225ed: Verifying Checksum 10:18:14 e2be974225ed: Download complete 10:18:14 988bab9f4d93: Verifying Checksum 10:18:14 988bab9f4d93: Download complete 10:18:14 339a4e72a1f5: Verifying Checksum 10:18:14 339a4e72a1f5: Download complete 10:18:14 1469e6f7b9e6: Verifying Checksum 10:18:14 1469e6f7b9e6: Download complete 10:18:14 eaf3925da568: Verifying Checksum 10:18:14 eaf3925da568: Download complete 10:18:14 bde34c3a00c8: Verifying Checksum 10:18:14 bde34c3a00c8: Download complete 10:18:14 b352a97aabf1: Download complete 10:18:14 4872d77fe225: Verifying Checksum 10:18:14 4872d77fe225: Download complete 10:18:14 5851b861e8e6: Verifying Checksum 10:18:14 5851b861e8e6: Download complete 10:18:14 b85a868b505f: Verifying Checksum 10:18:14 b85a868b505f: Download complete 10:18:14 bab4dde63d76: Verifying Checksum 10:18:14 bab4dde63d76: Download complete 10:18:15 b85a868b505f: Pull complete 10:18:15 e2be974225ed: Pull complete 10:18:16 339a4e72a1f5: Pull complete 10:18:16 988bab9f4d93: Pull complete 10:18:16 1469e6f7b9e6: Pull complete 10:18:16 eaf3925da568: Pull complete 10:18:18 bab4dde63d76: Pull complete 10:18:18 bde34c3a00c8: Pull complete 10:18:18 b352a97aabf1: Pull complete 10:18:18 4872d77fe225: Pull complete 10:18:18 5851b861e8e6: Pull complete 10:18:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:18:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:19 prd-ubuntu20.04-docker-8c-8g-44772 does not seem to be running inside a container 10:18:19 $ 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 10:18:22 $ docker top e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 -eo pid,comm 10:18:22 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). 10:18:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:22 [ssh-agent] Looking for ssh-agent implementation... 10:18:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:23 $ docker exec e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent 10:18:23 SSH_AUTH_SOCK=/tmp/ssh-pybkvqNW8oHX/agent.33 10:18:23 SSH_AGENT_PID=39 10:18:23 Running ssh-add (command line suppressed) 10:18:23 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12351042618055701685.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12351042618055701685.key) 10:18:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:23 + git tag --points-at HEAD [Pipeline] } 10:18:23 $ docker exec --env ******** --env ******** e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent -k 10:18:23 unset SSH_AUTH_SOCK; 10:18:23 unset SSH_AGENT_PID; 10:18:23 echo Agent pid 39 killed; 10:18:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:18:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:23 [ssh-agent] Looking for ssh-agent implementation... 10:18:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:23 $ docker exec e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent 10:18:24 SSH_AUTH_SOCK=/tmp/ssh-eQGjHFjkoBjv/agent.72 10:18:24 SSH_AGENT_PID=78 10:18:24 Running ssh-add (command line suppressed) 10:18:24 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_3683225826212640058.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_3683225826212640058.key) 10:18:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:24 + git semver init 10:18:24 2025-04-11 10:18:24,640 [run_init] DEBUG init version:0.0.0 force:False 10:18:24 2025-04-11 10:18:24,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 10:18:24 2025-04-11 10:18:24,641 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 10:18:24 2025-04-11 10:18:24,641 [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) 10:18:25 2025-04-11 10:18:25,295 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 10:18:25 2025-04-11 10:18:25,296 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 10:18:25 2025-04-11 10:18:25,296 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 10:18:25 2025-04-11 10:18:25,300 [execute] INFO git cat-file --batch-check 10:18:25 2025-04-11 10:18:25,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 10:18:25 2025-04-11 10:18:25,306 [execute] INFO git cat-file --batch 10:18:25 2025-04-11 10:18:25,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 10:18:25 2025-04-11 10:18:25,319 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 10:18:25 0.0.0 [Pipeline] } 10:18:25 $ docker exec --env ******** --env ******** e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent -k 10:18:25 unset SSH_AUTH_SOCK; 10:18:25 unset SSH_AGENT_PID; 10:18:25 echo Agent pid 78 killed; 10:18:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:25 + git semver [Pipeline] } 10:18:26 $ docker stop --time=1 e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 10:18:27 $ docker rm -f --volumes e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:18:28 Stashed 1 file(s) [Pipeline] echo 10:18:28 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:18:29 + ls -al . 10:18:29 total 152 10:18:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 10:18 . 10:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:18 .. 10:18:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 10:18 .git 10:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 .github 10:18:29 -rw-rw-r-- 1 jenkins jenkins 46 Apr 11 10:18 .gitignore 10:18:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 10:18 .semver 10:18:29 -rw-rw-r-- 1 jenkins jenkins 4832 Apr 11 10:18 Attribution.txt 10:18:29 -rw-rw-r-- 1 jenkins jenkins 34862 Apr 11 10:18 CHANGELOG.md 10:18:29 -rw-rw-r-- 1 jenkins jenkins 1434 Apr 11 10:18 Dockerfile 10:18:29 -rw-rw-r-- 1 jenkins jenkins 706 Apr 11 10:18 Jenkinsfile 10:18:29 -rw-rw-r-- 1 jenkins jenkins 729 Apr 11 10:18 Jenkinsfile-sandbox 10:18:29 -rw-rw-r-- 1 jenkins jenkins 3586 Apr 11 10:18 Jenkinsfile.edgexSemver 10:18:29 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 10:18 LICENSE 10:18:29 -rw-rw-r-- 1 jenkins jenkins 1308 Apr 11 10:18 Makefile 10:18:29 -rw-rw-r-- 1 jenkins jenkins 3063 Apr 11 10:18 README.md 10:18:29 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 10:18 VERSION 10:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 api 10:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 bin 10:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 cmd 10:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 driver 10:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 example 10:18:29 -rw-rw-r-- 1 jenkins jenkins 1955 Apr 11 10:18 go.mod 10:18:29 -rw-rw-r-- 1 jenkins jenkins 13083 Apr 11 10:18 go.sum 10:18:29 -rw-rw-r-- 1 jenkins jenkins 225 Apr 11 10:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:29 + docker build -t sample-service -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa --label build_arch=amd64 --label version=0.0.0 . 10:18:29 Sending build context to Docker daemon 2.703MB 10:18:29 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 10:18:29 Step 2/23 : FROM ${BASE} AS builder 10:18:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:18:29 0a9a5dfd008f: Pulling fs layer 10:18:29 dbfa0bcfca99: Pulling fs layer 10:18:29 70eabb1d9476: Pulling fs layer 10:18:29 957bedc73fa3: Pulling fs layer 10:18:29 4f4fb700ef54: Pulling fs layer 10:18:29 f40432e63723: Pulling fs layer 10:18:29 90b4343acab7: Pulling fs layer 10:18:29 4f4fb700ef54: Waiting 10:18:29 f40432e63723: Waiting 10:18:29 9f67ea4ac784: Pulling fs layer 10:18:29 9228b9a606be: Pulling fs layer 10:18:29 90b4343acab7: Waiting 10:18:29 9f67ea4ac784: Waiting 10:18:29 dbfa0bcfca99: Verifying Checksum 10:18:29 dbfa0bcfca99: Download complete 10:18:29 957bedc73fa3: Download complete 10:18:29 4f4fb700ef54: Verifying Checksum 10:18:29 4f4fb700ef54: Download complete 10:18:29 0a9a5dfd008f: Verifying Checksum 10:18:29 0a9a5dfd008f: Download complete 10:18:29 f40432e63723: Verifying Checksum 10:18:29 f40432e63723: Download complete 10:18:29 90b4343acab7: Verifying Checksum 10:18:29 90b4343acab7: Download complete 10:18:29 0a9a5dfd008f: Pull complete 10:18:29 9228b9a606be: Verifying Checksum 10:18:29 9228b9a606be: Download complete 10:18:29 dbfa0bcfca99: Pull complete 10:18:29 70eabb1d9476: Download complete 10:18:30 9f67ea4ac784: Verifying Checksum 10:18:30 9f67ea4ac784: Download complete 10:18:33 70eabb1d9476: Pull complete 10:18:33 957bedc73fa3: Pull complete 10:18:33 4f4fb700ef54: Pull complete 10:18:34 f40432e63723: Pull complete 10:18:34 90b4343acab7: Pull complete 10:18:36 9f67ea4ac784: Pull complete 10:18:36 9228b9a606be: Pull complete 10:18:37 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 10:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:18:37 ---> 69404ca5bff2 10:18:37 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:18:43 ---> Running in d66c844c1f37 10:18:43 Removing intermediate container d66c844c1f37 10:18:43 ---> 42a0fe2d86ca 10:18:43 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 10:18:43 ---> Running in 1a68d9c23f51 10:18:43 Removing intermediate container 1a68d9c23f51 10:18:43 ---> ffb784437c88 10:18:43 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:18:43 ---> Running in 0c0510d63901 10:18:43 Removing intermediate container 0c0510d63901 10:18:43 ---> bbb3a3a6b26e 10:18:43 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:43 ---> Running in a5b83c8ca084 10:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:18:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:18:44 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:18:44 (2/4) Installing libedit (20240517.3.1-r0) 10:18:44 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:18:44 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:18:44 Executing busybox-1.36.1-r29.trigger 10:18:44 OK: 252 MiB in 62 packages 10:18:45 Removing intermediate container a5b83c8ca084 10:18:45 ---> c2a74b803ffe 10:18:45 Step 7/23 : WORKDIR /sample-service 10:18:45 ---> Running in 0e4306a699bb 10:18:45 Removing intermediate container 0e4306a699bb 10:18:45 ---> 36a286725fc9 10:18:45 Step 8/23 : COPY go.mod vendor* ./ 10:18:45 ---> d22b359cb154 10:18:45 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:45 ---> Running in 8560d22b6281 10:18:55 Removing intermediate container 8560d22b6281 10:18:55 ---> 0c2607ac0cc4 10:18:55 Step 10/23 : COPY . . 10:18:55 ---> c4f288079ba0 10:18:55 Step 11/23 : ARG MAKE='make build' 10:18:55 ---> Running in 7779ff8471d9 10:18:55 Removing intermediate container 7779ff8471d9 10:18:55 ---> 86a2d3075bdc 10:18:55 Step 12/23 : RUN $MAKE 10:18:55 ---> Running in 671769906b07 10:18:55 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 10:19:07 Removing intermediate container 671769906b07 10:19:07 ---> c1d9082277a3 10:19:07 Step 13/23 : FROM alpine:3.18 10:19:07 3.18: Pulling from library/alpine 10:19:07 44cf07d57ee4: Pulling fs layer 10:19:08 44cf07d57ee4: Download complete 10:19:08 44cf07d57ee4: Pull complete 10:19:08 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 10:19:08 Status: Downloaded newer image for alpine:3.18 10:19:08 ---> 802c91d52981 10:19:08 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:19:08 ---> Running in 7f7672c16229 10:19:08 Removing intermediate container 7f7672c16229 10:19:08 ---> dc030ebbb888 10:19:08 Step 15/23 : ENV APP_PORT=49999 10:19:08 ---> Running in 00b24616a21c 10:19:08 Removing intermediate container 00b24616a21c 10:19:08 ---> e5af8c62c2d2 10:19:08 Step 16/23 : EXPOSE $APP_PORT 10:19:08 ---> Running in 91ab20801bbb 10:19:08 Removing intermediate container 91ab20801bbb 10:19:08 ---> 4cd000af23fd 10:19:08 Step 17/23 : COPY --from=builder /sample-service/cmd / 10:19:09 ---> 82c068477de3 10:19:09 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 10:19:09 ---> b18fbbbaafd6 10:19:09 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 10:19:09 ---> 26eb8db9dfb3 10:19:09 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 10:19:09 ---> Running in 0937fd3afda1 10:19:09 Removing intermediate container 0937fd3afda1 10:19:09 ---> 712d36b7d501 10:19:09 Step 21/23 : LABEL build_arch=amd64 10:19:09 ---> Running in f9838849d6cf 10:19:09 Removing intermediate container f9838849d6cf 10:19:09 ---> 950ef7c18f2b 10:19:09 Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa 10:19:09 ---> Running in e5e895cf1249 10:19:09 Removing intermediate container e5e895cf1249 10:19:09 ---> d7c6e4c11c8c 10:19:09 Step 23/23 : LABEL version=0.0.0 10:19:09 ---> Running in db3e721ce0e0 10:19:09 Removing intermediate container db3e721ce0e0 10:19:09 ---> b56231854e7f 10:19:09 [Warning] One or more build-args [ARCH] were not consumed 10:19:09 Successfully built b56231854e7f 10:19:09 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:09 provisioning config files... 10:19:09 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15717071224859820331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:10 ---> ****-login.sh 10:19:10 nexus3.edgexfoundry.org:10001 10:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:10 Configure a credential helper to remove this warning. See 10:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:10 10:19:10 Login Succeeded 10:19:10 nexus3.edgexfoundry.org:10002 10:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:10 Configure a credential helper to remove this warning. See 10:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:10 10:19:10 Login Succeeded 10:19:10 nexus3.edgexfoundry.org:10003 10:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:10 Configure a credential helper to remove this warning. See 10:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:10 10:19:10 Login Succeeded 10:19:10 nexus3.edgexfoundry.org:10004 10:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:10 Configure a credential helper to remove this warning. See 10:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:10 10:19:10 Login Succeeded 10:19:10 ****.io 10:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:10 Configure a credential helper to remove this warning. See 10:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:10 10:19:10 Login Succeeded 10:19:10 ---> ****-login.sh ends [Pipeline] } 10:19:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:19:10 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 10:19:10 latest 10:19:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:11 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:11 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 10:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:19:11 d108758c4628: Preparing 10:19:11 fe7fed9a8ed5: Preparing 10:19:11 ea71c56e4162: Preparing 10:19:11 f44f286046d9: Preparing 10:19:11 f44f286046d9: Layer already exists 10:19:11 d108758c4628: Pushed 10:19:11 fe7fed9a8ed5: Pushed 10:19:13 ea71c56e4162: Pushed 10:19:13 latest: digest: sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:13 ===================================================== [Pipeline] echo 10:19:13 taggedImages: 10:19:13 - nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] echo 10:19:13 ========================================================= 10:19:13 [edgeXBuildMultiArch] RAW Config: 10:19:13 images: 10:19:13 - nexus3.edgexfoundry.org:10004/sample-service:latest 10:19:13 settingsFile: 10:19:13 sample-service-settings 10:19:13 ========================================================= [Pipeline] node 10:19:28 Still waiting to schedule task 10:19:28 All nodes of label ‘centos7-docker-4c-2g’ are offline 10:20:29 Running on prd-centos7-docker-4c-2g-44773 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:29 provisioning config files... 10:20:29 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config1628821368097949266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:30 ---> ****-login.sh 10:20:30 nexus3.edgexfoundry.org:10001 10:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:30 Configure a credential helper to remove this warning. See 10:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:30 10:20:30 Login Succeeded 10:20:30 nexus3.edgexfoundry.org:10002 10:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 nexus3.edgexfoundry.org:10003 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 nexus3.edgexfoundry.org:10004 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 ****.io 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 ---> ****-login.sh ends [Pipeline] } 10:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:31 + docker buildx ls 10:20:32 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 10:20:32 default * docker 10:20:32 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 10:20:33 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 10:20:33 edgex-builder [Pipeline] sh 10:20:34 + docker buildx inspect --bootstrap 10:20:34 #1 [internal] booting buildkit 10:20:34 #1 pulling image moby/buildkit:buildx-stable-1 10:20:38 #1 pulling image moby/buildkit:buildx-stable-1 4.8s done 10:20:38 #1 ERROR: Error response from daemon: Get "https://registry-1.docker.io/v2/": read tcp 10.30.123.84:41058->3.94.224.37:443: read: connection reset by peer 10:20:38 ------ 10:20:38 > [internal] booting buildkit: 10:20:38 ------ 10:20:38 Name: edgex-builder 10:20:38 Driver: docker-container 10:20:38 10:20:38 Nodes: 10:20:38 Name: edgex-builder0 10:20:38 Endpoint: unix:///var/run/docker.sock 10:20:38 Error: Error response from daemon: Get "https://registry-1.docker.io/v2/": read tcp 10.30.123.84:41058->3.94.224.37:443: read: connection reset by peer [Pipeline] sh 10:20:38 + docker buildx ls 10:20:38 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 10:20:38 edgex-builder * docker-container 10:20:38 edgex-builder0 unix:///var/run/docker.sock inactive linux/amd64*, linux/arm64* 10:20:38 default docker 10:20:38 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 10:20:39 + docker buildx build --platform linux/amd64,linux/arm64 --label support_platforms=linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:latest --push - 10:20:39 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:latest' 10:20:39 #1 [internal] booting buildkit 10:20:39 #1 pulling image moby/buildkit:buildx-stable-1 10:20:43 #1 pulling image moby/buildkit:buildx-stable-1 3.6s done 10:20:43 #1 creating container buildx_buildkit_edgex-builder0 10:20:44 #1 creating container buildx_buildkit_edgex-builder0 2.6s done 10:20:44 #1 DONE 6.2s 10:20:44 10:20:44 #2 [internal] load build definition from Dockerfile 10:20:44 #2 transferring dockerfile: 165B done 10:20:44 #2 DONE 0.0s 10:20:45 10:20:45 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 10:20:45 #3 DONE 0.1s 10:20:45 10:20:45 #4 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 10:20:45 #4 DONE 0.1s 10:20:45 10:20:45 #5 [internal] load .dockerignore 10:20:45 #5 transferring context: 2B done 10:20:45 #5 DONE 0.0s 10:20:45 10:20:45 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b 10:20:45 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b 0.0s done 10:20:45 #6 DONE 0.0s 10:20:45 10:20:45 #7 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b 10:20:45 #7 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b 0.0s done 10:20:45 #7 DONE 0.1s 10:20:45 10:20:45 #8 exporting to image 10:20:45 #8 exporting layers done 10:20:45 #8 exporting manifest sha256:3fadef335885855b37adddbd98e8caa44dbb17067830c66329823836d08fa5b5 0.0s done 10:20:45 #8 exporting config sha256:aa6a1e034846f7f8a51a88374fdc46794c3b01436b44b393e2a43a019952a46f done 10:20:45 #8 exporting manifest sha256:7561f6de8a3b77afc5235e4517cd5cb0fa6dcd3bc8d2af84d4ffb10a7c64c6a3 done 10:20:45 #8 exporting config sha256:214682da0abd90115a7bba607d08d4cf49096d75c59bb7379e5014f25a35a3e8 done 10:20:45 #8 exporting manifest list sha256:654af50c97e516816b548212d0e2cb958eb6badec167e66317f5eae70510038c 0.0s done 10:20:45 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:20:45 #8 ... 10:20:45 10:20:45 #9 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 10:20:45 #9 DONE 0.0s 10:20:45 10:20:45 #8 exporting to image 10:20:45 #8 pushing layers 0.1s done 10:20:45 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:654af50c97e516816b548212d0e2cb958eb6badec167e66317f5eae70510038c 10:20:45 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:654af50c97e516816b548212d0e2cb958eb6badec167e66317f5eae70510038c 0.1s done 10:20:45 #8 DONE 0.2s 10:20:45 10:20:45 1 warning found (use --debug to expand): 10:20:45  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:20:45 + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh 10:20:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:46 ---> package-listing.sh 10:20:46 ++ facter osfamily 10:20:46 ++ tr '[:upper:]' '[:lower:]' 10:20:47 + OS_FAMILY=redhat 10:20:47 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 10:20:47 + START_PACKAGES=/tmp/packages_start.txt 10:20:47 + END_PACKAGES=/tmp/packages_end.txt 10:20:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:47 + PACKAGES=/tmp/packages_start.txt 10:20:47 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:20:47 + PACKAGES=/tmp/packages_end.txt 10:20:47 + case "${OS_FAMILY}" in 10:20:47 + rpm -qa 10:20:47 + sort 10:20:47 + '[' -f /tmp/packages_start.txt ']' 10:20:47 + '[' -f /tmp/packages_end.txt ']' 10:20:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:47 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:20:47 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 10:20:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 10:20:47 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 10:20:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:48 10:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:48 latest: Pulling from edgex-lftools-log-publisher 10:20:48 5eb5b503b376: Pulling fs layer 10:20:48 5c69ac0246d0: Pulling fs layer 10:20:48 ec43610c2a17: Pulling fs layer 10:20:48 3a2ae6a8a46f: Pulling fs layer 10:20:48 33b1e0a273af: Pulling fs layer 10:20:48 5d3b04190fa2: Pulling fs layer 10:20:48 2f39f015ded8: Pulling fs layer 10:20:48 3a2ae6a8a46f: Waiting 10:20:48 33b1e0a273af: Waiting 10:20:48 5d3b04190fa2: Waiting 10:20:48 2f39f015ded8: Waiting 10:20:48 5c69ac0246d0: Verifying Checksum 10:20:48 5c69ac0246d0: Download complete 10:20:48 3a2ae6a8a46f: Verifying Checksum 10:20:48 3a2ae6a8a46f: Download complete 10:20:48 ec43610c2a17: Verifying Checksum 10:20:48 ec43610c2a17: Download complete 10:20:48 5d3b04190fa2: Verifying Checksum 10:20:48 5d3b04190fa2: Download complete 10:20:49 33b1e0a273af: Verifying Checksum 10:20:49 33b1e0a273af: Download complete 10:20:49 5eb5b503b376: Verifying Checksum 10:20:49 5eb5b503b376: Download complete 10:20:49 2f39f015ded8: Verifying Checksum 10:20:49 2f39f015ded8: Download complete 10:20:50 5eb5b503b376: Pull complete 10:20:50 5c69ac0246d0: Pull complete 10:20:51 ec43610c2a17: Pull complete 10:20:51 3a2ae6a8a46f: Pull complete 10:20:51 33b1e0a273af: Pull complete 10:20:52 5d3b04190fa2: Pull complete 10:20:55 2f39f015ded8: Pull complete 10:20:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:55 prd-centos7-docker-4c-2g-44773 does not seem to be running inside a container 10:20:55 $ 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 10:21:02 $ docker top b3b6d8b0f8630e5ab68a63ba0edfce4b59b530d27480e3b532f16b052647e25d -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:02 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:02 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:03 + ls /var/log/sa-host 10:21:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:03 provisioning config files... 10:21:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config9720776299364622269tmp [Pipeline] { [Pipeline] echo 10:21:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:03 ---> create-netrc.sh [Pipeline] } 10:21:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:04 ---> python-tools-install.sh [Pipeline] echo 10:21:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:04 ---> sudo-logs.sh 10:21:04 Archiving 'sudo' log.. 10:21:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-44773.novalocal: Name or service not known 10:21:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-44773.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 10:21:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:04 ---> job-cost.sh 10:21:04 lf-activate-venv: SKIPPING 10:21:04 INFO: No Stack... 10:21:05 INFO: Retrieving Pricing Info for: v3-standard-2 10:21:05 INFO: Archiving Costs [Pipeline] echo 10:21:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:06 ---> logs-deploy.sh 10:21:06 lf-activate-venv: SKIPPING 10:21:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/37 10:21:06 INFO: archiving workspace using pattern(s): 10:21:06 Archives upload complete. 10:21:06 INFO: archiving logs to Nexus 10:21:07 ---> uname -a: 10:21:07 Linux prd-centos7-docker-4c-2g-44773.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 10:21:07 10:21:07 10:21:07 ---> lscpu: 10:21:07 Architecture: x86_64 10:21:07 CPU op-mode(s): 32-bit, 64-bit 10:21:07 Byte Order: Little Endian 10:21:07 Address sizes: 40 bits physical, 48 bits virtual 10:21:07 CPU(s): 2 10:21:07 On-line CPU(s) list: 0,1 10:21:07 Thread(s) per core: 1 10:21:07 Core(s) per socket: 1 10:21:07 Socket(s): 2 10:21:07 NUMA node(s): 1 10:21:07 Vendor ID: AuthenticAMD 10:21:07 CPU family: 23 10:21:07 Model: 49 10:21:07 Model name: AMD EPYC-Rome Processor 10:21:07 Stepping: 0 10:21:07 CPU MHz: 2800.000 10:21:07 BogoMIPS: 5600.00 10:21:07 Virtualization: AMD-V 10:21:07 Hypervisor vendor: KVM 10:21:07 Virtualization type: full 10:21:07 L1d cache: 64 KiB 10:21:07 L1i cache: 64 KiB 10:21:07 L2 cache: 1 MiB 10:21:07 L3 cache: 32 MiB 10:21:07 NUMA node0 CPU(s): 0,1 10:21:07 Vulnerability Itlb multihit: Not affected 10:21:07 Vulnerability L1tf: Not affected 10:21:07 Vulnerability Mds: Not affected 10:21:07 Vulnerability Meltdown: Not affected 10:21:07 Vulnerability Mmio stale data: Not affected 10:21:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:21:07 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:21:07 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:21:07 Vulnerability Srbds: Not affected 10:21:07 Vulnerability Tsx async abort: Not affected 10:21:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 10:21:07 10:21:07 10:21:07 ---> nproc: 10:21:07 2 10:21:07 10:21:07 10:21:07 ---> df -h: 10:21:07 Filesystem Size Used Avail Use% Mounted on 10:21:07 overlay 40G 7.3G 33G 19% / 10:21:07 tmpfs 64M 0 64M 0% /dev 10:21:07 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 10:21:07 shm 64M 0 64M 0% /dev/shm 10:21:07 /dev/vda1 40G 7.3G 33G 19% /facter-os 10:21:07 10:21:07 10:21:07 Cannot open /var/log/sysstat/sa11: No such file or directory 10:21:07 Please check if data collecting is enabled 10:21:07 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:21:07 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 10:21:07 $ docker stop --time=1 b3b6d8b0f8630e5ab68a63ba0edfce4b59b530d27480e3b532f16b052647e25d 10:21:09 $ docker rm -f --volumes b3b6d8b0f8630e5ab68a63ba0edfce4b59b530d27480e3b532f16b052647e25d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 10:21:09 [WS-CLEANUP] Deleting project workspace... 10:21:09 [WS-CLEANUP] Deferred wipeout is used... 10:21:09 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:09 10:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:09 latest: Pulling from edgex-lftools-log-publisher 10:21:09 5eb5b503b376: Pulling fs layer 10:21:09 5c69ac0246d0: Pulling fs layer 10:21:09 ec43610c2a17: Pulling fs layer 10:21:09 3a2ae6a8a46f: Pulling fs layer 10:21:09 33b1e0a273af: Pulling fs layer 10:21:09 5d3b04190fa2: Pulling fs layer 10:21:09 2f39f015ded8: Pulling fs layer 10:21:09 3a2ae6a8a46f: Waiting 10:21:09 33b1e0a273af: Waiting 10:21:09 5d3b04190fa2: Waiting 10:21:09 2f39f015ded8: Waiting 10:21:09 5c69ac0246d0: Verifying Checksum 10:21:09 5c69ac0246d0: Download complete 10:21:09 3a2ae6a8a46f: Verifying Checksum 10:21:09 3a2ae6a8a46f: Download complete 10:21:09 33b1e0a273af: Verifying Checksum 10:21:09 33b1e0a273af: Download complete 10:21:09 5d3b04190fa2: Verifying Checksum 10:21:09 5d3b04190fa2: Download complete 10:21:10 ec43610c2a17: Verifying Checksum 10:21:10 ec43610c2a17: Download complete 10:21:10 5eb5b503b376: Verifying Checksum 10:21:10 5eb5b503b376: Download complete 10:21:10 2f39f015ded8: Download complete 10:21:11 5eb5b503b376: Pull complete 10:21:11 5c69ac0246d0: Pull complete 10:21:12 ec43610c2a17: Pull complete 10:21:12 3a2ae6a8a46f: Pull complete 10:21:12 33b1e0a273af: Pull complete 10:21:12 5d3b04190fa2: Pull complete 10:21:16 2f39f015ded8: Pull complete 10:21:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:16 prd-ubuntu20.04-docker-8c-8g-44772 does not seem to be running inside a container 10:21:16 $ 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/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:20 $ docker top e14e5b483d7951ece15d9d71d7e30e7b7a08460aae2104100dd7107f9bee0fc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:21 ---> job-cost.sh 10:21:21 lf-activate-venv: SKIPPING 10:21:21 INFO: No Stack... 10:21:21 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:21 INFO: Archiving Costs [Pipeline] sh 10:21:22 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 10:21:22 + cut -d, -f6 [Pipeline] lock 10:21:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] 10:21:22 Resource [jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] did not exist. Created. 10:21:22 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:21:22 + echo total: 0.2199999988079071 [Pipeline] stash 10:21:22 Stashed 1 file(s) [Pipeline] } 10:21:22 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] [Pipeline] // lock [Pipeline] } 10:21:22 $ docker stop --time=1 e14e5b483d7951ece15d9d71d7e30e7b7a08460aae2104100dd7107f9bee0fc7 10:21:24 $ docker rm -f --volumes e14e5b483d7951ece15d9d71d7e30e7b7a08460aae2104100dd7107f9bee0fc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:21:24 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 10:21:24 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 10:21:24 total 16 10:21:24 drwxr-xr-x 3 root root 4096 Apr 11 10:21 . 10:21:24 drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:21 .. 10:21:24 drwxr-xr-x 2 root root 4096 Apr 11 10:21 cost 10:21:24 -rw-r--r-- 1 root root 87 Apr 11 10:21 cost.csv 10:21:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 10:21:24 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 10:21:24 total 16 10:21:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 10:21 . 10:21:24 drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:21 .. 10:21:24 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 10:21 cost 10:21:24 -rw-r--r-- 1 jenkins jenkins 87 Apr 11 10:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:21:25 ---> package-listing.sh 10:21:25 ++ facter osfamily 10:21:25 ++ tr '[:upper:]' '[:lower:]' 10:21:26 + OS_FAMILY=debian 10:21:26 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 10:21:26 + START_PACKAGES=/tmp/packages_start.txt 10:21:26 + END_PACKAGES=/tmp/packages_end.txt 10:21:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:21:26 + PACKAGES=/tmp/packages_start.txt 10:21:26 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:21:26 + PACKAGES=/tmp/packages_end.txt 10:21:26 + case "${OS_FAMILY}" in 10:21:26 + dpkg -l 10:21:26 + grep '^ii' 10:21:26 + '[' -f /tmp/packages_start.txt ']' 10:21:26 + '[' -f /tmp/packages_end.txt ']' 10:21:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:21:26 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:21:26 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 10:21:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 10:21:26 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 10:21:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:26 prd-ubuntu20.04-docker-8c-8g-44772 does not seem to be running inside a container 10:21:26 $ 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 10:21:27 $ docker top 99dfe0b5d74d69e473c1ae826f44571ce5f86ac5befa265516cf26fdd492a26c -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:27 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:27 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:28 + ls /var/log/sa-host 10:21:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:28 provisioning config files... 10:21:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config406633673985520834tmp [Pipeline] { [Pipeline] echo 10:21:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:28 ---> create-netrc.sh [Pipeline] } 10:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:28 ---> python-tools-install.sh [Pipeline] echo 10:21:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:29 ---> sudo-logs.sh 10:21:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:29 ---> job-cost.sh 10:21:29 lf-activate-venv: SKIPPING 10:21:29 DEBUG: total: 0.2199999988079071 10:21:29 INFO: Retrieving Stack Cost... 10:21:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:29 INFO: Archiving Costs [Pipeline] echo 10:21:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:29 ---> logs-deploy.sh 10:21:29 lf-activate-venv: SKIPPING 10:21:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/37 10:21:29 INFO: archiving workspace using pattern(s): 10:21:30 Archives upload complete. 10:21:30 INFO: archiving logs to Nexus