Pull request #165 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/sample-service Obtained Jenkinsfile from eb869c661586b1b6b4d3a43b635254038c5246fa+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (58c3fa9b8099333c00e2f274e26e6a9ca74396cc) Loading library edgex-global-pipelines@experimental Attempting to resolve experimental from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15448587358312436850.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 0d0304f3b981153f6c1b410564dde7f385bf0477 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-ssh6387594696654605189.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 0d0304f3b981153f6c1b410564dde7f385bf0477 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-ssh13361841161969455429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0d0304f3b981153f6c1b410564dde7f385bf0477 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d0304f3b981153f6c1b410564dde7f385bf0477 # timeout=10 Commit message: "use multiArch(image)" > 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-ssh2526116660003382464.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-ssh6770716487588890573.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:sample-service] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: sample-service-settings PROJECT: sample-service USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: sample-service DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-42820 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 eb869c661586b1b6b4d3a43b635254038c5246fa Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (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 eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 Commit message: "ci: test multi-arch pipeline" First time build. Skipping changelog. > git rev-list --no-walk 01875cdb51b7592a82f7dea9258328c02c9c4a9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:23:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:23:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:23:25 ========================================================= 03:23:25 EdgeX Global Pipelines Version Info 03:23:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:23:26 ------------------- 03:23:26 stable info: 03:23:26 ------------------- 03:23:26 Commited By: Ginny Guan ginny@iotechsys.com 03:23:26 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 03:23:26 Message: update stable to v1.0.274 03:23:26 ------------------- 03:23:26 experimental info: 03:23:26 ------------------- 03:23:26 Commited By: Ginny Guan ginny@iotechsys.com 03:23:26 Commit SHA: 0d0304f3b981153f6c1b410564dde7f385bf0477 03:23:26 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:23:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 03:23:26 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 03:23:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:23:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo 03:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:27 provisioning config files... 03:23:27 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config4376918007196892283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:28 ---> ****-login.sh 03:23:28 nexus3.edgexfoundry.org:10001 03:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:28 Configure a credential helper to remove this warning. See 03:23:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:28 03:23:28 Login Succeeded 03:23:28 nexus3.edgexfoundry.org:10002 03:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:28 Configure a credential helper to remove this warning. See 03:23:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:28 03:23:28 Login Succeeded 03:23:28 nexus3.edgexfoundry.org:10003 03:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:28 Configure a credential helper to remove this warning. See 03:23:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:28 03:23:28 Login Succeeded 03:23:28 nexus3.edgexfoundry.org:10004 03:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:28 Configure a credential helper to remove this warning. See 03:23:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:28 03:23:28 Login Succeeded 03:23:28 ****.io 03:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:30 Configure a credential helper to remove this warning. See 03:23:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:30 03:23:30 Login Succeeded 03:23:30 ---> ****-login.sh ends [Pipeline] } 03:23:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:23:30 + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 03:23:30 -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh 03:23:30 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 03:23:30 ========================================================= 03:23:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:23:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:31 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 03:23:31 [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 03:23:31 [semverPrep] This is not a build commit. [Pipeline] sh 03:23:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:23:31 + grep -v github /etc/ssh/ssh_known_hosts 03:23:31 + [ -e /tmp/ssh_known_hosts ] 03:23:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:23:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:23:31 + sudo tee -a /etc/ssh/ssh_known_hosts 03:23:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:32 03:23:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:32 0.1.4: Pulling from edgex-devops/py-git-semver 03:23:32 b85a868b505f: Pulling fs layer 03:23:32 e2be974225ed: Pulling fs layer 03:23:32 339a4e72a1f5: Pulling fs layer 03:23:32 988bab9f4d93: Pulling fs layer 03:23:32 1469e6f7b9e6: Pulling fs layer 03:23:32 eaf3925da568: Pulling fs layer 03:23:32 bab4dde63d76: Pulling fs layer 03:23:32 bde34c3a00c8: Pulling fs layer 03:23:32 b352a97aabf1: Pulling fs layer 03:23:32 4872d77fe225: Pulling fs layer 03:23:32 5851b861e8e6: Pulling fs layer 03:23:32 1469e6f7b9e6: Waiting 03:23:32 b352a97aabf1: Waiting 03:23:32 bde34c3a00c8: Waiting 03:23:32 eaf3925da568: Waiting 03:23:32 4872d77fe225: Waiting 03:23:32 988bab9f4d93: Waiting 03:23:32 bab4dde63d76: Waiting 03:23:32 e2be974225ed: Verifying Checksum 03:23:32 e2be974225ed: Download complete 03:23:32 988bab9f4d93: Download complete 03:23:32 1469e6f7b9e6: Verifying Checksum 03:23:32 339a4e72a1f5: Verifying Checksum 03:23:32 339a4e72a1f5: Download complete 03:23:32 1469e6f7b9e6: Download complete 03:23:32 eaf3925da568: Verifying Checksum 03:23:32 eaf3925da568: Download complete 03:23:32 bde34c3a00c8: Verifying Checksum 03:23:32 bde34c3a00c8: Download complete 03:23:32 b352a97aabf1: Verifying Checksum 03:23:32 b352a97aabf1: Download complete 03:23:32 4872d77fe225: Verifying Checksum 03:23:32 4872d77fe225: Download complete 03:23:32 5851b861e8e6: Verifying Checksum 03:23:32 5851b861e8e6: Download complete 03:23:32 b85a868b505f: Verifying Checksum 03:23:32 b85a868b505f: Download complete 03:23:33 bab4dde63d76: Verifying Checksum 03:23:33 bab4dde63d76: Download complete 03:23:33 b85a868b505f: Pull complete 03:23:34 e2be974225ed: Pull complete 03:23:34 339a4e72a1f5: Pull complete 03:23:34 988bab9f4d93: Pull complete 03:23:34 1469e6f7b9e6: Pull complete 03:23:35 eaf3925da568: Pull complete 03:23:36 bab4dde63d76: Pull complete 03:23:36 bde34c3a00c8: Pull complete 03:23:36 b352a97aabf1: Pull complete 03:23:36 4872d77fe225: Pull complete 03:23:37 5851b861e8e6: Pull complete 03:23:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:23:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:37 prd-ubuntu20.04-docker-8c-8g-42820 does not seem to be running inside a container 03:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:23:38 $ docker top 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 -eo pid,comm 03:23:39 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). 03:23:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:23:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:39 [ssh-agent] Looking for ssh-agent implementation... 03:23:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:39 $ docker exec 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 ssh-agent 03:23:39 SSH_AUTH_SOCK=/tmp/ssh-0qF87dHOWABG/agent.32 03:23:39 SSH_AGENT_PID=38 03:23:39 Running ssh-add (command line suppressed) 03:23:39 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17528888033897929347.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17528888033897929347.key) 03:23:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:39 + git tag --points-at HEAD [Pipeline] } 03:23:39 $ docker exec --env ******** --env ******** 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 ssh-agent -k 03:23:39 unset SSH_AUTH_SOCK; 03:23:39 unset SSH_AGENT_PID; 03:23:39 echo Agent pid 38 killed; 03:23:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:23:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:39 [ssh-agent] Looking for ssh-agent implementation... 03:23:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:40 $ docker exec 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 ssh-agent 03:23:40 SSH_AUTH_SOCK=/tmp/ssh-ZOmtiFNHJ7NN/agent.71 03:23:40 SSH_AGENT_PID=77 03:23:40 Running ssh-add (command line suppressed) 03:23:40 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14610998971925366933.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14610998971925366933.key) 03:23:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:40 + git semver init 03:23:40 2025-04-07 03:23:40,718 [run_init] DEBUG init version:0.0.0 force:False 03:23:40 2025-04-07 03:23:40,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 03:23:40 2025-04-07 03:23:40,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 03:23:40 2025-04-07 03:23:40,720 [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) 03:23:41 2025-04-07 03:23:41,334 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 03:23:41 2025-04-07 03:23:41,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 03:23:41 2025-04-07 03:23:41,335 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 03:23:41 2025-04-07 03:23:41,339 [execute] INFO git cat-file --batch-check 03:23:41 2025-04-07 03:23:41,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 03:23:41 2025-04-07 03:23:41,345 [execute] INFO git cat-file --batch 03:23:41 2025-04-07 03:23:41,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 03:23:41 2025-04-07 03:23:41,350 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 03:23:41 0.0.0 [Pipeline] } 03:23:41 $ docker exec --env ******** --env ******** 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 ssh-agent -k 03:23:41 unset SSH_AUTH_SOCK; 03:23:41 unset SSH_AGENT_PID; 03:23:41 echo Agent pid 77 killed; 03:23:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:23:42 + git semver [Pipeline] } 03:23:42 $ docker stop --time=1 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 03:23:43 $ docker rm -f --volumes 2b350e4621fe8c929135c158c040c2eebb8e4ac44485b369b67057e3459038f3 [Pipeline] // withDockerContainer [Pipeline] sh 03:23:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:23:44 Stashed 1 file(s) [Pipeline] echo 03:23:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:44 provisioning config files... 03:23:44 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config9157517038562446348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:44 ---> ****-login.sh 03:23:44 nexus3.edgexfoundry.org:10001 03:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:44 Configure a credential helper to remove this warning. See 03:23:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:44 03:23:44 Login Succeeded 03:23:44 nexus3.edgexfoundry.org:10002 03:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:44 Configure a credential helper to remove this warning. See 03:23:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:44 03:23:44 Login Succeeded 03:23:44 nexus3.edgexfoundry.org:10003 03:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:45 Configure a credential helper to remove this warning. See 03:23:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:45 03:23:45 Login Succeeded 03:23:45 nexus3.edgexfoundry.org:10004 03:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:45 Configure a credential helper to remove this warning. See 03:23:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:45 03:23:45 Login Succeeded 03:23:45 ****.io 03:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:45 Configure a credential helper to remove this warning. See 03:23:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:45 03:23:45 Login Succeeded 03:23:45 ---> ****-login.sh ends [Pipeline] } 03:23:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:23:45 ========================================================= 03:23:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:23:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 03:23:45 Sending build context to Docker daemon 2.703MB 03:23:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:23:45 Step 2/12 : FROM ${BASE} AS builder 03:23:45 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:23:45 da9db072f522: Pulling fs layer 03:23:45 6ef4a4ee8ca5: Pulling fs layer 03:23:45 06f05ace1117: Pulling fs layer 03:23:45 5fe327b54edc: Pulling fs layer 03:23:45 4f4fb700ef54: Pulling fs layer 03:23:45 92a5565b7b96: Pulling fs layer 03:23:45 ff9bb7016b71: Pulling fs layer 03:23:45 b67dba6c2c7d: Pulling fs layer 03:23:45 a813b0c90790: Pulling fs layer 03:23:45 4f4fb700ef54: Waiting 03:23:45 92a5565b7b96: Waiting 03:23:45 ff9bb7016b71: Waiting 03:23:45 b67dba6c2c7d: Waiting 03:23:45 a813b0c90790: Waiting 03:23:45 6ef4a4ee8ca5: Verifying Checksum 03:23:45 6ef4a4ee8ca5: Download complete 03:23:45 5fe327b54edc: Verifying Checksum 03:23:45 5fe327b54edc: Download complete 03:23:45 4f4fb700ef54: Verifying Checksum 03:23:45 4f4fb700ef54: Download complete 03:23:45 92a5565b7b96: Download complete 03:23:45 da9db072f522: Download complete 03:23:46 ff9bb7016b71: Verifying Checksum 03:23:46 ff9bb7016b71: Download complete 03:23:46 da9db072f522: Pull complete 03:23:46 6ef4a4ee8ca5: Pull complete 03:23:46 a813b0c90790: Verifying Checksum 03:23:46 a813b0c90790: Download complete 03:23:46 06f05ace1117: Verifying Checksum 03:23:46 06f05ace1117: Download complete 03:23:46 b67dba6c2c7d: Verifying Checksum 03:23:46 b67dba6c2c7d: Download complete 03:23:49 06f05ace1117: Pull complete 03:23:49 5fe327b54edc: Pull complete 03:23:49 4f4fb700ef54: Pull complete 03:23:49 92a5565b7b96: Pull complete 03:23:50 ff9bb7016b71: Pull complete 03:23:51 b67dba6c2c7d: Pull complete 03:23:52 a813b0c90790: Pull complete 03:23:52 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 03:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:23:52 ---> 3ba60ce46760 03:23:52 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:23:55 ---> Running in 9c34e4af8f67 03:23:55 Removing intermediate container 9c34e4af8f67 03:23:55 ---> eaec0dffd8e0 03:23:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:23:55 ---> Running in f0f2d63d444e 03:23:55 Removing intermediate container f0f2d63d444e 03:23:55 ---> 555457d83007 03:23:55 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:23:55 ---> Running in 4c8781719ed0 03:23:55 Removing intermediate container 4c8781719ed0 03:23:55 ---> 14815928731d 03:23:55 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:55 ---> Running in 91832df39a96 03:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:23:55 (1/4) Installing openssh-keygen (9.7_p1-r5) 03:23:55 (2/4) Installing libedit (20240517.3.1-r0) 03:23:55 (3/4) Installing openssh-client-common (9.7_p1-r5) 03:23:55 (4/4) Installing openssh-client-default (9.7_p1-r5) 03:23:55 Executing busybox-1.36.1-r29.trigger 03:23:55 OK: 252 MiB in 62 packages 03:23:55 Removing intermediate container 91832df39a96 03:23:55 ---> 9a0d5e388242 03:23:55 Step 7/12 : WORKDIR /sample-service 03:23:55 ---> Running in 1bc97328ef3e 03:23:56 Removing intermediate container 1bc97328ef3e 03:23:56 ---> 513dd169e357 03:23:56 Step 8/12 : COPY go.mod vendor* ./ 03:23:56 ---> 29983e5ccb41 03:23:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:56 ---> Running in 9041dc20ea15 03:24:02 Removing intermediate container 9041dc20ea15 03:24:02 ---> 7d4718804ca4 03:24:02 Step 10/12 : COPY . . 03:24:02 ---> 11d750474e2e 03:24:02 Step 11/12 : ARG MAKE='make build' 03:24:02 ---> Running in d0d983371a18 03:24:02 Removing intermediate container d0d983371a18 03:24:02 ---> 363229b86488 03:24:02 Step 12/12 : RUN $MAKE 03:24:02 ---> Running in 0be2d000b049 03:24:02 noop 03:24:03 Removing intermediate container 0be2d000b049 03:24:03 ---> bc984056994f 03:24:03 Successfully built bc984056994f 03:24:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:03 + docker inspect -f . ci-base-image-x86_64 03:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:03 prd-ubuntu20.04-docker-8c-8g-42820 does not seem to be running inside a container 03:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:24:03 $ docker top 342172bccfbbbf264cc7b315749a9396e7755757eec419bf3bd552cd726d0785 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:04 + go version 03:24:04 go version go1.23.4 linux/amd64 [Pipeline] } 03:24:04 $ docker stop --time=1 342172bccfbbbf264cc7b315749a9396e7755757eec419bf3bd552cd726d0785 03:24:05 $ docker rm -f --volumes 342172bccfbbbf264cc7b315749a9396e7755757eec419bf3bd552cd726d0785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:05 + docker inspect -f . ci-base-image-x86_64 03:24:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:06 prd-ubuntu20.04-docker-8c-8g-42820 does not seem to be running inside a container 03:24:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:24:06 $ docker top 5eeafe331ee34e373ed5ace861c0aa1ce69b201ee333d8bb10fbd1c5631e214d -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:06 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 03:24:07 + make test 03:24:07 CGO_ENABLED=1 go test -race ./... -coverprofile=coverage.out 03:24:15 ? github.com/edgexfoundry/sample-service [no test files] 03:24:25 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 03:24:25 ok github.com/edgexfoundry/sample-service/driver 1.022s coverage: 40.0% of statements 03:24:25 CGO_ENABLED=1 go vet ./... 03:24:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:24:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:24:37 ./bin/test-attribution-txt.sh 03:24:37 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 03:24:37 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 03:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:24:37 $ docker stop --time=1 5eeafe331ee34e373ed5ace861c0aa1ce69b201ee333d8bb10fbd1c5631e214d 03:24:40 $ docker rm -f --volumes 5eeafe331ee34e373ed5ace861c0aa1ce69b201ee333d8bb10fbd1c5631e214d [Pipeline] // withDockerContainer [Pipeline] sh 03:24:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:24:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:24:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:24:41 + ls -al . 03:24:41 total 160 03:24:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 03:24 . 03:24:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:23 .. 03:24:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 03:23 .git 03:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:23 .github 03:24:41 -rw-rw-r-- 1 jenkins jenkins 46 Apr 7 03:23 .gitignore 03:24:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 03:23 .semver 03:24:41 -rw-rw-r-- 1 jenkins jenkins 4832 Apr 7 03:23 Attribution.txt 03:24:41 -rw-rw-r-- 1 jenkins jenkins 34862 Apr 7 03:23 CHANGELOG.md 03:24:41 -rw-rw-r-- 1 jenkins jenkins 1434 Apr 7 03:23 Dockerfile 03:24:41 -rw-rw-r-- 1 jenkins jenkins 706 Apr 7 03:23 Jenkinsfile 03:24:41 -rw-rw-r-- 1 jenkins jenkins 729 Apr 7 03:23 Jenkinsfile-sandbox 03:24:41 -rw-rw-r-- 1 jenkins jenkins 3586 Apr 7 03:23 Jenkinsfile.edgexSemver 03:24:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 03:23 LICENSE 03:24:41 -rw-rw-r-- 1 jenkins jenkins 1308 Apr 7 03:23 Makefile 03:24:41 -rw-rw-r-- 1 jenkins jenkins 3063 Apr 7 03:23 README.md 03:24:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 03:23 VERSION 03:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:23 api 03:24:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:23 bin 03:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:23 cmd 03:24:41 -rw-r--r-- 1 jenkins jenkins 5402 Apr 7 03:24 coverage.out 03:24:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:23 driver 03:24:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:23 example 03:24:41 -rw-rw-r-- 1 jenkins jenkins 1955 Apr 7 03:23 go.mod 03:24:41 -rw-rw-r-- 1 jenkins jenkins 13083 Apr 7 03:23 go.sum 03:24:41 -rw-rw-r-- 1 jenkins jenkins 225 Apr 7 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:41 + 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=eb869c661586b1b6b4d3a43b635254038c5246fa --label arch=amd64 --label version=0.0.0 . 03:24:41 Sending build context to Docker daemon 2.709MB 03:24:41 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 03:24:41 Step 2/23 : FROM ${BASE} AS builder 03:24:41 ---> bc984056994f 03:24:41 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:24:41 ---> Running in 6f4f298afeb3 03:24:41 Removing intermediate container 6f4f298afeb3 03:24:41 ---> 0f6e61a2ffc2 03:24:41 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 03:24:41 ---> Running in 10fe90fac853 03:24:41 Removing intermediate container 10fe90fac853 03:24:41 ---> 08dc970b24ad 03:24:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:24:41 ---> Running in 645c49c8f01b 03:24:41 Removing intermediate container 645c49c8f01b 03:24:41 ---> c1084cd0020d 03:24:41 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:41 ---> Running in 7820b5163fe8 03:24:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:24:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:24:42 OK: 252 MiB in 62 packages 03:24:43 Removing intermediate container 7820b5163fe8 03:24:43 ---> c6aea539cb3e 03:24:43 Step 7/23 : WORKDIR /sample-service 03:24:43 ---> Running in f7b63da52eb0 03:24:43 Removing intermediate container f7b63da52eb0 03:24:43 ---> 3ab729f549e4 03:24:43 Step 8/23 : COPY go.mod vendor* ./ 03:24:43 ---> d530f82f83c7 03:24:43 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:43 ---> Running in 8150535ba1d4 03:24:44 Removing intermediate container 8150535ba1d4 03:24:44 ---> 9a6a20dfc3ae 03:24:44 Step 10/23 : COPY . . 03:24:44 ---> 516894514faf 03:24:44 Step 11/23 : ARG MAKE='make build' 03:24:44 ---> Running in 367addf8df83 03:24:44 Removing intermediate container 367addf8df83 03:24:44 ---> 5d4a4c6ee350 03:24:44 Step 12/23 : RUN $MAKE 03:24:44 ---> Running in 148603369b3e 03:24:44 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 03:24:54 Removing intermediate container 148603369b3e 03:24:54 ---> 4b6e892aca7e 03:24:54 Step 13/23 : FROM alpine:3.18 03:24:54 3.18: Pulling from library/alpine 03:24:54 44cf07d57ee4: Pulling fs layer 03:24:55 44cf07d57ee4: Verifying Checksum 03:24:55 44cf07d57ee4: Download complete 03:24:55 44cf07d57ee4: Pull complete 03:24:55 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 03:24:55 Status: Downloaded newer image for alpine:3.18 03:24:55 ---> 802c91d52981 03:24:55 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:24:55 ---> Running in 5fa170c93a1e 03:24:55 Removing intermediate container 5fa170c93a1e 03:24:55 ---> 2fe3b7a1975d 03:24:55 Step 15/23 : ENV APP_PORT=49999 03:24:55 ---> Running in e5ecaaae84b2 03:24:55 Removing intermediate container e5ecaaae84b2 03:24:55 ---> 7655d8aeb02d 03:24:55 Step 16/23 : EXPOSE $APP_PORT 03:24:55 ---> Running in 1cc58601f636 03:24:55 Removing intermediate container 1cc58601f636 03:24:55 ---> 970f970092cd 03:24:55 Step 17/23 : COPY --from=builder /sample-service/cmd / 03:24:55 ---> a939b8875d71 03:24:55 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 03:24:56 ---> 9fcf3cbd0892 03:24:56 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 03:24:56 ---> 0ac64f9ae181 03:24:56 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 03:24:56 ---> Running in 50e633e0dc3d 03:24:56 Removing intermediate container 50e633e0dc3d 03:24:56 ---> da9621201d3b 03:24:56 Step 21/23 : LABEL arch=amd64 03:24:56 ---> Running in 991cff3f1e6d 03:24:56 Removing intermediate container 991cff3f1e6d 03:24:56 ---> f2c54b2b3880 03:24:56 Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa 03:24:56 ---> Running in cba1f1886924 03:24:56 Removing intermediate container cba1f1886924 03:24:56 ---> efec3b9f44ca 03:24:56 Step 23/23 : LABEL version=0.0.0 03:24:56 ---> Running in 17ab93943a70 03:24:56 Removing intermediate container 17ab93943a70 03:24:56 ---> 83072f255b52 03:24:56 [Warning] One or more build-args [ARCH] were not consumed 03:24:56 Successfully built 83072f255b52 03:24:56 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:56 provisioning config files... 03:24:56 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config17694465466809150725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:57 ---> ****-login.sh 03:24:57 nexus3.edgexfoundry.org:10001 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 nexus3.edgexfoundry.org:10002 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 nexus3.edgexfoundry.org:10003 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 nexus3.edgexfoundry.org:10004 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 ****.io 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 ---> ****-login.sh ends [Pipeline] } 03:24:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:24:57 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 03:24:57 eb869c661586b1b6b4d3a43b635254038c5246fa 03:24:57 latest 03:24:57 0.0.0 03:24:57 eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 03:24:57 PR-165 03:24:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:57 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:58 + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 03:24:58 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 03:24:58 64f907607472: Preparing 03:24:58 210f0df77560: Preparing 03:24:58 7048390c9bac: Preparing 03:24:58 f44f286046d9: Preparing 03:24:58 f44f286046d9: Layer already exists 03:24:58 64f907607472: Pushed 03:24:58 210f0df77560: Pushed 03:24:59 7048390c9bac: Pushed 03:24:59 eb869c661586b1b6b4d3a43b635254038c5246fa: digest: sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:00 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:00 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 03:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 03:25:00 64f907607472: Preparing 03:25:00 210f0df77560: Preparing 03:25:00 7048390c9bac: Preparing 03:25:00 f44f286046d9: Preparing 03:25:00 210f0df77560: Layer already exists 03:25:00 7048390c9bac: Layer already exists 03:25:00 64f907607472: Layer already exists 03:25:00 f44f286046d9: Layer already exists 03:25:00 latest: digest: sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:00 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 03:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 03:25:01 64f907607472: Preparing 03:25:01 210f0df77560: Preparing 03:25:01 7048390c9bac: Preparing 03:25:01 f44f286046d9: Preparing 03:25:01 7048390c9bac: Layer already exists 03:25:01 64f907607472: Layer already exists 03:25:01 210f0df77560: Layer already exists 03:25:01 f44f286046d9: Layer already exists 03:25:01 0.0.0: digest: sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 03:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 03:25:01 64f907607472: Preparing 03:25:01 210f0df77560: Preparing 03:25:01 7048390c9bac: Preparing 03:25:01 f44f286046d9: Preparing 03:25:01 f44f286046d9: Layer already exists 03:25:01 7048390c9bac: Layer already exists 03:25:01 210f0df77560: Layer already exists 03:25:01 64f907607472: Layer already exists 03:25:01 eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0: digest: sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 03:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 03:25:02 64f907607472: Preparing 03:25:02 210f0df77560: Preparing 03:25:02 7048390c9bac: Preparing 03:25:02 f44f286046d9: Preparing 03:25:02 64f907607472: Layer already exists 03:25:02 7048390c9bac: Layer already exists 03:25:02 f44f286046d9: Layer already exists 03:25:02 210f0df77560: Layer already exists 03:25:02 PR-165: digest: sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:02 ===================================================== [Pipeline] echo 03:25:02 taggedImages: 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:latest 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 03:25:02 ========================================================= 03:25:02 [edgeXBuildMultiArch] RAW Config: 03:25:02 images: 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:latest 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 03:25:02 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 03:25:02 settingsFile: 03:25:02 sample-service-settings 03:25:02 ========================================================= [Pipeline] node 03:25:17 Still waiting to schedule task 03:25:17 All nodes of label ‘centos7-docker-4c-2g’ are offline 03:25:49 Running on prd-centos7-docker-4c-2g-42821 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:49 provisioning config files... 03:25:49 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15665251827617130185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:53 ---> ****-login.sh 03:25:53 nexus3.edgexfoundry.org:10001 03:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:53 Configure a credential helper to remove this warning. See 03:25:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:53 03:25:53 Login Succeeded 03:25:53 nexus3.edgexfoundry.org:10002 03:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:53 Configure a credential helper to remove this warning. See 03:25:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:53 03:25:53 Login Succeeded 03:25:53 nexus3.edgexfoundry.org:10003 03:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:54 Configure a credential helper to remove this warning. See 03:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:54 03:25:54 Login Succeeded 03:25:54 nexus3.edgexfoundry.org:10004 03:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:54 Configure a credential helper to remove this warning. See 03:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:54 03:25:54 Login Succeeded 03:25:54 ****.io 03:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:54 Configure a credential helper to remove this warning. See 03:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:54 03:25:54 Login Succeeded 03:25:54 ---> ****-login.sh ends [Pipeline] } 03:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:25:54 + docker buildx ls 03:25:54 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 03:25:54 default * docker 03:25:54 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 03:25:55 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 03:25:55 edgex-builder [Pipeline] sh 03:25:55 + docker buildx inspect --bootstrap 03:25:55 #1 [internal] booting buildkit 03:25:55 #1 pulling image moby/buildkit:buildx-stable-1 03:25:58 #1 pulling image moby/buildkit:buildx-stable-1 2.6s done 03:25:58 #1 creating container buildx_buildkit_edgex-builder0 03:26:00 #1 creating container buildx_buildkit_edgex-builder0 2.6s done 03:26:00 #1 DONE 5.1s 03:26:00 Name: edgex-builder 03:26:00 Driver: docker-container 03:26:00 03:26:00 Nodes: 03:26:00 Name: edgex-builder0 03:26:00 Endpoint: unix:///var/run/docker.sock 03:26:00 Status: running 03:26:00 Buildkit: v0.20.2 03:26:00 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 03:26:00 + docker buildx ls 03:26:00 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 03:26:00 edgex-builder * docker-container 03:26:00 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 03:26:00 default docker 03:26:00 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 03:26:01 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa' 03:26:01 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa --push - 03:26:01 #1 [internal] load build definition from Dockerfile 03:26:01 #1 transferring dockerfile: 199B done 03:26:01 #1 DONE 0.0s 03:26:01 03:26:01 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 03:26:01 #2 DONE 0.1s 03:26:01 03:26:01 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 03:26:01 #3 DONE 0.1s 03:26:01 03:26:01 #4 [internal] load .dockerignore 03:26:01 #4 transferring context: 2B done 03:26:01 #4 DONE 0.0s 03:26:01 03:26:01 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:01 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:01 #5 DONE 0.0s 03:26:01 03:26:01 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:01 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:01 #6 DONE 0.1s 03:26:01 03:26:01 #7 exporting to image 03:26:01 #7 exporting layers done 03:26:01 #7 exporting manifest sha256:e769c8265cc6644538763fa44b873ed6adc78ec3ed210cc9cb68ae8a3671d5d8 done 03:26:01 #7 exporting config sha256:fc59d791d95dcbc8dbe4d43009cc2c897ba502ed78c5d3dd64573cc99078f99f done 03:26:01 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:26:01 #7 ... 03:26:01 03:26:01 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 03:26:01 #8 DONE 0.0s 03:26:01 03:26:01 #7 exporting to image 03:26:01 #7 exporting manifest sha256:af5beceb8d5828ddf36709965210ed3bf9bfe4a9ecacbe9d8eb593c113c94749 done 03:26:01 #7 exporting config sha256:dc9594b8a3cee89348aedd91df90267db065ce6a05ff97317e252e0862ea9128 done 03:26:01 #7 exporting manifest list sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 done 03:26:01 #7 pushing layers 0.1s done 03:26:01 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 03:26:01 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 0.1s done 03:26:01 #7 DONE 0.2s 03:26:01 03:26:01 1 warning found (use --debug to expand): 03:26:01  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:26:02 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:latest' 03:26:02 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:latest --push - 03:26:02 #1 [internal] load build definition from Dockerfile 03:26:02 #1 transferring dockerfile: 165B done 03:26:02 #1 DONE 0.0s 03:26:02 03:26:02 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 03:26:02 #2 DONE 0.0s 03:26:02 03:26:02 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest 03:26:02 #3 DONE 0.0s 03:26:02 03:26:02 #4 [internal] load .dockerignore 03:26:02 #4 transferring context: 2B done 03:26:02 #4 DONE 0.0s 03:26:02 03:26:02 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:02 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 done 03:26:02 #5 DONE 0.0s 03:26:02 03:26:02 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:02 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:02 #6 CACHED 03:26:02 03:26:02 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:02 #5 CACHED 03:26:02 03:26:02 #7 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 03:26:02 #7 DONE 0.0s 03:26:02 03:26:02 #8 exporting to image 03:26:02 #8 exporting layers done 03:26:02 #8 exporting manifest sha256:e769c8265cc6644538763fa44b873ed6adc78ec3ed210cc9cb68ae8a3671d5d8 done 03:26:02 #8 exporting config sha256:fc59d791d95dcbc8dbe4d43009cc2c897ba502ed78c5d3dd64573cc99078f99f done 03:26:02 #8 exporting manifest sha256:af5beceb8d5828ddf36709965210ed3bf9bfe4a9ecacbe9d8eb593c113c94749 done 03:26:02 #8 exporting config sha256:dc9594b8a3cee89348aedd91df90267db065ce6a05ff97317e252e0862ea9128 done 03:26:02 #8 exporting manifest list sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 done 03:26:02 #8 pushing layers 0.0s done 03:26:02 #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 0.1s done 03:26:02 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:26:02 #8 DONE 0.1s 03:26:02 03:26:02 1 warning found (use --debug to expand): 03:26:02  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:26:02 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:0.0.0 --push - 03:26:02 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0' 03:26:02 #1 [internal] load build definition from Dockerfile 03:26:02 #1 transferring dockerfile: 164B done 03:26:02 #1 DONE 0.0s 03:26:02 03:26:02 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 03:26:02 #2 DONE 0.0s 03:26:02 03:26:02 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:0.0.0 03:26:02 #3 DONE 0.0s 03:26:02 03:26:02 #4 [internal] load .dockerignore 03:26:02 #4 transferring context: 2B done 03:26:02 #4 DONE 0.0s 03:26:02 03:26:02 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:02 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:02 #5 CACHED 03:26:02 03:26:02 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:02 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:02 #6 CACHED 03:26:02 03:26:02 #7 exporting to image 03:26:02 #7 exporting layers done 03:26:02 #7 exporting manifest sha256:e769c8265cc6644538763fa44b873ed6adc78ec3ed210cc9cb68ae8a3671d5d8 done 03:26:02 #7 exporting config sha256:fc59d791d95dcbc8dbe4d43009cc2c897ba502ed78c5d3dd64573cc99078f99f done 03:26:02 #7 exporting manifest sha256:af5beceb8d5828ddf36709965210ed3bf9bfe4a9ecacbe9d8eb593c113c94749 done 03:26:02 #7 exporting config sha256:dc9594b8a3cee89348aedd91df90267db065ce6a05ff97317e252e0862ea9128 done 03:26:02 #7 exporting manifest list sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 done 03:26:02 #7 pushing layers 0.0s done 03:26:02 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 03:26:02 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:26:02 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:0.0.0@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 0.1s done 03:26:02 #7 DONE 0.1s 03:26:02 03:26:02 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 03:26:02 #8 DONE 0.0s 03:26:02 03:26:02 1 warning found (use --debug to expand): 03:26:02  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:26:03 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0' 03:26:03 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 --push - 03:26:03 #1 [internal] load build definition from Dockerfile 03:26:03 #1 transferring dockerfile: 205B done 03:26:03 #1 DONE 0.0s 03:26:03 03:26:03 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 03:26:03 #2 DONE 0.0s 03:26:03 03:26:03 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 03:26:03 #3 DONE 0.0s 03:26:03 03:26:03 #4 [internal] load .dockerignore 03:26:03 #4 transferring context: 2B done 03:26:03 #4 DONE 0.0s 03:26:03 03:26:03 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:03 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:03 #5 CACHED 03:26:03 03:26:03 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:03 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:03 #6 CACHED 03:26:03 03:26:03 #7 exporting to image 03:26:03 #7 exporting layers done 03:26:03 #7 exporting manifest sha256:e769c8265cc6644538763fa44b873ed6adc78ec3ed210cc9cb68ae8a3671d5d8 done 03:26:03 #7 exporting config sha256:fc59d791d95dcbc8dbe4d43009cc2c897ba502ed78c5d3dd64573cc99078f99f done 03:26:03 #7 exporting manifest sha256:af5beceb8d5828ddf36709965210ed3bf9bfe4a9ecacbe9d8eb593c113c94749 done 03:26:03 #7 exporting config sha256:dc9594b8a3cee89348aedd91df90267db065ce6a05ff97317e252e0862ea9128 done 03:26:03 #7 exporting manifest list sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 done 03:26:03 #7 pushing layers 0.0s done 03:26:03 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 03:26:03 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:26:03 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 0.1s done 03:26:03 #7 DONE 0.1s 03:26:03 03:26:03 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 03:26:03 #8 DONE 0.0s 03:26:03 03:26:03 1 warning found (use --debug to expand): 03:26:03  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:26:03 + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165' 03:26:03 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:PR-165 --push - 03:26:03 #1 [internal] load build definition from Dockerfile 03:26:03 #1 transferring dockerfile: 165B done 03:26:03 #1 DONE 0.0s 03:26:03 03:26:03 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 03:26:03 #2 DONE 0.0s 03:26:03 03:26:03 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:PR-165 03:26:03 #3 DONE 0.0s 03:26:03 03:26:03 #4 [internal] load .dockerignore 03:26:03 #4 transferring context: 2B done 03:26:03 #4 DONE 0.0s 03:26:03 03:26:03 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:03 #5 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 done 03:26:03 #5 CACHED 03:26:03 03:26:03 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 03:26:03 #6 resolve nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:798a69b776a87188091bf091f582b25ffd5e1283e56156d2152a6a70ddf14556 0.0s done 03:26:03 #6 CACHED 03:26:03 03:26:03 #7 exporting to image 03:26:03 #7 exporting layers done 03:26:03 #7 exporting manifest sha256:e769c8265cc6644538763fa44b873ed6adc78ec3ed210cc9cb68ae8a3671d5d8 done 03:26:03 #7 exporting config sha256:fc59d791d95dcbc8dbe4d43009cc2c897ba502ed78c5d3dd64573cc99078f99f done 03:26:03 #7 exporting manifest sha256:af5beceb8d5828ddf36709965210ed3bf9bfe4a9ecacbe9d8eb593c113c94749 done 03:26:03 #7 exporting config sha256:dc9594b8a3cee89348aedd91df90267db065ce6a05ff97317e252e0862ea9128 done 03:26:03 #7 exporting manifest list sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 done 03:26:03 #7 pushing layers 0.0s done 03:26:03 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 03:26:03 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:26:04 #7 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:PR-165@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 0.1s done 03:26:04 #7 DONE 0.1s 03:26:04 03:26:04 #8 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 03:26:04 #8 DONE 0.0s 03:26:04 03:26:04 1 warning found (use --debug to expand): 03:26:04  - 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 03:26:04 + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh 03:26:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:05 ---> package-listing.sh 03:26:05 ++ tr '[:upper:]' '[:lower:]' 03:26:05 ++ facter osfamily 03:26:05 + OS_FAMILY=redhat 03:26:05 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 03:26:05 + START_PACKAGES=/tmp/packages_start.txt 03:26:05 + END_PACKAGES=/tmp/packages_end.txt 03:26:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:05 + PACKAGES=/tmp/packages_start.txt 03:26:05 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 03:26:05 + PACKAGES=/tmp/packages_end.txt 03:26:05 + case "${OS_FAMILY}" in 03:26:05 + rpm -qa 03:26:05 + sort 03:26:06 + '[' -f /tmp/packages_start.txt ']' 03:26:06 + '[' -f /tmp/packages_end.txt ']' 03:26:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:06 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 03:26:06 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 03:26:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 03:26:06 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 03:26:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:07 03:26:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:07 latest: Pulling from edgex-lftools-log-publisher 03:26:07 5eb5b503b376: Pulling fs layer 03:26:07 5c69ac0246d0: Pulling fs layer 03:26:07 ec43610c2a17: Pulling fs layer 03:26:07 3a2ae6a8a46f: Pulling fs layer 03:26:07 33b1e0a273af: Pulling fs layer 03:26:07 5d3b04190fa2: Pulling fs layer 03:26:07 2f39f015ded8: Pulling fs layer 03:26:07 3a2ae6a8a46f: Waiting 03:26:07 33b1e0a273af: Waiting 03:26:07 5d3b04190fa2: Waiting 03:26:07 2f39f015ded8: Waiting 03:26:07 5c69ac0246d0: Verifying Checksum 03:26:07 5c69ac0246d0: Download complete 03:26:07 3a2ae6a8a46f: Verifying Checksum 03:26:07 3a2ae6a8a46f: Download complete 03:26:07 ec43610c2a17: Verifying Checksum 03:26:07 ec43610c2a17: Download complete 03:26:07 33b1e0a273af: Verifying Checksum 03:26:07 33b1e0a273af: Download complete 03:26:07 5d3b04190fa2: Verifying Checksum 03:26:07 5d3b04190fa2: Download complete 03:26:07 5eb5b503b376: Verifying Checksum 03:26:07 5eb5b503b376: Download complete 03:26:08 2f39f015ded8: Verifying Checksum 03:26:08 2f39f015ded8: Download complete 03:26:09 5eb5b503b376: Pull complete 03:26:09 5c69ac0246d0: Pull complete 03:26:09 ec43610c2a17: Pull complete 03:26:09 3a2ae6a8a46f: Pull complete 03:26:09 33b1e0a273af: Pull complete 03:26:09 5d3b04190fa2: Pull complete 03:26:13 2f39f015ded8: Pull complete 03:26:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:13 prd-centos7-docker-4c-2g-42821 does not seem to be running inside a container 03:26:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:18 $ docker top 354e9ceca1785ddfb9e6ef5da23f8e06c55567502500702ba2c52b5981b931ce -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:18 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:18 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:19 + ls /var/log/sa-host 03:26:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:19 provisioning config files... 03:26:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config5586282847134230264tmp [Pipeline] { [Pipeline] echo 03:26:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:19 ---> create-netrc.sh [Pipeline] } 03:26:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:20 ---> python-tools-install.sh [Pipeline] echo 03:26:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:20 ---> sudo-logs.sh 03:26:20 Archiving 'sudo' log.. 03:26:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-42821.novalocal: Name or service not known 03:26:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-42821.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 03:26:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:20 ---> job-cost.sh 03:26:20 lf-activate-venv: SKIPPING 03:26:20 INFO: No Stack... 03:26:20 INFO: Retrieving Pricing Info for: v3-standard-2 03:26:21 INFO: Archiving Costs [Pipeline] echo 03:26:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:21 ---> logs-deploy.sh 03:26:21 lf-activate-venv: SKIPPING 03:26:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/24 03:26:21 INFO: archiving workspace using pattern(s): 03:26:22 Archives upload complete. 03:26:22 INFO: archiving logs to Nexus 03:26:23 ---> uname -a: 03:26:23 Linux prd-centos7-docker-4c-2g-42821.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 03:26:23 03:26:23 03:26:23 ---> lscpu: 03:26:23 Architecture: x86_64 03:26:23 CPU op-mode(s): 32-bit, 64-bit 03:26:23 Byte Order: Little Endian 03:26:23 Address sizes: 40 bits physical, 48 bits virtual 03:26:23 CPU(s): 2 03:26:23 On-line CPU(s) list: 0,1 03:26:23 Thread(s) per core: 1 03:26:23 Core(s) per socket: 1 03:26:23 Socket(s): 2 03:26:23 NUMA node(s): 1 03:26:23 Vendor ID: AuthenticAMD 03:26:23 CPU family: 23 03:26:23 Model: 49 03:26:23 Model name: AMD EPYC-Rome Processor 03:26:23 Stepping: 0 03:26:23 CPU MHz: 2800.000 03:26:23 BogoMIPS: 5600.00 03:26:23 Virtualization: AMD-V 03:26:23 Hypervisor vendor: KVM 03:26:23 Virtualization type: full 03:26:23 L1d cache: 64 KiB 03:26:23 L1i cache: 64 KiB 03:26:23 L2 cache: 1 MiB 03:26:23 L3 cache: 32 MiB 03:26:23 NUMA node0 CPU(s): 0,1 03:26:23 Vulnerability Itlb multihit: Not affected 03:26:23 Vulnerability L1tf: Not affected 03:26:23 Vulnerability Mds: Not affected 03:26:23 Vulnerability Meltdown: Not affected 03:26:23 Vulnerability Mmio stale data: Not affected 03:26:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:26:23 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:26:23 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:26:23 Vulnerability Srbds: Not affected 03:26:23 Vulnerability Tsx async abort: Not affected 03:26:23 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 03:26:23 03:26:23 03:26:23 ---> nproc: 03:26:23 2 03:26:23 03:26:23 03:26:23 ---> df -h: 03:26:23 Filesystem Size Used Avail Use% Mounted on 03:26:23 overlay 40G 7.3G 33G 19% / 03:26:23 tmpfs 64M 0 64M 0% /dev 03:26:23 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 03:26:23 shm 64M 0 64M 0% /dev/shm 03:26:23 /dev/vda1 40G 7.3G 33G 19% /facter-os 03:26:23 03:26:23 03:26:23 Cannot open /var/log/sysstat/sa07: No such file or directory 03:26:23 Please check if data collecting is enabled 03:26:23 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:26:23 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 03:26:23 $ docker stop --time=1 354e9ceca1785ddfb9e6ef5da23f8e06c55567502500702ba2c52b5981b931ce 03:26:24 $ docker rm -f --volumes 354e9ceca1785ddfb9e6ef5da23f8e06c55567502500702ba2c52b5981b931ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 03:26:24 [WS-CLEANUP] Deleting project workspace... 03:26:24 [WS-CLEANUP] Deferred wipeout is used... 03:26:24 [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 03:26:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:25 03:26:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:25 latest: Pulling from edgex-lftools-log-publisher 03:26:25 5eb5b503b376: Pulling fs layer 03:26:25 5c69ac0246d0: Pulling fs layer 03:26:25 ec43610c2a17: Pulling fs layer 03:26:25 3a2ae6a8a46f: Pulling fs layer 03:26:25 33b1e0a273af: Pulling fs layer 03:26:25 5d3b04190fa2: Pulling fs layer 03:26:25 2f39f015ded8: Pulling fs layer 03:26:25 33b1e0a273af: Waiting 03:26:25 5d3b04190fa2: Waiting 03:26:25 2f39f015ded8: Waiting 03:26:25 3a2ae6a8a46f: Waiting 03:26:25 5c69ac0246d0: Download complete 03:26:25 3a2ae6a8a46f: Verifying Checksum 03:26:25 3a2ae6a8a46f: Download complete 03:26:25 33b1e0a273af: Verifying Checksum 03:26:25 33b1e0a273af: Download complete 03:26:25 ec43610c2a17: Verifying Checksum 03:26:25 ec43610c2a17: Download complete 03:26:25 5d3b04190fa2: Verifying Checksum 03:26:25 5d3b04190fa2: Download complete 03:26:25 5eb5b503b376: Verifying Checksum 03:26:25 5eb5b503b376: Download complete 03:26:26 2f39f015ded8: Download complete 03:26:27 5eb5b503b376: Pull complete 03:26:27 5c69ac0246d0: Pull complete 03:26:27 ec43610c2a17: Pull complete 03:26:27 3a2ae6a8a46f: Pull complete 03:26:27 33b1e0a273af: Pull complete 03:26:27 5d3b04190fa2: Pull complete 03:26:32 2f39f015ded8: Pull complete 03:26:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:26:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:32 prd-ubuntu20.04-docker-8c-8g-42820 does not seem to be running inside a container 03:26:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:34 $ docker top 078e601d9684357b35e7e16b162f92b650b3db3a50a421c2ff3c34a9b2f4efc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:34 ---> job-cost.sh 03:26:34 lf-activate-venv: SKIPPING 03:26:34 INFO: No Stack... 03:26:34 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:35 INFO: Archiving Costs [Pipeline] sh 03:26:35 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 03:26:35 + cut -d, -f6 [Pipeline] lock 03:26:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-24-stack-cost] 03:26:35 Resource [jenkins-edgexfoundry-sample-service-PR-165-24-stack-cost] did not exist. Created. 03:26:35 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:35 + echo total: 0.2199999988079071 [Pipeline] stash 03:26:35 Stashed 1 file(s) [Pipeline] } 03:26:35 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-24-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:35 $ docker stop --time=1 078e601d9684357b35e7e16b162f92b650b3db3a50a421c2ff3c34a9b2f4efc5 03:26:36 $ docker rm -f --volumes 078e601d9684357b35e7e16b162f92b650b3db3a50a421c2ff3c34a9b2f4efc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] script [Pipeline] { [Pipeline] echo 03:26:37 building multi-arch image for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh 03:26:37 + docker pull nexus3.edgexfoundry.org:10004/sample-service:latest 03:26:37 latest: Pulling from sample-service 03:26:37 44cf07d57ee4: Already exists 03:26:37 283ddef30984: Already exists 03:26:37 b8dab145bb17: Already exists 03:26:37 d2fe00ccf24c: Already exists 03:26:37 Digest: sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 03:26:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service:latest 03:26:37 nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh 03:26:37 + docker pull nexus3.edgexfoundry.org:10004/sample-service-arm64:latest 03:26:37 latest: Pulling from sample-service-arm64 03:26:37 95459497489f: Pulling fs layer 03:26:37 ceb2e31cc3b0: Pulling fs layer 03:26:37 8ad4e7edb9c4: Pulling fs layer 03:26:37 58ef3575707b: Pulling fs layer 03:26:37 58ef3575707b: Waiting 03:26:37 8ad4e7edb9c4: Verifying Checksum 03:26:37 8ad4e7edb9c4: Download complete 03:26:37 58ef3575707b: Verifying Checksum 03:26:37 58ef3575707b: Download complete 03:26:37 95459497489f: Verifying Checksum 03:26:37 95459497489f: Download complete 03:26:37 ceb2e31cc3b0: Verifying Checksum 03:26:38 95459497489f: Pull complete 03:26:38 ceb2e31cc3b0: Pull complete 03:26:38 8ad4e7edb9c4: Pull complete 03:26:38 58ef3575707b: Pull complete 03:26:38 Digest: sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679 03:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service-arm64:latest 03:26:38 nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [Pipeline] sh 03:26:38 + docker tag nexus3.edgexfoundry.org:10004/sample-service:latest nexus3.edgexfoundry.org:10004/sample-service-amd64:latest 03:26:38 + docker rmi -f nexus3.edgexfoundry.org:10004/sample-service:latest 03:26:38 Untagged: nexus3.edgexfoundry.org:10004/sample-service:latest 03:26:38 Untagged: nexus3.edgexfoundry.org:10004/sample-service@sha256:e890aa9957a6162208d01cc74d5a3be378588beb6b17f38bfba6a5332d416569 [Pipeline] sh 03:26:38 + docker push nexus3.edgexfoundry.org:10004/sample-service-amd64:latest 03:26:38 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service-amd64] 03:26:38 64f907607472: Preparing 03:26:38 210f0df77560: Preparing 03:26:38 7048390c9bac: Preparing 03:26:38 f44f286046d9: Preparing 03:26:38 64f907607472: Layer already exists 03:26:38 f44f286046d9: Layer already exists 03:26:38 7048390c9bac: Layer already exists 03:26:38 210f0df77560: Layer already exists 03:26:38 latest: digest: sha256:12d8072ae3bbc0f3e206ae8e05a2ab8e73da023e288d08bc88449e302c8d9fa3 size: 1154 [Pipeline] sh 03:26:39 + docker manifest create nexus3.edgexfoundry.org:10004/sample-service:latest --amend nexus3.edgexfoundry.org:10004/sample-service-amd64:latest --amend nexus3.edgexfoundry.org:10004/sample-service-arm64:latest 03:26:39 open /etc/docker/certs.d/nexus3.edgexfoundry.org:10004: permission denied [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 03:26:40 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 03:26:40 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 03:26:40 total 16 03:26:40 drwxr-xr-x 3 root root 4096 Apr 7 03:26 . 03:26:40 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:26 .. 03:26:40 drwxr-xr-x 2 root root 4096 Apr 7 03:26 cost 03:26:40 -rw-r--r-- 1 root root 87 Apr 7 03:26 cost.csv 03:26:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 03:26:40 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 03:26:40 total 16 03:26:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 03:26 . 03:26:40 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:26 .. 03:26:40 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 03:26 cost 03:26:40 -rw-r--r-- 1 jenkins jenkins 87 Apr 7 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:26:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:41 ---> package-listing.sh 03:26:41 ++ facter osfamily 03:26:41 ++ tr '[:upper:]' '[:lower:]' 03:26:41 + OS_FAMILY=debian 03:26:41 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 03:26:41 + START_PACKAGES=/tmp/packages_start.txt 03:26:41 + END_PACKAGES=/tmp/packages_end.txt 03:26:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:41 + PACKAGES=/tmp/packages_start.txt 03:26:41 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 03:26:41 + PACKAGES=/tmp/packages_end.txt 03:26:41 + case "${OS_FAMILY}" in 03:26:41 + dpkg -l 03:26:41 + grep '^ii' 03:26:41 + '[' -f /tmp/packages_start.txt ']' 03:26:41 + '[' -f /tmp/packages_end.txt ']' 03:26:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:41 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 03:26:41 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 03:26:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 03:26:41 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 03:26:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:42 prd-ubuntu20.04-docker-8c-8g-42820 does not seem to be running inside a container 03:26:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:42 $ docker top ef28fd243bc85e15e96cc248e1529204d9e5fa2705ff6806cc4d3406800c13a9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:43 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:43 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:43 + ls /var/log/sa-host 03:26:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:43 provisioning config files... 03:26:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15150796373057114045tmp [Pipeline] { [Pipeline] echo 03:26:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:44 ---> create-netrc.sh [Pipeline] } 03:26:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:44 ---> python-tools-install.sh [Pipeline] echo 03:26:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:44 ---> sudo-logs.sh 03:26:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:26:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:45 ---> job-cost.sh 03:26:45 lf-activate-venv: SKIPPING 03:26:45 DEBUG: total: 0.2199999988079071 03:26:45 INFO: Retrieving Stack Cost... 03:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:45 INFO: Archiving Costs [Pipeline] echo 03:26:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:45 ---> logs-deploy.sh 03:26:45 lf-activate-venv: SKIPPING 03:26:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/24 03:26:45 INFO: archiving workspace using pattern(s): 03:26:46 Archives upload complete. 03:26:46 INFO: archiving logs to Nexus