Started by user Jin Lin Guan Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/sample-service Obtained Jenkinsfile from 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-ssh12710459824190788198.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 57e8765b0de11911d891cd17a866ff25918d271a 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-ssh11215121811991715272.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 57e8765b0de11911d891cd17a866ff25918d271a 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-ssh17271383515997041822.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57e8765b0de11911d891cd17a866ff25918d271a (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 57e8765b0de11911d891cd17a866ff25918d271a # timeout=10 Commit message: "manifest" > 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-ssh1397024030508841129.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-ssh13831449889995906095.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 ‘prd-ubuntu20.04-docker-8c-8g-42832’ is offline Running on prd-ubuntu20.04-docker-8c-8g-42833 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 > 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 Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > 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" > git rev-list --no-walk eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:57 ========================================================= 09:20:57 EdgeX Global Pipelines Version Info 09:20:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:58 ------------------- 09:20:58 stable info: 09:20:58 ------------------- 09:20:58 Commited By: Ginny Guan ginny@iotechsys.com 09:20:58 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 09:20:58 Message: update stable to v1.0.274 09:20:59 ------------------- 09:20:59 experimental info: 09:20:59 ------------------- 09:20:59 Commited By: Ginny Guan ginny@iotechsys.com 09:20:59 Commit SHA: 57e8765b0de11911d891cd17a866ff25918d271a 09:20:59 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo 09:20:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:59 provisioning config files... 09:20:59 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15327736190518539817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:00 ---> ****-login.sh 09:21:00 nexus3.edgexfoundry.org:10001 09:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:00 Configure a credential helper to remove this warning. See 09:21:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:00 09:21:00 Login Succeeded 09:21:00 nexus3.edgexfoundry.org:10002 09:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:00 Configure a credential helper to remove this warning. See 09:21:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:00 09:21:00 Login Succeeded 09:21:00 nexus3.edgexfoundry.org:10003 09:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:01 Configure a credential helper to remove this warning. See 09:21:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:01 09:21:01 Login Succeeded 09:21:01 nexus3.edgexfoundry.org:10004 09:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:01 Configure a credential helper to remove this warning. See 09:21:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:01 09:21:01 Login Succeeded 09:21:01 ****.io 09:21:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:01 Configure a credential helper to remove this warning. See 09:21:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:01 09:21:01 Login Succeeded 09:21:01 ---> ****-login.sh ends [Pipeline] } 09:21:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:21:01 + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 09:21:01 -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh 09:21:02 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 09:21:02 ========================================================= 09:21:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:21:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:02 + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo 09:21:02 [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 09:21:02 [semverPrep] This is not a build commit. [Pipeline] sh 09:21:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:21:03 + grep -v github /etc/ssh/ssh_known_hosts 09:21:03 + [ -e /tmp/ssh_known_hosts ] 09:21:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:21:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:21:03 + sudo tee -a /etc/ssh/ssh_known_hosts 09:21:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:21:03 09:21:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:21:03 0.1.4: Pulling from edgex-devops/py-git-semver 09:21:03 b85a868b505f: Pulling fs layer 09:21:03 e2be974225ed: Pulling fs layer 09:21:03 339a4e72a1f5: Pulling fs layer 09:21:03 988bab9f4d93: Pulling fs layer 09:21:03 1469e6f7b9e6: Pulling fs layer 09:21:03 eaf3925da568: Pulling fs layer 09:21:03 bab4dde63d76: Pulling fs layer 09:21:03 bde34c3a00c8: Pulling fs layer 09:21:03 b352a97aabf1: Pulling fs layer 09:21:03 4872d77fe225: Pulling fs layer 09:21:03 5851b861e8e6: Pulling fs layer 09:21:03 bde34c3a00c8: Waiting 09:21:03 988bab9f4d93: Waiting 09:21:03 1469e6f7b9e6: Waiting 09:21:03 b352a97aabf1: Waiting 09:21:03 eaf3925da568: Waiting 09:21:03 bab4dde63d76: Waiting 09:21:03 4872d77fe225: Waiting 09:21:03 5851b861e8e6: Waiting 09:21:03 e2be974225ed: Verifying Checksum 09:21:03 e2be974225ed: Download complete 09:21:03 988bab9f4d93: Verifying Checksum 09:21:03 988bab9f4d93: Download complete 09:21:03 339a4e72a1f5: Verifying Checksum 09:21:03 339a4e72a1f5: Download complete 09:21:03 1469e6f7b9e6: Verifying Checksum 09:21:03 1469e6f7b9e6: Download complete 09:21:03 eaf3925da568: Verifying Checksum 09:21:03 eaf3925da568: Download complete 09:21:03 bde34c3a00c8: Download complete 09:21:03 b352a97aabf1: Verifying Checksum 09:21:03 b352a97aabf1: Download complete 09:21:03 4872d77fe225: Verifying Checksum 09:21:03 4872d77fe225: Download complete 09:21:03 5851b861e8e6: Verifying Checksum 09:21:03 5851b861e8e6: Download complete 09:21:03 b85a868b505f: Verifying Checksum 09:21:03 b85a868b505f: Download complete 09:21:04 bab4dde63d76: Verifying Checksum 09:21:04 bab4dde63d76: Download complete 09:21:05 b85a868b505f: Pull complete 09:21:05 e2be974225ed: Pull complete 09:21:05 339a4e72a1f5: Pull complete 09:21:05 988bab9f4d93: Pull complete 09:21:06 1469e6f7b9e6: Pull complete 09:21:06 eaf3925da568: Pull complete 09:21:08 bab4dde63d76: Pull complete 09:21:08 bde34c3a00c8: Pull complete 09:21:08 b352a97aabf1: Pull complete 09:21:08 4872d77fe225: Pull complete 09:21:08 5851b861e8e6: Pull complete 09:21:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:21:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:21:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:21:08 prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container 09:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:21:09 $ docker top a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 -eo pid,comm 09:21:09 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). 09:21:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:10 [ssh-agent] Looking for ssh-agent implementation... 09:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:10 $ docker exec a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent 09:21:10 SSH_AUTH_SOCK=/tmp/ssh-sDATLYdgpYh9/agent.32 09:21:10 SSH_AGENT_PID=38 09:21:10 Running ssh-add (command line suppressed) 09:21:10 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_813921717519119277.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_813921717519119277.key) 09:21:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:10 + git tag --points-at HEAD [Pipeline] } 09:21:10 $ docker exec --env ******** --env ******** a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent -k 09:21:10 unset SSH_AUTH_SOCK; 09:21:10 unset SSH_AGENT_PID; 09:21:10 echo Agent pid 38 killed; 09:21:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:10 [ssh-agent] Looking for ssh-agent implementation... 09:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:10 $ docker exec a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent 09:21:11 SSH_AUTH_SOCK=/tmp/ssh-Ado7mt75yYlv/agent.71 09:21:11 SSH_AGENT_PID=77 09:21:11 Running ssh-add (command line suppressed) 09:21:11 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12801918622696878680.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12801918622696878680.key) 09:21:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:11 + git semver init 09:21:11 2025-04-07 09:21:11,724 [run_init] DEBUG init version:0.0.0 force:False 09:21:11 2025-04-07 09:21:11,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 09:21:11 2025-04-07 09:21:11,725 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 09:21:11 2025-04-07 09:21:11,726 [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) 09:21:12 2025-04-07 09:21:12,349 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 09:21:12 2025-04-07 09:21:12,349 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 09:21:12 2025-04-07 09:21:12,349 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 09:21:12 2025-04-07 09:21:12,353 [execute] INFO git cat-file --batch-check 09:21:12 2025-04-07 09:21:12,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 09:21:12 2025-04-07 09:21:12,360 [execute] INFO git cat-file --batch 09:21:12 2025-04-07 09:21:12,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 09:21:12 2025-04-07 09:21:12,366 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 09:21:12 0.0.0 [Pipeline] } 09:21:12 $ docker exec --env ******** --env ******** a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent -k 09:21:12 unset SSH_AUTH_SOCK; 09:21:12 unset SSH_AGENT_PID; 09:21:12 echo Agent pid 77 killed; 09:21:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:13 + git semver [Pipeline] } 09:21:13 $ docker stop --time=1 a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 09:21:14 $ docker rm -f --volumes a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 [Pipeline] // withDockerContainer [Pipeline] sh 09:21:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:15 Stashed 1 file(s) [Pipeline] echo 09:21:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:15 provisioning config files... 09:21:15 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15756445279388355665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:15 ---> ****-login.sh 09:21:15 nexus3.edgexfoundry.org:10001 09:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:15 Configure a credential helper to remove this warning. See 09:21:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:15 09:21:15 Login Succeeded 09:21:15 nexus3.edgexfoundry.org:10002 09:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:15 Configure a credential helper to remove this warning. See 09:21:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:15 09:21:15 Login Succeeded 09:21:15 nexus3.edgexfoundry.org:10003 09:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:16 Configure a credential helper to remove this warning. See 09:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:16 09:21:16 Login Succeeded 09:21:16 nexus3.edgexfoundry.org:10004 09:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:16 Configure a credential helper to remove this warning. See 09:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:16 09:21:16 Login Succeeded 09:21:16 ****.io 09:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:16 Configure a credential helper to remove this warning. See 09:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:16 09:21:16 Login Succeeded 09:21:16 ---> ****-login.sh ends [Pipeline] } 09:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:21:16 ========================================================= 09:21:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:21:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:17 + 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 . 09:21:17 Sending build context to Docker daemon 2.703MB 09:21:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:21:17 Step 2/12 : FROM ${BASE} AS builder 09:21:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:21:17 da9db072f522: Pulling fs layer 09:21:17 6ef4a4ee8ca5: Pulling fs layer 09:21:17 06f05ace1117: Pulling fs layer 09:21:17 5fe327b54edc: Pulling fs layer 09:21:17 4f4fb700ef54: Pulling fs layer 09:21:17 92a5565b7b96: Pulling fs layer 09:21:17 ff9bb7016b71: Pulling fs layer 09:21:17 b67dba6c2c7d: Pulling fs layer 09:21:17 a813b0c90790: Pulling fs layer 09:21:17 5fe327b54edc: Waiting 09:21:17 92a5565b7b96: Waiting 09:21:17 ff9bb7016b71: Waiting 09:21:17 b67dba6c2c7d: Waiting 09:21:17 a813b0c90790: Waiting 09:21:17 4f4fb700ef54: Waiting 09:21:17 6ef4a4ee8ca5: Verifying Checksum 09:21:17 6ef4a4ee8ca5: Download complete 09:21:17 5fe327b54edc: Verifying Checksum 09:21:17 5fe327b54edc: Download complete 09:21:17 4f4fb700ef54: Verifying Checksum 09:21:17 4f4fb700ef54: Download complete 09:21:17 92a5565b7b96: Verifying Checksum 09:21:17 92a5565b7b96: Download complete 09:21:17 da9db072f522: Download complete 09:21:17 ff9bb7016b71: Verifying Checksum 09:21:17 ff9bb7016b71: Download complete 09:21:17 da9db072f522: Pull complete 09:21:17 a813b0c90790: Verifying Checksum 09:21:17 a813b0c90790: Download complete 09:21:17 6ef4a4ee8ca5: Pull complete 09:21:17 06f05ace1117: Download complete 09:21:17 b67dba6c2c7d: Verifying Checksum 09:21:17 b67dba6c2c7d: Download complete 09:21:21 06f05ace1117: Pull complete 09:21:21 5fe327b54edc: Pull complete 09:21:21 4f4fb700ef54: Pull complete 09:21:21 92a5565b7b96: Pull complete 09:21:21 ff9bb7016b71: Pull complete 09:21:23 b67dba6c2c7d: Pull complete 09:21:24 a813b0c90790: Pull complete 09:21:24 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 09:21:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:21:24 ---> 3ba60ce46760 09:21:24 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:21:25 ---> Running in b1ae743eb97b 09:21:26 Removing intermediate container b1ae743eb97b 09:21:26 ---> 342e4b32a812 09:21:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:21:26 ---> Running in ed5c220fa68c 09:21:26 Removing intermediate container ed5c220fa68c 09:21:26 ---> 0df1ca0555cb 09:21:26 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:21:26 ---> Running in e700fafbfff0 09:21:26 Removing intermediate container e700fafbfff0 09:21:26 ---> f50ad7d04751 09:21:26 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:26 ---> Running in d6310519ae22 09:21:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:21:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:21:26 (1/4) Installing openssh-keygen (9.7_p1-r5) 09:21:26 (2/4) Installing libedit (20240517.3.1-r0) 09:21:26 (3/4) Installing openssh-client-common (9.7_p1-r5) 09:21:26 (4/4) Installing openssh-client-default (9.7_p1-r5) 09:21:26 Executing busybox-1.36.1-r29.trigger 09:21:26 OK: 252 MiB in 62 packages 09:21:27 Removing intermediate container d6310519ae22 09:21:27 ---> 4bda0ebc5266 09:21:27 Step 7/12 : WORKDIR /sample-service 09:21:27 ---> Running in 9aa19fe07c51 09:21:27 Removing intermediate container 9aa19fe07c51 09:21:27 ---> e48be0a6f452 09:21:27 Step 8/12 : COPY go.mod vendor* ./ 09:21:27 ---> ba2bc3f888f5 09:21:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:27 ---> Running in 6bfffe94fa07 09:21:32 Removing intermediate container 6bfffe94fa07 09:21:32 ---> 4728d101b4b4 09:21:32 Step 10/12 : COPY . . 09:21:32 ---> 5295593268d8 09:21:32 Step 11/12 : ARG MAKE='make build' 09:21:32 ---> Running in 271b7bf89178 09:21:32 Removing intermediate container 271b7bf89178 09:21:32 ---> dc2b3f789895 09:21:32 Step 12/12 : RUN $MAKE 09:21:32 ---> Running in 7791f9c843bc 09:21:33 noop 09:21:33 Removing intermediate container 7791f9c843bc 09:21:33 ---> 504a23890184 09:21:33 Successfully built 504a23890184 09:21:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:33 + docker inspect -f . ci-base-image-x86_64 09:21:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:21:33 prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container 09:21:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:34 $ docker top bd41a894eaf290658deefc37f5f84fef4789d7b8a52a8e9174ef42c65f464a28 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:34 + go version 09:21:34 go version go1.23.4 linux/amd64 [Pipeline] } 09:21:34 $ docker stop --time=1 bd41a894eaf290658deefc37f5f84fef4789d7b8a52a8e9174ef42c65f464a28 09:21:35 $ docker rm -f --volumes bd41a894eaf290658deefc37f5f84fef4789d7b8a52a8e9174ef42c65f464a28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:21:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:21:36 + ls -al . 09:21:36 total 152 09:21:36 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:21 . 09:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:20 .. 09:21:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:21 .git 09:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:20 .github 09:21:36 -rw-rw-r-- 1 jenkins jenkins 46 Apr 7 09:20 .gitignore 09:21:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:21 .semver 09:21:36 -rw-rw-r-- 1 jenkins jenkins 4832 Apr 7 09:20 Attribution.txt 09:21:36 -rw-rw-r-- 1 jenkins jenkins 34862 Apr 7 09:20 CHANGELOG.md 09:21:36 -rw-rw-r-- 1 jenkins jenkins 1434 Apr 7 09:20 Dockerfile 09:21:36 -rw-rw-r-- 1 jenkins jenkins 706 Apr 7 09:20 Jenkinsfile 09:21:36 -rw-rw-r-- 1 jenkins jenkins 729 Apr 7 09:20 Jenkinsfile-sandbox 09:21:36 -rw-rw-r-- 1 jenkins jenkins 3586 Apr 7 09:20 Jenkinsfile.edgexSemver 09:21:36 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:20 LICENSE 09:21:36 -rw-rw-r-- 1 jenkins jenkins 1308 Apr 7 09:20 Makefile 09:21:36 -rw-rw-r-- 1 jenkins jenkins 3063 Apr 7 09:20 README.md 09:21:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:21 VERSION 09:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:20 api 09:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:20 bin 09:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:20 cmd 09:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:20 driver 09:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:20 example 09:21:36 -rw-rw-r-- 1 jenkins jenkins 1955 Apr 7 09:20 go.mod 09:21:36 -rw-rw-r-- 1 jenkins jenkins 13083 Apr 7 09:20 go.sum 09:21:36 -rw-rw-r-- 1 jenkins jenkins 225 Apr 7 09:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:37 + docker build -t sample-service -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa --label arch=amd64 --label version=0.0.0 . 09:21:37 Sending build context to Docker daemon 2.703MB 09:21:37 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:21:37 Step 2/23 : FROM ${BASE} AS builder 09:21:37 ---> 504a23890184 09:21:37 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:21:37 ---> Running in 706f6c20734b 09:21:37 Removing intermediate container 706f6c20734b 09:21:37 ---> 3b132e07f478 09:21:37 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 09:21:37 ---> Running in 034c1b1f32da 09:21:37 Removing intermediate container 034c1b1f32da 09:21:37 ---> 5bea1e3d44a1 09:21:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:21:37 ---> Running in f88246e10000 09:21:37 Removing intermediate container f88246e10000 09:21:37 ---> 2481af919676 09:21:37 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:37 ---> Running in bea3c197ca62 09:21:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:21:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:21:38 OK: 252 MiB in 62 packages 09:21:38 Removing intermediate container bea3c197ca62 09:21:38 ---> 9c0bc3e913b9 09:21:38 Step 7/23 : WORKDIR /sample-service 09:21:38 ---> Running in 434f68b5a738 09:21:38 Removing intermediate container 434f68b5a738 09:21:38 ---> 5ebcff2ec677 09:21:38 Step 8/23 : COPY go.mod vendor* ./ 09:21:38 ---> eb3e710ff387 09:21:38 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:38 ---> Running in e0fd88d0e5d7 09:21:39 Removing intermediate container e0fd88d0e5d7 09:21:39 ---> ce014b8ad4d0 09:21:39 Step 10/23 : COPY . . 09:21:39 ---> 29a34afe1fd5 09:21:39 Step 11/23 : ARG MAKE='make build' 09:21:39 ---> Running in e3903e5cbc9f 09:21:39 Removing intermediate container e3903e5cbc9f 09:21:39 ---> e040c5fe9972 09:21:39 Step 12/23 : RUN $MAKE 09:21:39 ---> Running in d0abbf263f2f 09:21:39 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 09:21:49 Removing intermediate container d0abbf263f2f 09:21:49 ---> 6cf89e2f991d 09:21:49 Step 13/23 : FROM alpine:3.18 09:21:49 3.18: Pulling from library/alpine 09:21:49 44cf07d57ee4: Pulling fs layer 09:21:49 44cf07d57ee4: Verifying Checksum 09:21:49 44cf07d57ee4: Download complete 09:21:50 44cf07d57ee4: Pull complete 09:21:50 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 09:21:50 Status: Downloaded newer image for alpine:3.18 09:21:50 ---> 802c91d52981 09:21:50 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:21:50 ---> Running in 7c24f4d194a5 09:21:50 Removing intermediate container 7c24f4d194a5 09:21:50 ---> cf12a30b31b3 09:21:50 Step 15/23 : ENV APP_PORT=49999 09:21:50 ---> Running in 12e8c6133095 09:21:50 Removing intermediate container 12e8c6133095 09:21:50 ---> 1af4456bbf76 09:21:50 Step 16/23 : EXPOSE $APP_PORT 09:21:50 ---> Running in cebefa979824 09:21:50 Removing intermediate container cebefa979824 09:21:50 ---> 1889f3a59fdc 09:21:50 Step 17/23 : COPY --from=builder /sample-service/cmd / 09:21:50 ---> 26e78f773f23 09:21:50 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 09:21:50 ---> 66ff2eb643b3 09:21:50 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 09:21:50 ---> 691565261ab0 09:21:50 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 09:21:50 ---> Running in 2239107069b3 09:21:50 Removing intermediate container 2239107069b3 09:21:50 ---> 7bde1cc27e09 09:21:50 Step 21/23 : LABEL arch=amd64 09:21:50 ---> Running in 0fb87a6f9f67 09:21:51 Removing intermediate container 0fb87a6f9f67 09:21:51 ---> 9caad37cf8a6 09:21:51 Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa 09:21:51 ---> Running in 0df1be14b64f 09:21:51 Removing intermediate container 0df1be14b64f 09:21:51 ---> 62cc438f7f85 09:21:51 Step 23/23 : LABEL version=0.0.0 09:21:51 ---> Running in e4de99b00f60 09:21:51 Removing intermediate container e4de99b00f60 09:21:51 ---> bdf800bae665 09:21:51 [Warning] One or more build-args [ARCH] were not consumed 09:21:51 Successfully built bdf800bae665 09:21:51 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:51 provisioning config files... 09:21:51 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config10916915143618243390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:51 ---> ****-login.sh 09:21:51 nexus3.edgexfoundry.org:10001 09:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:51 Configure a credential helper to remove this warning. See 09:21:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:51 09:21:51 Login Succeeded 09:21:51 nexus3.edgexfoundry.org:10002 09:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:51 Configure a credential helper to remove this warning. See 09:21:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:51 09:21:51 Login Succeeded 09:21:51 nexus3.edgexfoundry.org:10003 09:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:51 Configure a credential helper to remove this warning. See 09:21:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:51 09:21:51 Login Succeeded 09:21:51 nexus3.edgexfoundry.org:10004 09:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:51 Configure a credential helper to remove this warning. See 09:21:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:51 09:21:51 Login Succeeded 09:21:51 ****.io 09:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:21:52 Configure a credential helper to remove this warning. See 09:21:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:21:52 09:21:52 Login Succeeded 09:21:52 ---> ****-login.sh ends [Pipeline] } 09:21:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:21:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:21:52 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 09:21:52 eb869c661586b1b6b4d3a43b635254038c5246fa 09:21:52 latest 09:21:52 0.0.0 09:21:52 eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 09:21:52 PR-165 09:21:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:52 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:52 + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 09:21:52 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:21:52 bd0187548a60: Preparing 09:21:52 502a3f8be5e4: Preparing 09:21:52 1abd459c6ca2: Preparing 09:21:52 f44f286046d9: Preparing 09:21:52 f44f286046d9: Layer already exists 09:21:52 502a3f8be5e4: Pushed 09:21:52 bd0187548a60: Pushed 09:21:54 1abd459c6ca2: Pushed 09:21:54 eb869c661586b1b6b4d3a43b635254038c5246fa: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:54 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:54 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 09:21:54 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:21:54 bd0187548a60: Preparing 09:21:54 502a3f8be5e4: Preparing 09:21:54 1abd459c6ca2: Preparing 09:21:54 f44f286046d9: Preparing 09:21:54 502a3f8be5e4: Layer already exists 09:21:54 bd0187548a60: Layer already exists 09:21:54 1abd459c6ca2: Layer already exists 09:21:54 f44f286046d9: Layer already exists 09:21:54 latest: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:55 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:55 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 09:21:55 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:21:55 bd0187548a60: Preparing 09:21:55 502a3f8be5e4: Preparing 09:21:55 1abd459c6ca2: Preparing 09:21:55 f44f286046d9: Preparing 09:21:55 f44f286046d9: Layer already exists 09:21:55 bd0187548a60: Layer already exists 09:21:55 1abd459c6ca2: Layer already exists 09:21:55 502a3f8be5e4: Layer already exists 09:21:55 0.0.0: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:56 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:56 + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 09:21:56 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:21:56 bd0187548a60: Preparing 09:21:56 502a3f8be5e4: Preparing 09:21:56 1abd459c6ca2: Preparing 09:21:56 f44f286046d9: Preparing 09:21:56 1abd459c6ca2: Layer already exists 09:21:56 f44f286046d9: Layer already exists 09:21:56 bd0187548a60: Layer already exists 09:21:56 502a3f8be5e4: Layer already exists 09:21:56 eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:56 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:56 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 09:21:56 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:21:56 bd0187548a60: Preparing 09:21:56 502a3f8be5e4: Preparing 09:21:56 1abd459c6ca2: Preparing 09:21:56 f44f286046d9: Preparing 09:21:56 1abd459c6ca2: Layer already exists 09:21:56 502a3f8be5e4: Layer already exists 09:21:56 bd0187548a60: Layer already exists 09:21:56 f44f286046d9: Layer already exists 09:21:56 PR-165: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:21:57 ===================================================== [Pipeline] echo 09:21:57 taggedImages: 09:21:57 - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa 09:21:57 - nexus3.edgexfoundry.org:10004/sample-service:latest 09:21:57 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 09:21:57 - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 09:21:57 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [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 09:21:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:21:57 09:21:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:21:57 latest: Pulling from edgex-lftools-log-publisher 09:21:57 5eb5b503b376: Pulling fs layer 09:21:57 5c69ac0246d0: Pulling fs layer 09:21:57 ec43610c2a17: Pulling fs layer 09:21:57 3a2ae6a8a46f: Pulling fs layer 09:21:57 33b1e0a273af: Pulling fs layer 09:21:57 5d3b04190fa2: Pulling fs layer 09:21:57 2f39f015ded8: Pulling fs layer 09:21:57 33b1e0a273af: Waiting 09:21:57 5d3b04190fa2: Waiting 09:21:57 2f39f015ded8: Waiting 09:21:57 3a2ae6a8a46f: Waiting 09:21:57 5c69ac0246d0: Download complete 09:21:57 3a2ae6a8a46f: Verifying Checksum 09:21:57 3a2ae6a8a46f: Download complete 09:21:57 33b1e0a273af: Verifying Checksum 09:21:57 33b1e0a273af: Download complete 09:21:57 ec43610c2a17: Verifying Checksum 09:21:57 ec43610c2a17: Download complete 09:21:57 5d3b04190fa2: Download complete 09:21:58 5eb5b503b376: Verifying Checksum 09:21:58 5eb5b503b376: Download complete 09:21:58 2f39f015ded8: Verifying Checksum 09:21:58 2f39f015ded8: Download complete 09:21:59 5eb5b503b376: Pull complete 09:21:59 5c69ac0246d0: Pull complete 09:21:59 ec43610c2a17: Pull complete 09:22:00 3a2ae6a8a46f: Pull complete 09:22:00 33b1e0a273af: Pull complete 09:22:00 5d3b04190fa2: Pull complete 09:22:04 2f39f015ded8: Pull complete 09:22:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:04 prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container 09:22:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:22:06 $ docker top 9b2c72175dd9d4c1fb67d4cf4083b3aadb2d2773fea06d0c4b696394ce016a26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:06 ---> job-cost.sh 09:22:06 lf-activate-venv: SKIPPING 09:22:06 INFO: No Stack... 09:22:07 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:07 INFO: Archiving Costs [Pipeline] sh 09:22:07 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 09:22:07 + cut -d, -f6 [Pipeline] lock 09:22:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] 09:22:07 Resource [jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] did not exist. Created. 09:22:07 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:07 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:08 Stashed 1 file(s) [Pipeline] } 09:22:08 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:08 $ docker stop --time=1 9b2c72175dd9d4c1fb67d4cf4083b3aadb2d2773fea06d0c4b696394ce016a26 09:22:09 $ docker rm -f --volumes 9b2c72175dd9d4c1fb67d4cf4083b3aadb2d2773fea06d0c4b696394ce016a26 [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] sh 09:22:09 + docker version 09:22:09 Client: Docker Engine - Community 09:22:09 Version: 20.10.18 09:22:09 API version: 1.41 09:22:09 Go version: go1.18.6 09:22:09 Git commit: b40c2f6 09:22:09 Built: Thu Sep 8 23:11:45 2022 09:22:09 OS/Arch: linux/amd64 09:22:09 Context: default 09:22:09 Experimental: true 09:22:09 09:22:09 Server: Docker Engine - Community 09:22:09 Engine: 09:22:09 Version: 20.10.18 09:22:09 API version: 1.41 (minimum version 1.12) 09:22:09 Go version: go1.18.6 09:22:09 Git commit: e42327a 09:22:09 Built: Thu Sep 8 23:09:37 2022 09:22:09 OS/Arch: linux/amd64 09:22:09 Experimental: false 09:22:09 containerd: 09:22:09 Version: 1.6.8 09:22:09 GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 09:22:09 runc: 09:22:09 Version: 1.1.4 09:22:09 GitCommit: v1.1.4-0-g5fd4c4d 09:22:09 docker-init: 09:22:09 Version: 0.19.0 09:22:09 GitCommit: de40ad0 [Pipeline] sh 09:22:10 + docker info 09:22:10 Client: 09:22:10 Context: default 09:22:10 Debug Mode: false 09:22:10 Plugins: 09:22:10 app: Docker App (Docker Inc., v0.9.1-beta3) 09:22:10 buildx: Docker Buildx (Docker Inc., v0.9.1-docker) 09:22:10 scan: Docker Scan (Docker Inc., v0.17.0) 09:22:10 09:22:10 Server: 09:22:10 Containers: 0 09:22:10 Running: 0 09:22:10 Paused: 0 09:22:10 Stopped: 0 09:22:10 Images: 34 09:22:10 Server Version: 20.10.18 09:22:10 Storage Driver: overlay2 09:22:10 Backing Filesystem: extfs 09:22:10 Supports d_type: true 09:22:10 Native Overlay Diff: true 09:22:10 userxattr: false 09:22:10 Logging Driver: json-file 09:22:10 Cgroup Driver: cgroupfs 09:22:10 Cgroup Version: 1 09:22:10 Plugins: 09:22:10 Volume: local 09:22:10 Network: bridge host ipvlan macvlan null overlay 09:22:10 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog 09:22:10 Swarm: inactive 09:22:10 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc 09:22:10 Default Runtime: runc 09:22:10 Init Binary: docker-init 09:22:10 containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 09:22:10 runc version: v1.1.4-0-g5fd4c4d 09:22:10 init version: de40ad0 09:22:10 Security Options: 09:22:10 apparmor 09:22:10 seccomp 09:22:10 Profile: default 09:22:10 Kernel Version: 5.4.0-126-generic 09:22:10 Operating System: Ubuntu 20.04.5 LTS 09:22:10 OSType: linux 09:22:10 Architecture: x86_64 09:22:10 CPUs: 8 09:22:10 Total Memory: 31.36GiB 09:22:10 Name: prd-ubuntu20-04-docker-8c-8g-42833 09:22:10 ID: B5C6:XBUP:AVU6:3QRK:F5J7:OLEW:3BBT:K62R:4CCP:S4GR:QIZL:K4IG 09:22:10 Docker Root Dir: /var/lib/docker 09:22:10 Debug Mode: false 09:22:10 Username: edgexci 09:22:10 Registry: https://index.docker.io/v1/ 09:22:10 Labels: 09:22:10 Experimental: false 09:22:10 Insecure Registries: 09:22:10 127.0.0.0/8 09:22:10 Registry Mirrors: 09:22:10 https://nexus3.edgexfoundry.org:10001/ 09:22:10 Live Restore Enabled: false 09:22:10 09:22:10 WARNING: API is accessible on http://0.0.0.0:5555 without encryption. 09:22:10 Access to the remote API is equivalent to root access on the host. Refer 09:22:10 to the 'Docker daemon attack surface' section in the documentation for 09:22:10 more information: https://docs.docker.com/go/attack-surface/ 09:22:10 WARNING: No swap limit support [Pipeline] echo 09:22:10 building multi-arch image for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:10 provisioning config files... 09:22:10 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11078984052726500087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:10 ---> ****-login.sh 09:22:10 nexus3.edgexfoundry.org:10001 09:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:10 Configure a credential helper to remove this warning. See 09:22:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:10 09:22:10 Login Succeeded 09:22:10 nexus3.edgexfoundry.org:10002 09:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:10 Configure a credential helper to remove this warning. See 09:22:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:10 09:22:10 Login Succeeded 09:22:10 nexus3.edgexfoundry.org:10003 09:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:11 Configure a credential helper to remove this warning. See 09:22:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:11 09:22:11 Login Succeeded 09:22:11 nexus3.edgexfoundry.org:10004 09:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:11 Configure a credential helper to remove this warning. See 09:22:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:11 09:22:11 Login Succeeded 09:22:11 ****.io 09:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:22:11 Configure a credential helper to remove this warning. See 09:22:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:22:11 09:22:11 Login Succeeded 09:22:11 ---> ****-login.sh ends [Pipeline] } 09:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:12 + docker pull nexus3.edgexfoundry.org:10004/sample-service:latest 09:22:12 latest: Pulling from sample-service 09:22:12 Digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 09:22:12 Status: Image is up to date for nexus3.edgexfoundry.org:10004/sample-service:latest 09:22:12 nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh 09:22:12 + docker pull nexus3.edgexfoundry.org:10004/sample-service-arm64:latest 09:22:12 latest: Pulling from sample-service-arm64 09:22:12 95459497489f: Pulling fs layer 09:22:12 ceb2e31cc3b0: Pulling fs layer 09:22:12 8ad4e7edb9c4: Pulling fs layer 09:22:12 58ef3575707b: Pulling fs layer 09:22:12 58ef3575707b: Waiting 09:22:12 8ad4e7edb9c4: Verifying Checksum 09:22:12 8ad4e7edb9c4: Download complete 09:22:12 58ef3575707b: Verifying Checksum 09:22:12 58ef3575707b: Download complete 09:22:12 95459497489f: Download complete 09:22:12 ceb2e31cc3b0: Download complete 09:22:12 95459497489f: Pull complete 09:22:12 ceb2e31cc3b0: Pull complete 09:22:12 8ad4e7edb9c4: Pull complete 09:22:12 58ef3575707b: Pull complete 09:22:12 Digest: sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679 09:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service-arm64:latest 09:22:12 nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [Pipeline] sh 09:22:13 + docker tag nexus3.edgexfoundry.org:10004/sample-service:latest nexus3.edgexfoundry.org:10004/sample-service-amd64:latest 09:22:13 + docker rmi -f nexus3.edgexfoundry.org:10004/sample-service:latest 09:22:13 Untagged: nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh 09:22:13 + docker push nexus3.edgexfoundry.org:10004/sample-service-amd64:latest 09:22:13 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service-amd64] 09:22:13 bd0187548a60: Preparing 09:22:13 502a3f8be5e4: Preparing 09:22:13 1abd459c6ca2: Preparing 09:22:13 f44f286046d9: Preparing 09:22:13 f44f286046d9: Layer already exists 09:22:13 bd0187548a60: Layer already exists 09:22:13 502a3f8be5e4: Layer already exists 09:22:13 1abd459c6ca2: Layer already exists 09:22:13 latest: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] echo 09:22:13 registry: https://nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh 09:22:13 + sudo 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 09:22:13 Created manifest list nexus3.edgexfoundry.org:10004/sample-service:latest 09:22:13 + docker manifest push nexus3.edgexfoundry.org:10004/sample-service:latest 09:22:13 No such manifest: nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [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 09:22:14 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 09:22:14 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 09:22:14 total 16 09:22:14 drwxr-xr-x 3 root root 4096 Apr 7 09:22 . 09:22:14 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:22 .. 09:22:14 drwxr-xr-x 2 root root 4096 Apr 7 09:22 cost 09:22:14 -rw-r--r-- 1 root root 87 Apr 7 09:22 cost.csv 09:22:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 09:22:14 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 09:22:14 total 16 09:22:14 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:22 . 09:22:14 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:22 .. 09:22:14 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:22 cost 09:22:14 -rw-r--r-- 1 jenkins jenkins 87 Apr 7 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:22:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:22:15 ---> package-listing.sh 09:22:15 ++ facter osfamily 09:22:15 ++ tr '[:upper:]' '[:lower:]' 09:22:16 + OS_FAMILY=debian 09:22:16 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 09:22:16 + START_PACKAGES=/tmp/packages_start.txt 09:22:16 + END_PACKAGES=/tmp/packages_end.txt 09:22:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:22:16 + PACKAGES=/tmp/packages_start.txt 09:22:16 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 09:22:16 + PACKAGES=/tmp/packages_end.txt 09:22:16 + case "${OS_FAMILY}" in 09:22:16 + dpkg -l 09:22:16 + grep '^ii' 09:22:16 + '[' -f /tmp/packages_start.txt ']' 09:22:16 + '[' -f /tmp/packages_end.txt ']' 09:22:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:22:16 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 09:22:16 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 09:22:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 09:22:16 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 09:22:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:17 prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container 09:22:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:22:17 $ docker top 6234f6eb7df3ca021fcdb9ac9b9196cc4370ed7730d430e62c204140f3c6a6e7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:22:17 + touch /tmp/pre-build-complete [Pipeline] sh 09:22:18 + mkdir -p /var/log/sysstat [Pipeline] sh 09:22:18 + ls /var/log/sa-host 09:22:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:18 provisioning config files... 09:22:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config5795795714040756009tmp [Pipeline] { [Pipeline] echo 09:22:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:22:18 ---> create-netrc.sh [Pipeline] } 09:22:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:22:19 ---> python-tools-install.sh [Pipeline] echo 09:22:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:22:19 ---> sudo-logs.sh 09:22:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:22:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:22:19 ---> job-cost.sh 09:22:19 lf-activate-venv: SKIPPING 09:22:19 DEBUG: total: 0.2199999988079071 09:22:19 INFO: Retrieving Stack Cost... 09:22:19 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:20 INFO: Archiving Costs [Pipeline] echo 09:22:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:22:20 ---> logs-deploy.sh 09:22:20 lf-activate-venv: SKIPPING 09:22:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/30 09:22:20 INFO: archiving workspace using pattern(s): 09:22:21 Archives upload complete. 09:22:21 INFO: archiving logs to Nexus