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 23ff995a3aef02e85a45daf0513f418e4247a776+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (57c84a8b78ed481cd790a95da692be7e58eec0b1) 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-ssh13832461578476649412.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 7e7d87bf4ea023656a047096929d9ee5856c7911 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-ssh12852123130996030025.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 7e7d87bf4ea023656a047096929d9ee5856c7911 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-ssh14090656102677413309.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7e7d87bf4ea023656a047096929d9ee5856c7911 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e7d87bf4ea023656a047096929d9ee5856c7911 # timeout=10 Commit message: "fix: reuse node for multi-arch stage" > 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-ssh8165164038384578010.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-ssh15559783694370199827.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, testScript:make test GOTESTFLAGS="-json -v"] ========================================================= [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 GOTESTFLAGS="-json -v" 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-42229 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 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit 23ff995a3aef02e85a45daf0513f418e4247a776 Merge succeeded, producing 23ff995a3aef02e85a45daf0513f418e4247a776 Checking out Revision 23ff995a3aef02e85a45daf0513f418e4247a776 (PR-165) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 23ff995a3aef02e85a45daf0513f418e4247a776 # 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 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:57:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:57:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:57:03 ========================================================= 06:57:03 EdgeX Global Pipelines Version Info 06:57:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:57:05 ------------------- 06:57:05 stable info: 06:57:05 ------------------- 06:57:05 Commited By: Ginny Guan ginny@iotechsys.com 06:57:05 Commit SHA: 7c45c8a198bad082eec5dc6eba334c557e460952 06:57:05 Message: update stable to v1.0.273 06:57:05 ------------------- 06:57:05 experimental info: 06:57:05 ------------------- 06:57:05 Commited By: Ginny Guan ginny@iotechsys.com 06:57:05 Commit SHA: 7e7d87bf4ea023656a047096929d9ee5856c7911 06:57:05 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:06 provisioning config files... 06:57:06 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config17182301526382524930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:06 ---> ****-login.sh 06:57:06 nexus3.edgexfoundry.org:10001 06:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:06 Configure a credential helper to remove this warning. See 06:57:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:06 06:57:06 Login Succeeded 06:57:06 nexus3.edgexfoundry.org:10002 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 nexus3.edgexfoundry.org:10003 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 nexus3.edgexfoundry.org:10004 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 ****.io 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 ---> ****-login.sh ends [Pipeline] } 06:57:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:57:08 + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 06:57:08 -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh 06:57:08 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 06:57:08 ========================================================= 06:57:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:57:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:57:08 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 06:57:08 [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 06:57:08 [semverPrep] This is not a build commit. [Pipeline] sh 06:57:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:57:09 + grep -v github /etc/ssh/ssh_known_hosts 06:57:09 + [ -e /tmp/ssh_known_hosts ] 06:57:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:57:09 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:57:09 sudo tee -a /etc/ssh/ssh_known_hosts 06:57:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:09 06:57:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:10 0.1.4: Pulling from edgex-devops/py-git-semver 06:57:10 b85a868b505f: Pulling fs layer 06:57:10 e2be974225ed: Pulling fs layer 06:57:10 339a4e72a1f5: Pulling fs layer 06:57:10 988bab9f4d93: Pulling fs layer 06:57:10 1469e6f7b9e6: Pulling fs layer 06:57:10 eaf3925da568: Pulling fs layer 06:57:10 bab4dde63d76: Pulling fs layer 06:57:10 bde34c3a00c8: Pulling fs layer 06:57:10 b352a97aabf1: Pulling fs layer 06:57:10 4872d77fe225: Pulling fs layer 06:57:10 5851b861e8e6: Pulling fs layer 06:57:10 1469e6f7b9e6: Waiting 06:57:10 eaf3925da568: Waiting 06:57:10 b352a97aabf1: Waiting 06:57:10 bab4dde63d76: Waiting 06:57:10 4872d77fe225: Waiting 06:57:10 5851b861e8e6: Waiting 06:57:10 988bab9f4d93: Waiting 06:57:10 e2be974225ed: Download complete 06:57:10 988bab9f4d93: Verifying Checksum 06:57:10 988bab9f4d93: Download complete 06:57:10 1469e6f7b9e6: Verifying Checksum 06:57:10 1469e6f7b9e6: Download complete 06:57:10 339a4e72a1f5: Verifying Checksum 06:57:10 339a4e72a1f5: Download complete 06:57:10 eaf3925da568: Download complete 06:57:10 bde34c3a00c8: Verifying Checksum 06:57:10 bde34c3a00c8: Download complete 06:57:10 b352a97aabf1: Verifying Checksum 06:57:10 b352a97aabf1: Download complete 06:57:10 4872d77fe225: Verifying Checksum 06:57:10 4872d77fe225: Download complete 06:57:10 5851b861e8e6: Download complete 06:57:10 b85a868b505f: Verifying Checksum 06:57:10 b85a868b505f: Download complete 06:57:10 bab4dde63d76: Verifying Checksum 06:57:11 b85a868b505f: Pull complete 06:57:11 e2be974225ed: Pull complete 06:57:12 339a4e72a1f5: Pull complete 06:57:12 988bab9f4d93: Pull complete 06:57:12 1469e6f7b9e6: Pull complete 06:57:12 eaf3925da568: Pull complete 06:57:14 bab4dde63d76: Pull complete 06:57:14 bde34c3a00c8: Pull complete 06:57:14 b352a97aabf1: Pull complete 06:57:14 4872d77fe225: Pull complete 06:57:14 5851b861e8e6: Pull complete 06:57:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:57:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:14 prd-ubuntu20.04-docker-8c-8g-42229 does not seem to be running inside a container 06:57:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:57:17 $ docker top 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b -eo pid,comm 06:57:17 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). 06:57:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:57:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:17 [ssh-agent] Looking for ssh-agent implementation... 06:57:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:17 $ docker exec 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b ssh-agent 06:57:17 SSH_AUTH_SOCK=/tmp/ssh-6g1VIKdoD15z/agent.33 06:57:17 SSH_AGENT_PID=39 06:57:17 Running ssh-add (command line suppressed) 06:57:17 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17546085969799042484.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17546085969799042484.key) 06:57:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:17 + git tag --points-at HEAD [Pipeline] } 06:57:17 $ docker exec --env ******** --env ******** 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b ssh-agent -k 06:57:17 unset SSH_AUTH_SOCK; 06:57:17 unset SSH_AGENT_PID; 06:57:17 echo Agent pid 39 killed; 06:57:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:57:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:17 [ssh-agent] Looking for ssh-agent implementation... 06:57:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:18 $ docker exec 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b ssh-agent 06:57:18 SSH_AUTH_SOCK=/tmp/ssh-4R7qQrCrhFNV/agent.72 06:57:18 SSH_AGENT_PID=78 06:57:18 Running ssh-add (command line suppressed) 06:57:18 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_836659371484735953.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_836659371484735953.key) 06:57:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:18 + git semver init 06:57:18 2025-03-28 06:57:18,722 [run_init] DEBUG init version:0.0.0 force:False 06:57:18 2025-03-28 06:57:18,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 06:57:18 2025-03-28 06:57:18,723 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 06:57:18 2025-03-28 06:57:18,723 [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) 06:57:19 2025-03-28 06:57:19,385 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 06:57:19 2025-03-28 06:57:19,386 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 06:57:19 2025-03-28 06:57:19,386 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 06:57:19 2025-03-28 06:57:19,390 [execute] INFO git cat-file --batch-check 06:57:19 2025-03-28 06:57:19,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 06:57:19 2025-03-28 06:57:19,396 [execute] INFO git cat-file --batch 06:57:19 2025-03-28 06:57:19,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 06:57:19 2025-03-28 06:57:19,402 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 06:57:19 0.0.0 [Pipeline] } 06:57:19 $ docker exec --env ******** --env ******** 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b ssh-agent -k 06:57:19 unset SSH_AUTH_SOCK; 06:57:19 unset SSH_AGENT_PID; 06:57:19 echo Agent pid 78 killed; 06:57:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:20 + git semver [Pipeline] } 06:57:20 $ docker stop --time=1 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b 06:57:21 $ docker rm -f --volumes 3295e5ce1a845479f7bbead43a993c747ce0656d006b577aac135f5fd634b73b [Pipeline] // withDockerContainer [Pipeline] sh 06:57:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:57:22 Stashed 1 file(s) [Pipeline] echo 06:57:22 [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] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:22 provisioning config files... 06:57:22 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config5581249081788193470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:22 ---> ****-login.sh 06:57:22 nexus3.edgexfoundry.org:10001 06:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:22 Configure a credential helper to remove this warning. See 06:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:22 06:57:22 Login Succeeded 06:57:22 nexus3.edgexfoundry.org:10002 06:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:22 Configure a credential helper to remove this warning. See 06:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:22 06:57:22 Login Succeeded 06:57:22 nexus3.edgexfoundry.org:10003 06:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:23 Configure a credential helper to remove this warning. See 06:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:23 06:57:23 Login Succeeded 06:57:23 nexus3.edgexfoundry.org:10004 06:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:23 Configure a credential helper to remove this warning. See 06:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:23 06:57:23 Login Succeeded 06:57:23 ****.io 06:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:23 Configure a credential helper to remove this warning. See 06:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:23 06:57:23 Login Succeeded 06:57:23 ---> ****-login.sh ends [Pipeline] } 06:57:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:57:23 ========================================================= 06:57:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:57:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:57:23 Sending build context to Docker daemon 2.71MB 06:57:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:57:23 Step 2/12 : FROM ${BASE} AS builder 06:57:23 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:57:23 da9db072f522: Pulling fs layer 06:57:23 6ef4a4ee8ca5: Pulling fs layer 06:57:23 06f05ace1117: Pulling fs layer 06:57:23 5fe327b54edc: Pulling fs layer 06:57:23 4f4fb700ef54: Pulling fs layer 06:57:23 92a5565b7b96: Pulling fs layer 06:57:23 ff9bb7016b71: Pulling fs layer 06:57:23 b67dba6c2c7d: Pulling fs layer 06:57:23 a813b0c90790: Pulling fs layer 06:57:23 b67dba6c2c7d: Waiting 06:57:23 ff9bb7016b71: Waiting 06:57:23 5fe327b54edc: Waiting 06:57:23 a813b0c90790: Waiting 06:57:23 4f4fb700ef54: Waiting 06:57:23 92a5565b7b96: Waiting 06:57:23 6ef4a4ee8ca5: Verifying Checksum 06:57:23 6ef4a4ee8ca5: Download complete 06:57:23 5fe327b54edc: Verifying Checksum 06:57:23 4f4fb700ef54: Verifying Checksum 06:57:23 4f4fb700ef54: Download complete 06:57:23 92a5565b7b96: Verifying Checksum 06:57:23 92a5565b7b96: Download complete 06:57:24 da9db072f522: Download complete 06:57:24 ff9bb7016b71: Verifying Checksum 06:57:24 ff9bb7016b71: Download complete 06:57:24 da9db072f522: Pull complete 06:57:24 a813b0c90790: Verifying Checksum 06:57:24 a813b0c90790: Download complete 06:57:24 6ef4a4ee8ca5: Pull complete 06:57:24 06f05ace1117: Verifying Checksum 06:57:24 06f05ace1117: Download complete 06:57:24 b67dba6c2c7d: Verifying Checksum 06:57:24 b67dba6c2c7d: Download complete 06:57:27 06f05ace1117: Pull complete 06:57:27 5fe327b54edc: Pull complete 06:57:27 4f4fb700ef54: Pull complete 06:57:27 92a5565b7b96: Pull complete 06:57:27 ff9bb7016b71: Pull complete 06:57:29 b67dba6c2c7d: Pull complete 06:57:30 a813b0c90790: Pull complete 06:57:30 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 06:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:57:30 ---> 3ba60ce46760 06:57:30 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:57:33 ---> Running in 9f4b6984bdf0 06:57:33 Removing intermediate container 9f4b6984bdf0 06:57:33 ---> d4e88e63c9ad 06:57:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:57:33 ---> Running in 2686128798bf 06:57:33 Removing intermediate container 2686128798bf 06:57:33 ---> 67177b5c66e9 06:57:33 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:57:33 ---> Running in ed305ddfa50c 06:57:33 Removing intermediate container ed305ddfa50c 06:57:33 ---> 99be95a7a200 06:57:33 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:57:33 ---> Running in ecab1921cf6b 06:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:57:34 (1/4) Installing openssh-keygen (9.7_p1-r5) 06:57:34 (2/4) Installing libedit (20240517.3.1-r0) 06:57:34 (3/4) Installing openssh-client-common (9.7_p1-r5) 06:57:34 (4/4) Installing openssh-client-default (9.7_p1-r5) 06:57:34 Executing busybox-1.36.1-r29.trigger 06:57:34 OK: 252 MiB in 62 packages 06:57:34 Removing intermediate container ecab1921cf6b 06:57:34 ---> eb5f2a84631d 06:57:34 Step 7/12 : WORKDIR /sample-service 06:57:34 ---> Running in 424097e2568d 06:57:35 Removing intermediate container 424097e2568d 06:57:35 ---> 6fd5d94f0842 06:57:35 Step 8/12 : COPY go.mod vendor* ./ 06:57:35 ---> 9bfb787d6e16 06:57:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:35 ---> Running in 8d5b683f3383 06:57:45 Removing intermediate container 8d5b683f3383 06:57:45 ---> 95600bcf4412 06:57:45 Step 10/12 : COPY . . 06:57:45 ---> a1d409f1b3ca 06:57:45 Step 11/12 : ARG MAKE='make build' 06:57:45 ---> Running in 9596d00231e3 06:57:45 Removing intermediate container 9596d00231e3 06:57:45 ---> d5b875f51cf9 06:57:45 Step 12/12 : RUN $MAKE 06:57:45 ---> Running in 12608781a985 06:57:45 noop 06:57:45 Removing intermediate container 12608781a985 06:57:45 ---> 64016cac8168 06:57:45 Successfully built 64016cac8168 06:57:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:45 + docker inspect -f . ci-base-image-x86_64 06:57:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:45 prd-ubuntu20.04-docker-8c-8g-42229 does not seem to be running inside a container 06:57:45 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** ci-base-image-x86_64 cat 06:57:45 $ docker top 09ef8aa8bdd852471d13f82ba5d818b496b1ec8aef20021f806cadb94065c366 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:46 + go version 06:57:46 go version go1.23.4 linux/amd64 [Pipeline] } 06:57:46 $ docker stop --time=1 09ef8aa8bdd852471d13f82ba5d818b496b1ec8aef20021f806cadb94065c366 06:57:47 $ docker rm -f --volumes 09ef8aa8bdd852471d13f82ba5d818b496b1ec8aef20021f806cadb94065c366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:47 + docker inspect -f . ci-base-image-x86_64 06:57:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:47 prd-ubuntu20.04-docker-8c-8g-42229 does not seem to be running inside a container 06:57:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-x86_64 cat 06:57:48 $ docker top badc60022bed99225b19ebd68a1f2a421e7d611e5b8e100e96aae8f6615d43b8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:48 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 06:57:48 + make test 'GOTESTFLAGS=-json -v' 06:57:48 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 06:57:50 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 06:57:58 📦 github.com/edgexfoundry/sample-service 06:57:58 🛑 no test files 06:57:58 06:57:58 📦 github.com/edgexfoundry/sample-service/cmd 06:57:58 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 06:57:58 06:57:58 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 06:57:58 level=ERROR ts=2025-03-28T06:57:57.812594306Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 06:57:58 ✅ TestHandleReadCommands (0s) 06:57:58 ✅ TestHandleWriteCommands (0s) 06:57:58 ✅ TestValue_Int16 (0s) 06:57:58 ✅ TestValue_Int32 (0s) 06:57:58 ✅ TestValue_Int64 (0s) 06:57:58 ✅ TestValue_Int8 (0s) 06:57:58 06:57:58 CGO_ENABLED=1 go vet ./... 06:58:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:58:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:58:01 ./bin/test-attribution-txt.sh 06:58:01 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 06:58:01 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 06:58:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:58:01 $ docker stop --time=1 badc60022bed99225b19ebd68a1f2a421e7d611e5b8e100e96aae8f6615d43b8 06:58:03 $ docker rm -f --volumes badc60022bed99225b19ebd68a1f2a421e7d611e5b8e100e96aae8f6615d43b8 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:58:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:58:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:58:04 + ls -al . 06:58:04 total 160 06:58:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 06:57 . 06:58:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 06:56 .. 06:58:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 06:57 .git 06:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:56 .github 06:58:04 -rw-rw-r-- 1 jenkins jenkins 46 Mar 28 06:56 .gitignore 06:58:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 06:57 .semver 06:58:04 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 28 06:56 Attribution.txt 06:58:04 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 28 06:56 CHANGELOG.md 06:58:04 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 28 06:56 Dockerfile 06:58:04 -rw-rw-r-- 1 jenkins jenkins 821 Mar 28 06:56 Jenkinsfile 06:58:04 -rw-rw-r-- 1 jenkins jenkins 729 Mar 28 06:56 Jenkinsfile-sandbox 06:58:04 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 28 06:56 Jenkinsfile.edgexSemver 06:58:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 06:56 LICENSE 06:58:04 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 28 06:56 Makefile 06:58:04 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 28 06:56 README.md 06:58:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 06:57 VERSION 06:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:56 api 06:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:56 bin 06:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:56 cmd 06:58:04 -rw-r--r-- 1 jenkins jenkins 5399 Mar 28 06:57 coverage.out 06:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:56 driver 06:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:56 example 06:58:04 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 28 06:56 go.mod 06:58:04 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 28 06:56 go.sum 06:58:04 -rw-rw-r-- 1 jenkins jenkins 225 Mar 28 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:04 + docker build -t sample-service -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 --label arch=amd64 --label version=0.0.0 . 06:58:04 Sending build context to Docker daemon 2.716MB 06:58:04 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:58:04 Step 2/23 : FROM ${BASE} AS builder 06:58:04 ---> 64016cac8168 06:58:04 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:58:04 ---> Running in d3ca803197d5 06:58:05 Removing intermediate container d3ca803197d5 06:58:05 ---> 308497354a67 06:58:05 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 06:58:05 ---> Running in 5e41b79f3190 06:58:05 Removing intermediate container 5e41b79f3190 06:58:05 ---> e921bdc399e1 06:58:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:58:05 ---> Running in 1e5a9eecb3f9 06:58:05 Removing intermediate container 1e5a9eecb3f9 06:58:05 ---> 99e391fce86a 06:58:05 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:58:05 ---> Running in b95722a95aa0 06:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:05 OK: 252 MiB in 62 packages 06:58:06 Removing intermediate container b95722a95aa0 06:58:06 ---> 5e6b380adbd6 06:58:06 Step 7/23 : WORKDIR /sample-service 06:58:06 ---> Running in f9ae0cd746d6 06:58:06 Removing intermediate container f9ae0cd746d6 06:58:06 ---> 89d7fa9ebd51 06:58:06 Step 8/23 : COPY go.mod vendor* ./ 06:58:06 ---> d7fd6e96b0ec 06:58:06 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:58:06 ---> Running in 5c8ca1b8fd35 06:58:06 Removing intermediate container 5c8ca1b8fd35 06:58:06 ---> 1d78a6133278 06:58:06 Step 10/23 : COPY . . 06:58:07 ---> d66c5c7823ab 06:58:07 Step 11/23 : ARG MAKE='make build' 06:58:07 ---> Running in 2aa993c5fda7 06:58:07 Removing intermediate container 2aa993c5fda7 06:58:07 ---> c9a2f4881e61 06:58:07 Step 12/23 : RUN $MAKE 06:58:07 ---> Running in 0688f28a4aee 06:58:07 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 06:58:17 Removing intermediate container 0688f28a4aee 06:58:17 ---> fafaedfacde6 06:58:17 Step 13/23 : FROM alpine:3.18 06:58:18 3.18: Pulling from library/alpine 06:58:18 44cf07d57ee4: Pulling fs layer 06:58:18 44cf07d57ee4: Verifying Checksum 06:58:18 44cf07d57ee4: Download complete 06:58:18 44cf07d57ee4: Pull complete 06:58:18 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 06:58:18 Status: Downloaded newer image for alpine:3.18 06:58:18 ---> 802c91d52981 06:58:18 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:58:18 ---> Running in 36e9f9f6e7cc 06:58:18 Removing intermediate container 36e9f9f6e7cc 06:58:18 ---> c8706af7d49f 06:58:18 Step 15/23 : ENV APP_PORT=49999 06:58:18 ---> Running in 17d150a7f4ec 06:58:18 Removing intermediate container 17d150a7f4ec 06:58:18 ---> e86f1b4cccb0 06:58:18 Step 16/23 : EXPOSE $APP_PORT 06:58:18 ---> Running in f39d1876dd0b 06:58:18 Removing intermediate container f39d1876dd0b 06:58:18 ---> aabbf1c6acd6 06:58:18 Step 17/23 : COPY --from=builder /sample-service/cmd / 06:58:19 ---> 248948fe3f1c 06:58:19 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 06:58:19 ---> 8060b0e25533 06:58:19 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 06:58:19 ---> c226defdb76f 06:58:19 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:58:19 ---> Running in 5171793cbb3d 06:58:19 Removing intermediate container 5171793cbb3d 06:58:19 ---> f74471d5479e 06:58:19 Step 21/23 : LABEL arch=amd64 06:58:19 ---> Running in 7f5b4d1c3c18 06:58:19 Removing intermediate container 7f5b4d1c3c18 06:58:19 ---> a8017c5ce72e 06:58:19 Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 06:58:19 ---> Running in 22b295ac93a9 06:58:19 Removing intermediate container 22b295ac93a9 06:58:19 ---> ab7b2885e8d7 06:58:19 Step 23/23 : LABEL version=0.0.0 06:58:19 ---> Running in 4901108bec7e 06:58:19 Removing intermediate container 4901108bec7e 06:58:19 ---> 224cee89448f 06:58:19 [Warning] One or more build-args [ARCH] were not consumed 06:58:19 Successfully built 224cee89448f 06:58:19 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:20 provisioning config files... 06:58:20 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config17088755862175419244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:20 ---> ****-login.sh 06:58:20 nexus3.edgexfoundry.org:10001 06:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:20 Configure a credential helper to remove this warning. See 06:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:20 06:58:20 Login Succeeded 06:58:20 nexus3.edgexfoundry.org:10002 06:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:20 Configure a credential helper to remove this warning. See 06:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:20 06:58:20 Login Succeeded 06:58:20 nexus3.edgexfoundry.org:10003 06:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:20 Configure a credential helper to remove this warning. See 06:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:20 06:58:20 Login Succeeded 06:58:20 nexus3.edgexfoundry.org:10004 06:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:20 Configure a credential helper to remove this warning. See 06:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:20 06:58:20 Login Succeeded 06:58:20 ****.io 06:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:20 Configure a credential helper to remove this warning. See 06:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:20 06:58:20 Login Succeeded 06:58:20 ---> ****-login.sh ends [Pipeline] } 06:58:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:58:20 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 06:58:20 23ff995a3aef02e85a45daf0513f418e4247a776 06:58:20 latest 06:58:20 0.0.0 06:58:20 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 06:58:20 PR-165 06:58:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:21 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:21 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 06:58:21 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 06:58:21 8b1f87bcc0fa: Preparing 06:58:21 23681f7dd2e6: Preparing 06:58:21 1368fad50f26: Preparing 06:58:21 f44f286046d9: Preparing 06:58:21 f44f286046d9: Layer already exists 06:58:21 8b1f87bcc0fa: Pushed 06:58:21 23681f7dd2e6: Pushed 06:58:22 1368fad50f26: Pushed 06:58:22 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:23 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:23 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 06:58:23 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 06:58:23 8b1f87bcc0fa: Preparing 06:58:23 23681f7dd2e6: Preparing 06:58:23 1368fad50f26: Preparing 06:58:23 f44f286046d9: Preparing 06:58:23 23681f7dd2e6: Layer already exists 06:58:23 f44f286046d9: Layer already exists 06:58:23 1368fad50f26: Layer already exists 06:58:23 8b1f87bcc0fa: Layer already exists 06:58:23 latest: digest: sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:23 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:24 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 06:58:24 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 06:58:24 8b1f87bcc0fa: Preparing 06:58:24 23681f7dd2e6: Preparing 06:58:24 1368fad50f26: Preparing 06:58:24 f44f286046d9: Preparing 06:58:24 f44f286046d9: Layer already exists 06:58:24 23681f7dd2e6: Layer already exists 06:58:24 8b1f87bcc0fa: Layer already exists 06:58:24 1368fad50f26: Layer already exists 06:58:24 0.0.0: digest: sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:24 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:24 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 06:58:24 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 06:58:24 8b1f87bcc0fa: Preparing 06:58:24 23681f7dd2e6: Preparing 06:58:24 1368fad50f26: Preparing 06:58:24 f44f286046d9: Preparing 06:58:24 23681f7dd2e6: Layer already exists 06:58:24 1368fad50f26: Layer already exists 06:58:24 f44f286046d9: Layer already exists 06:58:24 8b1f87bcc0fa: Layer already exists 06:58:24 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:25 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:25 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 06:58:25 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 06:58:25 8b1f87bcc0fa: Preparing 06:58:25 23681f7dd2e6: Preparing 06:58:25 1368fad50f26: Preparing 06:58:25 f44f286046d9: Preparing 06:58:25 f44f286046d9: Layer already exists 06:58:25 1368fad50f26: Layer already exists 06:58:25 23681f7dd2e6: Layer already exists 06:58:25 8b1f87bcc0fa: Layer already exists 06:58:25 PR-165: digest: sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:25 ===================================================== [Pipeline] echo 06:58:25 taggedImages: 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:latest 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 06:58:25 ===================================================== [Pipeline] echo 06:58:25 multiArchImages: 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:latest 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 06:58:25 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 06:58:25 ========================================================= 06:58:25 [edgeXBuildMultiArch] RAW Config: [images:[nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776, nexus3.edgexfoundry.org:10004/sample-service:latest, nexus3.edgexfoundry.org:10004/sample-service:0.0.0, nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0, nexus3.edgexfoundry.org:10004/sample-service:PR-165], settingsFile:sample-service-settings] 06:58:25 ========================================================= [Pipeline] node 06:58:40 Still waiting to schedule task 06:58:40 All nodes of label ‘centos7-docker-4c-2g’ are offline 06:59:41 Running on prd-centos7-docker-4c-2g-42230 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:41 provisioning config files... 06:59:41 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config6143404185726570711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:43 ---> ****-login.sh 06:59:43 nexus3.edgexfoundry.org:10001 06:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:43 Configure a credential helper to remove this warning. See 06:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:43 06:59:43 Login Succeeded 06:59:43 nexus3.edgexfoundry.org:10002 06:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:43 Configure a credential helper to remove this warning. See 06:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:43 06:59:43 Login Succeeded 06:59:43 nexus3.edgexfoundry.org:10003 06:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:43 Configure a credential helper to remove this warning. See 06:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:43 06:59:43 Login Succeeded 06:59:43 nexus3.edgexfoundry.org:10004 06:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:43 Configure a credential helper to remove this warning. See 06:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:43 06:59:43 Login Succeeded 06:59:43 ****.io 06:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:43 Configure a credential helper to remove this warning. See 06:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:43 06:59:43 Login Succeeded 06:59:43 ---> ****-login.sh ends [Pipeline] } 06:59:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:59:44 + docker buildx ls 06:59:44 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 06:59:44 default * docker 06:59:44 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 06:59:44 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 06:59:44 edgex-builder [Pipeline] sh 06:59:44 + docker buildx inspect --bootstrap 06:59:44 #1 [internal] booting buildkit 06:59:44 #1 pulling image moby/buildkit:buildx-stable-1 06:59:47 #1 pulling image moby/buildkit:buildx-stable-1 2.5s done 06:59:47 #1 creating container buildx_buildkit_edgex-builder0 06:59:48 #1 creating container buildx_buildkit_edgex-builder0 1.1s done 06:59:48 #1 DONE 3.7s 06:59:48 Name: edgex-builder 06:59:48 Driver: docker-container 06:59:48 06:59:48 Nodes: 06:59:48 Name: edgex-builder0 06:59:48 Endpoint: unix:///var/run/docker.sock 06:59:48 Status: running 06:59:48 Buildkit: v0.20.2 06:59:48 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 06:59:48 + docker buildx ls 06:59:48 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 06:59:48 edgex-builder * docker-container 06:59:48 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 06:59:48 default docker 06:59:48 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 06:59:49 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776' 06:59:49 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 --push - 06:59:49 #1 [internal] load build definition from Dockerfile 06:59:49 #1 transferring dockerfile: 199B done 06:59:49 #1 DONE 0.0s 06:59:49 06:59:49 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 06:59:49 #2 DONE 0.1s 06:59:49 06:59:49 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 06:59:49 #3 DONE 0.1s 06:59:49 06:59:49 #4 [internal] load .dockerignore 06:59:49 #4 transferring context: 2B done 06:59:49 #4 DONE 0.0s 06:59:49 06:59:49 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:49 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:49 #5 DONE 0.0s 06:59:49 06:59:49 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:49 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:49 #6 DONE 0.1s 06:59:49 06:59:49 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 06:59:49 #7 DONE 0.0s 06:59:49 06:59:49 #8 exporting to image 06:59:49 #8 exporting layers done 06:59:49 #8 exporting manifest sha256:56b43b00719ff3b3716c7564b32b8c7b3f6bb1ff7403f64893a7961d92e78485 done 06:59:49 #8 exporting config sha256:8ff19f136f1c7b53d850985080e736296cd444c03d337d1ad76d574df4f2aeba done 06:59:49 #8 exporting manifest sha256:6a4517f108b560fc731a3386a2ef174a14d1137ca011918a501e7d3d3675b38d done 06:59:49 #8 exporting config sha256:1f1fb801b9c1618bc89eb759540c5f9e8ae24f95d53bf08120c288992eda3525 done 06:59:49 #8 exporting manifest list sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 done 06:59:49 #8 pushing layers 0.1s done 06:59:49 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 06:59:49 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 06:59:49 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 0.1s done 06:59:49 #8 DONE 0.2s 06:59:49 06:59:49 1 warning found (use --debug to expand): 06:59:49  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 06:59:50 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:latest' 06:59:50 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:latest --push - 06:59:50 #1 [internal] load build definition from Dockerfile 06:59:50 #1 transferring dockerfile: 165B done 06:59:50 #1 DONE 0.0s 06:59:50 06:59:50 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 06:59:50 #2 DONE 0.0s 06:59:50 06:59:50 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 06:59:50 #3 DONE 0.0s 06:59:50 06:59:50 #4 [internal] load .dockerignore 06:59:50 #4 transferring context: 2B done 06:59:50 #4 DONE 0.0s 06:59:50 06:59:50 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:50 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:50 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:50 #5 CACHED 06:59:50 06:59:50 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:50 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:50 #6 CACHED 06:59:50 06:59:50 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 06:59:50 #7 DONE 0.0s 06:59:50 06:59:50 #8 exporting to image 06:59:50 #8 exporting layers done 06:59:50 #8 exporting manifest sha256:56b43b00719ff3b3716c7564b32b8c7b3f6bb1ff7403f64893a7961d92e78485 done 06:59:50 #8 exporting config sha256:8ff19f136f1c7b53d850985080e736296cd444c03d337d1ad76d574df4f2aeba done 06:59:50 #8 exporting manifest sha256:6a4517f108b560fc731a3386a2ef174a14d1137ca011918a501e7d3d3675b38d done 06:59:50 #8 exporting config sha256:1f1fb801b9c1618bc89eb759540c5f9e8ae24f95d53bf08120c288992eda3525 done 06:59:50 #8 exporting manifest list sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 done 06:59:50 #8 pushing layers 0.0s done 06:59:50 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 0.1s done 06:59:50 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 06:59:50 #8 DONE 0.1s 06:59:50 06:59:50 1 warning found (use --debug to expand): 06:59:50  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 06:59:50 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0' 06:59:50 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:0.0.0 --push - 06:59:50 #1 [internal] load build definition from Dockerfile 06:59:50 #1 transferring dockerfile: 164B done 06:59:50 #1 DONE 0.0s 06:59:50 06:59:50 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 06:59:50 #2 DONE 0.0s 06:59:50 06:59:50 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 06:59:50 #3 DONE 0.0s 06:59:50 06:59:50 #4 [internal] load .dockerignore 06:59:50 #4 transferring context: 2B done 06:59:50 #4 DONE 0.0s 06:59:50 06:59:50 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:50 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:50 #5 CACHED 06:59:50 06:59:50 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:50 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:50 #6 CACHED 06:59:50 06:59:50 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 06:59:50 #7 DONE 0.0s 06:59:50 06:59:50 #8 exporting to image 06:59:50 #8 exporting layers done 06:59:50 #8 exporting manifest sha256:56b43b00719ff3b3716c7564b32b8c7b3f6bb1ff7403f64893a7961d92e78485 done 06:59:50 #8 exporting config sha256:8ff19f136f1c7b53d850985080e736296cd444c03d337d1ad76d574df4f2aeba done 06:59:50 #8 exporting manifest sha256:6a4517f108b560fc731a3386a2ef174a14d1137ca011918a501e7d3d3675b38d done 06:59:50 #8 exporting config sha256:1f1fb801b9c1618bc89eb759540c5f9e8ae24f95d53bf08120c288992eda3525 done 06:59:50 #8 exporting manifest list sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 done 06:59:50 #8 pushing layers 0.0s done 06:59:50 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 0.1s done 06:59:50 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 06:59:50 #8 DONE 0.1s 06:59:50 06:59:50 1 warning found (use --debug to expand): 06:59:50  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 06:59:51 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0' 06:59:51 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 --push - 06:59:51 #1 [internal] load build definition from Dockerfile 06:59:51 #1 transferring dockerfile: 205B done 06:59:51 #1 DONE 0.0s 06:59:51 06:59:51 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 06:59:51 #2 DONE 0.0s 06:59:51 06:59:51 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 06:59:51 #3 DONE 0.0s 06:59:51 06:59:51 #4 [internal] load .dockerignore 06:59:51 #4 transferring context: 2B done 06:59:51 #4 DONE 0.0s 06:59:51 06:59:51 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:51 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:51 #5 CACHED 06:59:51 06:59:51 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:51 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:51 #6 CACHED 06:59:51 06:59:51 #7 exporting to image 06:59:51 #7 exporting layers done 06:59:51 #7 exporting manifest sha256:56b43b00719ff3b3716c7564b32b8c7b3f6bb1ff7403f64893a7961d92e78485 done 06:59:51 #7 exporting config sha256:8ff19f136f1c7b53d850985080e736296cd444c03d337d1ad76d574df4f2aeba 06:59:51 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 06:59:51 #7 exporting config sha256:8ff19f136f1c7b53d850985080e736296cd444c03d337d1ad76d574df4f2aeba done 06:59:51 #7 exporting manifest sha256:6a4517f108b560fc731a3386a2ef174a14d1137ca011918a501e7d3d3675b38d done 06:59:51 #7 exporting config sha256:1f1fb801b9c1618bc89eb759540c5f9e8ae24f95d53bf08120c288992eda3525 done 06:59:51 #7 exporting manifest list sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 done 06:59:51 #7 pushing layers 0.0s done 06:59:51 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 0.1s done 06:59:51 #7 DONE 0.1s 06:59:51 06:59:51 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 06:59:51 #8 DONE 0.0s 06:59:51 06:59:51 1 warning found (use --debug to expand): 06:59:51  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 06:59:51 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165' 06:59:51 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:PR-165 --push - 06:59:51 #1 [internal] load build definition from Dockerfile 06:59:51 #1 transferring dockerfile: 165B done 06:59:51 #1 DONE 0.0s 06:59:51 06:59:51 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 06:59:51 #2 DONE 0.0s 06:59:51 06:59:51 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 06:59:51 #3 DONE 0.0s 06:59:51 06:59:51 #4 [internal] load .dockerignore 06:59:51 #4 transferring context: 2B done 06:59:51 #4 DONE 0.0s 06:59:51 06:59:51 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:51 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:51 #5 DONE 0.0s 06:59:51 06:59:51 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:51 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 0.0s done 06:59:51 #6 CACHED 06:59:51 06:59:51 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:bf3bcdfece88717dddc6bf1a27a036a0df74e9880648f6cae305b8558559179f 06:59:51 #5 CACHED 06:59:51 06:59:51 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 06:59:51 #7 DONE 0.0s 06:59:51 06:59:51 #8 exporting to image 06:59:51 #8 exporting layers done 06:59:51 #8 exporting manifest sha256:56b43b00719ff3b3716c7564b32b8c7b3f6bb1ff7403f64893a7961d92e78485 done 06:59:51 #8 exporting config sha256:8ff19f136f1c7b53d850985080e736296cd444c03d337d1ad76d574df4f2aeba done 06:59:51 #8 exporting manifest sha256:6a4517f108b560fc731a3386a2ef174a14d1137ca011918a501e7d3d3675b38d done 06:59:51 #8 exporting config sha256:1f1fb801b9c1618bc89eb759540c5f9e8ae24f95d53bf08120c288992eda3525 done 06:59:51 #8 exporting manifest list sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 done 06:59:51 #8 pushing layers 0.0s done 06:59:51 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:854f0f2078d7423406d0a8bb9b2cf05881fb0a409024b99f209d538de1380e21 0.1s done 06:59:51 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 06:59:51 #8 DONE 0.1s 06:59:51 06:59:51 1 warning found (use --debug to expand): 06:59:51  - 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 06:59:52 + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh 06:59:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:59:53 ---> package-listing.sh 06:59:53 ++ facter osfamily 06:59:53 ++ tr '[:upper:]' '[:lower:]' 06:59:53 + OS_FAMILY=redhat 06:59:53 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 06:59:53 + START_PACKAGES=/tmp/packages_start.txt 06:59:53 + END_PACKAGES=/tmp/packages_end.txt 06:59:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:59:53 + PACKAGES=/tmp/packages_start.txt 06:59:53 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 06:59:53 + PACKAGES=/tmp/packages_end.txt 06:59:53 + case "${OS_FAMILY}" in 06:59:53 + rpm -qa 06:59:53 + sort 06:59:54 + '[' -f /tmp/packages_start.txt ']' 06:59:54 + '[' -f /tmp/packages_end.txt ']' 06:59:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:59:54 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 06:59:54 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 06:59:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 06:59:54 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 06:59:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:54 06:59:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:55 latest: Pulling from edgex-lftools-log-publisher 06:59:55 5eb5b503b376: Pulling fs layer 06:59:55 5c69ac0246d0: Pulling fs layer 06:59:55 ec43610c2a17: Pulling fs layer 06:59:55 3a2ae6a8a46f: Pulling fs layer 06:59:55 33b1e0a273af: Pulling fs layer 06:59:55 5d3b04190fa2: Pulling fs layer 06:59:55 2f39f015ded8: Pulling fs layer 06:59:55 3a2ae6a8a46f: Waiting 06:59:55 33b1e0a273af: Waiting 06:59:55 5d3b04190fa2: Waiting 06:59:55 2f39f015ded8: Waiting 06:59:55 5c69ac0246d0: Verifying Checksum 06:59:55 5c69ac0246d0: Download complete 06:59:55 3a2ae6a8a46f: Verifying Checksum 06:59:55 3a2ae6a8a46f: Download complete 06:59:55 ec43610c2a17: Verifying Checksum 06:59:55 ec43610c2a17: Download complete 06:59:55 33b1e0a273af: Verifying Checksum 06:59:55 33b1e0a273af: Download complete 06:59:55 5d3b04190fa2: Verifying Checksum 06:59:55 5d3b04190fa2: Download complete 06:59:55 5eb5b503b376: Verifying Checksum 06:59:55 5eb5b503b376: Download complete 06:59:56 2f39f015ded8: Verifying Checksum 06:59:56 2f39f015ded8: Download complete 06:59:57 5eb5b503b376: Pull complete 06:59:57 5c69ac0246d0: Pull complete 06:59:57 ec43610c2a17: Pull complete 06:59:57 3a2ae6a8a46f: Pull complete 06:59:57 33b1e0a273af: Pull complete 06:59:57 5d3b04190fa2: Pull complete 07:00:02 2f39f015ded8: Pull complete 07:00:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:02 prd-centos7-docker-4c-2g-42230 does not seem to be running inside a container 07:00:02 $ 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 07:00:05 $ docker top 5a7ffea1a72ee6b8626d8af1c9a1e363c4ed959236ebf69410ddc5a644b96460 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:05 + touch /tmp/pre-build-complete [Pipeline] sh 07:00:06 + mkdir -p /var/log/sysstat [Pipeline] sh 07:00:06 + ls /var/log/sa-host 07:00:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:06 provisioning config files... 07:00:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config992541650440773721tmp [Pipeline] { [Pipeline] echo 07:00:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:00:06 ---> create-netrc.sh [Pipeline] } 07:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:00:07 ---> python-tools-install.sh [Pipeline] echo 07:00:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:00:07 ---> sudo-logs.sh 07:00:07 Archiving 'sudo' log.. 07:00:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-42230.novalocal: Name or service not known 07:00:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-42230.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:00:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:00:07 ---> job-cost.sh 07:00:07 lf-activate-venv: SKIPPING 07:00:07 INFO: No Stack... 07:00:08 INFO: Retrieving Pricing Info for: v3-standard-2 07:00:08 INFO: Archiving Costs [Pipeline] echo 07:00:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:00:08 ---> logs-deploy.sh 07:00:08 lf-activate-venv: SKIPPING 07:00:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/18 07:00:08 INFO: archiving workspace using pattern(s): 07:00:09 Archives upload complete. 07:00:09 INFO: archiving logs to Nexus 07:00:10 ---> uname -a: 07:00:10 Linux prd-centos7-docker-4c-2g-42230.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 07:00:10 07:00:10 07:00:10 ---> lscpu: 07:00:10 Architecture: x86_64 07:00:10 CPU op-mode(s): 32-bit, 64-bit 07:00:10 Byte Order: Little Endian 07:00:10 Address sizes: 40 bits physical, 48 bits virtual 07:00:10 CPU(s): 2 07:00:10 On-line CPU(s) list: 0,1 07:00:10 Thread(s) per core: 1 07:00:10 Core(s) per socket: 1 07:00:10 Socket(s): 2 07:00:10 NUMA node(s): 1 07:00:10 Vendor ID: AuthenticAMD 07:00:10 CPU family: 23 07:00:10 Model: 49 07:00:10 Model name: AMD EPYC-Rome Processor 07:00:10 Stepping: 0 07:00:10 CPU MHz: 2799.998 07:00:10 BogoMIPS: 5599.99 07:00:10 Virtualization: AMD-V 07:00:10 Hypervisor vendor: KVM 07:00:10 Virtualization type: full 07:00:10 L1d cache: 64 KiB 07:00:10 L1i cache: 64 KiB 07:00:10 L2 cache: 1 MiB 07:00:10 L3 cache: 32 MiB 07:00:10 NUMA node0 CPU(s): 0,1 07:00:10 Vulnerability Itlb multihit: Not affected 07:00:10 Vulnerability L1tf: Not affected 07:00:10 Vulnerability Mds: Not affected 07:00:10 Vulnerability Meltdown: Not affected 07:00:10 Vulnerability Mmio stale data: Not affected 07:00:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:00:10 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:00:10 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:00:10 Vulnerability Srbds: Not affected 07:00:10 Vulnerability Tsx async abort: Not affected 07:00:10 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 07:00:10 07:00:10 07:00:10 ---> nproc: 07:00:10 2 07:00:10 07:00:10 07:00:10 ---> df -h: 07:00:10 Filesystem Size Used Avail Use% Mounted on 07:00:10 overlay 40G 7.3G 33G 19% / 07:00:10 tmpfs 64M 0 64M 0% /dev 07:00:10 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 07:00:10 shm 64M 0 64M 0% /dev/shm 07:00:10 /dev/vda1 40G 7.3G 33G 19% /facter-os 07:00:10 07:00:10 07:00:10 Cannot open /var/log/sysstat/sa28: No such file or directory 07:00:10 Please check if data collecting is enabled 07:00:10 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:00:10 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 07:00:10 $ docker stop --time=1 5a7ffea1a72ee6b8626d8af1c9a1e363c4ed959236ebf69410ddc5a644b96460 07:00:11 $ docker rm -f --volumes 5a7ffea1a72ee6b8626d8af1c9a1e363c4ed959236ebf69410ddc5a644b96460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 07:00:11 [WS-CLEANUP] Deleting project workspace... 07:00:11 [WS-CLEANUP] Deferred wipeout is used... 07:00:11 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:12 07:00:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:12 latest: Pulling from edgex-lftools-log-publisher 07:00:12 5eb5b503b376: Pulling fs layer 07:00:12 5c69ac0246d0: Pulling fs layer 07:00:12 ec43610c2a17: Pulling fs layer 07:00:12 3a2ae6a8a46f: Pulling fs layer 07:00:12 33b1e0a273af: Pulling fs layer 07:00:12 5d3b04190fa2: Pulling fs layer 07:00:12 2f39f015ded8: Pulling fs layer 07:00:12 33b1e0a273af: Waiting 07:00:12 5d3b04190fa2: Waiting 07:00:12 2f39f015ded8: Waiting 07:00:12 3a2ae6a8a46f: Waiting 07:00:12 5c69ac0246d0: Verifying Checksum 07:00:12 5c69ac0246d0: Download complete 07:00:12 3a2ae6a8a46f: Verifying Checksum 07:00:12 3a2ae6a8a46f: Download complete 07:00:12 33b1e0a273af: Verifying Checksum 07:00:12 33b1e0a273af: Download complete 07:00:12 5d3b04190fa2: Verifying Checksum 07:00:12 5d3b04190fa2: Download complete 07:00:12 ec43610c2a17: Verifying Checksum 07:00:12 ec43610c2a17: Download complete 07:00:12 5eb5b503b376: Verifying Checksum 07:00:12 5eb5b503b376: Download complete 07:00:13 2f39f015ded8: Download complete 07:00:13 5eb5b503b376: Pull complete 07:00:13 5c69ac0246d0: Pull complete 07:00:14 ec43610c2a17: Pull complete 07:00:14 3a2ae6a8a46f: Pull complete 07:00:14 33b1e0a273af: Pull complete 07:00:14 5d3b04190fa2: Pull complete 07:00:18 2f39f015ded8: Pull complete 07:00:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:19 prd-ubuntu20.04-docker-8c-8g-42229 does not seem to be running inside a container 07:00:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:00:21 $ docker top bb5abc86f9621a01ed3efa657556236e2791c34d97f3328d9faab9c0006968cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:22 ---> job-cost.sh 07:00:22 lf-activate-venv: SKIPPING 07:00:22 INFO: No Stack... 07:00:22 INFO: Retrieving Pricing Info for: v3-standard-8 07:00:22 INFO: Archiving Costs [Pipeline] sh 07:00:23 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 07:00:23 + cut -d, -f6 [Pipeline] lock 07:00:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-18-stack-cost] 07:00:23 Resource [jenkins-edgexfoundry-sample-service-PR-165-18-stack-cost] did not exist. Created. 07:00:23 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:00:23 + echo total: 0.2199999988079071 [Pipeline] stash 07:00:23 Stashed 1 file(s) [Pipeline] } 07:00:23 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-18-stack-cost] [Pipeline] // lock [Pipeline] } 07:00:23 $ docker stop --time=1 bb5abc86f9621a01ed3efa657556236e2791c34d97f3328d9faab9c0006968cd 07:00:24 $ docker rm -f --volumes bb5abc86f9621a01ed3efa657556236e2791c34d97f3328d9faab9c0006968cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:00:25 provisioning config files... 07:00:25 copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config3629114769580499308tmp [Pipeline] { [Pipeline] sh 07:00:25 + set +x 07:00:25 + curl -s https://codecov.io/bash 07:00:25 + bash -s -- 07:00:25 07:00:25 _____ _ 07:00:25 / ____| | | 07:00:25 | | ___ __| | ___ ___ _____ __ 07:00:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:00:25 | |___| (_) | (_| | __/ (_| (_) \ V / 07:00:25 \_____\___/ \__,_|\___|\___\___/ \_/ 07:00:25 Bash-1.0.6 07:00:25 07:00:25 07:00:25 ==> git version 2.25.1 found 07:00:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:00:25 Release-Date: 2020-01-08 07:00:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:00:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:00:25 ==> Jenkins CI detected. 07:00:25 current dir:  /w/workspace/gexfoundry_sample-service_PR-165 07:00:25 project root: . 07:00:25 --> token set from env 07:00:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:00:25 ==> Running gcov in . (disable via -X gcov) 07:00:25 ==> Python coveragepy not found 07:00:25 ==> Searching for coverage reports in: 07:00:25 + . 07:00:25 -> Found 1 reports 07:00:25 ==> Detecting git/mercurial file structure 07:00:25 ==> Reading reports 07:00:25 + ./coverage.out bytes=5399 07:00:25 ==> Appending adjustments 07:00:25 https://docs.codecov.io/docs/fixing-reports 07:00:25 + Found adjustments 07:00:25 ==> Gzipping contents 07:00:25 4.0K /tmp/codecov.8WQHHX.gz 07:00:25 ==> Uploading reports 07:00:25 url: https://codecov.io 07:00:25 query: branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F18%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 07:00:25 -> Pinging Codecov 07:00:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F18%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 07:00:25 -> Uploading to 07:00:25 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/23ff995a3aef02e85a45daf0513f418e4247a776/7a0c4e00-c9e4-42cd-8d5d-a31ceffa9897.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250328%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250328T070025Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=2dd2583054b557f18a92676558a500b3c0fdc7e53d113da5e21df01e3a7caf8d 07:00:25 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:25 Dload Upload Total Spent Left Speed 07:00:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1053 0 0 100 1053 0 3052 --:--:-- --:--:-- --:--:-- 3052 07:00:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } 07:00:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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 07:00:26 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 07:00:26 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 07:00:26 total 16 07:00:26 drwxr-xr-x 3 root root 4096 Mar 28 07:00 . 07:00:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 07:00 .. 07:00:26 drwxr-xr-x 2 root root 4096 Mar 28 07:00 cost 07:00:26 -rw-r--r-- 1 root root 87 Mar 28 07:00 cost.csv 07:00:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 07:00:26 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 07:00:26 total 16 07:00:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 07:00 . 07:00:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 07:00 .. 07:00:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 07:00 cost 07:00:26 -rw-r--r-- 1 jenkins jenkins 87 Mar 28 07:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:00:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:00:28 ---> package-listing.sh 07:00:28 ++ facter osfamily 07:00:28 ++ tr '[:upper:]' '[:lower:]' 07:00:28 + OS_FAMILY=debian 07:00:28 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 07:00:28 + START_PACKAGES=/tmp/packages_start.txt 07:00:28 + END_PACKAGES=/tmp/packages_end.txt 07:00:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:00:28 + PACKAGES=/tmp/packages_start.txt 07:00:28 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 07:00:28 + PACKAGES=/tmp/packages_end.txt 07:00:28 + case "${OS_FAMILY}" in 07:00:28 + dpkg -l 07:00:28 + grep '^ii' 07:00:28 + '[' -f /tmp/packages_start.txt ']' 07:00:28 + '[' -f /tmp/packages_end.txt ']' 07:00:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:00:28 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 07:00:28 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 07:00:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 07:00:28 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 07:00:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:29 prd-ubuntu20.04-docker-8c-8g-42229 does not seem to be running inside a container 07:00:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:00:29 $ docker top 4b47c1339db668971e74dcb8a0a6b1c2355f76e0106abf456e28de34415644cb -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:29 + touch /tmp/pre-build-complete [Pipeline] sh 07:00:30 + mkdir -p /var/log/sysstat [Pipeline] sh 07:00:30 + ls /var/log/sa-host 07:00:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:30 provisioning config files... 07:00:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config12005065508768636416tmp [Pipeline] { [Pipeline] echo 07:00:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:00:30 ---> create-netrc.sh [Pipeline] } 07:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:00:31 ---> python-tools-install.sh [Pipeline] echo 07:00:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:00:31 ---> sudo-logs.sh 07:00:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:00:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:00:31 ---> job-cost.sh 07:00:31 lf-activate-venv: SKIPPING 07:00:31 DEBUG: total: 0.2199999988079071 07:00:31 INFO: Retrieving Stack Cost... 07:00:31 INFO: Retrieving Pricing Info for: v3-standard-8 07:00:32 INFO: Archiving Costs [Pipeline] echo 07:00:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:00:32 ---> logs-deploy.sh 07:00:32 lf-activate-venv: SKIPPING 07:00:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/18 07:00:32 INFO: archiving workspace using pattern(s): 07:00:33 Archives upload complete. 07:00:33 INFO: archiving logs to Nexus