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-ssh11676347455146294345.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision ff7854e6e880f4986d85db2a71289ab620bef55d 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-ssh17247044822953266704.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 ff7854e6e880f4986d85db2a71289ab620bef55d 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-ssh15606697726658179717.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ff7854e6e880f4986d85db2a71289ab620bef55d (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f ff7854e6e880f4986d85db2a71289ab620bef55d # timeout=10 Commit message: "update" > 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-ssh17590301749850621760.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-ssh5325257097114041925.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-41605 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 05:21:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:21:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:21:38 ========================================================= 05:21:38 EdgeX Global Pipelines Version Info 05:21:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:21:39 ------------------- 05:21:39 stable info: 05:21:39 ------------------- 05:21:39 Commited By: Cherry Wang cherry@iotechsys.com 05:21:39 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:21:39 Message: update stable to v1.0.272 05:21:39 ------------------- 05:21:39 experimental info: 05:21:39 ------------------- 05:21:39 Commited By: Ginny Guan ginny@iotechsys.com 05:21:39 Commit SHA: ff7854e6e880f4986d85db2a71289ab620bef55d 05:21:39 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:21:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo 05:21:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:40 provisioning config files... 05:21:40 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config14357658367935942903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:40 ---> ****-login.sh 05:21:40 nexus3.edgexfoundry.org:10001 05:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 nexus3.edgexfoundry.org:10002 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 nexus3.edgexfoundry.org:10003 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 nexus3.edgexfoundry.org:10004 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 ****.io 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 ---> ****-login.sh ends [Pipeline] } 05:21:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:21:42 + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 05:21:42 -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh 05:21:42 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 05:21:42 ========================================================= 05:21:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:21:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:42 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 05:21:42 [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 05:21:42 [semverPrep] This is not a build commit. [Pipeline] sh 05:21:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:43 + grep -v github /etc/ssh/ssh_known_hosts 05:21:43 + [ -e /tmp/ssh_known_hosts ] 05:21:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:21:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:21:43 + sudo tee -a /etc/ssh/ssh_known_hosts 05:21:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:43 05:21:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:43 0.1.4: Pulling from edgex-devops/py-git-semver 05:21:43 b85a868b505f: Pulling fs layer 05:21:43 e2be974225ed: Pulling fs layer 05:21:43 339a4e72a1f5: Pulling fs layer 05:21:43 988bab9f4d93: Pulling fs layer 05:21:43 1469e6f7b9e6: Pulling fs layer 05:21:43 eaf3925da568: Pulling fs layer 05:21:43 bab4dde63d76: Pulling fs layer 05:21:43 bde34c3a00c8: Pulling fs layer 05:21:43 b352a97aabf1: Pulling fs layer 05:21:43 4872d77fe225: Pulling fs layer 05:21:43 5851b861e8e6: Pulling fs layer 05:21:43 1469e6f7b9e6: Waiting 05:21:43 bde34c3a00c8: Waiting 05:21:43 eaf3925da568: Waiting 05:21:43 5851b861e8e6: Waiting 05:21:43 bab4dde63d76: Waiting 05:21:43 4872d77fe225: Waiting 05:21:43 b352a97aabf1: Waiting 05:21:43 988bab9f4d93: Waiting 05:21:43 e2be974225ed: Download complete 05:21:43 988bab9f4d93: Verifying Checksum 05:21:43 988bab9f4d93: Download complete 05:21:44 1469e6f7b9e6: Verifying Checksum 05:21:44 1469e6f7b9e6: Download complete 05:21:44 eaf3925da568: Verifying Checksum 05:21:44 eaf3925da568: Download complete 05:21:44 339a4e72a1f5: Verifying Checksum 05:21:44 339a4e72a1f5: Download complete 05:21:44 bde34c3a00c8: Verifying Checksum 05:21:44 bde34c3a00c8: Download complete 05:21:44 b352a97aabf1: Verifying Checksum 05:21:44 b352a97aabf1: Download complete 05:21:44 4872d77fe225: Download complete 05:21:44 5851b861e8e6: Verifying Checksum 05:21:44 5851b861e8e6: Download complete 05:21:44 b85a868b505f: Download complete 05:21:44 bab4dde63d76: Verifying Checksum 05:21:44 bab4dde63d76: Download complete 05:21:45 b85a868b505f: Pull complete 05:21:45 e2be974225ed: Pull complete 05:21:45 339a4e72a1f5: Pull complete 05:21:45 988bab9f4d93: Pull complete 05:21:46 1469e6f7b9e6: Pull complete 05:21:46 eaf3925da568: Pull complete 05:21:48 bab4dde63d76: Pull complete 05:21:48 bde34c3a00c8: Pull complete 05:21:48 b352a97aabf1: Pull complete 05:21:48 4872d77fe225: Pull complete 05:21:48 5851b861e8e6: Pull complete 05:21:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:21:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:48 prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container 05:21:48 $ 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 05:21:49 $ docker top 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb -eo pid,comm 05:21:49 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). 05:21:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:50 [ssh-agent] Looking for ssh-agent implementation... 05:21:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:50 $ docker exec 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent 05:21:50 SSH_AUTH_SOCK=/tmp/ssh-3uGVYdp3TxnR/agent.32 05:21:50 SSH_AGENT_PID=38 05:21:50 Running ssh-add (command line suppressed) 05:21:50 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9044221134086682.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9044221134086682.key) 05:21:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:50 + git tag --points-at HEAD [Pipeline] } 05:21:50 $ docker exec --env ******** --env ******** 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent -k 05:21:50 unset SSH_AUTH_SOCK; 05:21:50 unset SSH_AGENT_PID; 05:21:50 echo Agent pid 38 killed; 05:21:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:21:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:50 [ssh-agent] Looking for ssh-agent implementation... 05:21:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:50 $ docker exec 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent 05:21:51 SSH_AUTH_SOCK=/tmp/ssh-G4JaLHEBTZhI/agent.71 05:21:51 SSH_AGENT_PID=77 05:21:51 Running ssh-add (command line suppressed) 05:21:51 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_13785048485571058781.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_13785048485571058781.key) 05:21:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:51 + git semver init 05:21:51 2025-03-19 05:21:51,571 [run_init] DEBUG init version:0.0.0 force:False 05:21:51 2025-03-19 05:21:51,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 05:21:51 2025-03-19 05:21:51,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 05:21:51 2025-03-19 05:21:51,573 [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) 05:21:52 2025-03-19 05:21:52,197 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 05:21:52 2025-03-19 05:21:52,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 05:21:52 2025-03-19 05:21:52,198 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 05:21:52 2025-03-19 05:21:52,202 [execute] INFO git cat-file --batch-check 05:21:52 2025-03-19 05:21:52,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:21:52 2025-03-19 05:21:52,207 [execute] INFO git cat-file --batch 05:21:52 2025-03-19 05:21:52,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:21:52 2025-03-19 05:21:52,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 05:21:52 0.0.0 [Pipeline] } 05:21:52 $ docker exec --env ******** --env ******** 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent -k 05:21:52 unset SSH_AUTH_SOCK; 05:21:52 unset SSH_AGENT_PID; 05:21:52 echo Agent pid 77 killed; 05:21:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:52 + git semver [Pipeline] } 05:21:52 $ docker stop --time=1 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb 05:21:54 $ docker rm -f --volumes 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb [Pipeline] // withDockerContainer [Pipeline] sh 05:21:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:21:54 Stashed 1 file(s) [Pipeline] echo 05:21:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:55 provisioning config files... 05:21:55 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config17352576309088925549tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:21:55 ---> ****-login.sh 05:21:55 nexus3.edgexfoundry.org:10001 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 nexus3.edgexfoundry.org:10002 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 nexus3.edgexfoundry.org:10003 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 nexus3.edgexfoundry.org:10004 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 ****.io 05:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:56 Configure a credential helper to remove this warning. See 05:21:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:56 05:21:56 Login Succeeded 05:21:56 ---> ****-login.sh ends [Pipeline] } 05:21:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:21:56 ========================================================= 05:21:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:21:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:56 + 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 . 05:21:56 Sending build context to Docker daemon 2.788MB 05:21:56 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:21:56 Step 2/12 : FROM ${BASE} AS builder 05:21:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:21:56 da9db072f522: Pulling fs layer 05:21:56 6ef4a4ee8ca5: Pulling fs layer 05:21:56 06f05ace1117: Pulling fs layer 05:21:56 5fe327b54edc: Pulling fs layer 05:21:56 4f4fb700ef54: Pulling fs layer 05:21:56 92a5565b7b96: Pulling fs layer 05:21:56 5fe327b54edc: Waiting 05:21:56 4f4fb700ef54: Waiting 05:21:56 ff9bb7016b71: Pulling fs layer 05:21:56 b67dba6c2c7d: Pulling fs layer 05:21:56 a813b0c90790: Pulling fs layer 05:21:56 92a5565b7b96: Waiting 05:21:56 b67dba6c2c7d: Waiting 05:21:56 a813b0c90790: Waiting 05:21:56 6ef4a4ee8ca5: Verifying Checksum 05:21:56 6ef4a4ee8ca5: Download complete 05:21:56 5fe327b54edc: Verifying Checksum 05:21:56 5fe327b54edc: Download complete 05:21:56 4f4fb700ef54: Download complete 05:21:56 92a5565b7b96: Download complete 05:21:56 da9db072f522: Download complete 05:21:56 ff9bb7016b71: Verifying Checksum 05:21:56 ff9bb7016b71: Download complete 05:21:56 da9db072f522: Pull complete 05:21:57 a813b0c90790: Verifying Checksum 05:21:57 a813b0c90790: Download complete 05:21:57 6ef4a4ee8ca5: Pull complete 05:21:57 06f05ace1117: Verifying Checksum 05:21:57 06f05ace1117: Download complete 05:21:57 b67dba6c2c7d: Verifying Checksum 05:21:57 b67dba6c2c7d: Download complete 05:22:00 06f05ace1117: Pull complete 05:22:00 5fe327b54edc: Pull complete 05:22:00 4f4fb700ef54: Pull complete 05:22:01 92a5565b7b96: Pull complete 05:22:01 ff9bb7016b71: Pull complete 05:22:03 b67dba6c2c7d: Pull complete 05:22:03 a813b0c90790: Pull complete 05:22:03 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:22:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:22:03 ---> 3ba60ce46760 05:22:03 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:22:05 ---> Running in bb036413ab47 05:22:05 Removing intermediate container bb036413ab47 05:22:05 ---> ddf1cf9215ac 05:22:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:22:05 ---> Running in a206e5466d33 05:22:05 Removing intermediate container a206e5466d33 05:22:05 ---> 1fc5aac9bb9f 05:22:05 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:22:05 ---> Running in 5f1c2b50168a 05:22:05 Removing intermediate container 5f1c2b50168a 05:22:05 ---> 5afa5b592387 05:22:05 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:05 ---> Running in a6889e81fd09 05:22:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:22:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:22:06 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:22:06 (2/4) Installing libedit (20240517.3.1-r0) 05:22:06 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:22:06 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:22:06 Executing busybox-1.36.1-r29.trigger 05:22:06 OK: 252 MiB in 62 packages 05:22:07 Removing intermediate container a6889e81fd09 05:22:07 ---> 64b9df71a7f2 05:22:07 Step 7/12 : WORKDIR /sample-service 05:22:07 ---> Running in c671a6dccbe5 05:22:07 Removing intermediate container c671a6dccbe5 05:22:07 ---> d99edbabef0b 05:22:07 Step 8/12 : COPY go.mod vendor* ./ 05:22:07 ---> a319e3f714bd 05:22:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:07 ---> Running in 70598cfca3e7 05:22:17 Removing intermediate container 70598cfca3e7 05:22:17 ---> 0b3abf0511eb 05:22:17 Step 10/12 : COPY . . 05:22:17 ---> 83ad29f8657f 05:22:17 Step 11/12 : ARG MAKE='make build' 05:22:17 ---> Running in f3301ed76795 05:22:17 Removing intermediate container f3301ed76795 05:22:17 ---> 53cdc79736b9 05:22:17 Step 12/12 : RUN $MAKE 05:22:17 ---> Running in 466912e3f548 05:22:17 noop 05:22:17 Removing intermediate container 466912e3f548 05:22:17 ---> 900966627a44 05:22:17 Successfully built 900966627a44 05:22:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:18 + docker inspect -f . ci-base-image-x86_64 05:22:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:18 prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container 05:22:18 $ 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 05:22:18 $ docker top 9ff93fb12a339b0849f204a7de4c80fd98468989347335d0ba079129e9e51bd8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:18 + go version 05:22:18 go version go1.23.4 linux/amd64 [Pipeline] } 05:22:18 $ docker stop --time=1 9ff93fb12a339b0849f204a7de4c80fd98468989347335d0ba079129e9e51bd8 05:22:20 $ docker rm -f --volumes 9ff93fb12a339b0849f204a7de4c80fd98468989347335d0ba079129e9e51bd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:20 + docker inspect -f . ci-base-image-x86_64 05:22:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:20 prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container 05:22:20 $ 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 05:22:21 $ docker top 87022d717aa07378c5b630b41e83bea9ecb7f791c22146d7066b6fcb71d42022 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:21 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 05:22:21 + make test 'GOTESTFLAGS=-json -v' 05:22:21 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 05:22:22 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 05:22:32 📦 github.com/edgexfoundry/sample-service 05:22:32 🛑 no test files 05:22:32 05:22:32 📦 github.com/edgexfoundry/sample-service/cmd 05:22:32 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 05:22:32 05:22:32 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 05:22:32 level=ERROR ts=2025-03-19T05:22:30.570496917Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 05:22:32 ✅ TestHandleReadCommands (0s) 05:22:32 ✅ TestHandleWriteCommands (0s) 05:22:32 ✅ TestValue_Int16 (0s) 05:22:32 ✅ TestValue_Int32 (0s) 05:22:32 ✅ TestValue_Int64 (0s) 05:22:32 ✅ TestValue_Int8 (0s) 05:22:32 05:22:32 CGO_ENABLED=1 go vet ./... 05:22:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:22:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:22:33 ./bin/test-attribution-txt.sh 05:22:33 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 05:22:33 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 05:22:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:22:33 $ docker stop --time=1 87022d717aa07378c5b630b41e83bea9ecb7f791c22146d7066b6fcb71d42022 05:22:35 $ docker rm -f --volumes 87022d717aa07378c5b630b41e83bea9ecb7f791c22146d7066b6fcb71d42022 [Pipeline] // withDockerContainer [Pipeline] sh 05:22:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:22:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:22:36 + ls -al . 05:22:36 total 160 05:22:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 05:22 . 05:22:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 05:21 .. 05:22:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 05:21 .git 05:22:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 05:21 .github 05:22:36 -rw-rw-r-- 1 jenkins jenkins 46 Mar 19 05:21 .gitignore 05:22:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 19 05:21 .semver 05:22:36 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 19 05:21 Attribution.txt 05:22:36 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 19 05:21 CHANGELOG.md 05:22:36 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 19 05:21 Dockerfile 05:22:36 -rw-rw-r-- 1 jenkins jenkins 821 Mar 19 05:21 Jenkinsfile 05:22:36 -rw-rw-r-- 1 jenkins jenkins 729 Mar 19 05:21 Jenkinsfile-sandbox 05:22:36 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 19 05:21 Jenkinsfile.edgexSemver 05:22:36 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 19 05:21 LICENSE 05:22:36 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 19 05:21 Makefile 05:22:36 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 19 05:21 README.md 05:22:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 05:21 VERSION 05:22:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 05:21 api 05:22:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 05:21 bin 05:22:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 05:21 cmd 05:22:36 -rw-r--r-- 1 jenkins jenkins 5399 Mar 19 05:22 coverage.out 05:22:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 05:21 driver 05:22:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 05:21 example 05:22:36 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 19 05:21 go.mod 05:22:36 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 19 05:21 go.sum 05:22:36 -rw-rw-r-- 1 jenkins jenkins 225 Mar 19 05:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:36 + 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 . 05:22:36 Sending build context to Docker daemon 2.794MB 05:22:36 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:22:36 Step 2/23 : FROM ${BASE} AS builder 05:22:36 ---> 900966627a44 05:22:36 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:22:36 ---> Running in dab655017ab0 05:22:36 Removing intermediate container dab655017ab0 05:22:36 ---> 25f4c9466ac2 05:22:36 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 05:22:37 ---> Running in de373bee24a9 05:22:37 Removing intermediate container de373bee24a9 05:22:37 ---> cb4b372892e5 05:22:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:22:37 ---> Running in ef0f79a32db4 05:22:37 Removing intermediate container ef0f79a32db4 05:22:37 ---> 6987de16267d 05:22:37 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:37 ---> Running in 6237a9dad383 05:22:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:22:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:22:37 OK: 252 MiB in 62 packages 05:22:38 Removing intermediate container 6237a9dad383 05:22:38 ---> 5e7ebfd27fe0 05:22:38 Step 7/23 : WORKDIR /sample-service 05:22:38 ---> Running in 425cf9b1e4a8 05:22:38 Removing intermediate container 425cf9b1e4a8 05:22:38 ---> 14bf9569ac4e 05:22:38 Step 8/23 : COPY go.mod vendor* ./ 05:22:38 ---> 3b336eb41847 05:22:38 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:38 ---> Running in f4be32b780c0 05:22:38 Removing intermediate container f4be32b780c0 05:22:38 ---> 6bd887fb8cc0 05:22:38 Step 10/23 : COPY . . 05:22:39 ---> 630b21024863 05:22:39 Step 11/23 : ARG MAKE='make build' 05:22:39 ---> Running in f8083997b4cb 05:22:39 Removing intermediate container f8083997b4cb 05:22:39 ---> 7640ffbf5f65 05:22:39 Step 12/23 : RUN $MAKE 05:22:39 ---> Running in 64bbf1c86d0e 05:22:39 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 05:22:49 Removing intermediate container 64bbf1c86d0e 05:22:49 ---> cacb90eb2092 05:22:49 Step 13/23 : FROM alpine:3.18 05:22:49 3.18: Pulling from library/alpine 05:22:49 44cf07d57ee4: Pulling fs layer 05:22:49 44cf07d57ee4: Download complete 05:22:50 44cf07d57ee4: Pull complete 05:22:50 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 05:22:50 Status: Downloaded newer image for alpine:3.18 05:22:50 ---> 802c91d52981 05:22:50 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:22:50 ---> Running in 67608cb7145c 05:22:50 Removing intermediate container 67608cb7145c 05:22:50 ---> ae7fec0bee1b 05:22:50 Step 15/23 : ENV APP_PORT=49999 05:22:50 ---> Running in ce31cd0c2faa 05:22:50 Removing intermediate container ce31cd0c2faa 05:22:50 ---> 75b5a3a2a237 05:22:50 Step 16/23 : EXPOSE $APP_PORT 05:22:50 ---> Running in ecb5e47ee475 05:22:50 Removing intermediate container ecb5e47ee475 05:22:50 ---> 594569aff641 05:22:50 Step 17/23 : COPY --from=builder /sample-service/cmd / 05:22:50 ---> d7367d3a089f 05:22:50 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 05:22:50 ---> f3d6c29ba4dd 05:22:50 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 05:22:50 ---> df3af0c73e02 05:22:50 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:22:50 ---> Running in fa408fd51fe6 05:22:50 Removing intermediate container fa408fd51fe6 05:22:50 ---> e97b73368edb 05:22:50 Step 21/23 : LABEL arch=amd64 05:22:50 ---> Running in ad764f0e49f2 05:22:51 Removing intermediate container ad764f0e49f2 05:22:51 ---> d378d0cf4a4b 05:22:51 Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 05:22:51 ---> Running in c153f23edb47 05:22:51 Removing intermediate container c153f23edb47 05:22:51 ---> d85eba9ccb96 05:22:51 Step 23/23 : LABEL version=0.0.0 05:22:51 ---> Running in f5fd791650fa 05:22:51 Removing intermediate container f5fd791650fa 05:22:51 ---> 8ea6c2e4b6d0 05:22:51 [Warning] One or more build-args [ARCH] were not consumed 05:22:51 Successfully built 8ea6c2e4b6d0 05:22:51 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:51 build? true, push? true [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:51 provisioning config files... 05:22:51 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config6859451598662906904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:51 ---> ****-login.sh 05:22:51 nexus3.edgexfoundry.org:10001 05:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:51 Configure a credential helper to remove this warning. See 05:22:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:51 05:22:51 Login Succeeded 05:22:51 nexus3.edgexfoundry.org:10002 05:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:51 Configure a credential helper to remove this warning. See 05:22:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:51 05:22:51 Login Succeeded 05:22:51 nexus3.edgexfoundry.org:10003 05:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:52 Configure a credential helper to remove this warning. See 05:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:52 05:22:52 Login Succeeded 05:22:52 nexus3.edgexfoundry.org:10004 05:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:52 Configure a credential helper to remove this warning. See 05:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:52 05:22:52 Login Succeeded 05:22:52 ****.io 05:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:52 Configure a credential helper to remove this warning. See 05:22:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:52 05:22:52 Login Succeeded 05:22:52 ---> ****-login.sh ends [Pipeline] } 05:22:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:22:52 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 05:22:52 23ff995a3aef02e85a45daf0513f418e4247a776 05:22:52 latest 05:22:52 0.0.0 05:22:52 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 05:22:52 PR-165 05:22:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:52 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:53 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 05:22:53 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 05:22:53 b56b9de8eb20: Preparing 05:22:53 e6ec31b909fd: Preparing 05:22:53 9f966f4e1bb7: Preparing 05:22:53 f44f286046d9: Preparing 05:22:53 f44f286046d9: Layer already exists 05:22:53 e6ec31b909fd: Pushed 05:22:53 b56b9de8eb20: Pushed 05:22:54 9f966f4e1bb7: Pushed 05:22:54 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:54 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:55 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 05:22:55 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 05:22:55 b56b9de8eb20: Preparing 05:22:55 e6ec31b909fd: Preparing 05:22:55 9f966f4e1bb7: Preparing 05:22:55 f44f286046d9: Preparing 05:22:55 e6ec31b909fd: Layer already exists 05:22:55 f44f286046d9: Layer already exists 05:22:55 9f966f4e1bb7: Layer already exists 05:22:55 b56b9de8eb20: Layer already exists 05:22:55 latest: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:55 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:56 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 05:22:56 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 05:22:56 b56b9de8eb20: Preparing 05:22:56 e6ec31b909fd: Preparing 05:22:56 9f966f4e1bb7: Preparing 05:22:56 f44f286046d9: Preparing 05:22:56 9f966f4e1bb7: Layer already exists 05:22:56 f44f286046d9: Layer already exists 05:22:56 b56b9de8eb20: Layer already exists 05:22:56 e6ec31b909fd: Layer already exists 05:22:56 0.0.0: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:56 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:56 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 05:22:56 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 05:22:56 b56b9de8eb20: Preparing 05:22:56 e6ec31b909fd: Preparing 05:22:56 9f966f4e1bb7: Preparing 05:22:56 f44f286046d9: Preparing 05:22:56 f44f286046d9: Layer already exists 05:22:56 9f966f4e1bb7: Layer already exists 05:22:56 e6ec31b909fd: Layer already exists 05:22:56 b56b9de8eb20: Layer already exists 05:22:56 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:57 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:57 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 05:22:57 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 05:22:57 b56b9de8eb20: Preparing 05:22:57 e6ec31b909fd: Preparing 05:22:57 9f966f4e1bb7: Preparing 05:22:57 f44f286046d9: Preparing 05:22:57 f44f286046d9: Layer already exists 05:22:57 9f966f4e1bb7: Layer already exists 05:22:57 b56b9de8eb20: Layer already exists 05:22:57 e6ec31b909fd: Layer already exists 05:22:57 PR-165: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:57 ===================================================== [Pipeline] echo 05:22:57 taggedImages: 05:22:57 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 05:22:57 - nexus3.edgexfoundry.org:10004/sample-service:latest 05:22:57 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 05:22:57 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 05:22:57 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 05:22:57 ========================================================= 05:22:57 [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] 05:22:57 ========================================================= [Pipeline] node 05:23:12 Still waiting to schedule task 05:23:12 All nodes of label ‘centos7-docker-4c-2g’ are offline 05:24:21 Running on prd-centos7-docker-4c-2g-41606 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:21 provisioning config files... 05:24:21 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config13216743685348022421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:24:22 ---> ****-login.sh 05:24:22 nexus3.edgexfoundry.org:10001 05:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:22 Configure a credential helper to remove this warning. See 05:24:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:22 05:24:22 Login Succeeded 05:24:22 nexus3.edgexfoundry.org:10002 05:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:23 Configure a credential helper to remove this warning. See 05:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:23 05:24:23 Login Succeeded 05:24:23 nexus3.edgexfoundry.org:10003 05:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:23 Configure a credential helper to remove this warning. See 05:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:23 05:24:23 Login Succeeded 05:24:23 nexus3.edgexfoundry.org:10004 05:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:23 Configure a credential helper to remove this warning. See 05:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:23 05:24:23 Login Succeeded 05:24:23 ****.io 05:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:23 Configure a credential helper to remove this warning. See 05:24:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:23 05:24:23 Login Succeeded 05:24:23 ---> ****-login.sh ends [Pipeline] } 05:24:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:24:23 + docker buildx ls 05:24:24 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 05:24:24 default * docker 05:24:24 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 05:24:24 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 05:24:24 edgex-builder [Pipeline] sh 05:24:25 + docker buildx inspect --bootstrap 05:24:25 #1 [internal] booting buildkit 05:24:25 #1 pulling image moby/buildkit:buildx-stable-1 05:24:28 #1 pulling image moby/buildkit:buildx-stable-1 3.0s done 05:24:28 #1 creating container buildx_buildkit_edgex-builder0 05:24:30 #1 creating container buildx_buildkit_edgex-builder0 1.7s done 05:24:30 #1 DONE 4.8s 05:24:30 Name: edgex-builder 05:24:30 Driver: docker-container 05:24:30 05:24:30 Nodes: 05:24:30 Name: edgex-builder0 05:24:30 Endpoint: unix:///var/run/docker.sock 05:24:30 Status: running 05:24:30 Buildkit: v0.20.1 05:24:30 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 05:24:30 + docker buildx ls 05:24:30 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 05:24:30 edgex-builder * docker-container 05:24:30 edgex-builder0 unix:///var/run/docker.sock running v0.20.1 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 05:24:30 default docker 05:24:30 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 05:24:30 + echo -e nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 05:24:30 nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] sh 05:24:31 + echo -e nexus3.edgexfoundry.org:10004/sample-service:latest 05:24:31 nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh 05:24:31 + echo -e nexus3.edgexfoundry.org:10004/sample-service:0.0.0 05:24:31 nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] sh 05:24:31 + echo -e nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 05:24:31 nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] sh 05:24:31 + echo -e nexus3.edgexfoundry.org:10004/sample-service:PR-165 05:24:31 nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:24:32 + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:24:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:24:33 ---> package-listing.sh 05:24:33 ++ facter osfamily 05:24:33 ++ tr '[:upper:]' '[:lower:]' 05:24:33 + OS_FAMILY=redhat 05:24:33 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 05:24:33 + START_PACKAGES=/tmp/packages_start.txt 05:24:33 + END_PACKAGES=/tmp/packages_end.txt 05:24:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:24:33 + PACKAGES=/tmp/packages_start.txt 05:24:33 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:24:33 + PACKAGES=/tmp/packages_end.txt 05:24:33 + case "${OS_FAMILY}" in 05:24:33 + rpm -qa 05:24:33 + sort 05:24:34 + '[' -f /tmp/packages_start.txt ']' 05:24:34 + '[' -f /tmp/packages_end.txt ']' 05:24:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:24:34 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:24:34 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 05:24:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 05:24:34 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 05:24:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:35 05:24:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:35 latest: Pulling from edgex-lftools-log-publisher 05:24:35 5eb5b503b376: Pulling fs layer 05:24:35 5c69ac0246d0: Pulling fs layer 05:24:35 ec43610c2a17: Pulling fs layer 05:24:35 3a2ae6a8a46f: Pulling fs layer 05:24:35 33b1e0a273af: Pulling fs layer 05:24:35 5d3b04190fa2: Pulling fs layer 05:24:35 2f39f015ded8: Pulling fs layer 05:24:35 3a2ae6a8a46f: Waiting 05:24:35 33b1e0a273af: Waiting 05:24:35 5d3b04190fa2: Waiting 05:24:35 2f39f015ded8: Waiting 05:24:35 5c69ac0246d0: Verifying Checksum 05:24:35 5c69ac0246d0: Download complete 05:24:35 3a2ae6a8a46f: Verifying Checksum 05:24:35 3a2ae6a8a46f: Download complete 05:24:35 33b1e0a273af: Verifying Checksum 05:24:35 33b1e0a273af: Download complete 05:24:35 ec43610c2a17: Verifying Checksum 05:24:35 ec43610c2a17: Download complete 05:24:35 5d3b04190fa2: Verifying Checksum 05:24:35 5d3b04190fa2: Download complete 05:24:35 5eb5b503b376: Verifying Checksum 05:24:35 5eb5b503b376: Download complete 05:24:36 2f39f015ded8: Verifying Checksum 05:24:36 2f39f015ded8: Download complete 05:24:37 5eb5b503b376: Pull complete 05:24:37 5c69ac0246d0: Pull complete 05:24:37 ec43610c2a17: Pull complete 05:24:37 3a2ae6a8a46f: Pull complete 05:24:37 33b1e0a273af: Pull complete 05:24:37 5d3b04190fa2: Pull complete 05:24:42 2f39f015ded8: Pull complete 05:24:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:24:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:42 prd-centos7-docker-4c-2g-41606 does not seem to be running inside a container 05:24:42 $ 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 05:24:47 $ docker top 24cf9fc58387304b1e5f2af0a818fc127048e1aa4f5f8a97175b068156a7a7fd -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:48 + touch /tmp/pre-build-complete [Pipeline] sh 05:24:48 + mkdir -p /var/log/sysstat [Pipeline] sh 05:24:48 + ls /var/log/sa-host 05:24:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:48 provisioning config files... 05:24:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config1456270349930792404tmp [Pipeline] { [Pipeline] echo 05:24:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:24:49 ---> create-netrc.sh [Pipeline] } 05:24:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:24:49 ---> python-tools-install.sh [Pipeline] echo 05:24:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:24:49 ---> sudo-logs.sh 05:24:49 Archiving 'sudo' log.. 05:24:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-41606.novalocal: Name or service not known 05:24:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-41606.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:24:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:24:50 ---> job-cost.sh 05:24:50 lf-activate-venv: SKIPPING 05:24:50 INFO: No Stack... 05:24:50 INFO: Retrieving Pricing Info for: v3-standard-2 05:24:50 INFO: Archiving Costs [Pipeline] echo 05:24:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:24:50 ---> logs-deploy.sh 05:24:50 lf-activate-venv: SKIPPING 05:24:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/12 05:24:50 INFO: archiving workspace using pattern(s): 05:24:51 Archives upload complete. 05:24:52 INFO: archiving logs to Nexus 05:24:52 ---> uname -a: 05:24:52 Linux prd-centos7-docker-4c-2g-41606.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 05:24:52 05:24:52 05:24:52 ---> lscpu: 05:24:52 Architecture: x86_64 05:24:52 CPU op-mode(s): 32-bit, 64-bit 05:24:52 Byte Order: Little Endian 05:24:52 Address sizes: 40 bits physical, 48 bits virtual 05:24:52 CPU(s): 2 05:24:52 On-line CPU(s) list: 0,1 05:24:52 Thread(s) per core: 1 05:24:52 Core(s) per socket: 1 05:24:52 Socket(s): 2 05:24:52 NUMA node(s): 1 05:24:52 Vendor ID: AuthenticAMD 05:24:52 CPU family: 23 05:24:52 Model: 49 05:24:52 Model name: AMD EPYC-Rome Processor 05:24:52 Stepping: 0 05:24:52 CPU MHz: 2799.998 05:24:52 BogoMIPS: 5599.99 05:24:52 Virtualization: AMD-V 05:24:52 Hypervisor vendor: KVM 05:24:52 Virtualization type: full 05:24:52 L1d cache: 64 KiB 05:24:52 L1i cache: 64 KiB 05:24:52 L2 cache: 1 MiB 05:24:52 L3 cache: 32 MiB 05:24:52 NUMA node0 CPU(s): 0,1 05:24:52 Vulnerability Itlb multihit: Not affected 05:24:52 Vulnerability L1tf: Not affected 05:24:52 Vulnerability Mds: Not affected 05:24:52 Vulnerability Meltdown: Not affected 05:24:52 Vulnerability Mmio stale data: Not affected 05:24:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:24:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:24:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:24:52 Vulnerability Srbds: Not affected 05:24:52 Vulnerability Tsx async abort: Not affected 05:24:52 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 05:24:52 05:24:52 05:24:52 ---> nproc: 05:24:52 2 05:24:52 05:24:52 05:24:52 ---> df -h: 05:24:52 Filesystem Size Used Avail Use% Mounted on 05:24:52 overlay 40G 7.3G 33G 19% / 05:24:52 tmpfs 64M 0 64M 0% /dev 05:24:52 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 05:24:52 shm 64M 0 64M 0% /dev/shm 05:24:52 /dev/vda1 40G 7.3G 33G 19% /facter-os 05:24:52 05:24:52 05:24:52 Cannot open /var/log/sysstat/sa19: No such file or directory 05:24:52 Please check if data collecting is enabled 05:24:52 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:24:53 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 05:24:53 $ docker stop --time=1 24cf9fc58387304b1e5f2af0a818fc127048e1aa4f5f8a97175b068156a7a7fd 05:24:54 $ docker rm -f --volumes 24cf9fc58387304b1e5f2af0a818fc127048e1aa4f5f8a97175b068156a7a7fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 05:24:54 [WS-CLEANUP] Deleting project workspace... 05:24:54 [WS-CLEANUP] Deferred wipeout is used... 05:24:54 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:54 05:24:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:55 latest: Pulling from edgex-lftools-log-publisher 05:24:55 5eb5b503b376: Pulling fs layer 05:24:55 5c69ac0246d0: Pulling fs layer 05:24:55 ec43610c2a17: Pulling fs layer 05:24:55 3a2ae6a8a46f: Pulling fs layer 05:24:55 33b1e0a273af: Pulling fs layer 05:24:55 5d3b04190fa2: Pulling fs layer 05:24:55 2f39f015ded8: Pulling fs layer 05:24:55 33b1e0a273af: Waiting 05:24:55 3a2ae6a8a46f: Waiting 05:24:55 5d3b04190fa2: Waiting 05:24:55 2f39f015ded8: Waiting 05:24:55 5c69ac0246d0: Verifying Checksum 05:24:55 5c69ac0246d0: Download complete 05:24:55 3a2ae6a8a46f: Verifying Checksum 05:24:55 3a2ae6a8a46f: Download complete 05:24:55 33b1e0a273af: Verifying Checksum 05:24:55 33b1e0a273af: Download complete 05:24:55 5d3b04190fa2: Verifying Checksum 05:24:55 5d3b04190fa2: Download complete 05:24:55 ec43610c2a17: Verifying Checksum 05:24:55 ec43610c2a17: Download complete 05:24:55 5eb5b503b376: Verifying Checksum 05:24:55 5eb5b503b376: Download complete 05:24:55 2f39f015ded8: Verifying Checksum 05:24:55 2f39f015ded8: Download complete 05:24:56 5eb5b503b376: Pull complete 05:24:56 5c69ac0246d0: Pull complete 05:24:57 ec43610c2a17: Pull complete 05:24:57 3a2ae6a8a46f: Pull complete 05:24:57 33b1e0a273af: Pull complete 05:24:57 5d3b04190fa2: Pull complete 05:25:01 2f39f015ded8: Pull complete 05:25:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:25:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:25:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:01 prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container 05:25:01 $ 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 05:25:03 $ docker top 4f97da3aee8fd6bc2d599cd7811954516b27f3065e9ab8f83da2169de7b30e64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:03 ---> job-cost.sh 05:25:03 lf-activate-venv: SKIPPING 05:25:03 INFO: No Stack... 05:25:04 INFO: Retrieving Pricing Info for: v3-standard-8 05:25:04 INFO: Archiving Costs [Pipeline] sh 05:25:04 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 05:25:04 + cut -d, -f6 [Pipeline] lock 05:25:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] 05:25:04 Resource [jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] did not exist. Created. 05:25:04 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:25:05 + echo total: 0.2199999988079071 [Pipeline] stash 05:25:05 Stashed 1 file(s) [Pipeline] } 05:25:05 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] [Pipeline] // lock [Pipeline] } 05:25:05 $ docker stop --time=1 4f97da3aee8fd6bc2d599cd7811954516b27f3065e9ab8f83da2169de7b30e64 05:25:06 $ docker rm -f --volumes 4f97da3aee8fd6bc2d599cd7811954516b27f3065e9ab8f83da2169de7b30e64 [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 05:25:06 provisioning config files... 05:25:06 copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config497622112593989960tmp [Pipeline] { [Pipeline] sh 05:25:07 + set +x 05:25:07 + curl -s https://codecov.io/bash 05:25:07 + bash -s -- 05:25:07 05:25:07 _____ _ 05:25:07 / ____| | | 05:25:07 | | ___ __| | ___ ___ _____ __ 05:25:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:25:07 | |___| (_) | (_| | __/ (_| (_) \ V / 05:25:07 \_____\___/ \__,_|\___|\___\___/ \_/ 05:25:07 Bash-1.0.6 05:25:07 05:25:07 05:25:07 ==> git version 2.25.1 found 05:25:07 ==> 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 05:25:07 Release-Date: 2020-01-08 05:25:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:25:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:25:07 ==> Jenkins CI detected. 05:25:07 current dir:  /w/workspace/gexfoundry_sample-service_PR-165 05:25:07 project root: . 05:25:07 --> token set from env 05:25:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:25:07 ==> Running gcov in . (disable via -X gcov) 05:25:07 ==> Python coveragepy not found 05:25:07 ==> Searching for coverage reports in: 05:25:07 + . 05:25:07 -> Found 1 reports 05:25:07 ==> Detecting git/mercurial file structure 05:25:07 ==> Reading reports 05:25:07 + ./coverage.out bytes=5399 05:25:07 ==> Appending adjustments 05:25:07 https://docs.codecov.io/docs/fixing-reports 05:25:07 + Found adjustments 05:25:07 ==> Gzipping contents 05:25:07 4.0K /tmp/codecov.iIt5ac.gz 05:25:07 ==> Uploading reports 05:25:07 url: https://codecov.io 05:25:07 query: branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F12%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 05:25:07 -> Pinging Codecov 05:25:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F12%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 05:25:07 -> Uploading to 05:25:07 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/23ff995a3aef02e85a45daf0513f418e4247a776/78dca8d6-7e06-4e52-a8e6-100203fc7a7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250319%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250319T052507Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=586d22bf33a10ea1ca88a095e212bdca9b94254f2729ec6402c9c26d645be8ee 05:25:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:25:07 Dload Upload Total Spent Left Speed 05:25:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1057 0 0 100 1057 0 6732 --:--:-- --:--:-- --:--:-- 6732 05:25:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } 05:25:07 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 05:25:08 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 05:25:08 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 05:25:08 total 16 05:25:08 drwxr-xr-x 3 root root 4096 Mar 19 05:25 . 05:25:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 19 05:25 .. 05:25:08 drwxr-xr-x 2 root root 4096 Mar 19 05:25 cost 05:25:08 -rw-r--r-- 1 root root 87 Mar 19 05:25 cost.csv 05:25:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 05:25:08 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 05:25:08 total 16 05:25:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 19 05:25 . 05:25:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 19 05:25 .. 05:25:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 19 05:25 cost 05:25:08 -rw-r--r-- 1 jenkins jenkins 87 Mar 19 05:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:25:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:25:09 ---> package-listing.sh 05:25:09 ++ tr '[:upper:]' '[:lower:]' 05:25:09 ++ facter osfamily 05:25:09 + OS_FAMILY=debian 05:25:09 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 05:25:09 + START_PACKAGES=/tmp/packages_start.txt 05:25:09 + END_PACKAGES=/tmp/packages_end.txt 05:25:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:25:09 + PACKAGES=/tmp/packages_start.txt 05:25:09 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:25:09 + PACKAGES=/tmp/packages_end.txt 05:25:09 + case "${OS_FAMILY}" in 05:25:09 + dpkg -l 05:25:09 + grep '^ii' 05:25:09 + '[' -f /tmp/packages_start.txt ']' 05:25:09 + '[' -f /tmp/packages_end.txt ']' 05:25:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:25:09 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:25:09 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 05:25:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 05:25:09 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 05:25:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:10 prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container 05:25:10 $ 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 05:25:11 $ docker top 391ddf4cec29992541125094b5906eebfbdf7b0693000c72cc2ed14370d39a30 -eo pid,comm [Pipeline] { [Pipeline] sh 05:25:11 + touch /tmp/pre-build-complete [Pipeline] sh 05:25:11 + mkdir -p /var/log/sysstat [Pipeline] sh 05:25:12 + ls /var/log/sa-host 05:25:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:12 provisioning config files... 05:25:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config6528011354530884017tmp [Pipeline] { [Pipeline] echo 05:25:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:25:12 ---> create-netrc.sh [Pipeline] } 05:25:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:25:12 ---> python-tools-install.sh [Pipeline] echo 05:25:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:25:13 ---> sudo-logs.sh 05:25:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:25:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:25:13 ---> job-cost.sh 05:25:13 lf-activate-venv: SKIPPING 05:25:13 DEBUG: total: 0.2199999988079071 05:25:13 INFO: Retrieving Stack Cost... 05:25:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:25:13 INFO: Archiving Costs [Pipeline] echo 05:25:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:25:13 ---> logs-deploy.sh 05:25:13 lf-activate-venv: SKIPPING 05:25:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/12 05:25:13 INFO: archiving workspace using pattern(s): 05:25:14 Archives upload complete. 05:25:14 INFO: archiving logs to Nexus