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-ssh4938113497015933036.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 8a1c751da23b8e3f408272cfa8df2fe70a0b63d9 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-ssh69081630884276303.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 8a1c751da23b8e3f408272cfa8df2fe70a0b63d9 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-ssh16166550639352956810.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8a1c751da23b8e3f408272cfa8df2fe70a0b63d9 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 8a1c751da23b8e3f408272cfa8df2fe70a0b63d9 # timeout=10 Commit message: "fix" > 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-ssh8772226003062692892.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-ssh1780588646201109240.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:sample-service, testScript:make test GOTESTFLAGS="-json -v"] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: sample-service-settings PROJECT: sample-service USE_SEMVER: true TEST_SCRIPT: make test GOTESTFLAGS="-json -v" BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: sample-service DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-42242 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/sample-service.git > git init /w/workspace/gexfoundry_sample-service_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit 23ff995a3aef02e85a45daf0513f418e4247a776 Merge succeeded, producing 23ff995a3aef02e85a45daf0513f418e4247a776 Checking out Revision 23ff995a3aef02e85a45daf0513f418e4247a776 (PR-165) > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:35:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:35:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:35:38 ========================================================= 08:35:38 EdgeX Global Pipelines Version Info 08:35:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:35:39 ------------------- 08:35:39 stable info: 08:35:39 ------------------- 08:35:39 Commited By: Ginny Guan ginny@iotechsys.com 08:35:39 Commit SHA: 7c45c8a198bad082eec5dc6eba334c557e460952 08:35:39 Message: update stable to v1.0.273 08:35:40 ------------------- 08:35:40 experimental info: 08:35:40 ------------------- 08:35:40 Commited By: Ginny Guan ginny@iotechsys.com 08:35:40 Commit SHA: 8a1c751da23b8e3f408272cfa8df2fe70a0b63d9 08:35:40 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:35:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo 08:35:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:35:41 provisioning config files... 08:35:41 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11189806120430738480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:35:41 ---> ****-login.sh 08:35:41 nexus3.edgexfoundry.org:10001 08:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 nexus3.edgexfoundry.org:10002 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 nexus3.edgexfoundry.org:10003 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 nexus3.edgexfoundry.org:10004 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 ****.io 08:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:42 Configure a credential helper to remove this warning. See 08:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:42 08:35:42 Login Succeeded 08:35:42 ---> ****-login.sh ends [Pipeline] } 08:35:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:35:43 + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 08:35:43 -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh 08:35:43 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 08:35:43 ========================================================= 08:35:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:35:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:43 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 08:35:43 [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 08:35:43 [semverPrep] This is not a build commit. [Pipeline] sh 08:35:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:35:44 + grep -v github /etc/ssh/ssh_known_hosts 08:35:44 + [ -e /tmp/ssh_known_hosts ] 08:35:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:35:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:35:44 + sudo tee -a /etc/ssh/ssh_known_hosts 08:35:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:35:44 08:35:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:35:45 0.1.4: Pulling from edgex-devops/py-git-semver 08:35:45 b85a868b505f: Pulling fs layer 08:35:45 e2be974225ed: Pulling fs layer 08:35:45 339a4e72a1f5: Pulling fs layer 08:35:45 988bab9f4d93: Pulling fs layer 08:35:45 1469e6f7b9e6: Pulling fs layer 08:35:45 eaf3925da568: Pulling fs layer 08:35:45 988bab9f4d93: Waiting 08:35:45 eaf3925da568: Waiting 08:35:45 1469e6f7b9e6: Waiting 08:35:45 bab4dde63d76: Pulling fs layer 08:35:45 bde34c3a00c8: Pulling fs layer 08:35:45 bab4dde63d76: Waiting 08:35:45 b352a97aabf1: Pulling fs layer 08:35:45 4872d77fe225: Pulling fs layer 08:35:45 5851b861e8e6: Pulling fs layer 08:35:45 bde34c3a00c8: Waiting 08:35:45 b352a97aabf1: Waiting 08:35:45 4872d77fe225: Waiting 08:35:45 5851b861e8e6: Waiting 08:35:45 e2be974225ed: Verifying Checksum 08:35:45 e2be974225ed: Download complete 08:35:45 988bab9f4d93: Verifying Checksum 08:35:45 988bab9f4d93: Download complete 08:35:45 1469e6f7b9e6: Verifying Checksum 08:35:45 1469e6f7b9e6: Download complete 08:35:45 339a4e72a1f5: Verifying Checksum 08:35:45 339a4e72a1f5: Download complete 08:35:45 eaf3925da568: Download complete 08:35:45 bde34c3a00c8: Verifying Checksum 08:35:45 bde34c3a00c8: Download complete 08:35:45 b352a97aabf1: Download complete 08:35:45 4872d77fe225: Verifying Checksum 08:35:45 4872d77fe225: Download complete 08:35:45 5851b861e8e6: Verifying Checksum 08:35:45 5851b861e8e6: Download complete 08:35:45 b85a868b505f: Download complete 08:35:45 bab4dde63d76: Verifying Checksum 08:35:45 bab4dde63d76: Download complete 08:35:46 b85a868b505f: Pull complete 08:35:46 e2be974225ed: Pull complete 08:35:47 339a4e72a1f5: Pull complete 08:35:47 988bab9f4d93: Pull complete 08:35:47 1469e6f7b9e6: Pull complete 08:35:47 eaf3925da568: Pull complete 08:35:49 bab4dde63d76: Pull complete 08:35:49 bde34c3a00c8: Pull complete 08:35:49 b352a97aabf1: Pull complete 08:35:49 4872d77fe225: Pull complete 08:35:49 5851b861e8e6: Pull complete 08:35:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:35:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:35:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:49 prd-ubuntu20.04-docker-8c-8g-42242 does not seem to be running inside a container 08:35:49 $ 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 08:35:51 $ docker top dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 -eo pid,comm 08:35:51 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). 08:35:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:35:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:35:52 [ssh-agent] Looking for ssh-agent implementation... 08:35:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:35:52 $ docker exec dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 ssh-agent 08:35:52 SSH_AUTH_SOCK=/tmp/ssh-ouir3a85CGaz/agent.33 08:35:52 SSH_AGENT_PID=39 08:35:52 Running ssh-add (command line suppressed) 08:35:52 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_11120116150793838562.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_11120116150793838562.key) 08:35:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:35:52 + git tag --points-at HEAD [Pipeline] } 08:35:52 $ docker exec --env ******** --env ******** dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 ssh-agent -k 08:35:52 unset SSH_AUTH_SOCK; 08:35:52 unset SSH_AGENT_PID; 08:35:52 echo Agent pid 39 killed; 08:35:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:35:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:35:52 [ssh-agent] Looking for ssh-agent implementation... 08:35:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:35:53 $ docker exec dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 ssh-agent 08:35:53 SSH_AUTH_SOCK=/tmp/ssh-I0u0XK8QQp7y/agent.72 08:35:53 SSH_AGENT_PID=78 08:35:53 Running ssh-add (command line suppressed) 08:35:53 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14610025059368237204.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14610025059368237204.key) 08:35:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:35:53 + git semver init 08:35:54 2025-03-28 08:35:54,025 [run_init] DEBUG init version:0.0.0 force:False 08:35:54 2025-03-28 08:35:54,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 08:35:54 2025-03-28 08:35:54,026 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 08:35:54 2025-03-28 08:35:54,026 [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) 08:35:54 2025-03-28 08:35:54,660 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 08:35:54 2025-03-28 08:35:54,660 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 08:35:54 2025-03-28 08:35:54,661 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 08:35:54 2025-03-28 08:35:54,665 [execute] INFO git cat-file --batch-check 08:35:54 2025-03-28 08:35:54,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 08:35:54 2025-03-28 08:35:54,671 [execute] INFO git cat-file --batch 08:35:54 2025-03-28 08:35:54,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 08:35:54 2025-03-28 08:35:54,677 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 08:35:54 0.0.0 [Pipeline] } 08:35:54 $ docker exec --env ******** --env ******** dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 ssh-agent -k 08:35:55 unset SSH_AUTH_SOCK; 08:35:55 unset SSH_AGENT_PID; 08:35:55 echo Agent pid 78 killed; 08:35:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:35:55 + git semver [Pipeline] } 08:35:55 $ docker stop --time=1 dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 08:35:56 $ docker rm -f --volumes dcec52d4aabaf444bfbde79cf606121109e83868ebef934e08717cdd2789c764 [Pipeline] // withDockerContainer [Pipeline] sh 08:35:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:35:57 Stashed 1 file(s) [Pipeline] echo 08:35:57 [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 08:35:57 provisioning config files... [Pipeline] // stage [Pipeline] } 08:35:57 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11180336494535550933tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 08:35:58 ---> ****-login.sh 08:35:58 nexus3.edgexfoundry.org:10001 08:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:58 Configure a credential helper to remove this warning. See 08:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:58 08:35:58 Login Succeeded 08:35:58 nexus3.edgexfoundry.org:10002 08:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:58 Configure a credential helper to remove this warning. See 08:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:58 08:35:58 Login Succeeded 08:35:58 nexus3.edgexfoundry.org:10003 08:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:58 Configure a credential helper to remove this warning. See 08:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:58 08:35:58 Login Succeeded 08:35:58 nexus3.edgexfoundry.org:10004 08:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:58 Configure a credential helper to remove this warning. See 08:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:58 08:35:58 Login Succeeded 08:35:58 ****.io 08:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:35:58 Configure a credential helper to remove this warning. See 08:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:35:58 08:35:58 Login Succeeded 08:35:58 ---> ****-login.sh ends [Pipeline] } 08:35:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:35:58 ========================================================= 08:35:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:35:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:59 + 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 . 08:35:59 Sending build context to Docker daemon 2.71MB 08:35:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:35:59 Step 2/12 : FROM ${BASE} AS builder 08:35:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:35:59 da9db072f522: Pulling fs layer 08:35:59 6ef4a4ee8ca5: Pulling fs layer 08:35:59 06f05ace1117: Pulling fs layer 08:35:59 5fe327b54edc: Pulling fs layer 08:35:59 4f4fb700ef54: Pulling fs layer 08:35:59 92a5565b7b96: Pulling fs layer 08:35:59 ff9bb7016b71: Pulling fs layer 08:35:59 b67dba6c2c7d: Pulling fs layer 08:35:59 a813b0c90790: Pulling fs layer 08:35:59 5fe327b54edc: Waiting 08:35:59 4f4fb700ef54: Waiting 08:35:59 92a5565b7b96: Waiting 08:35:59 ff9bb7016b71: Waiting 08:35:59 b67dba6c2c7d: Waiting 08:35:59 a813b0c90790: Waiting 08:35:59 6ef4a4ee8ca5: Download complete 08:35:59 5fe327b54edc: Verifying Checksum 08:35:59 5fe327b54edc: Download complete 08:35:59 4f4fb700ef54: Verifying Checksum 08:35:59 4f4fb700ef54: Download complete 08:35:59 92a5565b7b96: Verifying Checksum 08:35:59 92a5565b7b96: Download complete 08:35:59 da9db072f522: Download complete 08:35:59 ff9bb7016b71: Verifying Checksum 08:35:59 ff9bb7016b71: Download complete 08:35:59 da9db072f522: Pull complete 08:35:59 a813b0c90790: Verifying Checksum 08:35:59 a813b0c90790: Download complete 08:35:59 6ef4a4ee8ca5: Pull complete 08:35:59 06f05ace1117: Download complete 08:36:00 b67dba6c2c7d: Verifying Checksum 08:36:00 b67dba6c2c7d: Download complete 08:36:03 06f05ace1117: Pull complete 08:36:03 5fe327b54edc: Pull complete 08:36:03 4f4fb700ef54: Pull complete 08:36:03 92a5565b7b96: Pull complete 08:36:03 ff9bb7016b71: Pull complete 08:36:06 b67dba6c2c7d: Pull complete 08:36:06 a813b0c90790: Pull complete 08:36:06 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 08:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:36:06 ---> 3ba60ce46760 08:36:06 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:36:09 ---> Running in e855158261e8 08:36:09 Removing intermediate container e855158261e8 08:36:09 ---> 198d18b432ff 08:36:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:36:09 ---> Running in 774530131d5e 08:36:09 Removing intermediate container 774530131d5e 08:36:09 ---> 42478a3b85c3 08:36:09 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:09 ---> Running in cbc695a39710 08:36:09 Removing intermediate container cbc695a39710 08:36:09 ---> bad46a7883a7 08:36:09 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:36:09 ---> Running in acd4d1fca6fa 08:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:36:10 (1/4) Installing openssh-keygen (9.7_p1-r5) 08:36:10 (2/4) Installing libedit (20240517.3.1-r0) 08:36:10 (3/4) Installing openssh-client-common (9.7_p1-r5) 08:36:10 (4/4) Installing openssh-client-default (9.7_p1-r5) 08:36:10 Executing busybox-1.36.1-r29.trigger 08:36:10 OK: 252 MiB in 62 packages 08:36:10 Removing intermediate container acd4d1fca6fa 08:36:10 ---> 4561240411b2 08:36:10 Step 7/12 : WORKDIR /sample-service 08:36:11 ---> Running in 291caecbbd59 08:36:11 Removing intermediate container 291caecbbd59 08:36:11 ---> a20e7cf37981 08:36:11 Step 8/12 : COPY go.mod vendor* ./ 08:36:11 ---> 5819973771ea 08:36:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:11 ---> Running in 17ce70934faf 08:36:17 Removing intermediate container 17ce70934faf 08:36:17 ---> 4b16ad3bd7be 08:36:17 Step 10/12 : COPY . . 08:36:17 ---> e4db5381ab04 08:36:17 Step 11/12 : ARG MAKE='make build' 08:36:17 ---> Running in 5efcf231e698 08:36:17 Removing intermediate container 5efcf231e698 08:36:17 ---> 6954ab71a198 08:36:17 Step 12/12 : RUN $MAKE 08:36:17 ---> Running in 3d9e3838ed0f 08:36:17 noop 08:36:18 Removing intermediate container 3d9e3838ed0f 08:36:18 ---> 4d74e881b1c6 08:36:18 Successfully built 4d74e881b1c6 08:36:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:18 + docker inspect -f . ci-base-image-x86_64 08:36:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:18 prd-ubuntu20.04-docker-8c-8g-42242 does not seem to be running inside a container 08:36:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:36:18 $ docker top 931a51947b170d57bf2f61c9362bbfb1e67f500671008617a3eeb19be5da8330 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:19 + go version 08:36:19 go version go1.23.4 linux/amd64 [Pipeline] } 08:36:19 $ docker stop --time=1 931a51947b170d57bf2f61c9362bbfb1e67f500671008617a3eeb19be5da8330 08:36:20 $ docker rm -f --volumes 931a51947b170d57bf2f61c9362bbfb1e67f500671008617a3eeb19be5da8330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:21 + docker inspect -f . ci-base-image-x86_64 08:36:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:21 prd-ubuntu20.04-docker-8c-8g-42242 does not seem to be running inside a container 08:36:21 $ 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 08:36:21 $ docker top d53ffdce26baf1985c03b75f3b06816e271dd4aa3c1dd261e229d001b433d525 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:21 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 08:36:22 + make test 'GOTESTFLAGS=-json -v' 08:36:22 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 08:36:23 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 08:36:33 📦 github.com/edgexfoundry/sample-service 08:36:33 🛑 no test files 08:36:33 08:36:33 📦 github.com/edgexfoundry/sample-service/cmd 08:36:33 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 08:36:33 08:36:33 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 08:36:33 level=ERROR ts=2025-03-28T08:36:31.236522621Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 08:36:33 ✅ TestHandleReadCommands (0s) 08:36:33 ✅ TestHandleWriteCommands (0s) 08:36:33 ✅ TestValue_Int16 (0s) 08:36:33 ✅ TestValue_Int32 (0s) 08:36:33 ✅ TestValue_Int64 (0s) 08:36:33 ✅ TestValue_Int8 (0s) 08:36:33 08:36:33 CGO_ENABLED=1 go vet ./... 08:36:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:36:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:36:34 ./bin/test-attribution-txt.sh 08:36:34 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 08:36:34 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 08:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 08:36:34 $ docker stop --time=1 d53ffdce26baf1985c03b75f3b06816e271dd4aa3c1dd261e229d001b433d525 08:36:35 $ docker rm -f --volumes d53ffdce26baf1985c03b75f3b06816e271dd4aa3c1dd261e229d001b433d525 [Pipeline] // withDockerContainer [Pipeline] sh 08:36:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:36:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:36:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:36:37 + ls -al . 08:36:37 total 160 08:36:37 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 08:36 . 08:36:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 08:35 .. 08:36:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 08:35 .git 08:36:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 08:35 .github 08:36:37 -rw-rw-r-- 1 jenkins jenkins 46 Mar 28 08:35 .gitignore 08:36:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 08:35 .semver 08:36:37 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 28 08:35 Attribution.txt 08:36:37 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 28 08:35 CHANGELOG.md 08:36:37 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 28 08:35 Dockerfile 08:36:37 -rw-rw-r-- 1 jenkins jenkins 821 Mar 28 08:35 Jenkinsfile 08:36:37 -rw-rw-r-- 1 jenkins jenkins 729 Mar 28 08:35 Jenkinsfile-sandbox 08:36:37 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 28 08:35 Jenkinsfile.edgexSemver 08:36:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 08:35 LICENSE 08:36:37 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 28 08:35 Makefile 08:36:37 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 28 08:35 README.md 08:36:37 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 08:35 VERSION 08:36:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 08:35 api 08:36:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 08:35 bin 08:36:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 08:35 cmd 08:36:37 -rw-r--r-- 1 jenkins jenkins 5399 Mar 28 08:36 coverage.out 08:36:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 08:35 driver 08:36:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 08:35 example 08:36:37 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 28 08:35 go.mod 08:36:37 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 28 08:35 go.sum 08:36:37 -rw-rw-r-- 1 jenkins jenkins 225 Mar 28 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:37 + 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 . 08:36:37 Sending build context to Docker daemon 2.716MB 08:36:37 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 08:36:37 Step 2/23 : FROM ${BASE} AS builder 08:36:37 ---> 4d74e881b1c6 08:36:37 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:36:37 ---> Running in da19358e1eb2 08:36:37 Removing intermediate container da19358e1eb2 08:36:37 ---> f79ca1f048aa 08:36:37 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 08:36:37 ---> Running in 7cfd7b91bc53 08:36:37 Removing intermediate container 7cfd7b91bc53 08:36:37 ---> d9f1c93219d4 08:36:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:37 ---> Running in c201ea189d06 08:36:37 Removing intermediate container c201ea189d06 08:36:37 ---> 6a3d447ee5fd 08:36:37 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:36:37 ---> Running in 43f0419c32ca 08:36:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:36:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:36:38 OK: 252 MiB in 62 packages 08:36:39 Removing intermediate container 43f0419c32ca 08:36:39 ---> 293ae41ec084 08:36:39 Step 7/23 : WORKDIR /sample-service 08:36:39 ---> Running in 72bee22412dc 08:36:39 Removing intermediate container 72bee22412dc 08:36:39 ---> a5e56703cb76 08:36:39 Step 8/23 : COPY go.mod vendor* ./ 08:36:39 ---> 3c71bcaeeb1e 08:36:39 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:39 ---> Running in 23637c39912b 08:36:40 Removing intermediate container 23637c39912b 08:36:40 ---> 03ca09e7e5e7 08:36:40 Step 10/23 : COPY . . 08:36:40 ---> 5bebd2e00d4e 08:36:40 Step 11/23 : ARG MAKE='make build' 08:36:40 ---> Running in 6b8c380e69e2 08:36:40 Removing intermediate container 6b8c380e69e2 08:36:40 ---> bf6747f42988 08:36:40 Step 12/23 : RUN $MAKE 08:36:40 ---> Running in 279e1ac68cbd 08:36:40 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 08:36:53 Removing intermediate container 279e1ac68cbd 08:36:53 ---> 2aa166c58e09 08:36:53 Step 13/23 : FROM alpine:3.18 08:36:53 3.18: Pulling from library/alpine 08:36:53 44cf07d57ee4: Pulling fs layer 08:36:53 44cf07d57ee4: Verifying Checksum 08:36:53 44cf07d57ee4: Download complete 08:36:53 44cf07d57ee4: Pull complete 08:36:53 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 08:36:53 Status: Downloaded newer image for alpine:3.18 08:36:53 ---> 802c91d52981 08:36:53 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:53 ---> Running in 682c1e471419 08:36:53 Removing intermediate container 682c1e471419 08:36:53 ---> cba5d3a60fd2 08:36:53 Step 15/23 : ENV APP_PORT=49999 08:36:53 ---> Running in 13ba201aee91 08:36:53 Removing intermediate container 13ba201aee91 08:36:53 ---> 58b4ace982af 08:36:53 Step 16/23 : EXPOSE $APP_PORT 08:36:53 ---> Running in f934dad7af72 08:36:53 Removing intermediate container f934dad7af72 08:36:53 ---> e79af9a37fb7 08:36:53 Step 17/23 : COPY --from=builder /sample-service/cmd / 08:36:53 ---> 25fa6ca2faca 08:36:53 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 08:36:53 ---> 01e808547ec0 08:36:53 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 08:36:53 ---> 1a1b0919bc02 08:36:53 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 08:36:53 ---> Running in cd3a215d4140 08:36:53 Removing intermediate container cd3a215d4140 08:36:53 ---> 373cc9634de1 08:36:53 Step 21/23 : LABEL arch=amd64 08:36:53 ---> Running in e2d8ccb7e3ec 08:36:53 Removing intermediate container e2d8ccb7e3ec 08:36:53 ---> 79392b5a8f33 08:36:53 Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 08:36:53 ---> Running in 90d6060d3871 08:36:53 Removing intermediate container 90d6060d3871 08:36:53 ---> 2604da2417c7 08:36:53 Step 23/23 : LABEL version=0.0.0 08:36:53 ---> Running in 3cd27a9cf8b1 08:36:53 Removing intermediate container 3cd27a9cf8b1 08:36:53 ---> 441bed30576a 08:36:53 [Warning] One or more build-args [ARCH] were not consumed 08:36:53 Successfully built 441bed30576a 08:36:53 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:53 provisioning config files... 08:36:53 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config777596779968227715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:53 ---> ****-login.sh 08:36:53 nexus3.edgexfoundry.org:10001 08:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:53 Configure a credential helper to remove this warning. See 08:36:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:53 08:36:53 Login Succeeded 08:36:53 nexus3.edgexfoundry.org:10002 08:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:53 Configure a credential helper to remove this warning. See 08:36:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:53 08:36:53 Login Succeeded 08:36:53 nexus3.edgexfoundry.org:10003 08:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:54 Configure a credential helper to remove this warning. See 08:36:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:54 08:36:54 Login Succeeded 08:36:54 nexus3.edgexfoundry.org:10004 08:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:54 Configure a credential helper to remove this warning. See 08:36:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:54 08:36:54 Login Succeeded 08:36:54 ****.io 08:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:54 Configure a credential helper to remove this warning. See 08:36:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:54 08:36:54 Login Succeeded 08:36:54 ---> ****-login.sh ends [Pipeline] } 08:36:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:36:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:36:54 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 08:36:54 23ff995a3aef02e85a45daf0513f418e4247a776 08:36:54 latest 08:36:54 0.0.0 08:36:54 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 08:36:54 PR-165 08:36:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:54 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:55 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 08:36:55 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 08:36:55 ea82ecc82e6f: Preparing 08:36:55 54bc5d8a9828: Preparing 08:36:55 63243bcffc2a: Preparing 08:36:55 f44f286046d9: Preparing 08:36:55 f44f286046d9: Layer already exists 08:36:55 54bc5d8a9828: Pushed 08:36:55 ea82ecc82e6f: Pushed 08:36:56 63243bcffc2a: Pushed 08:36:56 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:56 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:57 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 08:36:57 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 08:36:57 ea82ecc82e6f: Preparing 08:36:57 54bc5d8a9828: Preparing 08:36:57 63243bcffc2a: Preparing 08:36:57 f44f286046d9: Preparing 08:36:57 54bc5d8a9828: Layer already exists 08:36:57 63243bcffc2a: Layer already exists 08:36:57 f44f286046d9: Layer already exists 08:36:57 ea82ecc82e6f: Layer already exists 08:36:57 latest: digest: sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:57 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:57 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 08:36:57 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 08:36:57 ea82ecc82e6f: Preparing 08:36:57 54bc5d8a9828: Preparing 08:36:57 63243bcffc2a: Preparing 08:36:57 f44f286046d9: Preparing 08:36:57 ea82ecc82e6f: Layer already exists 08:36:57 f44f286046d9: Layer already exists 08:36:57 63243bcffc2a: Layer already exists 08:36:57 54bc5d8a9828: Layer already exists 08:36:57 0.0.0: digest: sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:58 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:58 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 08:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 08:36:58 ea82ecc82e6f: Preparing 08:36:58 54bc5d8a9828: Preparing 08:36:58 63243bcffc2a: Preparing 08:36:58 f44f286046d9: Preparing 08:36:58 63243bcffc2a: Layer already exists 08:36:58 ea82ecc82e6f: Layer already exists 08:36:58 54bc5d8a9828: Layer already exists 08:36:58 f44f286046d9: Layer already exists 08:36:58 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:58 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:59 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 08:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 08:36:59 ea82ecc82e6f: Preparing 08:36:59 54bc5d8a9828: Preparing 08:36:59 63243bcffc2a: Preparing 08:36:59 f44f286046d9: Preparing 08:36:59 54bc5d8a9828: Layer already exists 08:36:59 ea82ecc82e6f: Layer already exists 08:36:59 f44f286046d9: Layer already exists 08:36:59 63243bcffc2a: Layer already exists 08:36:59 PR-165: digest: sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:36:59 ===================================================== [Pipeline] echo 08:36:59 taggedImages: 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:latest 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 08:36:59 ========================================================= 08:36:59 [edgeXBuildMultiArch] RAW Config: 08:36:59 images: 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:latest 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 08:36:59 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 08:36:59 settingsFile: 08:36:59 sample-service-settings 08:36:59 ========================================================= [Pipeline] node 08:37:14 Still waiting to schedule task 08:37:14 All nodes of label ‘centos7-docker-4c-2g’ are offline 08:38:10 Running on prd-centos7-docker-4c-2g-42243 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:10 provisioning config files... 08:38:10 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config7852533135916156927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:12 ---> ****-login.sh 08:38:12 nexus3.edgexfoundry.org:10001 08:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:12 Configure a credential helper to remove this warning. See 08:38:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:12 08:38:12 Login Succeeded 08:38:12 nexus3.edgexfoundry.org:10002 08:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:12 Configure a credential helper to remove this warning. See 08:38:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:12 08:38:12 Login Succeeded 08:38:12 nexus3.edgexfoundry.org:10003 08:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:13 Configure a credential helper to remove this warning. See 08:38:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:13 08:38:13 Login Succeeded 08:38:13 nexus3.edgexfoundry.org:10004 08:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:13 Configure a credential helper to remove this warning. See 08:38:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:13 08:38:13 Login Succeeded 08:38:13 ****.io 08:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:38:13 Configure a credential helper to remove this warning. See 08:38:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:38:13 08:38:13 Login Succeeded 08:38:13 ---> ****-login.sh ends [Pipeline] } 08:38:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:38:13 + docker buildx ls 08:38:13 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 08:38:13 default * docker 08:38:13 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 08:38:13 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 08:38:13 edgex-builder [Pipeline] sh 08:38:14 + docker buildx inspect --bootstrap 08:38:14 #1 [internal] booting buildkit 08:38:14 #1 pulling image moby/buildkit:buildx-stable-1 08:38:16 #1 pulling image moby/buildkit:buildx-stable-1 2.5s done 08:38:16 #1 creating container buildx_buildkit_edgex-builder0 08:38:17 #1 creating container buildx_buildkit_edgex-builder0 1.1s done 08:38:17 #1 DONE 3.6s 08:38:18 Name: edgex-builder 08:38:18 Driver: docker-container 08:38:18 08:38:18 Nodes: 08:38:18 Name: edgex-builder0 08:38:18 Endpoint: unix:///var/run/docker.sock 08:38:18 Status: running 08:38:18 Buildkit: v0.20.2 08:38:18 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 08:38:18 + docker buildx ls 08:38:18 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 08:38:18 edgex-builder * docker-container 08:38:18 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 08:38:18 default docker 08:38:18 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 08:38:18 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 --push - 08:38:18 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776' 08:38:18 #1 [internal] load build definition from Dockerfile 08:38:18 #1 transferring dockerfile: 199B done 08:38:18 #1 DONE 0.0s 08:38:18 08:38:18 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 08:38:18 #2 DONE 0.1s 08:38:18 08:38:18 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 08:38:18 #3 DONE 0.1s 08:38:18 08:38:18 #4 [internal] load .dockerignore 08:38:18 #4 transferring context: 2B done 08:38:18 #4 DONE 0.0s 08:38:18 08:38:18 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:18 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:18 #5 DONE 0.0s 08:38:18 08:38:18 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:18 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:18 #6 DONE 0.1s 08:38:18 08:38:18 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 08:38:18 #7 DONE 0.0s 08:38:18 08:38:18 #8 exporting to image 08:38:18 #8 exporting layers done 08:38:18 #8 exporting manifest sha256:40dabbcbb38557265a1358dd3ad2efffc4f8929c790317c02fa04cc5814a5b14 done 08:38:18 #8 exporting config sha256:bba7510792607697468fda854cd867089d2b8a150b7e8fb18d971af75f866036 done 08:38:18 #8 exporting manifest sha256:e49c1e460fec2d97f6caee6b8e50e7fdd466d767625541e00ace58cdd1e35275 done 08:38:18 #8 exporting config sha256:3d5262417a59d911f79aa2c1880757bd9533c8957ef9a0f2f5af7866ec704743 0.0s done 08:38:18 #8 exporting manifest list sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 done 08:38:18 #8 pushing layers 0.1s done 08:38:18 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 08:38:18 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 08:38:19 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 0.1s done 08:38:19 #8 DONE 0.2s 08:38:19 08:38:19 1 warning found (use --debug to expand): 08:38:19  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 08:38:19 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:latest' 08:38:19 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:latest --push - 08:38:19 #1 [internal] load build definition from Dockerfile 08:38:19 #1 transferring dockerfile: 165B done 08:38:19 #1 DONE 0.0s 08:38:19 08:38:19 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 08:38:19 #2 DONE 0.0s 08:38:19 08:38:19 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 08:38:19 #3 DONE 0.0s 08:38:19 08:38:19 #4 [internal] load .dockerignore 08:38:19 #4 transferring context: 2B done 08:38:19 #4 DONE 0.0s 08:38:19 08:38:19 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:19 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:19 #5 CACHED 08:38:19 08:38:19 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:19 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:19 #6 CACHED 08:38:19 08:38:19 #7 exporting to image 08:38:19 #7 exporting layers 08:38:19 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 08:38:19 #7 exporting layers done 08:38:19 #7 exporting manifest sha256:40dabbcbb38557265a1358dd3ad2efffc4f8929c790317c02fa04cc5814a5b14 done 08:38:19 #7 exporting config sha256:bba7510792607697468fda854cd867089d2b8a150b7e8fb18d971af75f866036 done 08:38:19 #7 exporting manifest sha256:e49c1e460fec2d97f6caee6b8e50e7fdd466d767625541e00ace58cdd1e35275 done 08:38:19 #7 exporting config sha256:3d5262417a59d911f79aa2c1880757bd9533c8957ef9a0f2f5af7866ec704743 done 08:38:19 #7 exporting manifest list sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 done 08:38:19 #7 pushing layers 0.0s done 08:38:19 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 0.1s done 08:38:19 #7 DONE 0.1s 08:38:19 08:38:19 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 08:38:19 #8 DONE 0.0s 08:38:19 08:38:19 1 warning found (use --debug to expand): 08:38:19  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 08:38:20 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0' 08:38:20 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:0.0.0 --push - 08:38:20 #1 [internal] load build definition from Dockerfile 08:38:20 #1 transferring dockerfile: 164B done 08:38:20 #1 DONE 0.0s 08:38:20 08:38:20 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 08:38:20 #2 DONE 0.0s 08:38:20 08:38:20 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 08:38:20 #3 DONE 0.0s 08:38:20 08:38:20 #4 [internal] load .dockerignore 08:38:20 #4 transferring context: 2B done 08:38:20 #4 DONE 0.0s 08:38:20 08:38:20 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:20 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:20 #5 CACHED 08:38:20 08:38:20 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:20 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:20 #6 CACHED 08:38:20 08:38:20 #7 exporting to image 08:38:20 #7 exporting layers done 08:38:20 #7 exporting manifest sha256:40dabbcbb38557265a1358dd3ad2efffc4f8929c790317c02fa04cc5814a5b14 done 08:38:20 #7 exporting config sha256:bba7510792607697468fda854cd867089d2b8a150b7e8fb18d971af75f866036 done 08:38:20 #7 exporting manifest sha256:e49c1e460fec2d97f6caee6b8e50e7fdd466d767625541e00ace58cdd1e35275 done 08:38:20 #7 exporting config sha256:3d5262417a59d911f79aa2c1880757bd9533c8957ef9a0f2f5af7866ec704743 done 08:38:20 #7 exporting manifest list sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 done 08:38:20 #7 pushing layers 0.0s done 08:38:20 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 08:38:20 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 08:38:20 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 0.1s done 08:38:20 #7 DONE 0.1s 08:38:20 08:38:20 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 08:38:20 #8 DONE 0.0s 08:38:20 08:38:20 1 warning found (use --debug to expand): 08:38:20  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 08:38:20 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0' 08:38:20 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 --push - 08:38:20 #1 [internal] load build definition from Dockerfile 08:38:20 #1 transferring dockerfile: 205B done 08:38:20 #1 DONE 0.0s 08:38:20 08:38:20 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 08:38:20 #2 DONE 0.0s 08:38:20 08:38:20 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 08:38:20 #3 DONE 0.0s 08:38:20 08:38:20 #4 [internal] load .dockerignore 08:38:20 #4 transferring context: 2B done 08:38:20 #4 DONE 0.0s 08:38:20 08:38:20 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:20 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:20 #5 CACHED 08:38:20 08:38:20 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:20 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:20 #6 CACHED 08:38:20 08:38:20 #7 exporting to image 08:38:20 #7 exporting layers 08:38:20 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 08:38:20 #7 exporting layers done 08:38:20 #7 exporting manifest sha256:40dabbcbb38557265a1358dd3ad2efffc4f8929c790317c02fa04cc5814a5b14 done 08:38:20 #7 exporting config sha256:bba7510792607697468fda854cd867089d2b8a150b7e8fb18d971af75f866036 done 08:38:20 #7 exporting manifest sha256:e49c1e460fec2d97f6caee6b8e50e7fdd466d767625541e00ace58cdd1e35275 done 08:38:20 #7 exporting config sha256:3d5262417a59d911f79aa2c1880757bd9533c8957ef9a0f2f5af7866ec704743 done 08:38:20 #7 exporting manifest list sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 done 08:38:20 #7 pushing layers 0.0s done 08:38:20 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 0.1s done 08:38:20 #7 DONE 0.1s 08:38:20 08:38:20 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 08:38:20 #8 DONE 0.0s 08:38:20 08:38:20 1 warning found (use --debug to expand): 08:38:20  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 08:38:21 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165' 08:38:21 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:PR-165 --push - 08:38:21 #1 [internal] load build definition from Dockerfile 08:38:21 #1 transferring dockerfile: 165B done 08:38:21 #1 DONE 0.0s 08:38:21 08:38:21 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 08:38:21 #2 DONE 0.0s 08:38:21 08:38:21 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 08:38:21 #3 DONE 0.0s 08:38:21 08:38:21 #4 [internal] load .dockerignore 08:38:21 #4 transferring context: 2B done 08:38:21 #4 DONE 1.0s 08:38:21 08:38:21 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:21 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 done 08:38:21 #5 CACHED 08:38:21 08:38:21 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 08:38:21 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:5fa4758c968b588caf50fa3d3c092fbd3ac3067782f8a14ee68149bf15ec95d1 0.0s done 08:38:21 #6 CACHED 08:38:21 08:38:21 #7 exporting to image 08:38:21 #7 exporting layers done 08:38:21 #7 exporting manifest sha256:40dabbcbb38557265a1358dd3ad2efffc4f8929c790317c02fa04cc5814a5b14 done 08:38:21 #7 exporting config sha256:bba7510792607697468fda854cd867089d2b8a150b7e8fb18d971af75f866036 08:38:21 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 08:38:21 #7 exporting config sha256:bba7510792607697468fda854cd867089d2b8a150b7e8fb18d971af75f866036 done 08:38:21 #7 exporting manifest sha256:e49c1e460fec2d97f6caee6b8e50e7fdd466d767625541e00ace58cdd1e35275 done 08:38:21 #7 exporting config sha256:3d5262417a59d911f79aa2c1880757bd9533c8957ef9a0f2f5af7866ec704743 done 08:38:21 #7 exporting manifest list sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 done 08:38:21 #7 pushing layers 0.0s done 08:38:21 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:dd290481104e0a97fac9c80b56ebeef1d8fcd0d716f7ffe78c732d3413ee7254 0.1s done 08:38:21 #7 DONE 0.1s 08:38:21 08:38:21 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 08:38:21 #8 DONE 0.0s 08:38:21 08:38:21 1 warning found (use --debug to expand): 08:38:21  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:38:21 + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:38:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:22 ---> package-listing.sh 08:38:22 ++ facter osfamily 08:38:22 ++ tr '[:upper:]' '[:lower:]' 08:38:22 + OS_FAMILY=redhat 08:38:22 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 08:38:22 + START_PACKAGES=/tmp/packages_start.txt 08:38:22 + END_PACKAGES=/tmp/packages_end.txt 08:38:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:22 + PACKAGES=/tmp/packages_start.txt 08:38:22 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 08:38:22 + PACKAGES=/tmp/packages_end.txt 08:38:22 + case "${OS_FAMILY}" in 08:38:22 + rpm -qa 08:38:22 + sort 08:38:23 + '[' -f /tmp/packages_start.txt ']' 08:38:23 + '[' -f /tmp/packages_end.txt ']' 08:38:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:23 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 08:38:23 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 08:38:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 08:38:23 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 08:38:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:24 08:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:24 latest: Pulling from edgex-lftools-log-publisher 08:38:24 5eb5b503b376: Pulling fs layer 08:38:24 5c69ac0246d0: Pulling fs layer 08:38:24 ec43610c2a17: Pulling fs layer 08:38:24 3a2ae6a8a46f: Pulling fs layer 08:38:24 33b1e0a273af: Pulling fs layer 08:38:24 5d3b04190fa2: Pulling fs layer 08:38:24 2f39f015ded8: Pulling fs layer 08:38:24 3a2ae6a8a46f: Waiting 08:38:24 33b1e0a273af: Waiting 08:38:24 5d3b04190fa2: Waiting 08:38:24 2f39f015ded8: Waiting 08:38:24 5c69ac0246d0: Verifying Checksum 08:38:24 5c69ac0246d0: Download complete 08:38:24 3a2ae6a8a46f: Verifying Checksum 08:38:24 3a2ae6a8a46f: Download complete 08:38:24 33b1e0a273af: Verifying Checksum 08:38:24 33b1e0a273af: Download complete 08:38:24 ec43610c2a17: Verifying Checksum 08:38:24 ec43610c2a17: Download complete 08:38:24 5d3b04190fa2: Verifying Checksum 08:38:24 5d3b04190fa2: Download complete 08:38:24 5eb5b503b376: Verifying Checksum 08:38:24 5eb5b503b376: Download complete 08:38:25 2f39f015ded8: Download complete 08:38:26 5eb5b503b376: Pull complete 08:38:26 5c69ac0246d0: Pull complete 08:38:27 ec43610c2a17: Pull complete 08:38:27 3a2ae6a8a46f: Pull complete 08:38:27 33b1e0a273af: Pull complete 08:38:27 5d3b04190fa2: Pull complete 08:38:31 2f39f015ded8: Pull complete 08:38:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:31 prd-centos7-docker-4c-2g-42243 does not seem to be running inside a container 08:38:31 $ 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 08:38:35 $ docker top 83297f1b867d91f071fe3213a417e61b38626fc6c0db3f78c4f579955300558f -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:35 + touch /tmp/pre-build-complete [Pipeline] sh 08:38:35 + mkdir -p /var/log/sysstat [Pipeline] sh 08:38:36 + ls /var/log/sa-host 08:38:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:36 provisioning config files... 08:38:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config12313455411447583588tmp [Pipeline] { [Pipeline] echo 08:38:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:38:36 ---> create-netrc.sh [Pipeline] } 08:38:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:38:37 ---> python-tools-install.sh [Pipeline] echo 08:38:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:38:37 ---> sudo-logs.sh 08:38:37 Archiving 'sudo' log.. 08:38:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-42243.novalocal: Name or service not known 08:38:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-42243.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:38:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:38:37 ---> job-cost.sh 08:38:37 lf-activate-venv: SKIPPING 08:38:37 INFO: No Stack... 08:38:38 INFO: Retrieving Pricing Info for: v3-standard-2 08:38:38 INFO: Archiving Costs [Pipeline] echo 08:38:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:38:38 ---> logs-deploy.sh 08:38:38 lf-activate-venv: SKIPPING 08:38:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/20 08:38:38 INFO: archiving workspace using pattern(s): 08:38:39 Archives upload complete. 08:38:39 INFO: archiving logs to Nexus 08:38:40 ---> uname -a: 08:38:40 Linux prd-centos7-docker-4c-2g-42243.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 08:38:40 08:38:40 08:38:40 ---> lscpu: 08:38:40 Architecture: x86_64 08:38:40 CPU op-mode(s): 32-bit, 64-bit 08:38:40 Byte Order: Little Endian 08:38:40 Address sizes: 40 bits physical, 48 bits virtual 08:38:40 CPU(s): 2 08:38:40 On-line CPU(s) list: 0,1 08:38:40 Thread(s) per core: 1 08:38:40 Core(s) per socket: 1 08:38:40 Socket(s): 2 08:38:40 NUMA node(s): 1 08:38:40 Vendor ID: AuthenticAMD 08:38:40 CPU family: 23 08:38:40 Model: 49 08:38:40 Model name: AMD EPYC-Rome Processor 08:38:40 Stepping: 0 08:38:40 CPU MHz: 2800.000 08:38:40 BogoMIPS: 5600.00 08:38:40 Virtualization: AMD-V 08:38:40 Hypervisor vendor: KVM 08:38:40 Virtualization type: full 08:38:40 L1d cache: 64 KiB 08:38:40 L1i cache: 64 KiB 08:38:40 L2 cache: 1 MiB 08:38:40 L3 cache: 32 MiB 08:38:40 NUMA node0 CPU(s): 0,1 08:38:40 Vulnerability Itlb multihit: Not affected 08:38:40 Vulnerability L1tf: Not affected 08:38:40 Vulnerability Mds: Not affected 08:38:40 Vulnerability Meltdown: Not affected 08:38:40 Vulnerability Mmio stale data: Not affected 08:38:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:38:40 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:38:40 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:38:40 Vulnerability Srbds: Not affected 08:38:40 Vulnerability Tsx async abort: Not affected 08:38:40 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 08:38:40 08:38:40 08:38:40 ---> nproc: 08:38:40 2 08:38:40 08:38:40 08:38:40 ---> df -h: 08:38:40 Filesystem Size Used Avail Use% Mounted on 08:38:40 overlay 40G 7.3G 33G 19% / 08:38:40 tmpfs 64M 0 64M 0% /dev 08:38:40 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 08:38:40 shm 64M 0 64M 0% /dev/shm 08:38:40 /dev/vda1 40G 7.3G 33G 19% /facter-os 08:38:40 08:38:40 08:38:40 Cannot open /var/log/sysstat/sa28: No such file or directory 08:38:40 Please check if data collecting is enabled 08:38:40 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:38:40 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 08:38:40 $ docker stop --time=1 83297f1b867d91f071fe3213a417e61b38626fc6c0db3f78c4f579955300558f 08:38:41 $ docker rm -f --volumes 83297f1b867d91f071fe3213a417e61b38626fc6c0db3f78c4f579955300558f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 08:38:41 [WS-CLEANUP] Deleting project workspace... 08:38:41 [WS-CLEANUP] Deferred wipeout is used... 08:38:41 [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 08:38:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:42 08:38:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:42 latest: Pulling from edgex-lftools-log-publisher 08:38:42 5eb5b503b376: Pulling fs layer 08:38:42 5c69ac0246d0: Pulling fs layer 08:38:42 ec43610c2a17: Pulling fs layer 08:38:42 3a2ae6a8a46f: Pulling fs layer 08:38:42 33b1e0a273af: Pulling fs layer 08:38:42 5d3b04190fa2: Pulling fs layer 08:38:42 2f39f015ded8: Pulling fs layer 08:38:42 33b1e0a273af: Waiting 08:38:42 5d3b04190fa2: Waiting 08:38:42 2f39f015ded8: Waiting 08:38:42 3a2ae6a8a46f: Waiting 08:38:42 5c69ac0246d0: Verifying Checksum 08:38:42 5c69ac0246d0: Download complete 08:38:42 3a2ae6a8a46f: Verifying Checksum 08:38:42 3a2ae6a8a46f: Download complete 08:38:42 ec43610c2a17: Verifying Checksum 08:38:42 ec43610c2a17: Download complete 08:38:42 33b1e0a273af: Verifying Checksum 08:38:42 33b1e0a273af: Download complete 08:38:42 5d3b04190fa2: Verifying Checksum 08:38:42 5d3b04190fa2: Download complete 08:38:42 5eb5b503b376: Verifying Checksum 08:38:42 5eb5b503b376: Download complete 08:38:43 2f39f015ded8: Download complete 08:38:43 5eb5b503b376: Pull complete 08:38:43 5c69ac0246d0: Pull complete 08:38:44 ec43610c2a17: Pull complete 08:38:44 3a2ae6a8a46f: Pull complete 08:38:44 33b1e0a273af: Pull complete 08:38:44 5d3b04190fa2: Pull complete 08:38:48 2f39f015ded8: Pull complete 08:38:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:38:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:49 prd-ubuntu20.04-docker-8c-8g-42242 does not seem to be running inside a container 08:38:49 $ 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 08:38:50 $ docker top 91b385e68b7d7e21bf31cbfee7516306d77bc62d36d6e7cef00df2efa59dbbb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:51 ---> job-cost.sh 08:38:51 lf-activate-venv: SKIPPING 08:38:51 INFO: No Stack... 08:38:51 INFO: Retrieving Pricing Info for: v3-standard-8 08:38:52 INFO: Archiving Costs [Pipeline] sh 08:38:52 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 08:38:52 + cut -d, -f6 [Pipeline] lock 08:38:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-20-stack-cost] 08:38:52 Resource [jenkins-edgexfoundry-sample-service-PR-165-20-stack-cost] did not exist. Created. 08:38:52 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:38:52 + echo total: 0.2199999988079071 [Pipeline] stash 08:38:52 Stashed 1 file(s) [Pipeline] } 08:38:52 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-20-stack-cost] [Pipeline] // lock [Pipeline] } 08:38:52 $ docker stop --time=1 91b385e68b7d7e21bf31cbfee7516306d77bc62d36d6e7cef00df2efa59dbbb1 08:38:54 $ docker rm -f --volumes 91b385e68b7d7e21bf31cbfee7516306d77bc62d36d6e7cef00df2efa59dbbb1 [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 08:38:54 provisioning config files... 08:38:54 copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config3701487854194331463tmp [Pipeline] { [Pipeline] sh 08:38:54 + set +x 08:38:54 + curl -s https://codecov.io/bash 08:38:54 + bash -s -- 08:38:54 08:38:54 _____ _ 08:38:54 / ____| | | 08:38:54 | | ___ __| | ___ ___ _____ __ 08:38:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:38:54 | |___| (_) | (_| | __/ (_| (_) \ V / 08:38:54 \_____\___/ \__,_|\___|\___\___/ \_/ 08:38:54 Bash-1.0.6 08:38:54 08:38:54 08:38:54 ==> git version 2.25.1 found 08:38:54 ==> 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 08:38:54 Release-Date: 2020-01-08 08:38:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:38:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:38:54 ==> Jenkins CI detected. 08:38:54 current dir:  /w/workspace/gexfoundry_sample-service_PR-165 08:38:54 project root: . 08:38:54 --> token set from env 08:38:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:38:54 ==> Running gcov in . (disable via -X gcov) 08:38:54 ==> Python coveragepy not found 08:38:54 ==> Searching for coverage reports in: 08:38:54 + . 08:38:54 -> Found 1 reports 08:38:54 ==> Detecting git/mercurial file structure 08:38:54 ==> Reading reports 08:38:54 + ./coverage.out bytes=5399 08:38:54 ==> Appending adjustments 08:38:54 https://docs.codecov.io/docs/fixing-reports 08:38:54 + Found adjustments 08:38:54 ==> Gzipping contents 08:38:54 4.0K /tmp/codecov.Idm0PC.gz 08:38:54 ==> Uploading reports 08:38:54 url: https://codecov.io 08:38:54 query: branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F20%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 08:38:54 -> Pinging Codecov 08:38:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F20%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 08:38:55 -> Uploading to 08:38:55 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/23ff995a3aef02e85a45daf0513f418e4247a776/6274c374-abcd-42a2-b605-c35cf68690a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250328%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250328T083854Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=56a9eeeeab28871fa8f31583c162d5d5bd3cd924846ebc56134290dc2baf57f1 08:38:55 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:55 Dload Upload Total Spent Left Speed 08:38:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1053 0 0 100 1053 0 6664 --:--:-- --:--:-- --:--:-- 6707 08:38:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } 08:38:55 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 08:38:56 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 08:38:56 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 08:38:56 total 16 08:38:56 drwxr-xr-x 3 root root 4096 Mar 28 08:38 . 08:38:56 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 08:38 .. 08:38:56 drwxr-xr-x 2 root root 4096 Mar 28 08:38 cost 08:38:56 -rw-r--r-- 1 root root 87 Mar 28 08:38 cost.csv 08:38:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 08:38:56 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 08:38:56 total 16 08:38:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 08:38 . 08:38:56 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 08:38 .. 08:38:56 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 08:38 cost 08:38:56 -rw-r--r-- 1 jenkins jenkins 87 Mar 28 08:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:38:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:57 ---> package-listing.sh 08:38:57 ++ facter osfamily 08:38:57 ++ tr '[:upper:]' '[:lower:]' 08:38:57 + OS_FAMILY=debian 08:38:57 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 08:38:57 + START_PACKAGES=/tmp/packages_start.txt 08:38:57 + END_PACKAGES=/tmp/packages_end.txt 08:38:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:57 + PACKAGES=/tmp/packages_start.txt 08:38:57 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 08:38:57 + PACKAGES=/tmp/packages_end.txt 08:38:57 + case "${OS_FAMILY}" in 08:38:57 + dpkg -l 08:38:57 + grep '^ii' 08:38:57 + '[' -f /tmp/packages_start.txt ']' 08:38:57 + '[' -f /tmp/packages_end.txt ']' 08:38:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:57 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 08:38:57 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 08:38:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 08:38:57 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 08:38:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:58 prd-ubuntu20.04-docker-8c-8g-42242 does not seem to be running inside a container 08:38:58 $ 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 08:38:58 $ docker top 122988f3a4919dba090c2a0f80f7e801ec5a7c9dfcdcac0aabb2743685ff309e -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:58 + touch /tmp/pre-build-complete [Pipeline] sh 08:38:59 + mkdir -p /var/log/sysstat [Pipeline] sh 08:38:59 + ls /var/log/sa-host 08:38:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:59 provisioning config files... 08:38:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config3146598237475998328tmp [Pipeline] { [Pipeline] echo 08:38:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:38:59 ---> create-netrc.sh [Pipeline] } 08:38:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:39:00 ---> python-tools-install.sh [Pipeline] echo 08:39:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:39:00 ---> sudo-logs.sh 08:39:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:39:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:39:00 ---> job-cost.sh 08:39:00 lf-activate-venv: SKIPPING 08:39:00 DEBUG: total: 0.2199999988079071 08:39:00 INFO: Retrieving Stack Cost... 08:39:00 INFO: Retrieving Pricing Info for: v3-standard-8 08:39:01 INFO: Archiving Costs [Pipeline] echo 08:39:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:39:01 ---> logs-deploy.sh 08:39:01 lf-activate-venv: SKIPPING 08:39:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/20 08:39:01 INFO: archiving workspace using pattern(s): 08:39:02 Archives upload complete. 08:39:02 INFO: archiving logs to Nexus 08:39:03 ---> uname -a: 08:39:03 Linux prd-ubuntu20-04-docker-8c-8g-42242 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 08:39:03 08:39:03