Started by user Jin Lin Guan Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/sample-service Obtained Jenkinsfile from 23ff995a3aef02e85a45daf0513f418e4247a776+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (57c84a8b78ed481cd790a95da692be7e58eec0b1) Loading library edgex-global-pipelines@experimental Attempting to resolve experimental from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8057163988152426676.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 73e5005c135f8770dd5ac3e500dd861014ad5e15 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-ssh891021579131640589.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 73e5005c135f8770dd5ac3e500dd861014ad5e15 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-ssh6116963291435616941.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 73e5005c135f8770dd5ac3e500dd861014ad5e15 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 73e5005c135f8770dd5ac3e500dd861014ad5e15 # timeout=10 Commit message: "test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14075671529617825500.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-ssh5145417913413491848.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:sample-service, testScript:make test GOTESTFLAGS="-json -v"] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: sample-service-settings PROJECT: sample-service USE_SEMVER: true TEST_SCRIPT: make test GOTESTFLAGS="-json -v" BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: sample-service DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-42164 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/sample-service.git > git init /w/workspace/gexfoundry_sample-service_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit 23ff995a3aef02e85a45daf0513f418e4247a776 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 Merge succeeded, producing 23ff995a3aef02e85a45daf0513f418e4247a776 Checking out Revision 23ff995a3aef02e85a45daf0513f418e4247a776 (PR-165) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:09:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:09:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:09:28 ========================================================= 09:09:28 EdgeX Global Pipelines Version Info 09:09:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:09:30 ------------------- 09:09:30 stable info: 09:09:30 ------------------- 09:09:30 Commited By: Ginny Guan ginny@iotechsys.com 09:09:30 Commit SHA: 7c45c8a198bad082eec5dc6eba334c557e460952 09:09:30 Message: update stable to v1.0.273 09:09:30 ------------------- 09:09:30 experimental info: 09:09:30 ------------------- 09:09:30 Commited By: Ginny Guan ginny@iotechsys.com 09:09:30 Commit SHA: 73e5005c135f8770dd5ac3e500dd861014ad5e15 09:09:30 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:09:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo 09:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:31 provisioning config files... 09:09:31 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config7907603670821391369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:31 ---> ****-login.sh 09:09:31 nexus3.edgexfoundry.org:10001 09:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:32 Configure a credential helper to remove this warning. See 09:09:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:32 09:09:32 Login Succeeded 09:09:32 nexus3.edgexfoundry.org:10002 09:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:32 Configure a credential helper to remove this warning. See 09:09:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:32 09:09:32 Login Succeeded 09:09:32 nexus3.edgexfoundry.org:10003 09:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:32 Configure a credential helper to remove this warning. See 09:09:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:32 09:09:32 Login Succeeded 09:09:32 nexus3.edgexfoundry.org:10004 09:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:33 Configure a credential helper to remove this warning. See 09:09:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:33 09:09:33 Login Succeeded 09:09:33 ****.io 09:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:33 Configure a credential helper to remove this warning. See 09:09:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:33 09:09:33 Login Succeeded 09:09:33 ---> ****-login.sh ends [Pipeline] } 09:09:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:09:33 + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 09:09:33 -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh 09:09:34 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 09:09:34 ========================================================= 09:09:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:09:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:34 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 09:09:34 [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 09:09:34 [semverPrep] This is not a build commit. [Pipeline] sh 09:09:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:09:34 + grep -v github /etc/ssh/ssh_known_hosts 09:09:34 + [ -e /tmp/ssh_known_hosts ] 09:09:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:09:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:09:34 + sudo tee -a /etc/ssh/ssh_known_hosts 09:09:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:09:35 09:09:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:09:35 0.1.4: Pulling from edgex-devops/py-git-semver 09:09:35 b85a868b505f: Pulling fs layer 09:09:35 e2be974225ed: Pulling fs layer 09:09:35 339a4e72a1f5: Pulling fs layer 09:09:35 988bab9f4d93: Pulling fs layer 09:09:35 1469e6f7b9e6: Pulling fs layer 09:09:35 eaf3925da568: Pulling fs layer 09:09:35 bab4dde63d76: Pulling fs layer 09:09:35 bde34c3a00c8: Pulling fs layer 09:09:35 b352a97aabf1: Pulling fs layer 09:09:35 4872d77fe225: Pulling fs layer 09:09:35 5851b861e8e6: Pulling fs layer 09:09:35 988bab9f4d93: Waiting 09:09:35 4872d77fe225: Waiting 09:09:35 1469e6f7b9e6: Waiting 09:09:35 eaf3925da568: Waiting 09:09:35 bab4dde63d76: Waiting 09:09:35 5851b861e8e6: Waiting 09:09:35 bde34c3a00c8: Waiting 09:09:35 b352a97aabf1: Waiting 09:09:35 e2be974225ed: Verifying Checksum 09:09:35 e2be974225ed: Download complete 09:09:35 988bab9f4d93: Verifying Checksum 09:09:35 988bab9f4d93: Download complete 09:09:35 1469e6f7b9e6: Verifying Checksum 09:09:35 1469e6f7b9e6: Download complete 09:09:35 eaf3925da568: Verifying Checksum 09:09:35 eaf3925da568: Download complete 09:09:35 339a4e72a1f5: Verifying Checksum 09:09:35 339a4e72a1f5: Download complete 09:09:35 bde34c3a00c8: Verifying Checksum 09:09:35 bde34c3a00c8: Download complete 09:09:35 b352a97aabf1: Verifying Checksum 09:09:35 b352a97aabf1: Download complete 09:09:35 4872d77fe225: Verifying Checksum 09:09:35 4872d77fe225: Download complete 09:09:35 5851b861e8e6: Verifying Checksum 09:09:35 5851b861e8e6: Download complete 09:09:36 b85a868b505f: Verifying Checksum 09:09:36 b85a868b505f: Download complete 09:09:36 bab4dde63d76: Verifying Checksum 09:09:36 bab4dde63d76: Download complete 09:09:37 b85a868b505f: Pull complete 09:09:37 e2be974225ed: Pull complete 09:09:37 339a4e72a1f5: Pull complete 09:09:37 988bab9f4d93: Pull complete 09:09:38 1469e6f7b9e6: Pull complete 09:09:38 eaf3925da568: Pull complete 09:09:40 bab4dde63d76: Pull complete 09:09:40 bde34c3a00c8: Pull complete 09:09:40 b352a97aabf1: Pull complete 09:09:40 4872d77fe225: Pull complete 09:09:40 5851b861e8e6: Pull complete 09:09:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:09:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:40 prd-ubuntu20.04-docker-8c-8g-42164 does not seem to be running inside a container 09:09:40 $ 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 09:09:44 $ docker top 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 -eo pid,comm 09:09:44 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:09:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:09:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:44 [ssh-agent] Looking for ssh-agent implementation... 09:09:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:45 $ docker exec 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 ssh-agent 09:09:45 SSH_AUTH_SOCK=/tmp/ssh-GWclpDBVgJIq/agent.32 09:09:45 SSH_AGENT_PID=38 09:09:45 Running ssh-add (command line suppressed) 09:09:45 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_6338350719369798557.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_6338350719369798557.key) 09:09:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:45 + git tag --points-at HEAD [Pipeline] } 09:09:45 $ docker exec --env ******** --env ******** 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 ssh-agent -k 09:09:45 unset SSH_AUTH_SOCK; 09:09:45 unset SSH_AGENT_PID; 09:09:45 echo Agent pid 38 killed; 09:09:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:09:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:45 [ssh-agent] Looking for ssh-agent implementation... 09:09:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:45 $ docker exec 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 ssh-agent 09:09:45 SSH_AUTH_SOCK=/tmp/ssh-LymbH0ZZRpg2/agent.71 09:09:45 SSH_AGENT_PID=76 09:09:45 Running ssh-add (command line suppressed) 09:09:46 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14169280460855365165.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14169280460855365165.key) 09:09:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:46 + git semver init 09:09:46 2025-03-27 09:09:46,510 [run_init] DEBUG init version:0.0.0 force:False 09:09:46 2025-03-27 09:09:46,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 09:09:46 2025-03-27 09:09:46,511 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 09:09:46 2025-03-27 09:09:46,512 [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:09:47 2025-03-27 09:09:47,155 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 09:09:47 2025-03-27 09:09:47,155 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 09:09:47 2025-03-27 09:09:47,155 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 09:09:47 2025-03-27 09:09:47,160 [execute] INFO git cat-file --batch-check 09:09:47 2025-03-27 09:09:47,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 09:09:47 2025-03-27 09:09:47,166 [execute] INFO git cat-file --batch 09:09:47 2025-03-27 09:09:47,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 09:09:47 2025-03-27 09:09:47,170 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 09:09:47 0.0.0 [Pipeline] } 09:09:47 $ docker exec --env ******** --env ******** 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 ssh-agent -k 09:09:47 unset SSH_AUTH_SOCK; 09:09:47 unset SSH_AGENT_PID; 09:09:47 echo Agent pid 76 killed; 09:09:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:09:47 + git semver [Pipeline] } 09:09:48 $ docker stop --time=1 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 09:09:49 $ docker rm -f --volumes 9982c31dee5c67da06e757909a8bda007d14745631f02f740dd5c8a012800f59 [Pipeline] // withDockerContainer [Pipeline] sh 09:09:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:09:50 Stashed 1 file(s) [Pipeline] echo 09:09:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:50 provisioning config files... 09:09:50 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config16660718355372016892tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 09:09:51 ---> ****-login.sh 09:09:51 nexus3.edgexfoundry.org:10001 09:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:51 Configure a credential helper to remove this warning. See 09:09:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:51 09:09:51 Login Succeeded 09:09:51 nexus3.edgexfoundry.org:10002 09:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:51 Configure a credential helper to remove this warning. See 09:09:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:51 09:09:51 Login Succeeded 09:09:51 nexus3.edgexfoundry.org:10003 09:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:51 Configure a credential helper to remove this warning. See 09:09:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:51 09:09:51 Login Succeeded 09:09:51 nexus3.edgexfoundry.org:10004 09:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:51 Configure a credential helper to remove this warning. See 09:09:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:51 09:09:51 Login Succeeded 09:09:51 ****.io 09:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:09:51 Configure a credential helper to remove this warning. See 09:09:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:09:51 09:09:51 Login Succeeded 09:09:51 ---> ****-login.sh ends [Pipeline] } 09:09:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:09:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:09:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:09:51 ========================================================= 09:09:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:09:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:52 + 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:09:52 Sending build context to Docker daemon 2.71MB 09:09:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:09:52 Step 2/12 : FROM ${BASE} AS builder 09:09:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:09:52 da9db072f522: Pulling fs layer 09:09:52 6ef4a4ee8ca5: Pulling fs layer 09:09:52 06f05ace1117: Pulling fs layer 09:09:52 5fe327b54edc: Pulling fs layer 09:09:52 4f4fb700ef54: Pulling fs layer 09:09:52 92a5565b7b96: Pulling fs layer 09:09:52 ff9bb7016b71: Pulling fs layer 09:09:52 b67dba6c2c7d: Pulling fs layer 09:09:52 a813b0c90790: Pulling fs layer 09:09:52 b67dba6c2c7d: Waiting 09:09:52 5fe327b54edc: Waiting 09:09:52 92a5565b7b96: Waiting 09:09:52 ff9bb7016b71: Waiting 09:09:52 4f4fb700ef54: Waiting 09:09:52 6ef4a4ee8ca5: Verifying Checksum 09:09:52 6ef4a4ee8ca5: Download complete 09:09:52 5fe327b54edc: Verifying Checksum 09:09:52 5fe327b54edc: Download complete 09:09:52 4f4fb700ef54: Verifying Checksum 09:09:52 4f4fb700ef54: Download complete 09:09:52 da9db072f522: Download complete 09:09:52 ff9bb7016b71: Verifying Checksum 09:09:52 ff9bb7016b71: Download complete 09:09:53 a813b0c90790: Verifying Checksum 09:09:53 a813b0c90790: Download complete 09:09:53 06f05ace1117: Verifying Checksum 09:09:53 06f05ace1117: Download complete 09:09:53 da9db072f522: Pull complete 09:09:53 6ef4a4ee8ca5: Pull complete 09:09:53 b67dba6c2c7d: Verifying Checksum 09:09:53 b67dba6c2c7d: Download complete 09:09:57 06f05ace1117: Pull complete 09:09:57 5fe327b54edc: Pull complete 09:09:57 4f4fb700ef54: Pull complete 09:09:57 92a5565b7b96: Pull complete 09:09:58 ff9bb7016b71: Pull complete 09:10:01 b67dba6c2c7d: Pull complete 09:10:01 a813b0c90790: Pull complete 09:10:01 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 09:10:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:10:02 ---> 3ba60ce46760 09:10:02 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:10:08 ---> Running in 7ee883d51c30 09:10:09 Removing intermediate container 7ee883d51c30 09:10:09 ---> 93ac52e0a1fd 09:10:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:10:09 ---> Running in 5c3a2a140195 09:10:09 Removing intermediate container 5c3a2a140195 09:10:09 ---> fc491415c3ab 09:10:09 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:10:09 ---> Running in 635952ddbab9 09:10:09 Removing intermediate container 635952ddbab9 09:10:09 ---> 60929a14981b 09:10:09 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:09 ---> Running in 82a02891a769 09:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:10:10 (1/4) Installing openssh-keygen (9.7_p1-r5) 09:10:10 (2/4) Installing libedit (20240517.3.1-r0) 09:10:10 (3/4) Installing openssh-client-common (9.7_p1-r5) 09:10:10 (4/4) Installing openssh-client-default (9.7_p1-r5) 09:10:10 Executing busybox-1.36.1-r29.trigger 09:10:10 OK: 252 MiB in 62 packages 09:10:10 Removing intermediate container 82a02891a769 09:10:10 ---> e45530629b48 09:10:10 Step 7/12 : WORKDIR /sample-service 09:10:10 ---> Running in bb44605b9ced 09:10:11 Removing intermediate container bb44605b9ced 09:10:11 ---> 06d6834d133f 09:10:11 Step 8/12 : COPY go.mod vendor* ./ 09:10:11 ---> 25fd9afb86c1 09:10:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:11 ---> Running in 0813cecc1ec9 09:10:19 Removing intermediate container 0813cecc1ec9 09:10:19 ---> 61e1e6fa5662 09:10:19 Step 10/12 : COPY . . 09:10:19 ---> 9a80c034ddae 09:10:19 Step 11/12 : ARG MAKE='make build' 09:10:19 ---> Running in dfb21813b206 09:10:19 Removing intermediate container dfb21813b206 09:10:19 ---> 0300d234ab69 09:10:19 Step 12/12 : RUN $MAKE 09:10:19 ---> Running in 83905dacfd3d 09:10:19 noop 09:10:19 Removing intermediate container 83905dacfd3d 09:10:19 ---> 074f686d473d 09:10:19 Successfully built 074f686d473d 09:10:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:19 + docker inspect -f . ci-base-image-x86_64 09:10:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:10:19 prd-ubuntu20.04-docker-8c-8g-42164 does not seem to be running inside a container 09:10:19 $ 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 09:10:20 $ docker top 05214f60df3b6eafd9200a7679afb25d2a28c92667a684c261bb98db249e9bb8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:20 + go version 09:10:20 go version go1.23.4 linux/amd64 [Pipeline] } 09:10:20 $ docker stop --time=1 05214f60df3b6eafd9200a7679afb25d2a28c92667a684c261bb98db249e9bb8 09:10:21 $ docker rm -f --volumes 05214f60df3b6eafd9200a7679afb25d2a28c92667a684c261bb98db249e9bb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:22 + docker inspect -f . ci-base-image-x86_64 09:10:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:10:22 prd-ubuntu20.04-docker-8c-8g-42164 does not seem to be running inside a container 09:10:22 $ 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 09:10:23 $ docker top c603538acffc19fe3801bbe735a1d68fa587c23d0fc67f7530e8efb41126e9bd -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:23 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 09:10:23 + make test 'GOTESTFLAGS=-json -v' 09:10:23 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 09:10:25 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 09:10:33 📦 github.com/edgexfoundry/sample-service 09:10:33 🛑 no test files 09:10:33 09:10:33 📦 github.com/edgexfoundry/sample-service/cmd 09:10:33 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 09:10:33 09:10:33 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 09:10:33 level=ERROR ts=2025-03-27T09:10:32.36659125Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 09:10:33 ✅ TestHandleReadCommands (0s) 09:10:33 ✅ TestHandleWriteCommands (0s) 09:10:33 ✅ TestValue_Int16 (0s) 09:10:33 ✅ TestValue_Int32 (0s) 09:10:33 ✅ TestValue_Int64 (0s) 09:10:33 ✅ TestValue_Int8 (0s) 09:10:33 09:10:33 CGO_ENABLED=1 go vet ./... 09:10:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:10:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:10:35 ./bin/test-attribution-txt.sh 09:10:35 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 09:10:35 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 09:10:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 09:10:35 $ docker stop --time=1 c603538acffc19fe3801bbe735a1d68fa587c23d0fc67f7530e8efb41126e9bd 09:10:38 $ docker rm -f --volumes c603538acffc19fe3801bbe735a1d68fa587c23d0fc67f7530e8efb41126e9bd [Pipeline] // withDockerContainer [Pipeline] sh 09:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:10:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:39 + ls -al . 09:10:39 total 160 09:10:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 27 09:10 . 09:10:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 09:09 .. 09:10:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 09:09 .git 09:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 09:09 .github 09:10:39 -rw-rw-r-- 1 jenkins jenkins 46 Mar 27 09:09 .gitignore 09:10:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 09:09 .semver 09:10:39 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 27 09:09 Attribution.txt 09:10:39 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 27 09:09 CHANGELOG.md 09:10:39 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 27 09:09 Dockerfile 09:10:39 -rw-rw-r-- 1 jenkins jenkins 821 Mar 27 09:09 Jenkinsfile 09:10:39 -rw-rw-r-- 1 jenkins jenkins 729 Mar 27 09:09 Jenkinsfile-sandbox 09:10:39 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 27 09:09 Jenkinsfile.edgexSemver 09:10:39 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 27 09:09 LICENSE 09:10:39 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 27 09:09 Makefile 09:10:39 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 27 09:09 README.md 09:10:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 09:09 VERSION 09:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 09:09 api 09:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 09:09 bin 09:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 09:09 cmd 09:10:39 -rw-r--r-- 1 jenkins jenkins 5399 Mar 27 09:10 coverage.out 09:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 09:09 driver 09:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 09:09 example 09:10:39 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 27 09:09 go.mod 09:10:39 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 27 09:09 go.sum 09:10:39 -rw-rw-r-- 1 jenkins jenkins 225 Mar 27 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:39 + docker build -t sample-service -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 --label arch=amd64 --label version=0.0.0 . 09:10:39 Sending build context to Docker daemon 2.716MB 09:10:39 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:10:39 Step 2/23 : FROM ${BASE} AS builder 09:10:39 ---> 074f686d473d 09:10:39 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:10:39 ---> Running in 092feebc5b0b 09:10:39 Removing intermediate container 092feebc5b0b 09:10:39 ---> 0a8159d067d5 09:10:39 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 09:10:39 ---> Running in 69e1dd838388 09:10:39 Removing intermediate container 69e1dd838388 09:10:39 ---> 931cd2a4f544 09:10:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:10:39 ---> Running in 965ee3020b4c 09:10:39 Removing intermediate container 965ee3020b4c 09:10:39 ---> 46423a2bed1c 09:10:39 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:39 ---> Running in 1987cb528320 09:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:10:40 OK: 252 MiB in 62 packages 09:10:40 Removing intermediate container 1987cb528320 09:10:40 ---> 2f97542de6ae 09:10:40 Step 7/23 : WORKDIR /sample-service 09:10:41 ---> Running in 6a1418857f8f 09:10:41 Removing intermediate container 6a1418857f8f 09:10:41 ---> f113c10d9760 09:10:41 Step 8/23 : COPY go.mod vendor* ./ 09:10:41 ---> f6318b2957a8 09:10:41 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:41 ---> Running in 456b46e8c270 09:10:42 Removing intermediate container 456b46e8c270 09:10:42 ---> 6453034fbcd1 09:10:42 Step 10/23 : COPY . . 09:10:42 ---> a0faba1f7e2d 09:10:42 Step 11/23 : ARG MAKE='make build' 09:10:42 ---> Running in 906d3b58ffed 09:10:42 Removing intermediate container 906d3b58ffed 09:10:42 ---> 57a6899d5b99 09:10:42 Step 12/23 : RUN $MAKE 09:10:42 ---> Running in 2aebec0e7c8b 09:10:43 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 09:10:55 Removing intermediate container 2aebec0e7c8b 09:10:55 ---> 83098b201db2 09:10:55 Step 13/23 : FROM alpine:3.18 09:10:55 3.18: Pulling from library/alpine 09:10:55 44cf07d57ee4: Pulling fs layer 09:10:56 44cf07d57ee4: Download complete 09:10:56 44cf07d57ee4: Pull complete 09:10:56 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 09:10:56 Status: Downloaded newer image for alpine:3.18 09:10:56 ---> 802c91d52981 09:10:56 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:10:56 ---> Running in 277cc786ac85 09:10:56 Removing intermediate container 277cc786ac85 09:10:56 ---> 3ae30e14bf31 09:10:56 Step 15/23 : ENV APP_PORT=49999 09:10:56 ---> Running in f72c452a00e1 09:10:56 Removing intermediate container f72c452a00e1 09:10:56 ---> cd4e32d454fa 09:10:56 Step 16/23 : EXPOSE $APP_PORT 09:10:56 ---> Running in 28005f6c311a 09:10:56 Removing intermediate container 28005f6c311a 09:10:56 ---> 9f910eda85e4 09:10:56 Step 17/23 : COPY --from=builder /sample-service/cmd / 09:10:56 ---> 63ff127c5a9f 09:10:56 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 09:10:57 ---> 7868a98fd5c9 09:10:57 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 09:10:57 ---> e2a73bee37de 09:10:57 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 09:10:57 ---> Running in e4ba3a0d659f 09:10:57 Removing intermediate container e4ba3a0d659f 09:10:57 ---> 6a63fea28682 09:10:57 Step 21/23 : LABEL arch=amd64 09:10:57 ---> Running in 5aab070cafe2 09:10:57 Removing intermediate container 5aab070cafe2 09:10:57 ---> 504d46c4f193 09:10:57 Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 09:10:57 ---> Running in cb9ed4e3b8e9 09:10:57 Removing intermediate container cb9ed4e3b8e9 09:10:57 ---> 0b8e2428da83 09:10:57 Step 23/23 : LABEL version=0.0.0 09:10:57 ---> Running in d708bec148ac 09:10:57 Removing intermediate container d708bec148ac 09:10:57 ---> 2eb8e7e624e8 09:10:57 [Warning] One or more build-args [ARCH] were not consumed 09:10:57 Successfully built 2eb8e7e624e8 09:10:57 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:10:57 provisioning config files... 09:10:57 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config12936798069854496033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:58 ---> ****-login.sh 09:10:58 nexus3.edgexfoundry.org:10001 09:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:10:58 Configure a credential helper to remove this warning. See 09:10:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:10:58 09:10:58 Login Succeeded 09:10:58 nexus3.edgexfoundry.org:10002 09:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:10:58 Configure a credential helper to remove this warning. See 09:10:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:10:58 09:10:58 Login Succeeded 09:10:58 nexus3.edgexfoundry.org:10003 09:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:10:58 Configure a credential helper to remove this warning. See 09:10:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:10:58 09:10:58 Login Succeeded 09:10:58 nexus3.edgexfoundry.org:10004 09:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:10:58 Configure a credential helper to remove this warning. See 09:10:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:10:58 09:10:58 Login Succeeded 09:10:58 ****.io 09:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:10:58 Configure a credential helper to remove this warning. See 09:10:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:10:58 09:10:58 Login Succeeded 09:10:58 ---> ****-login.sh ends [Pipeline] } 09:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 09:10:58 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 09:10:58 23ff995a3aef02e85a45daf0513f418e4247a776 09:10:58 latest 09:10:58 0.0.0 09:10:58 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 09:10:58 PR-165 09:10:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:59 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:59 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 09:10:59 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:10:59 6c8c4ddf6ab2: Preparing 09:10:59 c8ef123566ab: Preparing 09:10:59 6aa34f89a72f: Preparing 09:10:59 f44f286046d9: Preparing 09:10:59 6c8c4ddf6ab2: Pushed 09:10:59 f44f286046d9: Layer already exists 09:10:59 c8ef123566ab: Pushed 09:11:00 6aa34f89a72f: Pushed 09:11:00 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:1c24542e5ef19cfc0e96d7c23ee3c1137d1b6e6e68e23469e41b1bc0b05b472b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:01 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:01 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 09:11:01 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:11:01 6c8c4ddf6ab2: Preparing 09:11:01 c8ef123566ab: Preparing 09:11:01 6aa34f89a72f: Preparing 09:11:01 f44f286046d9: Preparing 09:11:01 6c8c4ddf6ab2: Layer already exists 09:11:01 c8ef123566ab: Layer already exists 09:11:01 f44f286046d9: Layer already exists 09:11:01 6aa34f89a72f: Layer already exists 09:11:01 latest: digest: sha256:1c24542e5ef19cfc0e96d7c23ee3c1137d1b6e6e68e23469e41b1bc0b05b472b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:01 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:02 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 09:11:02 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:11:02 6c8c4ddf6ab2: Preparing 09:11:02 c8ef123566ab: Preparing 09:11:02 6aa34f89a72f: Preparing 09:11:02 f44f286046d9: Preparing 09:11:02 c8ef123566ab: Layer already exists 09:11:02 6aa34f89a72f: Layer already exists 09:11:02 6c8c4ddf6ab2: Layer already exists 09:11:02 f44f286046d9: Layer already exists 09:11:02 0.0.0: digest: sha256:1c24542e5ef19cfc0e96d7c23ee3c1137d1b6e6e68e23469e41b1bc0b05b472b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:02 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:02 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 09:11:02 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:11:02 6c8c4ddf6ab2: Preparing 09:11:02 c8ef123566ab: Preparing 09:11:02 6aa34f89a72f: Preparing 09:11:02 f44f286046d9: Preparing 09:11:02 6aa34f89a72f: Layer already exists 09:11:02 c8ef123566ab: Layer already exists 09:11:02 f44f286046d9: Layer already exists 09:11:02 6c8c4ddf6ab2: Layer already exists 09:11:02 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:1c24542e5ef19cfc0e96d7c23ee3c1137d1b6e6e68e23469e41b1bc0b05b472b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:03 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:03 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 09:11:03 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 09:11:03 6c8c4ddf6ab2: Preparing 09:11:03 c8ef123566ab: Preparing 09:11:03 6aa34f89a72f: Preparing 09:11:03 f44f286046d9: Preparing 09:11:03 6aa34f89a72f: Layer already exists 09:11:03 c8ef123566ab: Layer already exists 09:11:03 6c8c4ddf6ab2: Layer already exists 09:11:03 f44f286046d9: Layer already exists 09:11:03 PR-165: digest: sha256:1c24542e5ef19cfc0e96d7c23ee3c1137d1b6e6e68e23469e41b1bc0b05b472b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:03 ===================================================== [Pipeline] echo 09:11:03 taggedImages: 09:11:03 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 09:11:03 - nexus3.edgexfoundry.org:10004/sample-service:latest 09:11:03 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 09:11:03 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 09:11:03 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 09:11:03 ========================================================= 09:11:03 [edgeXBuildMultiArch] RAW Config: [images:[nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776, nexus3.edgexfoundry.org:10004/sample-service:latest, nexus3.edgexfoundry.org:10004/sample-service:0.0.0, nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0, nexus3.edgexfoundry.org:10004/sample-service:PR-165], settingsFile:sample-service-settings] 09:11:03 ========================================================= [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:04 09:11:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:04 latest: Pulling from edgex-lftools-log-publisher 09:11:04 5eb5b503b376: Pulling fs layer 09:11:04 5c69ac0246d0: Pulling fs layer 09:11:04 ec43610c2a17: Pulling fs layer 09:11:04 3a2ae6a8a46f: Pulling fs layer 09:11:04 33b1e0a273af: Pulling fs layer 09:11:04 5d3b04190fa2: Pulling fs layer 09:11:04 2f39f015ded8: Pulling fs layer 09:11:04 3a2ae6a8a46f: Waiting 09:11:04 33b1e0a273af: Waiting 09:11:04 5d3b04190fa2: Waiting 09:11:04 2f39f015ded8: Waiting 09:11:04 5c69ac0246d0: Verifying Checksum 09:11:04 5c69ac0246d0: Download complete 09:11:04 3a2ae6a8a46f: Verifying Checksum 09:11:04 3a2ae6a8a46f: Download complete 09:11:04 33b1e0a273af: Verifying Checksum 09:11:04 33b1e0a273af: Download complete 09:11:04 5d3b04190fa2: Download complete 09:11:04 ec43610c2a17: Verifying Checksum 09:11:04 ec43610c2a17: Download complete 09:11:04 5eb5b503b376: Verifying Checksum 09:11:04 5eb5b503b376: Download complete 09:11:05 2f39f015ded8: Download complete 09:11:05 5eb5b503b376: Pull complete 09:11:05 5c69ac0246d0: Pull complete 09:11:06 ec43610c2a17: Pull complete 09:11:06 3a2ae6a8a46f: Pull complete 09:11:07 33b1e0a273af: Pull complete 09:11:07 5d3b04190fa2: Pull complete 09:11:11 2f39f015ded8: Pull complete 09:11:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:11 prd-ubuntu20.04-docker-8c-8g-42164 does not seem to be running inside a container 09:11:11 $ 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 09:11:16 $ docker top 99d48b00927024c67d3646887dca8637057306b8ffde884999e75f67a6d13751 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:17 ---> job-cost.sh 09:11:17 lf-activate-venv: SKIPPING 09:11:17 INFO: No Stack... 09:11:17 INFO: Retrieving Pricing Info for: v3-standard-8 09:11:18 INFO: Archiving Costs [Pipeline] sh 09:11:18 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 09:11:18 + cut -d, -f6 [Pipeline] lock 09:11:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-15-stack-cost] 09:11:18 Resource [jenkins-edgexfoundry-sample-service-PR-165-15-stack-cost] did not exist. Created. 09:11:18 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:11:18 + echo total: 0.2199999988079071 [Pipeline] stash 09:11:18 Stashed 1 file(s) [Pipeline] } 09:11:18 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-15-stack-cost] [Pipeline] // lock [Pipeline] } 09:11:18 $ docker stop --time=1 99d48b00927024c67d3646887dca8637057306b8ffde884999e75f67a6d13751 09:11:20 $ docker rm -f --volumes 99d48b00927024c67d3646887dca8637057306b8ffde884999e75f67a6d13751 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:11:20 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [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:11:21 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 09:11:21 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 09:11:21 total 16 09:11:21 drwxr-xr-x 3 root root 4096 Mar 27 09:11 . 09:11:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 09:11 .. 09:11:21 drwxr-xr-x 2 root root 4096 Mar 27 09:11 cost 09:11:21 -rw-r--r-- 1 root root 87 Mar 27 09:11 cost.csv 09:11:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 09:11:21 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 09:11:21 total 16 09:11:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 09:11 . 09:11:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 09:11 .. 09:11:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 09:11 cost 09:11:21 -rw-r--r-- 1 jenkins jenkins 87 Mar 27 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:11:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:11:22 ---> package-listing.sh 09:11:22 ++ tr '[:upper:]' '[:lower:]' 09:11:22 ++ facter osfamily 09:11:22 + OS_FAMILY=debian 09:11:22 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 09:11:22 + START_PACKAGES=/tmp/packages_start.txt 09:11:22 + END_PACKAGES=/tmp/packages_end.txt 09:11:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:11:22 + PACKAGES=/tmp/packages_start.txt 09:11:22 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 09:11:22 + PACKAGES=/tmp/packages_end.txt 09:11:22 + case "${OS_FAMILY}" in 09:11:22 + dpkg -l 09:11:22 + grep '^ii' 09:11:22 + '[' -f /tmp/packages_start.txt ']' 09:11:22 + '[' -f /tmp/packages_end.txt ']' 09:11:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:11:22 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 09:11:22 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 09:11:22 + 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:11:22 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:11:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:23 prd-ubuntu20.04-docker-8c-8g-42164 does not seem to be running inside a container 09:11:23 $ 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 09:11:24 $ docker top 952e9b7f2e8dcb66faac5c77df669762db3fa8766858c5b1c529b05c5ccee9a6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:24 + touch /tmp/pre-build-complete [Pipeline] sh 09:11:24 + mkdir -p /var/log/sysstat [Pipeline] sh 09:11:25 + ls /var/log/sa-host 09:11:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:25 provisioning config files... 09:11:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config826837017546560270tmp [Pipeline] { [Pipeline] echo 09:11:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:11:25 ---> create-netrc.sh [Pipeline] } 09:11:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:11:25 ---> python-tools-install.sh [Pipeline] echo 09:11:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:11:26 ---> sudo-logs.sh 09:11:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:11:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:11:26 ---> job-cost.sh 09:11:26 lf-activate-venv: SKIPPING 09:11:26 DEBUG: total: 0.2199999988079071 09:11:26 INFO: Retrieving Stack Cost... 09:11:26 INFO: Retrieving Pricing Info for: v3-standard-8 09:11:26 INFO: Archiving Costs [Pipeline] echo 09:11:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:11:26 ---> logs-deploy.sh 09:11:26 lf-activate-venv: SKIPPING 09:11:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/15 09:11:26 INFO: archiving workspace using pattern(s): 09:11:27 Archives upload complete. 09:11:28 INFO: archiving logs to Nexus