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-ssh16591865742247366768.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 142cf70a00befa078617df785e31ccf4591325e5 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-ssh13765994060116004171.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 142cf70a00befa078617df785e31ccf4591325e5 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-ssh14187712774559125958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 142cf70a00befa078617df785e31ccf4591325e5 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 142cf70a00befa078617df785e31ccf4591325e5 # timeout=10 Commit message: "test" > 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-ssh7826451130585787331.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-ssh10983028092409343943.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 ‘prd-ubuntu20.04-docker-8c-8g-41565’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41566 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/sample-service.git > git init /w/workspace/gexfoundry_sample-service_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit 23ff995a3aef02e85a45daf0513f418e4247a776 Merge succeeded, producing 23ff995a3aef02e85a45daf0513f418e4247a776 Checking out Revision 23ff995a3aef02e85a45daf0513f418e4247a776 (PR-165) > 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 10:21:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:21:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:21:25 ========================================================= 10:21:25 EdgeX Global Pipelines Version Info 10:21:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:21:26 ------------------- 10:21:26 stable info: 10:21:26 ------------------- 10:21:26 Commited By: Cherry Wang cherry@iotechsys.com 10:21:26 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 10:21:26 Message: update stable to v1.0.272 10:21:26 ------------------- 10:21:26 experimental info: 10:21:26 ------------------- 10:21:26 Commited By: Ginny Guan ginny@iotechsys.com 10:21:26 Commit SHA: 142cf70a00befa078617df785e31ccf4591325e5 10:21:26 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo 10:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:27 provisioning config files... 10:21:27 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config7432852123693704158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:28 ---> ****-login.sh 10:21:28 nexus3.edgexfoundry.org:10001 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:28 Configure a credential helper to remove this warning. See 10:21:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:28 10:21:28 Login Succeeded 10:21:28 nexus3.edgexfoundry.org:10002 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:28 Configure a credential helper to remove this warning. See 10:21:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:28 10:21:28 Login Succeeded 10:21:28 nexus3.edgexfoundry.org:10003 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:28 Configure a credential helper to remove this warning. See 10:21:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:28 10:21:28 Login Succeeded 10:21:28 nexus3.edgexfoundry.org:10004 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:28 Configure a credential helper to remove this warning. See 10:21:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:28 10:21:28 Login Succeeded 10:21:28 ****.io 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:29 Configure a credential helper to remove this warning. See 10:21:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:29 10:21:29 Login Succeeded 10:21:29 ---> ****-login.sh ends [Pipeline] } 10:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:21:29 + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:21:29 -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh 10:21:29 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:21:29 ========================================================= 10:21:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:21:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:21:30 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:21:30 [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 10:21:30 [semverPrep] This is not a build commit. [Pipeline] sh 10:21:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:21:30 + grep -v github /etc/ssh/ssh_known_hosts 10:21:30 + [ -e /tmp/ssh_known_hosts ] 10:21:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:21:30 + sudo tee -a /etc/ssh/ssh_known_hosts 10:21:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:21:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:21:31 10:21:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:21:31 0.1.4: Pulling from edgex-devops/py-git-semver 10:21:31 b85a868b505f: Pulling fs layer 10:21:31 e2be974225ed: Pulling fs layer 10:21:31 339a4e72a1f5: Pulling fs layer 10:21:31 988bab9f4d93: Pulling fs layer 10:21:31 1469e6f7b9e6: Pulling fs layer 10:21:31 eaf3925da568: Pulling fs layer 10:21:31 bab4dde63d76: Pulling fs layer 10:21:31 bde34c3a00c8: Pulling fs layer 10:21:31 b352a97aabf1: Pulling fs layer 10:21:31 4872d77fe225: Pulling fs layer 10:21:31 5851b861e8e6: Pulling fs layer 10:21:31 bab4dde63d76: Waiting 10:21:31 bde34c3a00c8: Waiting 10:21:31 b352a97aabf1: Waiting 10:21:31 4872d77fe225: Waiting 10:21:31 5851b861e8e6: Waiting 10:21:31 988bab9f4d93: Waiting 10:21:31 1469e6f7b9e6: Waiting 10:21:31 eaf3925da568: Waiting 10:21:31 e2be974225ed: Verifying Checksum 10:21:31 e2be974225ed: Download complete 10:21:31 988bab9f4d93: Download complete 10:21:31 1469e6f7b9e6: Verifying Checksum 10:21:31 1469e6f7b9e6: Download complete 10:21:31 eaf3925da568: Download complete 10:21:31 339a4e72a1f5: Verifying Checksum 10:21:31 339a4e72a1f5: Download complete 10:21:31 bde34c3a00c8: Verifying Checksum 10:21:31 bde34c3a00c8: Download complete 10:21:31 b352a97aabf1: Download complete 10:21:31 4872d77fe225: Verifying Checksum 10:21:31 4872d77fe225: Download complete 10:21:31 5851b861e8e6: Download complete 10:21:31 b85a868b505f: Verifying Checksum 10:21:31 b85a868b505f: Download complete 10:21:31 bab4dde63d76: Verifying Checksum 10:21:31 bab4dde63d76: Download complete 10:21:32 b85a868b505f: Pull complete 10:21:32 e2be974225ed: Pull complete 10:21:33 339a4e72a1f5: Pull complete 10:21:33 988bab9f4d93: Pull complete 10:21:33 1469e6f7b9e6: Pull complete 10:21:33 eaf3925da568: Pull complete 10:21:35 bab4dde63d76: Pull complete 10:21:35 bde34c3a00c8: Pull complete 10:21:35 b352a97aabf1: Pull complete 10:21:35 4872d77fe225: Pull complete 10:21:35 5851b861e8e6: Pull complete 10:21:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:21:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:35 prd-ubuntu20.04-docker-8c-8g-41566 does not seem to be running inside a container 10:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:21:38 $ docker top 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 -eo pid,comm 10:21:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:21:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:38 [ssh-agent] Looking for ssh-agent implementation... 10:21:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:38 $ docker exec 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 ssh-agent 10:21:38 SSH_AUTH_SOCK=/tmp/ssh-iTRm53Fm6S7B/agent.31 10:21:38 SSH_AGENT_PID=37 10:21:38 Running ssh-add (command line suppressed) 10:21:38 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_11195336234225763731.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_11195336234225763731.key) 10:21:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:39 + git tag --points-at HEAD [Pipeline] } 10:21:39 $ docker exec --env ******** --env ******** 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 ssh-agent -k 10:21:39 unset SSH_AUTH_SOCK; 10:21:39 unset SSH_AGENT_PID; 10:21:39 echo Agent pid 37 killed; 10:21:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:21:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:39 [ssh-agent] Looking for ssh-agent implementation... 10:21:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:39 $ docker exec 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 ssh-agent 10:21:39 SSH_AUTH_SOCK=/tmp/ssh-LrXhrqa4fQNH/agent.70 10:21:39 SSH_AGENT_PID=76 10:21:39 Running ssh-add (command line suppressed) 10:21:39 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_10532202508607702085.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_10532202508607702085.key) 10:21:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:39 + git semver init 10:21:40 2025-03-18 10:21:40,079 [run_init] DEBUG init version:0.0.0 force:False 10:21:40 2025-03-18 10:21:40,079 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 10:21:40 2025-03-18 10:21:40,080 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 10:21:40 2025-03-18 10:21:40,080 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/sample-service.git', '/w/workspace/gexfoundry_sample-service_PR-165/.semver'], cwd=/w/workspace/gexfoundry_sample-service_PR-165, universal_newlines=False, shell=None, istream=None) 10:21:41 2025-03-18 10:21:40,781 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 10:21:41 2025-03-18 10:21:40,782 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 10:21:41 2025-03-18 10:21:40,782 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 10:21:41 2025-03-18 10:21:40,786 [execute] INFO git cat-file --batch-check 10:21:41 2025-03-18 10:21:40,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 10:21:41 2025-03-18 10:21:40,795 [execute] INFO git cat-file --batch 10:21:41 2025-03-18 10:21:40,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 10:21:41 2025-03-18 10:21:40,802 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 10:21:41 0.0.0 [Pipeline] } 10:21:41 $ docker exec --env ******** --env ******** 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 ssh-agent -k 10:21:41 unset SSH_AUTH_SOCK; 10:21:41 unset SSH_AGENT_PID; 10:21:41 echo Agent pid 76 killed; 10:21:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:21:41 + git semver [Pipeline] } 10:21:41 $ docker stop --time=1 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 10:21:43 $ docker rm -f --volumes 19a9a6ddb78496bf771831b0e3c34bfd633539d529ae59d6d0a4d99fe844a153 [Pipeline] // withDockerContainer [Pipeline] sh 10:21:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:21:43 Stashed 1 file(s) [Pipeline] echo 10:21:43 [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 10:21:44 provisioning config files... 10:21:44 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15458779461024586581tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:21:44 ---> ****-login.sh 10:21:44 nexus3.edgexfoundry.org:10001 10:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:44 Configure a credential helper to remove this warning. See 10:21:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:44 10:21:44 Login Succeeded 10:21:44 nexus3.edgexfoundry.org:10002 10:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:44 Configure a credential helper to remove this warning. See 10:21:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:44 10:21:44 Login Succeeded 10:21:44 nexus3.edgexfoundry.org:10003 10:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:44 Configure a credential helper to remove this warning. See 10:21:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:44 10:21:44 Login Succeeded 10:21:44 nexus3.edgexfoundry.org:10004 10:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:44 Configure a credential helper to remove this warning. See 10:21:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:44 10:21:44 Login Succeeded 10:21:44 ****.io 10:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:44 Configure a credential helper to remove this warning. See 10:21:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:44 10:21:44 Login Succeeded 10:21:44 ---> ****-login.sh ends [Pipeline] } 10:21:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:21:45 ========================================================= 10:21:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:21:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:45 + 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 . 10:21:45 Sending build context to Docker daemon 2.788MB 10:21:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 10:21:45 Step 2/12 : FROM ${BASE} AS builder 10:21:45 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:21:45 da9db072f522: Pulling fs layer 10:21:45 6ef4a4ee8ca5: Pulling fs layer 10:21:45 06f05ace1117: Pulling fs layer 10:21:45 5fe327b54edc: Pulling fs layer 10:21:45 4f4fb700ef54: Pulling fs layer 10:21:45 92a5565b7b96: Pulling fs layer 10:21:45 ff9bb7016b71: Pulling fs layer 10:21:45 b67dba6c2c7d: Pulling fs layer 10:21:45 a813b0c90790: Pulling fs layer 10:21:45 4f4fb700ef54: Waiting 10:21:45 92a5565b7b96: Waiting 10:21:45 ff9bb7016b71: Waiting 10:21:45 b67dba6c2c7d: Waiting 10:21:45 a813b0c90790: Waiting 10:21:45 5fe327b54edc: Waiting 10:21:45 6ef4a4ee8ca5: Verifying Checksum 10:21:45 6ef4a4ee8ca5: Download complete 10:21:45 5fe327b54edc: Download complete 10:21:45 4f4fb700ef54: Download complete 10:21:45 92a5565b7b96: Download complete 10:21:45 da9db072f522: Download complete 10:21:45 ff9bb7016b71: Verifying Checksum 10:21:45 ff9bb7016b71: Download complete 10:21:45 da9db072f522: Pull complete 10:21:45 a813b0c90790: Verifying Checksum 10:21:45 a813b0c90790: Download complete 10:21:45 6ef4a4ee8ca5: Pull complete 10:21:45 06f05ace1117: Verifying Checksum 10:21:45 06f05ace1117: Download complete 10:21:46 b67dba6c2c7d: Verifying Checksum 10:21:46 b67dba6c2c7d: Download complete 10:21:49 06f05ace1117: Pull complete 10:21:49 5fe327b54edc: Pull complete 10:21:49 4f4fb700ef54: Pull complete 10:21:49 92a5565b7b96: Pull complete 10:21:49 ff9bb7016b71: Pull complete 10:21:51 b67dba6c2c7d: Pull complete 10:21:52 a813b0c90790: Pull complete 10:21:52 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:21:52 ---> 3ba60ce46760 10:21:52 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:21:56 ---> Running in 2f069cc5e041 10:21:56 Removing intermediate container 2f069cc5e041 10:21:56 ---> edd0fdf78c97 10:21:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:21:56 ---> Running in 6c0e13eeadc3 10:21:56 Removing intermediate container 6c0e13eeadc3 10:21:56 ---> a0088085ceee 10:21:56 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:21:56 ---> Running in 7cd4118dbf04 10:21:56 Removing intermediate container 7cd4118dbf04 10:21:56 ---> 6afa692073c0 10:21:56 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:56 ---> Running in aa4fc375008c 10:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:21:56 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:21:56 (2/4) Installing libedit (20240517.3.1-r0) 10:21:56 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:21:56 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:21:56 Executing busybox-1.36.1-r29.trigger 10:21:56 OK: 252 MiB in 62 packages 10:21:57 Removing intermediate container aa4fc375008c 10:21:57 ---> e7a7b6adba23 10:21:57 Step 7/12 : WORKDIR /sample-service 10:21:57 ---> Running in 7110fd1861c4 10:21:57 Removing intermediate container 7110fd1861c4 10:21:57 ---> eccef258fa46 10:21:57 Step 8/12 : COPY go.mod vendor* ./ 10:21:57 ---> 3ed274655827 10:21:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:57 ---> Running in e3da5aef1ff2 10:22:07 Removing intermediate container e3da5aef1ff2 10:22:07 ---> 60c5e7df99b5 10:22:07 Step 10/12 : COPY . . 10:22:07 ---> cb6bf67757fa 10:22:07 Step 11/12 : ARG MAKE='make build' 10:22:07 ---> Running in b1667ea50b8b 10:22:07 Removing intermediate container b1667ea50b8b 10:22:07 ---> 0fa09ad66248 10:22:07 Step 12/12 : RUN $MAKE 10:22:07 ---> Running in 2582eb7ae112 10:22:07 noop 10:22:07 Removing intermediate container 2582eb7ae112 10:22:07 ---> 5fb2f87a3d21 10:22:07 Successfully built 5fb2f87a3d21 10:22:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:07 + docker inspect -f . ci-base-image-x86_64 10:22:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:08 prd-ubuntu20.04-docker-8c-8g-41566 does not seem to be running inside a container 10:22:08 $ 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 ******** -e ******** ci-base-image-x86_64 cat 10:22:08 $ docker top f45b6a19790d09658fb54d63ce929098b4e67c73dfc957c5714093e591eb9efb -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:08 + go version 10:22:08 go version go1.23.4 linux/amd64 [Pipeline] } 10:22:08 $ docker stop --time=1 f45b6a19790d09658fb54d63ce929098b4e67c73dfc957c5714093e591eb9efb 10:22:09 $ docker rm -f --volumes f45b6a19790d09658fb54d63ce929098b4e67c73dfc957c5714093e591eb9efb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:10 + docker inspect -f . ci-base-image-x86_64 10:22:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:10 prd-ubuntu20.04-docker-8c-8g-41566 does not seem to be running inside a container 10:22:10 $ 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 ******** -e ******** ci-base-image-x86_64 cat 10:22:10 $ docker top 52e46bd493de40f2812f54927768d59a6506dbf4d33b0e32ccccf9ad0b216c84 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:11 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 10:22:11 + make test 'GOTESTFLAGS=-json -v' 10:22:11 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 10:22:12 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 10:22:20 📦 github.com/edgexfoundry/sample-service 10:22:20 🛑 no test files 10:22:20 10:22:20 📦 github.com/edgexfoundry/sample-service/cmd 10:22:20 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 10:22:20 10:22:20 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 10:22:20 level=ERROR ts=2025-03-18T10:22:19.575336784Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 10:22:20 ✅ TestHandleReadCommands (0s) 10:22:20 ✅ TestHandleWriteCommands (0s) 10:22:20 ✅ TestValue_Int16 (0s) 10:22:20 ✅ TestValue_Int32 (0s) 10:22:20 ✅ TestValue_Int64 (0s) 10:22:20 ✅ TestValue_Int8 (0s) 10:22:20 10:22:20 CGO_ENABLED=1 go vet ./... 10:22:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:22:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:22:22 ./bin/test-attribution-txt.sh 10:22:22 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 10:22:22 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 10:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 10:22:22 $ docker stop --time=1 52e46bd493de40f2812f54927768d59a6506dbf4d33b0e32ccccf9ad0b216c84 10:22:24 $ docker rm -f --volumes 52e46bd493de40f2812f54927768d59a6506dbf4d33b0e32ccccf9ad0b216c84 [Pipeline] // withDockerContainer [Pipeline] sh 10:22:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:22:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:22:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:22:25 + ls -al . 10:22:25 total 160 10:22:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 10:22 . 10:22:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 10:21 .. 10:22:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 10:21 .git 10:22:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:21 .github 10:22:25 -rw-rw-r-- 1 jenkins jenkins 46 Mar 18 10:21 .gitignore 10:22:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 10:21 .semver 10:22:25 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 18 10:21 Attribution.txt 10:22:25 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 18 10:21 CHANGELOG.md 10:22:25 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 18 10:21 Dockerfile 10:22:25 -rw-rw-r-- 1 jenkins jenkins 821 Mar 18 10:21 Jenkinsfile 10:22:25 -rw-rw-r-- 1 jenkins jenkins 729 Mar 18 10:21 Jenkinsfile-sandbox 10:22:25 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 18 10:21 Jenkinsfile.edgexSemver 10:22:25 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 10:21 LICENSE 10:22:25 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 18 10:21 Makefile 10:22:25 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 18 10:21 README.md 10:22:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 10:21 VERSION 10:22:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:21 api 10:22:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:21 bin 10:22:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:21 cmd 10:22:25 -rw-r--r-- 1 jenkins jenkins 5399 Mar 18 10:22 coverage.out 10:22:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:21 driver 10:22:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:21 example 10:22:25 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 18 10:21 go.mod 10:22:25 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 18 10:21 go.sum 10:22:25 -rw-rw-r-- 1 jenkins jenkins 225 Mar 18 10:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:25 + 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 . 10:22:25 Sending build context to Docker daemon 2.794MB 10:22:25 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 10:22:25 Step 2/23 : FROM ${BASE} AS builder 10:22:25 ---> 5fb2f87a3d21 10:22:25 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:22:25 ---> Running in eefd05cc46bc 10:22:26 Removing intermediate container eefd05cc46bc 10:22:26 ---> 992bbc54eea3 10:22:26 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 10:22:26 ---> Running in c95b06367fe3 10:22:26 Removing intermediate container c95b06367fe3 10:22:26 ---> a8ecc0ba0154 10:22:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:22:26 ---> Running in f757fefb5cac 10:22:26 Removing intermediate container f757fefb5cac 10:22:26 ---> 42a0336c5569 10:22:26 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:26 ---> Running in 66ac706cbde0 10:22:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:22:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:22:26 OK: 252 MiB in 62 packages 10:22:27 Removing intermediate container 66ac706cbde0 10:22:27 ---> 554f7da5b9c0 10:22:27 Step 7/23 : WORKDIR /sample-service 10:22:27 ---> Running in e0f581b054de 10:22:27 Removing intermediate container e0f581b054de 10:22:27 ---> bd4f430b3b0d 10:22:27 Step 8/23 : COPY go.mod vendor* ./ 10:22:27 ---> 18291f194d8d 10:22:27 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:27 ---> Running in 4f27cfcc6a9c 10:22:28 Removing intermediate container 4f27cfcc6a9c 10:22:28 ---> 562e7698d24e 10:22:28 Step 10/23 : COPY . . 10:22:28 ---> 250b82f4774e 10:22:28 Step 11/23 : ARG MAKE='make build' 10:22:28 ---> Running in 7c1b346f4b03 10:22:28 Removing intermediate container 7c1b346f4b03 10:22:28 ---> 61124a6bb6d8 10:22:28 Step 12/23 : RUN $MAKE 10:22:28 ---> Running in 6146fbf697df 10:22:28 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 10:22:41 Removing intermediate container 6146fbf697df 10:22:41 ---> cf8226b6c9e2 10:22:41 Step 13/23 : FROM alpine:3.18 10:22:41 3.18: Pulling from library/alpine 10:22:41 44cf07d57ee4: Pulling fs layer 10:22:41 44cf07d57ee4: Download complete 10:22:41 44cf07d57ee4: Pull complete 10:22:41 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 10:22:41 Status: Downloaded newer image for alpine:3.18 10:22:41 ---> 802c91d52981 10:22:41 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:22:41 ---> Running in c317fa41d341 10:22:41 Removing intermediate container c317fa41d341 10:22:41 ---> 065e733b09de 10:22:41 Step 15/23 : ENV APP_PORT=49999 10:22:41 ---> Running in bf2dfde5a521 10:22:41 Removing intermediate container bf2dfde5a521 10:22:41 ---> 9c20574f5c29 10:22:41 Step 16/23 : EXPOSE $APP_PORT 10:22:41 ---> Running in 9694419f7007 10:22:41 Removing intermediate container 9694419f7007 10:22:41 ---> f3d0f9ef4551 10:22:41 Step 17/23 : COPY --from=builder /sample-service/cmd / 10:22:41 ---> ebba91cd2673 10:22:41 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 10:22:41 ---> a8a486c57221 10:22:41 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 10:22:41 ---> 7f02c3af7bbf 10:22:41 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 10:22:41 ---> Running in 42e389f4643f 10:22:41 Removing intermediate container 42e389f4643f 10:22:41 ---> 95d929606ce4 10:22:41 Step 21/23 : LABEL arch=amd64 10:22:41 ---> Running in 8ffbcfcfac54 10:22:41 Removing intermediate container 8ffbcfcfac54 10:22:41 ---> a76f7eb3750a 10:22:41 Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 10:22:41 ---> Running in d94b92f22a52 10:22:41 Removing intermediate container d94b92f22a52 10:22:41 ---> 200ac37eddb8 10:22:41 Step 23/23 : LABEL version=0.0.0 10:22:41 ---> Running in 3d02abff6f44 10:22:41 Removing intermediate container 3d02abff6f44 10:22:41 ---> 0deb7db7a026 10:22:41 [Warning] One or more build-args [ARCH] were not consumed 10:22:41 Successfully built 0deb7db7a026 10:22:41 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:22:41 build? true, push? true [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:41 provisioning config files... 10:22:41 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config13613947610957462400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:41 ---> ****-login.sh 10:22:41 nexus3.edgexfoundry.org:10001 10:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:22:41 Configure a credential helper to remove this warning. See 10:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:22:41 10:22:41 Login Succeeded 10:22:41 nexus3.edgexfoundry.org:10002 10:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:22:41 Configure a credential helper to remove this warning. See 10:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:22:41 10:22:41 Login Succeeded 10:22:41 nexus3.edgexfoundry.org:10003 10:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:22:42 Configure a credential helper to remove this warning. See 10:22:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:22:42 10:22:42 Login Succeeded 10:22:42 nexus3.edgexfoundry.org:10004 10:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:22:42 Configure a credential helper to remove this warning. See 10:22:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:22:42 10:22:42 Login Succeeded 10:22:42 ****.io 10:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:22:42 Configure a credential helper to remove this warning. See 10:22:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:22:42 10:22:42 Login Succeeded 10:22:42 ---> ****-login.sh ends [Pipeline] } 10:22:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:22:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:22:42 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 10:22:42 23ff995a3aef02e85a45daf0513f418e4247a776 10:22:42 latest 10:22:42 0.0.0 10:22:42 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:22:42 PR-165 10:22:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:42 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:43 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 10:22:43 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:22:43 ab787c8ef764: Preparing 10:22:43 98a9a1f488d8: Preparing 10:22:43 ba33fc4d841e: Preparing 10:22:43 f44f286046d9: Preparing 10:22:43 f44f286046d9: Layer already exists 10:22:43 ab787c8ef764: Pushed 10:22:43 98a9a1f488d8: Pushed 10:22:44 ba33fc4d841e: Pushed 10:22:44 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:44 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:45 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 10:22:45 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:22:45 ab787c8ef764: Preparing 10:22:45 98a9a1f488d8: Preparing 10:22:45 ba33fc4d841e: Preparing 10:22:45 f44f286046d9: Preparing 10:22:45 f44f286046d9: Layer already exists 10:22:45 ab787c8ef764: Layer already exists 10:22:45 98a9a1f488d8: Layer already exists 10:22:45 ba33fc4d841e: Layer already exists 10:22:45 latest: digest: sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:45 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:45 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 10:22:45 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:22:45 ab787c8ef764: Preparing 10:22:45 98a9a1f488d8: Preparing 10:22:45 ba33fc4d841e: Preparing 10:22:45 f44f286046d9: Preparing 10:22:45 ba33fc4d841e: Layer already exists 10:22:45 ab787c8ef764: Layer already exists 10:22:45 98a9a1f488d8: Layer already exists 10:22:45 f44f286046d9: Layer already exists 10:22:45 0.0.0: digest: sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:46 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:46 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:22:46 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:22:46 ab787c8ef764: Preparing 10:22:46 98a9a1f488d8: Preparing 10:22:46 ba33fc4d841e: Preparing 10:22:46 f44f286046d9: Preparing 10:22:46 98a9a1f488d8: Layer already exists 10:22:46 ba33fc4d841e: Layer already exists 10:22:46 f44f286046d9: Layer already exists 10:22:46 ab787c8ef764: Layer already exists 10:22:46 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:46 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:01 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 10:23:01 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:23:01 ab787c8ef764: Preparing 10:23:01 98a9a1f488d8: Preparing 10:23:01 ba33fc4d841e: Preparing 10:23:01 f44f286046d9: Preparing 10:23:01 98a9a1f488d8: Layer already exists 10:23:01 f44f286046d9: Layer already exists 10:23:01 ab787c8ef764: Layer already exists 10:23:01 ba33fc4d841e: Layer already exists 10:23:01 PR-165: digest: sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:23:01 ===================================================== [Pipeline] echo 10:23:01 taggedImages: 10:23:01 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 10:23:01 - nexus3.edgexfoundry.org:10004/sample-service:latest 10:23:01 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 10:23:01 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:23:01 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 10:23:01 ========================================================= 10:23:01 [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] 10:23:01 ========================================================= [Pipeline] node 10:23:16 Still waiting to schedule task 10:23:16 All nodes of label ‘centos7-docker-4c-2g’ are offline 10:24:25 Running on prd-centos7-docker-4c-2g-41567 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:25 provisioning config files... 10:24:25 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config18227956055796444421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:29 ---> ****-login.sh 10:24:29 nexus3.edgexfoundry.org:10001 10:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:24:30 Configure a credential helper to remove this warning. See 10:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:24:30 10:24:30 Login Succeeded 10:24:30 nexus3.edgexfoundry.org:10002 10:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:24:30 Configure a credential helper to remove this warning. See 10:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:24:30 10:24:30 Login Succeeded 10:24:30 nexus3.edgexfoundry.org:10003 10:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:24:30 Configure a credential helper to remove this warning. See 10:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:24:30 10:24:30 Login Succeeded 10:24:30 nexus3.edgexfoundry.org:10004 10:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:24:30 Configure a credential helper to remove this warning. See 10:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:24:30 10:24:30 Login Succeeded 10:24:30 ****.io 10:24:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:24:30 Configure a credential helper to remove this warning. See 10:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:24:30 10:24:30 Login Succeeded 10:24:30 ---> ****-login.sh ends [Pipeline] } 10:24:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:24:30 + docker buildx ls 10:24:31 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 10:24:31 default * docker 10:24:31 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 10:24:31 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 10:24:31 edgex-builder [Pipeline] sh 10:24:31 + docker buildx inspect --bootstrap 10:24:31 #1 [internal] booting buildkit 10:24:31 #1 pulling image moby/buildkit:buildx-stable-1 10:24:34 #1 pulling image moby/buildkit:buildx-stable-1 2.5s done 10:24:34 #1 creating container buildx_buildkit_edgex-builder0 10:24:37 #1 creating container buildx_buildkit_edgex-builder0 2.8s done 10:24:37 #1 DONE 5.3s 10:24:37 Name: edgex-builder 10:24:37 Driver: docker-container 10:24:37 10:24:37 Nodes: 10:24:37 Name: edgex-builder0 10:24:37 Endpoint: unix:///var/run/docker.sock 10:24:37 Status: running 10:24:37 Buildkit: v0.20.1 10:24:37 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 10:24:37 + docker buildx ls 10:24:37 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 10:24:37 edgex-builder * docker-container 10:24:37 edgex-builder0 unix:///var/run/docker.sock running v0.20.1 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 10:24:37 default docker 10:24:37 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] script [Pipeline] { [Pipeline] echo 10:24:37 build multi-arch for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] sh 10:24:38 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776' 10:24:38 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 --push - 10:24:38 #1 [internal] load build definition from Dockerfile 10:24:38 #1 transferring dockerfile: 199B done 10:24:38 #1 DONE 0.0s 10:24:38 10:24:38 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 10:24:38 #2 DONE 0.1s 10:24:38 10:24:38 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 10:24:38 #3 DONE 0.1s 10:24:38 10:24:38 #4 [internal] load .dockerignore 10:24:38 #4 transferring context: 2B done 10:24:38 #4 DONE 0.0s 10:24:38 10:24:38 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:38 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:38 #5 DONE 0.0s 10:24:38 10:24:38 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:38 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:38 #6 DONE 0.1s 10:24:38 10:24:38 #7 exporting to image 10:24:38 #7 exporting layers done 10:24:38 #7 exporting manifest sha256:1f1b6b30b4a79288ca306d69bc86d5d2a6d9fb39580f2aef63aff40731605b20 done 10:24:38 #7 exporting config sha256:71db7e6a138e3d2445684eea6a480ad8deb7c14fd6c18eba24921777f19a1e87 10:24:38 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:24:38 #7 ... 10:24:38 10:24:38 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 10:24:38 #8 DONE 0.0s 10:24:38 10:24:38 #7 exporting to image 10:24:38 #7 exporting config sha256:71db7e6a138e3d2445684eea6a480ad8deb7c14fd6c18eba24921777f19a1e87 done 10:24:38 #7 exporting manifest sha256:067487add4ec849a6e9a0c24667611d4daaf16bb600d4091c5cca0b62f5ef740 done 10:24:38 #7 exporting config sha256:6536367ea3abb14ca79e93c55b925a1da08fd29bde0a21937512670bfa5a1814 done 10:24:38 #7 exporting manifest list sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 done 10:24:38 #7 pushing layers 0.1s done 10:24:38 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 10:24:38 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 0.1s done 10:24:38 #7 DONE 0.2s 10:24:38 10:24:38 1 warning found (use --debug to expand): 10:24:38  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] echo 10:24:38 build multi-arch for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh 10:24:39 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:latest' 10:24:39 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:latest --push - 10:24:39 #1 [internal] load build definition from Dockerfile 10:24:39 #1 transferring dockerfile: 165B done 10:24:39 #1 DONE 0.0s 10:24:39 10:24:39 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 10:24:39 #2 DONE 0.0s 10:24:39 10:24:39 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 10:24:39 #3 DONE 0.0s 10:24:39 10:24:39 #4 [internal] load .dockerignore 10:24:39 #4 transferring context: 2B done 10:24:39 #4 DONE 0.0s 10:24:39 10:24:39 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:39 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:39 #5 DONE 0.0s 10:24:39 10:24:39 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:39 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:39 #6 CACHED 10:24:39 10:24:39 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:39 #5 CACHED 10:24:39 10:24:39 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 10:24:39 #7 DONE 0.0s 10:24:39 10:24:39 #8 exporting to image 10:24:39 #8 exporting layers done 10:24:39 #8 exporting manifest sha256:1f1b6b30b4a79288ca306d69bc86d5d2a6d9fb39580f2aef63aff40731605b20 done 10:24:39 #8 exporting config sha256:71db7e6a138e3d2445684eea6a480ad8deb7c14fd6c18eba24921777f19a1e87 done 10:24:39 #8 exporting manifest sha256:067487add4ec849a6e9a0c24667611d4daaf16bb600d4091c5cca0b62f5ef740 done 10:24:39 #8 exporting config sha256:6536367ea3abb14ca79e93c55b925a1da08fd29bde0a21937512670bfa5a1814 done 10:24:39 #8 exporting manifest list sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 done 10:24:39 #8 pushing layers 0.0s done 10:24:39 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 0.1s done 10:24:39 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:24:39 #8 DONE 0.1s 10:24:39 10:24:39 1 warning found (use --debug to expand): 10:24:39  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] echo 10:24:39 build multi-arch for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] sh 10:24:39 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0' 10:24:39 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:0.0.0 --push - 10:24:39 #1 [internal] load build definition from Dockerfile 10:24:39 #1 transferring dockerfile: 164B done 10:24:39 #1 DONE 0.0s 10:24:39 10:24:39 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 10:24:39 #2 DONE 0.0s 10:24:39 10:24:39 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 10:24:39 #3 DONE 0.0s 10:24:39 10:24:39 #4 [internal] load .dockerignore 10:24:39 #4 transferring context: 2B done 10:24:39 #4 DONE 0.0s 10:24:39 10:24:39 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:39 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:39 #5 CACHED 10:24:39 10:24:39 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:39 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:39 #6 CACHED 10:24:39 10:24:39 #7 exporting to image 10:24:39 #7 exporting layers done 10:24:39 #7 exporting manifest sha256:1f1b6b30b4a79288ca306d69bc86d5d2a6d9fb39580f2aef63aff40731605b20 done 10:24:39 #7 exporting config sha256:71db7e6a138e3d2445684eea6a480ad8deb7c14fd6c18eba24921777f19a1e87 done 10:24:39 #7 exporting manifest sha256:067487add4ec849a6e9a0c24667611d4daaf16bb600d4091c5cca0b62f5ef740 done 10:24:39 #7 exporting config sha256:6536367ea3abb14ca79e93c55b925a1da08fd29bde0a21937512670bfa5a1814 done 10:24:39 #7 exporting manifest list sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 done 10:24:39 #7 pushing layers 0.0s done 10:24:39 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 10:24:39 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:24:39 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 0.1s done 10:24:39 #7 DONE 0.1s 10:24:39 10:24:39 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 10:24:39 #8 DONE 0.0s 10:24:39 10:24:39 1 warning found (use --debug to expand): 10:24:39  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] echo 10:24:39 build multi-arch for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] sh 10:24:40 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0' 10:24:40 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 --push - 10:24:40 #1 [internal] load build definition from Dockerfile 10:24:40 #1 transferring dockerfile: 205B done 10:24:40 #1 DONE 0.0s 10:24:40 10:24:40 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:24:40 #2 DONE 0.0s 10:24:40 10:24:40 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:24:40 #3 DONE 0.0s 10:24:40 10:24:40 #4 [internal] load .dockerignore 10:24:40 #4 transferring context: 2B done 10:24:40 #4 DONE 0.0s 10:24:40 10:24:40 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:40 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:40 #5 CACHED 10:24:40 10:24:40 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:40 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:40 #6 CACHED 10:24:40 10:24:40 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 10:24:40 #7 DONE 0.0s 10:24:40 10:24:40 #8 exporting to image 10:24:40 #8 exporting layers done 10:24:40 #8 exporting manifest sha256:1f1b6b30b4a79288ca306d69bc86d5d2a6d9fb39580f2aef63aff40731605b20 done 10:24:40 #8 exporting config sha256:71db7e6a138e3d2445684eea6a480ad8deb7c14fd6c18eba24921777f19a1e87 done 10:24:40 #8 exporting manifest sha256:067487add4ec849a6e9a0c24667611d4daaf16bb600d4091c5cca0b62f5ef740 done 10:24:40 #8 exporting config sha256:6536367ea3abb14ca79e93c55b925a1da08fd29bde0a21937512670bfa5a1814 done 10:24:40 #8 exporting manifest list sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 done 10:24:40 #8 pushing layers 0.0s done 10:24:40 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 0.1s done 10:24:40 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:24:40 #8 DONE 0.1s 10:24:40 10:24:40 1 warning found (use --debug to expand): 10:24:40  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] echo 10:24:40 build multi-arch for nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] sh 10:24:40 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165' 10:24:40 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:PR-165 --push - 10:24:40 #1 [internal] load build definition from Dockerfile 10:24:40 #1 transferring dockerfile: 165B done 10:24:40 #1 DONE 0.0s 10:24:40 10:24:40 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 10:24:40 #2 DONE 0.0s 10:24:40 10:24:40 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 10:24:40 #3 DONE 0.0s 10:24:40 10:24:40 #4 [internal] load .dockerignore 10:24:40 #4 transferring context: 2B done 10:24:40 #4 DONE 0.0s 10:24:40 10:24:40 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:40 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:40 #5 DONE 0.0s 10:24:40 10:24:40 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:41 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 0.0s done 10:24:41 #6 CACHED 10:24:41 10:24:41 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:09a437b4b8b7f446185d4a566d5b74922df09ff1270e2743d695ffbd112a4945 10:24:41 #5 CACHED 10:24:41 10:24:41 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 10:24:41 #7 DONE 0.0s 10:24:41 10:24:41 #8 exporting to image 10:24:41 #8 exporting layers done 10:24:41 #8 exporting manifest sha256:1f1b6b30b4a79288ca306d69bc86d5d2a6d9fb39580f2aef63aff40731605b20 done 10:24:41 #8 exporting config sha256:71db7e6a138e3d2445684eea6a480ad8deb7c14fd6c18eba24921777f19a1e87 done 10:24:41 #8 exporting manifest sha256:067487add4ec849a6e9a0c24667611d4daaf16bb600d4091c5cca0b62f5ef740 done 10:24:41 #8 exporting config sha256:6536367ea3abb14ca79e93c55b925a1da08fd29bde0a21937512670bfa5a1814 done 10:24:41 #8 exporting manifest list sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 done 10:24:41 #8 pushing layers 0.0s done 10:24:41 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:dfcf2d45d25fc73d362b235168d9c86ba79376d736075f5a84fe2604614e07a0 0.1s done 10:24:41 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 10:24:41 #8 DONE 0.1s 10:24:41 10:24:41 1 warning found (use --debug to expand): 10:24:41  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:24:41 + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh 10:24:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:24:42 ---> package-listing.sh 10:24:42 ++ tr '[:upper:]' '[:lower:]' 10:24:42 ++ facter osfamily 10:24:42 + OS_FAMILY=redhat 10:24:42 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 10:24:42 + START_PACKAGES=/tmp/packages_start.txt 10:24:42 + END_PACKAGES=/tmp/packages_end.txt 10:24:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:24:42 + PACKAGES=/tmp/packages_start.txt 10:24:42 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:24:42 + PACKAGES=/tmp/packages_end.txt 10:24:42 + case "${OS_FAMILY}" in 10:24:42 + sort 10:24:42 + rpm -qa 10:24:43 + '[' -f /tmp/packages_start.txt ']' 10:24:43 + '[' -f /tmp/packages_end.txt ']' 10:24:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:24:43 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:24:43 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 10:24:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 10:24:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:24:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:44 10:24:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:44 latest: Pulling from edgex-lftools-log-publisher 10:24:44 5eb5b503b376: Pulling fs layer 10:24:44 5c69ac0246d0: Pulling fs layer 10:24:44 ec43610c2a17: Pulling fs layer 10:24:44 3a2ae6a8a46f: Pulling fs layer 10:24:44 33b1e0a273af: Pulling fs layer 10:24:44 5d3b04190fa2: Pulling fs layer 10:24:44 2f39f015ded8: Pulling fs layer 10:24:44 3a2ae6a8a46f: Waiting 10:24:44 33b1e0a273af: Waiting 10:24:44 5d3b04190fa2: Waiting 10:24:44 2f39f015ded8: Waiting 10:24:44 5c69ac0246d0: Verifying Checksum 10:24:44 5c69ac0246d0: Download complete 10:24:44 3a2ae6a8a46f: Download complete 10:24:44 ec43610c2a17: Verifying Checksum 10:24:44 ec43610c2a17: Download complete 10:24:44 33b1e0a273af: Verifying Checksum 10:24:44 33b1e0a273af: Download complete 10:24:44 5d3b04190fa2: Verifying Checksum 10:24:44 5d3b04190fa2: Download complete 10:24:44 5eb5b503b376: Verifying Checksum 10:24:44 5eb5b503b376: Download complete 10:24:45 2f39f015ded8: Verifying Checksum 10:24:45 2f39f015ded8: Download complete 10:24:46 5eb5b503b376: Pull complete 10:24:46 5c69ac0246d0: Pull complete 10:24:47 ec43610c2a17: Pull complete 10:24:47 3a2ae6a8a46f: Pull complete 10:24:47 33b1e0a273af: Pull complete 10:24:47 5d3b04190fa2: Pull complete 10:24:51 2f39f015ded8: Pull complete 10:24:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:24:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:51 prd-centos7-docker-4c-2g-41567 does not seem to be running inside a container 10:24:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:24:56 $ docker top 83e7070280b63d1301a52088bbac6e2086b5a5213e4c1575bd85df618cdcabd7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:57 + touch /tmp/pre-build-complete [Pipeline] sh 10:24:57 + mkdir -p /var/log/sysstat [Pipeline] sh 10:24:57 + ls /var/log/sa-host 10:24:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:57 provisioning config files... 10:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config10593376718346024082tmp [Pipeline] { [Pipeline] echo 10:24:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:24:58 ---> create-netrc.sh [Pipeline] } 10:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:24:58 ---> python-tools-install.sh [Pipeline] echo 10:24:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:24:58 ---> sudo-logs.sh 10:24:58 Archiving 'sudo' log.. 10:24:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-41567.novalocal: Name or service not known 10:24:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-41567.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 10:24:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:24:59 ---> job-cost.sh 10:24:59 lf-activate-venv: SKIPPING 10:24:59 INFO: No Stack... 10:24:59 INFO: Retrieving Pricing Info for: v3-standard-2 10:25:00 INFO: Archiving Costs [Pipeline] echo 10:25:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:25:00 ---> logs-deploy.sh 10:25:00 lf-activate-venv: SKIPPING 10:25:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/11 10:25:00 INFO: archiving workspace using pattern(s): 10:25:01 Archives upload complete. 10:25:01 INFO: archiving logs to Nexus 10:25:01 ---> uname -a: 10:25:01 Linux prd-centos7-docker-4c-2g-41567.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 10:25:01 10:25:01 10:25:01 ---> lscpu: 10:25:01 Architecture: x86_64 10:25:01 CPU op-mode(s): 32-bit, 64-bit 10:25:01 Byte Order: Little Endian 10:25:01 Address sizes: 40 bits physical, 48 bits virtual 10:25:01 CPU(s): 2 10:25:01 On-line CPU(s) list: 0,1 10:25:01 Thread(s) per core: 1 10:25:01 Core(s) per socket: 1 10:25:01 Socket(s): 2 10:25:01 NUMA node(s): 1 10:25:01 Vendor ID: AuthenticAMD 10:25:01 CPU family: 23 10:25:01 Model: 49 10:25:01 Model name: AMD EPYC-Rome Processor 10:25:01 Stepping: 0 10:25:01 CPU MHz: 2799.998 10:25:01 BogoMIPS: 5599.99 10:25:01 Virtualization: AMD-V 10:25:01 Hypervisor vendor: KVM 10:25:01 Virtualization type: full 10:25:01 L1d cache: 64 KiB 10:25:01 L1i cache: 64 KiB 10:25:01 L2 cache: 1 MiB 10:25:01 L3 cache: 32 MiB 10:25:01 NUMA node0 CPU(s): 0,1 10:25:01 Vulnerability Itlb multihit: Not affected 10:25:01 Vulnerability L1tf: Not affected 10:25:01 Vulnerability Mds: Not affected 10:25:01 Vulnerability Meltdown: Not affected 10:25:01 Vulnerability Mmio stale data: Not affected 10:25:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:25:01 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:25:01 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:25:01 Vulnerability Srbds: Not affected 10:25:01 Vulnerability Tsx async abort: Not affected 10:25:01 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 10:25:01 10:25:01 10:25:01 ---> nproc: 10:25:01 2 10:25:01 10:25:01 10:25:01 ---> df -h: 10:25:01 Filesystem Size Used Avail Use% Mounted on 10:25:01 overlay 40G 7.3G 33G 19% / 10:25:01 tmpfs 64M 0 64M 0% /dev 10:25:01 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 10:25:01 shm 64M 0 64M 0% /dev/shm 10:25:01 /dev/vda1 40G 7.3G 33G 19% /facter-os 10:25:01 10:25:01 10:25:02 Cannot open /var/log/sysstat/sa18: No such file or directory 10:25:02 Please check if data collecting is enabled 10:25:02 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:25:02 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 10:25:02 $ docker stop --time=1 83e7070280b63d1301a52088bbac6e2086b5a5213e4c1575bd85df618cdcabd7 10:25:03 $ docker rm -f --volumes 83e7070280b63d1301a52088bbac6e2086b5a5213e4c1575bd85df618cdcabd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 10:25:03 [WS-CLEANUP] Deleting project workspace... 10:25:03 [WS-CLEANUP] Deferred wipeout is used... 10:25:03 [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 10:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:25:03 10:25:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:25:04 latest: Pulling from edgex-lftools-log-publisher 10:25:04 5eb5b503b376: Pulling fs layer 10:25:04 5c69ac0246d0: Pulling fs layer 10:25:04 ec43610c2a17: Pulling fs layer 10:25:04 3a2ae6a8a46f: Pulling fs layer 10:25:04 33b1e0a273af: Pulling fs layer 10:25:04 5d3b04190fa2: Pulling fs layer 10:25:04 2f39f015ded8: Pulling fs layer 10:25:04 33b1e0a273af: Waiting 10:25:04 2f39f015ded8: Waiting 10:25:04 5d3b04190fa2: Waiting 10:25:04 3a2ae6a8a46f: Waiting 10:25:04 5c69ac0246d0: Verifying Checksum 10:25:04 5c69ac0246d0: Download complete 10:25:04 3a2ae6a8a46f: Verifying Checksum 10:25:04 3a2ae6a8a46f: Download complete 10:25:04 ec43610c2a17: Verifying Checksum 10:25:04 ec43610c2a17: Download complete 10:25:04 33b1e0a273af: Verifying Checksum 10:25:04 33b1e0a273af: Download complete 10:25:04 5d3b04190fa2: Verifying Checksum 10:25:04 5d3b04190fa2: Download complete 10:25:04 5eb5b503b376: Verifying Checksum 10:25:04 5eb5b503b376: Download complete 10:25:05 2f39f015ded8: Download complete 10:25:05 5eb5b503b376: Pull complete 10:25:05 5c69ac0246d0: Pull complete 10:25:06 ec43610c2a17: Pull complete 10:25:06 3a2ae6a8a46f: Pull complete 10:25:06 33b1e0a273af: Pull complete 10:25:06 5d3b04190fa2: Pull complete 10:25:10 2f39f015ded8: Pull complete 10:25:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:25:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:10 prd-ubuntu20.04-docker-8c-8g-41566 does not seem to be running inside a container 10:25:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:25:13 $ docker top 22813b34db6ac975983abd1c761c9917b0e3d5a46782268d2ecf12dfd4e02dca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:13 ---> job-cost.sh 10:25:13 lf-activate-venv: SKIPPING 10:25:13 INFO: No Stack... 10:25:14 INFO: Retrieving Pricing Info for: v3-standard-8 10:25:14 INFO: Archiving Costs [Pipeline] sh 10:25:14 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 10:25:14 + cut -d, -f6 [Pipeline] lock 10:25:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-11-stack-cost] 10:25:14 Resource [jenkins-edgexfoundry-sample-service-PR-165-11-stack-cost] did not exist. Created. 10:25:14 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:25:15 + echo total: 0.2199999988079071 [Pipeline] stash 10:25:15 Stashed 1 file(s) [Pipeline] } 10:25:15 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-11-stack-cost] [Pipeline] // lock [Pipeline] } 10:25:15 $ docker stop --time=1 22813b34db6ac975983abd1c761c9917b0e3d5a46782268d2ecf12dfd4e02dca 10:25:16 $ docker rm -f --volumes 22813b34db6ac975983abd1c761c9917b0e3d5a46782268d2ecf12dfd4e02dca [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 10:25:16 provisioning config files... 10:25:16 copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config674433069626780445tmp [Pipeline] { [Pipeline] sh 10:25:16 + set +x 10:25:16 + curl -s https://codecov.io/bash 10:25:16 + bash -s -- 10:25:16 10:25:16 _____ _ 10:25:16 / ____| | | 10:25:16 | | ___ __| | ___ ___ _____ __ 10:25:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:25:16 | |___| (_) | (_| | __/ (_| (_) \ V / 10:25:16 \_____\___/ \__,_|\___|\___\___/ \_/ 10:25:16 Bash-1.0.6 10:25:16 10:25:16 10:25:16 ==> git version 2.25.1 found 10:25:16 ==> 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 10:25:16 Release-Date: 2020-01-08 10:25:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:25:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:25:16 ==> Jenkins CI detected. 10:25:16 current dir:  /w/workspace/gexfoundry_sample-service_PR-165 10:25:16 project root: . 10:25:16 --> token set from env 10:25:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:25:16 ==> Running gcov in . (disable via -X gcov) 10:25:16 ==> Python coveragepy not found 10:25:16 ==> Searching for coverage reports in: 10:25:16 + . 10:25:16 -> Found 1 reports 10:25:16 ==> Detecting git/mercurial file structure 10:25:16 ==> Reading reports 10:25:16 + ./coverage.out bytes=5399 10:25:16 ==> Appending adjustments 10:25:16 https://docs.codecov.io/docs/fixing-reports 10:25:17 + Found adjustments 10:25:17 ==> Gzipping contents 10:25:17 4.0K /tmp/codecov.2CcIhK.gz 10:25:17 ==> Uploading reports 10:25:17 url: https://codecov.io 10:25:17 query: branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F11%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 10:25:17 -> Pinging Codecov 10:25:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F11%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 10:25:17 -> Uploading to 10:25:17 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/23ff995a3aef02e85a45daf0513f418e4247a776/7736eb06-ebc0-4d26-ab68-7686ba534d92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250318%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250318T102517Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=90ed932bcd30b8d9cf2935c78f944d444cfa9d2d9835621b409d11b3cb5127e0 10:25:17 % Total % Received % Xferd Average Speed Time Time Time Current 10:25:17 Dload Upload Total Spent Left Speed 10:25:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1053 0 0 100 1053 0 7020 --:--:-- --:--:-- --:--:-- 7020 10:25:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } 10:25:17 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 10:25:18 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 10:25:18 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 10:25:18 total 16 10:25:18 drwxr-xr-x 3 root root 4096 Mar 18 10:25 . 10:25:18 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 10:25 .. 10:25:18 drwxr-xr-x 2 root root 4096 Mar 18 10:25 cost 10:25:18 -rw-r--r-- 1 root root 87 Mar 18 10:25 cost.csv 10:25:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 10:25:18 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 10:25:18 total 16 10:25:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 10:25 . 10:25:18 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 10:25 .. 10:25:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 10:25 cost 10:25:18 -rw-r--r-- 1 jenkins jenkins 87 Mar 18 10:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:25:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:25:19 ---> package-listing.sh 10:25:19 ++ facter osfamily 10:25:19 ++ tr '[:upper:]' '[:lower:]' 10:25:19 + OS_FAMILY=debian 10:25:19 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 10:25:19 + START_PACKAGES=/tmp/packages_start.txt 10:25:19 + END_PACKAGES=/tmp/packages_end.txt 10:25:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:25:19 + PACKAGES=/tmp/packages_start.txt 10:25:19 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:25:19 + PACKAGES=/tmp/packages_end.txt 10:25:19 + case "${OS_FAMILY}" in 10:25:19 + dpkg -l 10:25:19 + grep '^ii' 10:25:19 + '[' -f /tmp/packages_start.txt ']' 10:25:19 + '[' -f /tmp/packages_end.txt ']' 10:25:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:25:19 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:25:19 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 10:25:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 10:25:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:25:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:25:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:20 prd-ubuntu20.04-docker-8c-8g-41566 does not seem to be running inside a container 10:25:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:25:20 $ docker top df86bb9cc90dfa6fcabf5ec8098014153648eb9db23ae9d37610becfb5e7feb2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:21 + touch /tmp/pre-build-complete [Pipeline] sh 10:25:21 + mkdir -p /var/log/sysstat [Pipeline] sh 10:25:21 + ls /var/log/sa-host 10:25:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:21 provisioning config files... 10:25:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15229050552820462413tmp [Pipeline] { [Pipeline] echo 10:25:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:25:22 ---> create-netrc.sh [Pipeline] } 10:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:25:22 ---> python-tools-install.sh [Pipeline] echo 10:25:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:25:22 ---> sudo-logs.sh 10:25:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:25:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:25:23 ---> job-cost.sh 10:25:23 lf-activate-venv: SKIPPING 10:25:23 DEBUG: total: 0.2199999988079071 10:25:23 INFO: Retrieving Stack Cost... 10:25:23 INFO: Retrieving Pricing Info for: v3-standard-8 10:25:23 INFO: Archiving Costs [Pipeline] echo 10:25:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:25:23 ---> logs-deploy.sh 10:25:23 lf-activate-venv: SKIPPING 10:25:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/11 10:25:23 INFO: archiving workspace using pattern(s): 10:25:24 Archives upload complete. 10:25:24 INFO: archiving logs to Nexus