Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d91178305c2fdb466838f343222f56a000ebb2b Loading library edgex-global-pipelines@stable Attempting to resolve stable 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-ssh3334788458548643970.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh10484378580263885746.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/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/device-rest-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13768288507256740861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2125949050633717015.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/device-rest-go/branches/napa/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/device-rest-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14250268108734755288.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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2009 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2d91178305c2fdb466838f343222f56a000ebb2b (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @26dd2cd" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d91178305c2fdb466838f343222f56a000ebb2b # timeout=10 > git rev-list --no-walk 2d91178305c2fdb466838f343222f56a000ebb2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:41:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:41:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:41:06 ========================================================= 09:41:06 EdgeX Global Pipelines Version Info 09:41:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:41:07 ------------------- 09:41:07 stable info: 09:41:07 ------------------- 09:41:07 Commited By: Ginny Guan ginny@iotechsys.com 09:41:07 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:41:07 Message: update stable to v1.0.260 09:41:07 ------------------- 09:41:07 experimental info: 09:41:07 ------------------- 09:41:07 Commited By: Ginny Guan ginny@iotechsys.com 09:41:07 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:41:07 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d91178 [Pipeline] echo 09:41:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:08 provisioning config files... 09:41:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config5744305490804236001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:08 ---> ****-login.sh 09:41:08 nexus3.edgexfoundry.org:10001 09:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:09 Configure a credential helper to remove this warning. See 09:41:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:09 09:41:09 Login Succeeded 09:41:09 nexus3.edgexfoundry.org:10002 09:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:09 Configure a credential helper to remove this warning. See 09:41:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:09 09:41:09 Login Succeeded 09:41:09 nexus3.edgexfoundry.org:10003 09:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:09 Configure a credential helper to remove this warning. See 09:41:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:09 09:41:09 Login Succeeded 09:41:09 nexus3.edgexfoundry.org:10004 09:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:09 Configure a credential helper to remove this warning. See 09:41:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:09 09:41:09 Login Succeeded 09:41:09 ****.io 09:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:10 Configure a credential helper to remove this warning. See 09:41:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:10 09:41:10 Login Succeeded 09:41:10 ---> ****-login.sh ends [Pipeline] } 09:41:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:41:10 + git rev-list -1 --merges 2d91178305c2fdb466838f343222f56a000ebb2b~1..2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo 09:41:10 -----------> git rev-list -1 --merges 2d91178305c2fdb466838f343222f56a000ebb2b~1..2d91178305c2fdb466838f343222f56a000ebb2b 2d91178305c2fdb466838f343222f56a000ebb2b [false] [Pipeline] sh 09:41:10 + git log --format=format:%s -1 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo 09:41:10 ========================================================= 09:41:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 09:41:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:11 + git log --format=format:%s -1 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo 09:41:11 [semverPrep] GIT_COMMIT: 2d91178305c2fdb466838f343222f56a000ebb2b, Commit Message: ci(lts-release): LTS release v3.1.1 @26dd2cd [Pipeline] echo 09:41:11 [semverPrep] This is not a build commit. [Pipeline] sh 09:41:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:41:11 + grep -v github /etc/ssh/ssh_known_hosts 09:41:11 + [ -e /tmp/ssh_known_hosts ] 09:41:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:41:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:41:11 sudo tee -a /etc/ssh/ssh_known_hosts 09:41:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:11 09:41:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:12 0.1.4: Pulling from edgex-devops/py-git-semver 09:41:12 b85a868b505f: Pulling fs layer 09:41:12 e2be974225ed: Pulling fs layer 09:41:12 339a4e72a1f5: Pulling fs layer 09:41:12 988bab9f4d93: Pulling fs layer 09:41:12 1469e6f7b9e6: Pulling fs layer 09:41:12 eaf3925da568: Pulling fs layer 09:41:12 bab4dde63d76: Pulling fs layer 09:41:12 bde34c3a00c8: Pulling fs layer 09:41:12 b352a97aabf1: Pulling fs layer 09:41:12 4872d77fe225: Pulling fs layer 09:41:12 5851b861e8e6: Pulling fs layer 09:41:12 bde34c3a00c8: Waiting 09:41:12 1469e6f7b9e6: Waiting 09:41:12 b352a97aabf1: Waiting 09:41:12 eaf3925da568: Waiting 09:41:12 4872d77fe225: Waiting 09:41:12 5851b861e8e6: Waiting 09:41:12 988bab9f4d93: Waiting 09:41:12 bab4dde63d76: Waiting 09:41:12 e2be974225ed: Download complete 09:41:12 988bab9f4d93: Download complete 09:41:12 1469e6f7b9e6: Verifying Checksum 09:41:12 1469e6f7b9e6: Download complete 09:41:12 339a4e72a1f5: Verifying Checksum 09:41:12 339a4e72a1f5: Download complete 09:41:12 eaf3925da568: Download complete 09:41:12 bde34c3a00c8: Verifying Checksum 09:41:12 bde34c3a00c8: Download complete 09:41:12 b352a97aabf1: Verifying Checksum 09:41:12 b352a97aabf1: Download complete 09:41:12 4872d77fe225: Verifying Checksum 09:41:12 4872d77fe225: Download complete 09:41:12 5851b861e8e6: Download complete 09:41:12 b85a868b505f: Verifying Checksum 09:41:12 b85a868b505f: Download complete 09:41:12 bab4dde63d76: Verifying Checksum 09:41:12 bab4dde63d76: Download complete 09:41:13 b85a868b505f: Pull complete 09:41:13 e2be974225ed: Pull complete 09:41:14 339a4e72a1f5: Pull complete 09:41:14 988bab9f4d93: Pull complete 09:41:14 1469e6f7b9e6: Pull complete 09:41:14 eaf3925da568: Pull complete 09:41:16 bab4dde63d76: Pull complete 09:41:16 bde34c3a00c8: Pull complete 09:41:16 b352a97aabf1: Pull complete 09:41:16 4872d77fe225: Pull complete 09:41:17 5851b861e8e6: Pull complete 09:41:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:17 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 09:41:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:41:21 $ docker top 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 -eo pid,comm 09:41:21 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:41:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:41:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:21 [ssh-agent] Looking for ssh-agent implementation... 09:41:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:21 $ docker exec 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent 09:41:21 SSH_AUTH_SOCK=/tmp/ssh-azzGQrbt48No/agent.32 09:41:21 SSH_AGENT_PID=38 09:41:21 Running ssh-add (command line suppressed) 09:41:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_9060726061398992940.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_9060726061398992940.key) 09:41:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:21 + git tag --points-at 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } 09:41:21 $ docker exec --env ******** --env ******** 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent -k 09:41:21 unset SSH_AUTH_SOCK; 09:41:21 unset SSH_AGENT_PID; 09:41:21 echo Agent pid 38 killed; 09:41:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:41:21 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 09:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:22 [ssh-agent] Looking for ssh-agent implementation... 09:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:22 $ docker exec 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent 09:41:22 SSH_AUTH_SOCK=/tmp/ssh-rx1pd9a2JVho/agent.71 09:41:22 SSH_AGENT_PID=77 09:41:22 Running ssh-add (command line suppressed) 09:41:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_574916576408046378.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_574916576408046378.key) 09:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:22 + git semver init 09:41:22 2024-05-31 09:41:22,918 [run_init] DEBUG init version:0.0.0 force:False 09:41:22 2024-05-31 09:41:22,919 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_napa/.semver 09:41:22 2024-05-31 09:41:22,920 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_napa/.semver 09:41:22 2024-05-31 09:41:22,920 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_napa, universal_newlines=False, shell=None, istream=None) 09:41:24 2024-05-31 09:41:24,319 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_napa/.git/info/exclude 09:41:24 2024-05-31 09:41:24,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa with force:False 09:41:24 2024-05-31 09:41:24,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa 09:41:24 2024-05-31 09:41:24,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa 09:41:24 3.1.1 [Pipeline] } 09:41:24 $ docker exec --env ******** --env ******** 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent -k 09:41:25 unset SSH_AUTH_SOCK; 09:41:25 unset SSH_AGENT_PID; 09:41:25 echo Agent pid 77 killed; 09:41:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:41:26 + git semver [Pipeline] } 09:41:26 $ docker stop --time=1 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 09:41:27 $ docker rm -f --volumes 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:41:32 Stashed 1 file(s) [Pipeline] echo 09:41:32 [edgeXSemver]: initialized semver on version 3.1.1 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:34 + git checkout 2d91178305c2fdb466838f343222f56a000ebb2b 09:41:34 HEAD is now at 2d91178 ci(lts-release): LTS release v3.1.1 @26dd2cd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:34 provisioning config files... 09:41:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config8216792543604396834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:35 ---> ****-login.sh 09:41:35 nexus3.edgexfoundry.org:10001 09:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:35 Configure a credential helper to remove this warning. See 09:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:35 09:41:35 Login Succeeded 09:41:35 nexus3.edgexfoundry.org:10002 09:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:35 Configure a credential helper to remove this warning. See 09:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:35 09:41:35 Login Succeeded 09:41:35 nexus3.edgexfoundry.org:10003 09:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:35 Configure a credential helper to remove this warning. See 09:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:35 09:41:35 Login Succeeded 09:41:35 nexus3.edgexfoundry.org:10004 09:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:35 Configure a credential helper to remove this warning. See 09:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:35 09:41:35 Login Succeeded 09:41:35 ****.io 09:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:35 Configure a credential helper to remove this warning. See 09:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:35 09:41:35 Login Succeeded 09:41:35 ---> ****-login.sh ends [Pipeline] } 09:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:41:35 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:41:36 + grep ^go [0-9].[0-9]* go.mod 09:41:36 + cut -d -f 2 [Pipeline] echo 09:41:36 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:36 ========================================================= 09:41:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:41:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:41:36 Sending build context to Docker daemon 45.79MB 09:41:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:41:36 Step 2/12 : FROM ${BASE} AS builder 09:41:37 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:41:37 619be1103602: Pulling fs layer 09:41:37 7862e08f4a3e: Pulling fs layer 09:41:37 5df492c9dc93: Pulling fs layer 09:41:37 7629e6793208: Pulling fs layer 09:41:37 4f4fb700ef54: Pulling fs layer 09:41:37 8de7f028bff5: Pulling fs layer 09:41:37 44042ff1420b: Pulling fs layer 09:41:37 5cdaf54b7214: Pulling fs layer 09:41:37 38f3e5a9071a: Pulling fs layer 09:41:37 4f4fb700ef54: Waiting 09:41:37 8de7f028bff5: Waiting 09:41:37 44042ff1420b: Waiting 09:41:37 5cdaf54b7214: Waiting 09:41:37 38f3e5a9071a: Waiting 09:41:37 7629e6793208: Waiting 09:41:37 7862e08f4a3e: Verifying Checksum 09:41:37 7862e08f4a3e: Download complete 09:41:37 7629e6793208: Verifying Checksum 09:41:37 7629e6793208: Download complete 09:41:37 4f4fb700ef54: Verifying Checksum 09:41:37 4f4fb700ef54: Download complete 09:41:37 8de7f028bff5: Verifying Checksum 09:41:37 8de7f028bff5: Download complete 09:41:37 619be1103602: Verifying Checksum 09:41:37 619be1103602: Download complete 09:41:37 44042ff1420b: Verifying Checksum 09:41:37 44042ff1420b: Download complete 09:41:37 619be1103602: Pull complete 09:41:37 7862e08f4a3e: Pull complete 09:41:37 38f3e5a9071a: Verifying Checksum 09:41:37 38f3e5a9071a: Download complete 09:41:37 5df492c9dc93: Verifying Checksum 09:41:37 5df492c9dc93: Download complete 09:41:37 5cdaf54b7214: Verifying Checksum 09:41:37 5cdaf54b7214: Download complete 09:41:41 5df492c9dc93: Pull complete 09:41:41 7629e6793208: Pull complete 09:41:41 4f4fb700ef54: Pull complete 09:41:41 8de7f028bff5: Pull complete 09:41:41 44042ff1420b: Pull complete 09:41:43 5cdaf54b7214: Pull complete 09:41:44 38f3e5a9071a: Pull complete 09:41:44 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:41:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:41:44 ---> 60b93f829570 09:41:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:41:47 Still waiting to schedule task 09:41:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ 09:41:50 ---> Running in 84891f83f36b 09:41:50 Removing intermediate container 84891f83f36b 09:41:50 ---> 3602740f4918 09:41:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:50 ---> Running in 758c8b2bdbfe 09:41:50 Removing intermediate container 758c8b2bdbfe 09:41:50 ---> 187fe7b26f69 09:41:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:41:50 ---> Running in c580d9bcd080 09:41:50 Removing intermediate container c580d9bcd080 09:41:50 ---> 950239bbabe7 09:41:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:41:50 ---> Running in 986efd274dcb 09:41:50 Removing intermediate container 986efd274dcb 09:41:50 ---> 644b0abf52a1 09:41:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:50 ---> Running in 115d0921a507 09:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:41:50 (1/4) Installing openssh-keygen (9.3_p2-r1) 09:41:50 (2/4) Installing libedit (20221030.3.1-r1) 09:41:50 (3/4) Installing openssh-client-common (9.3_p2-r1) 09:41:50 (4/4) Installing openssh-client-default (9.3_p2-r1) 09:41:50 Executing busybox-1.36.1-r5.trigger 09:41:50 OK: 268 MiB in 56 packages 09:41:50 Removing intermediate container 115d0921a507 09:41:50 ---> 57cc272845d0 09:41:50 Step 8/12 : WORKDIR /device-rest-go 09:41:50 ---> Running in 2308650ffa84 09:41:50 Removing intermediate container 2308650ffa84 09:41:50 ---> 9df69dd0fffa 09:41:50 Step 9/12 : COPY go.mod vendor* ./ 09:41:52 ---> daab0ec258c4 09:41:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:53 ---> Running in 900cd6bdcb71 09:42:19 Removing intermediate container 900cd6bdcb71 09:42:19 ---> 2ea8173a894f 09:42:19 Step 11/12 : COPY . . 09:42:19 ---> fb4dd8581559 09:42:19 Step 12/12 : RUN $MAKE 09:42:19 ---> Running in 06be187133e2 09:42:20 noop 09:42:20 Removing intermediate container 06be187133e2 09:42:20 ---> 7dcca659f69b 09:42:20 Successfully built 7dcca659f69b 09:42:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:21 + docker inspect -f . ci-base-image-x86_64 09:42:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:21 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 09:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** ci-base-image-x86_64 cat 09:42:21 $ docker top 298ad708347c7540efdc14778de7fb5d38210b32234497eb747e82fe715c8114 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:21 + go version 09:42:21 go version go1.21.9 linux/amd64 [Pipeline] } 09:42:21 $ docker stop --time=1 298ad708347c7540efdc14778de7fb5d38210b32234497eb747e82fe715c8114 09:42:23 $ docker rm -f --volumes 298ad708347c7540efdc14778de7fb5d38210b32234497eb747e82fe715c8114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:23 + docker inspect -f . ci-base-image-x86_64 09:42:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:23 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 09:42:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** ci-base-image-x86_64 cat 09:42:24 $ docker top d885cb5ab15e8827e3b8a01de8e3c6fe7a39c7426d90afe3e1dcf2c0769e8d21 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] fileExists [Pipeline] sh 09:42:24 + make test 09:42:24 go test ./... -coverprofile=coverage.out ./... 09:42:26 ? github.com/edgexfoundry/device-rest-go [no test files] 09:42:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:42:38 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 09:42:43 go vet ./... 09:42:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:42:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:42:47 ./bin/test-attribution-txt.sh [Pipeline] echo 09:42:47 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:42:48 + go mod tidy [Pipeline] } 09:42:48 $ docker stop --time=1 d885cb5ab15e8827e3b8a01de8e3c6fe7a39c7426d90afe3e1dcf2c0769e8d21 09:42:52 $ docker rm -f --volumes d885cb5ab15e8827e3b8a01de8e3c6fe7a39c7426d90afe3e1dcf2c0769e8d21 [Pipeline] // withDockerContainer [Pipeline] sh 09:42:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:42:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:42:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:42:53 + ls -al . 09:42:53 total 184 09:42:53 drwxrwxr-x 10 jenkins jenkins 4096 May 31 09:42 . 09:42:53 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:41 .. 09:42:53 -rw-rw-r-- 1 jenkins jenkins 151 May 31 09:41 .dockerignore 09:42:53 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:42 .git 09:42:53 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 .github 09:42:53 -rw-rw-r-- 1 jenkins jenkins 256 May 31 09:41 .gitignore 09:42:53 -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:41 .golangci.yml 09:42:53 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver 09:42:53 -rw-rw-r-- 1 jenkins jenkins 10319 May 31 09:41 Attribution.txt 09:42:53 -rw-rw-r-- 1 jenkins jenkins 17685 May 31 09:41 CHANGELOG.md 09:42:53 -rw-rw-r-- 1 jenkins jenkins 1687 May 31 09:41 Dockerfile 09:42:53 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:41 GOVERNANCE.md 09:42:53 -rw-rw-r-- 1 jenkins jenkins 680 May 31 09:41 Jenkinsfile 09:42:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:41 LICENSE 09:42:53 -rw-rw-r-- 1 jenkins jenkins 2010 May 31 09:41 Makefile 09:42:53 -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:41 OWNERS.md 09:42:53 -rw-rw-r-- 1 jenkins jenkins 3989 May 31 09:41 README.md 09:42:53 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:42:53 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:41 bin 09:42:53 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 cmd 09:42:53 -rw-r--r-- 1 jenkins jenkins 14499 May 31 09:42 coverage.out 09:42:53 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:41 driver 09:42:53 -rw-rw-r-- 1 jenkins jenkins 3814 May 31 09:41 go.mod 09:42:53 -rw-rw-r-- 1 jenkins jenkins 34195 May 31 09:41 go.sum 09:42:53 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 openapi 09:42:53 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:41 vendor 09:42:53 -rw-rw-r-- 1 jenkins jenkins 713 May 31 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:53 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2d91178305c2fdb466838f343222f56a000ebb2b --label arch=amd64 --label version=3.1.1 . 09:42:54 Sending build context to Docker daemon 45.81MB 09:42:54 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 09:42:54 Step 2/26 : FROM ${BASE} AS builder 09:42:54 ---> 7dcca659f69b 09:42:54 Step 3/26 : ARG ADD_BUILD_TAGS="" 09:42:54 ---> Running in 53c9864e5291 09:42:55 Removing intermediate container 53c9864e5291 09:42:55 ---> 5094ad2dffd8 09:42:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:55 ---> Running in 84dc3817c69b 09:42:55 Removing intermediate container 84dc3817c69b 09:42:55 ---> caf494749db4 09:42:55 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:42:55 ---> Running in fb3f4804034e 09:42:55 Removing intermediate container fb3f4804034e 09:42:55 ---> 75a281f479d9 09:42:55 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 09:42:55 ---> Running in b01852e139ca 09:42:55 Removing intermediate container b01852e139ca 09:42:55 ---> 49f589fc8eb1 09:42:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:42:55 ---> Running in 6773ca3f3045 09:42:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:55 OK: 268 MiB in 56 packages 09:42:56 Removing intermediate container 6773ca3f3045 09:42:56 ---> 8d2d0a2dbe29 09:42:56 Step 8/26 : WORKDIR /device-rest-go 09:42:56 ---> Running in 7e107dec935a 09:42:56 Removing intermediate container 7e107dec935a 09:42:56 ---> b38545da9bee 09:42:56 Step 9/26 : COPY go.mod vendor* ./ 09:42:58 ---> 66bb74cb22fe 09:42:58 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:42:58 ---> Running in 4f9fb015dc3d 09:42:58 skipping... 09:42:58 Removing intermediate container 4f9fb015dc3d 09:42:58 ---> 54f0b3ec796a 09:42:58 Step 11/26 : COPY . . 09:43:00 ---> 5f6e200823cf 09:43:00 Step 12/26 : RUN $MAKE 09:43:01 ---> Running in 81607d35a103 09:43:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 09:43:23 Removing intermediate container 81607d35a103 09:43:23 ---> b067d980535c 09:43:23 Step 13/26 : FROM alpine:3.18 09:43:23 3.18: Pulling from library/alpine 09:43:23 619be1103602: Already exists 09:43:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:43:23 Status: Downloaded newer image for alpine:3.18 09:43:23 ---> d3782b16ccc9 09:43:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:43:23 ---> Running in 4434ae3a8391 09:43:23 Removing intermediate container 4434ae3a8391 09:43:23 ---> 24e8888691f8 09:43:23 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 09:43:23 ---> Running in 50df1e38c647 09:43:23 Removing intermediate container 50df1e38c647 09:43:23 ---> 185ca0bb3a40 09:43:23 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:43:23 ---> Running in 6e304ec7e98c 09:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:23 (1/1) Installing dumb-init (1.2.5-r2) 09:43:23 Executing busybox-1.36.1-r5.trigger 09:43:23 OK: 7 MiB in 16 packages 09:43:23 Removing intermediate container 6e304ec7e98c 09:43:23 ---> 5bb852aa8585 09:43:23 Step 17/26 : RUN apk --no-cache upgrade 09:43:23 ---> Running in bc9d966bf9bc 09:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:23 Upgrading critical system libraries and apk-tools: 09:43:23 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:43:23 Executing busybox-1.36.1-r5.trigger 09:43:23 Continuing the upgrade transaction with new apk-tools: 09:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:23 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:43:23 Executing busybox-1.36.1-r6.post-upgrade 09:43:23 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:43:23 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:43:23 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:43:23 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:43:23 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:43:23 Executing busybox-1.36.1-r6.trigger 09:43:23 OK: 7 MiB in 16 packages 09:43:24 Removing intermediate container bc9d966bf9bc 09:43:24 ---> b2ae35d24b07 09:43:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 09:43:25 ---> c68888313a08 09:43:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 09:43:25 ---> eee14a1b4429 09:43:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 09:43:25 ---> b6b487361c33 09:43:25 Step 21/26 : EXPOSE 59986 09:43:25 ---> Running in 7c24e22a531e 09:43:25 Removing intermediate container 7c24e22a531e 09:43:25 ---> 09e7cbdb6864 09:43:25 Step 22/26 : ENTRYPOINT ["/device-rest"] 09:43:25 ---> Running in 657626cddf6d 09:43:25 Removing intermediate container 657626cddf6d 09:43:25 ---> 91ae1d97ab48 09:43:25 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:43:25 ---> Running in bc61e91cc6b4 09:43:25 Removing intermediate container bc61e91cc6b4 09:43:25 ---> d2651dc30734 09:43:25 Step 24/26 : LABEL arch=amd64 09:43:25 ---> Running in a29b1a34f414 09:43:25 Removing intermediate container a29b1a34f414 09:43:25 ---> e6e192820c59 09:43:25 Step 25/26 : LABEL git_sha=2d91178305c2fdb466838f343222f56a000ebb2b 09:43:25 ---> Running in d4a74a7a1b37 09:43:25 Removing intermediate container d4a74a7a1b37 09:43:25 ---> 5b8545f4a687 09:43:25 Step 26/26 : LABEL version=3.1.1 09:43:25 ---> Running in c3688386fcd8 09:43:25 Removing intermediate container c3688386fcd8 09:43:25 ---> 008ef0affe7c 09:43:25 [Warning] One or more build-args [ARCH] were not consumed 09:43:26 Successfully built 008ef0affe7c 09:43:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:26 provisioning config files... 09:43:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config304767009025195371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:26 ---> ****-login.sh 09:43:26 nexus3.edgexfoundry.org:10001 09:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:26 Configure a credential helper to remove this warning. See 09:43:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:26 09:43:26 Login Succeeded 09:43:26 nexus3.edgexfoundry.org:10002 09:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:26 Configure a credential helper to remove this warning. See 09:43:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:26 09:43:26 Login Succeeded 09:43:26 nexus3.edgexfoundry.org:10003 09:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:26 Configure a credential helper to remove this warning. See 09:43:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:26 09:43:26 Login Succeeded 09:43:26 nexus3.edgexfoundry.org:10004 09:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:26 Configure a credential helper to remove this warning. See 09:43:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:26 09:43:26 Login Succeeded 09:43:26 ****.io 09:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:27 Configure a credential helper to remove this warning. See 09:43:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:27 09:43:27 Login Succeeded 09:43:27 ---> ****-login.sh ends [Pipeline] } 09:43:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:27 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:43:27 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 09:43:27 2d91178305c2fdb466838f343222f56a000ebb2b 09:43:27 3.1.1 09:43:27 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 09:43:27 napa 09:43:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b 09:43:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:43:27 bf50a1d8d284: Preparing 09:43:27 a735fcbdf50a: Preparing 09:43:27 056d73d326ed: Preparing 09:43:27 a5778d89dadd: Preparing 09:43:27 948bd813188a: Preparing 09:43:27 aedc3bda2944: Preparing 09:43:27 aedc3bda2944: Waiting 09:43:27 bf50a1d8d284: Pushed 09:43:27 aedc3bda2944: Layer already exists 09:43:27 a735fcbdf50a: Pushed 09:43:27 948bd813188a: Pushed 09:43:28 a5778d89dadd: Pushed 09:43:31 056d73d326ed: Pushed 09:43:31 2d91178305c2fdb466838f343222f56a000ebb2b: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.1 09:43:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:43:32 bf50a1d8d284: Preparing 09:43:32 a735fcbdf50a: Preparing 09:43:32 056d73d326ed: Preparing 09:43:32 a5778d89dadd: Preparing 09:43:32 948bd813188a: Preparing 09:43:32 aedc3bda2944: Preparing 09:43:32 aedc3bda2944: Waiting 09:43:32 a5778d89dadd: Layer already exists 09:43:32 a735fcbdf50a: Layer already exists 09:43:32 bf50a1d8d284: Layer already exists 09:43:32 056d73d326ed: Layer already exists 09:43:32 948bd813188a: Layer already exists 09:43:32 aedc3bda2944: Layer already exists 09:43:32 3.1.1: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 09:43:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:43:32 bf50a1d8d284: Preparing 09:43:32 a735fcbdf50a: Preparing 09:43:32 056d73d326ed: Preparing 09:43:32 a5778d89dadd: Preparing 09:43:32 948bd813188a: Preparing 09:43:32 aedc3bda2944: Preparing 09:43:32 aedc3bda2944: Waiting 09:43:32 056d73d326ed: Layer already exists 09:43:32 948bd813188a: Layer already exists 09:43:32 a5778d89dadd: Layer already exists 09:43:32 a735fcbdf50a: Layer already exists 09:43:32 bf50a1d8d284: Layer already exists 09:43:32 aedc3bda2944: Layer already exists 09:43:32 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:napa 09:43:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:43:33 bf50a1d8d284: Preparing 09:43:33 a735fcbdf50a: Preparing 09:43:33 056d73d326ed: Preparing 09:43:33 a5778d89dadd: Preparing 09:43:33 948bd813188a: Preparing 09:43:33 aedc3bda2944: Preparing 09:43:33 056d73d326ed: Layer already exists 09:43:33 948bd813188a: Layer already exists 09:43:33 a5778d89dadd: Layer already exists 09:43:33 a735fcbdf50a: Layer already exists 09:43:33 bf50a1d8d284: Layer already exists 09:43:33 aedc3bda2944: Layer already exists 09:43:33 napa: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:33 ===================================================== [Pipeline] echo 09:43:33 taggedImages: 09:43:33 - nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b 09:43:33 - nexus3.edgexfoundry.org:10004/device-rest:3.1.1 09:43:33 - nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 09:43:33 - nexus3.edgexfoundry.org:10004/device-rest:napa [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:43:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:33 09:43:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:34 latest: Pulling from edgex-lftools-log-publisher 09:43:34 5eb5b503b376: Pulling fs layer 09:43:34 5c69ac0246d0: Pulling fs layer 09:43:34 ec43610c2a17: Pulling fs layer 09:43:34 3a2ae6a8a46f: Pulling fs layer 09:43:34 33b1e0a273af: Pulling fs layer 09:43:34 5d3b04190fa2: Pulling fs layer 09:43:34 2f39f015ded8: Pulling fs layer 09:43:34 33b1e0a273af: Waiting 09:43:34 3a2ae6a8a46f: Waiting 09:43:34 5d3b04190fa2: Waiting 09:43:34 2f39f015ded8: Waiting 09:43:34 5c69ac0246d0: Verifying Checksum 09:43:34 5c69ac0246d0: Download complete 09:43:34 3a2ae6a8a46f: Verifying Checksum 09:43:34 3a2ae6a8a46f: Download complete 09:43:34 33b1e0a273af: Verifying Checksum 09:43:34 33b1e0a273af: Download complete 09:43:34 5d3b04190fa2: Verifying Checksum 09:43:34 5d3b04190fa2: Download complete 09:43:34 ec43610c2a17: Verifying Checksum 09:43:34 ec43610c2a17: Download complete 09:43:34 5eb5b503b376: Verifying Checksum 09:43:34 5eb5b503b376: Download complete 09:43:35 2f39f015ded8: Download complete 09:43:35 5eb5b503b376: Pull complete 09:43:35 5c69ac0246d0: Pull complete 09:43:36 ec43610c2a17: Pull complete 09:43:36 3a2ae6a8a46f: Pull complete 09:43:36 33b1e0a273af: Pull complete 09:43:36 5d3b04190fa2: Pull complete 09:43:40 2f39f015ded8: Pull complete 09:43:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:41 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 09:43:41 $ 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/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:43:46 $ docker top 7a76812de1a055ed520bde18d1f2f5e78d01864a5eb45a04ccc192fdf38c4f2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:46 ---> job-cost.sh 09:43:46 lf-activate-venv: SKIPPING 09:43:46 INFO: No Stack... 09:43:47 INFO: Retrieving Pricing Info for: v3-standard-8 09:43:48 INFO: Archiving Costs [Pipeline] sh 09:43:48 + cat /w/workspace/edgexfoundry_device-rest-go_napa/archives/cost.csv 09:43:48 + cut -d, -f6 [Pipeline] lock 09:43:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] 09:43:48 Resource [jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] did not exist. Created. 09:43:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:43:48 + echo total: 0.2199999988079071 [Pipeline] stash 09:43:48 Stashed 1 file(s) [Pipeline] } 09:43:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:43:48 $ docker stop --time=1 7a76812de1a055ed520bde18d1f2f5e78d01864a5eb45a04ccc192fdf38c4f2d 09:43:50 $ docker rm -f --volumes 7a76812de1a055ed520bde18d1f2f5e78d01864a5eb45a04ccc192fdf38c4f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:03:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2482 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] ws 10:03:51 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 10:03:52 The recommended git tool is: git 10:04:01 using credential edgex-jenkins-ssh 10:04:01 Cloning the remote Git repository 10:04:01 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 10:04:02 > git init /w/workspace/device-rest-go/5 # timeout=10 10:04:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:04:02 > git --version # timeout=10 10:04:02 > git --version # 'git version 2.25.1' 10:04:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:04:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:07 Avoid second fetch 10:04:07 Checking out Revision 2d91178305c2fdb466838f343222f56a000ebb2b (napa) 10:04:07 > git config core.sparsecheckout # timeout=10 10:04:07 > git checkout -f 2d91178305c2fdb466838f343222f56a000ebb2b # timeout=10 10:04:09 Commit message: "ci(lts-release): LTS release v3.1.1 @26dd2cd" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:04:13 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:13 Dload Upload Total Spent Left Speed 10:04:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 10:04:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:04:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 10:04:14 sudo tee /etc/docker/daemon.new 10:04:14 { 10:04:14 "registry-mirrors": [ 10:04:14 "https://nexus3.edgexfoundry.org:10001" 10:04:14 ], 10:04:14 "bip": "10.250.0.254/24", 10:04:14 "hosts": [ 10:04:14 "tcp://0.0.0.0:5555", 10:04:14 "unix:///var/run/docker.sock" 10:04:14 ], 10:04:14 "mtu": 1458, 10:04:14 "selinux-enabled": true, 10:04:14 "seccomp-profile": "/etc/docker/seccomp.json" 10:04:14 } [Pipeline] sh 10:04:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:04:15 + sudo service docker restart [Pipeline] sh 10:04:33 + git checkout 2d91178305c2fdb466838f343222f56a000ebb2b 10:04:34 HEAD is now at 2d91178 ci(lts-release): LTS release v3.1.1 @26dd2cd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:34 provisioning config files... 10:04:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config15779199226490527506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:35 ---> ****-login.sh 10:04:35 nexus3.edgexfoundry.org:10001 10:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:36 Configure a credential helper to remove this warning. See 10:04:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:36 10:04:36 Login Succeeded 10:04:36 nexus3.edgexfoundry.org:10002 10:04:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:36 Configure a credential helper to remove this warning. See 10:04:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:36 10:04:36 Login Succeeded 10:04:36 nexus3.edgexfoundry.org:10003 10:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:37 Configure a credential helper to remove this warning. See 10:04:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:37 10:04:37 Login Succeeded 10:04:37 nexus3.edgexfoundry.org:10004 10:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:37 Configure a credential helper to remove this warning. See 10:04:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:37 10:04:37 Login Succeeded 10:04:37 ****.io 10:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:38 Configure a credential helper to remove this warning. See 10:04:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:38 10:04:38 Login Succeeded 10:04:38 ---> ****-login.sh ends [Pipeline] } 10:04:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:38 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 10:04:39 + grep ^go [0-9].[0-9]* go.mod 10:04:39 + cut -d -f 2 [Pipeline] echo 10:04:39 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:04:39 ========================================================= 10:04:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 10:04:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 10:04:42 Sending build context to Docker daemon 27.75MB 10:04:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 10:04:42 Step 2/12 : FROM ${BASE} AS builder 10:04:42 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:42 c6b39de5b339: Pulling fs layer 10:04:42 a69c41024577: Pulling fs layer 10:04:42 d6de4b400683: Pulling fs layer 10:04:42 35cb2a7552d0: Pulling fs layer 10:04:42 4f4fb700ef54: Pulling fs layer 10:04:42 9e011611b7f5: Pulling fs layer 10:04:42 3bd174042beb: Pulling fs layer 10:04:42 4476f39b5e91: Pulling fs layer 10:04:42 4f4fb700ef54: Waiting 10:04:42 9e011611b7f5: Waiting 10:04:42 3bd174042beb: Waiting 10:04:42 4476f39b5e91: Waiting 10:04:42 35cb2a7552d0: Waiting 10:04:42 a69c41024577: Verifying Checksum 10:04:42 a69c41024577: Download complete 10:04:42 35cb2a7552d0: Verifying Checksum 10:04:42 35cb2a7552d0: Download complete 10:04:42 4f4fb700ef54: Verifying Checksum 10:04:42 4f4fb700ef54: Download complete 10:04:42 9e011611b7f5: Verifying Checksum 10:04:42 9e011611b7f5: Download complete 10:04:42 c6b39de5b339: Download complete 10:04:42 4476f39b5e91: Verifying Checksum 10:04:42 4476f39b5e91: Download complete 10:04:43 c6b39de5b339: Pull complete 10:04:43 a69c41024577: Pull complete 10:04:44 d6de4b400683: Verifying Checksum 10:04:44 d6de4b400683: Download complete 10:04:45 3bd174042beb: Verifying Checksum 10:04:45 3bd174042beb: Download complete 10:04:57 d6de4b400683: Pull complete 10:04:57 35cb2a7552d0: Pull complete 10:04:57 4f4fb700ef54: Pull complete 10:04:57 9e011611b7f5: Pull complete 10:05:07 3bd174042beb: Pull complete 10:05:07 4476f39b5e91: Pull complete 10:05:07 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 10:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 10:05:07 ---> 981a0608b64a 10:05:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:05:10 ---> Running in 0ad17e46bff2 10:05:10 Removing intermediate container 0ad17e46bff2 10:05:10 ---> 9fc1e7041ada 10:05:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:10 ---> Running in bc56678ca188 10:05:11 Removing intermediate container bc56678ca188 10:05:11 ---> 6626b43c88c2 10:05:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:05:11 ---> Running in fd96b389062a 10:05:11 Removing intermediate container fd96b389062a 10:05:11 ---> ee62d338be74 10:05:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:05:11 ---> Running in 243e1bfd83f6 10:05:11 Removing intermediate container 243e1bfd83f6 10:05:11 ---> 677726627cdd 10:05:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:11 ---> Running in f84bb781e599 10:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:05:15 (1/4) Installing openssh-keygen (9.3_p2-r1) 10:05:15 (2/4) Installing libedit (20221030.3.1-r1) 10:05:15 (3/4) Installing openssh-client-common (9.3_p2-r1) 10:05:15 (4/4) Installing openssh-client-default (9.3_p2-r1) 10:05:15 Executing busybox-1.36.1-r5.trigger 10:05:15 OK: 271 MiB in 56 packages 10:05:16 Removing intermediate container f84bb781e599 10:05:16 ---> fe7ff5b4fa65 10:05:16 Step 8/12 : WORKDIR /device-rest-go 10:05:16 ---> Running in f5d87b6e409e 10:05:16 Removing intermediate container f5d87b6e409e 10:05:16 ---> b37b20fd7e9d 10:05:16 Step 9/12 : COPY go.mod vendor* ./ 10:05:23 ---> 95ade74e32f3 10:05:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:23 ---> Running in afde13e733d2 10:06:19 Removing intermediate container afde13e733d2 10:06:19 ---> 52164d28e8ad 10:06:19 Step 11/12 : COPY . . 10:06:26 ---> fa1e138ce92d 10:06:26 Step 12/12 : RUN $MAKE 10:06:26 ---> Running in 61bb20cd882f 10:06:26 noop 10:06:27 Removing intermediate container 61bb20cd882f 10:06:27 ---> ef07beda9ac8 10:06:28 Successfully built ef07beda9ac8 10:06:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:28 + docker inspect -f . ci-base-image-arm64 10:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:28 prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container 10:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat 10:06:30 $ docker top 37e0c6cee680914528685bcbd67c93c5a948edaa789e990d90f0671f9bafc007 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:30 + go version 10:06:30 go version go1.21.9 linux/arm64 [Pipeline] } 10:06:31 $ docker stop --time=1 37e0c6cee680914528685bcbd67c93c5a948edaa789e990d90f0671f9bafc007 10:06:32 $ docker rm -f --volumes 37e0c6cee680914528685bcbd67c93c5a948edaa789e990d90f0671f9bafc007 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:33 + docker inspect -f . ci-base-image-arm64 10:06:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:33 prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container 10:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** ci-base-image-arm64 cat 10:06:34 $ docker top c8f85e144957609f99a4b297ecdbd8d54761397e49e443977965190ff9d34e85 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:35 + git config --global --add safe.directory /w/workspace/device-rest-go/5 [Pipeline] fileExists [Pipeline] sh 10:06:36 + make test 10:06:36 go test ./... -coverprofile=coverage.out ./... 10:06:39 ? github.com/edgexfoundry/device-rest-go [no test files] 10:08:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:08:48 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 33.2% of statements 10:08:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:08:49 go vet ./... 10:09:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:21 ./bin/test-attribution-txt.sh [Pipeline] echo 10:09:21 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 10:09:22 + go mod tidy [Pipeline] } 10:09:26 $ docker stop --time=1 c8f85e144957609f99a4b297ecdbd8d54761397e49e443977965190ff9d34e85 10:09:28 $ docker rm -f --volumes c8f85e144957609f99a4b297ecdbd8d54761397e49e443977965190ff9d34e85 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:29 Warning: overwriting stash ‘coverage-report’ 10:09:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:31 + ls -al . 10:09:31 total 180 10:09:31 drwxrwxr-x 9 jenkins jenkins 4096 May 31 10:06 . 10:09:31 drwxrwxr-x 4 jenkins jenkins 4096 May 31 10:04 .. 10:09:31 -rw-rw-r-- 1 jenkins jenkins 151 May 31 10:04 .dockerignore 10:09:31 drwxrwxr-x 8 jenkins jenkins 4096 May 31 10:04 .git 10:09:31 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 .github 10:09:31 -rw-rw-r-- 1 jenkins jenkins 256 May 31 10:04 .gitignore 10:09:31 -rw-rw-r-- 1 jenkins jenkins 41 May 31 10:04 .golangci.yml 10:09:31 -rw-rw-r-- 1 jenkins jenkins 10319 May 31 10:04 Attribution.txt 10:09:31 -rw-rw-r-- 1 jenkins jenkins 17685 May 31 10:04 CHANGELOG.md 10:09:31 -rw-rw-r-- 1 jenkins jenkins 1687 May 31 10:04 Dockerfile 10:09:31 -rw-rw-r-- 1 jenkins jenkins 677 May 31 10:04 GOVERNANCE.md 10:09:31 -rw-rw-r-- 1 jenkins jenkins 680 May 31 10:04 Jenkinsfile 10:09:31 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 10:04 LICENSE 10:09:31 -rw-rw-r-- 1 jenkins jenkins 2010 May 31 10:04 Makefile 10:09:31 -rw-rw-r-- 1 jenkins jenkins 620 May 31 10:04 OWNERS.md 10:09:31 -rw-rw-r-- 1 jenkins jenkins 3989 May 31 10:04 README.md 10:09:31 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 10:09:31 drwxrwxr-x 2 jenkins jenkins 4096 May 31 10:04 bin 10:09:31 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 cmd 10:09:31 -rw-r--r-- 1 jenkins jenkins 14499 May 31 10:08 coverage.out 10:09:31 drwxrwxr-x 2 jenkins jenkins 4096 May 31 10:04 driver 10:09:31 -rw-rw-r-- 1 jenkins jenkins 3814 May 31 10:04 go.mod 10:09:31 -rw-rw-r-- 1 jenkins jenkins 34195 May 31 10:04 go.sum 10:09:31 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 openapi 10:09:31 drwxrwxr-x 6 jenkins jenkins 4096 May 31 10:04 vendor 10:09:31 -rw-rw-r-- 1 jenkins jenkins 713 May 31 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:31 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2d91178305c2fdb466838f343222f56a000ebb2b --label arch=arm64 --label version=3.1.1 . 10:09:33 Sending build context to Docker daemon 27.76MB 10:09:34 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 10:09:34 Step 2/26 : FROM ${BASE} AS builder 10:09:34 ---> ef07beda9ac8 10:09:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:09:34 ---> Running in ab87412740c2 10:09:34 Removing intermediate container ab87412740c2 10:09:34 ---> ffd8cc281354 10:09:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:09:34 ---> Running in 647effc65875 10:09:35 Removing intermediate container 647effc65875 10:09:35 ---> a4ddb21a8f1b 10:09:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:09:35 ---> Running in 1d52c2d7dfc3 10:09:35 Removing intermediate container 1d52c2d7dfc3 10:09:35 ---> d75b9968d03b 10:09:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:09:35 ---> Running in 6cd52864bab5 10:09:35 Removing intermediate container 6cd52864bab5 10:09:35 ---> 0c71cfa2e91a 10:09:35 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:35 ---> Running in 0b31d0b96278 10:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:09:38 OK: 271 MiB in 56 packages 10:09:39 Removing intermediate container 0b31d0b96278 10:09:39 ---> 58423441c876 10:09:39 Step 8/26 : WORKDIR /device-rest-go 10:09:39 ---> Running in 4ddd52323438 10:09:39 Removing intermediate container 4ddd52323438 10:09:39 ---> d07ddd77cd18 10:09:39 Step 9/26 : COPY go.mod vendor* ./ 10:09:46 ---> 406a81b6afb5 10:09:46 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:46 ---> Running in a9ffbac38317 10:09:47 skipping... 10:09:47 Removing intermediate container a9ffbac38317 10:09:47 ---> 57851cf537e1 10:09:47 Step 11/26 : COPY . . 10:09:54 ---> eeb1fb21e83d 10:09:54 Step 12/26 : RUN $MAKE 10:09:54 ---> Running in 3b37e6a9ba65 10:09:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 10:12:17 Removing intermediate container 3b37e6a9ba65 10:12:17 ---> b7313a671b52 10:12:17 Step 13/26 : FROM alpine:3.18 10:12:17 3.18: Pulling from library/alpine 10:12:17 c6b39de5b339: Already exists 10:12:17 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:12:17 Status: Downloaded newer image for alpine:3.18 10:12:17 ---> 33abbf032149 10:12:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:12:17 ---> Running in 717658407cc9 10:12:17 Removing intermediate container 717658407cc9 10:12:17 ---> a3caebac12be 10:12:17 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 10:12:17 ---> Running in 10840336d123 10:12:17 Removing intermediate container 10840336d123 10:12:17 ---> 59fce93f6e68 10:12:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:12:17 ---> Running in e11bac338e4a 10:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:18 (1/1) Installing dumb-init (1.2.5-r2) 10:12:18 Executing busybox-1.36.1-r5.trigger 10:12:18 OK: 8 MiB in 16 packages 10:12:19 Removing intermediate container e11bac338e4a 10:12:19 ---> dbbecd450ab5 10:12:19 Step 17/26 : RUN apk --no-cache upgrade 10:12:19 ---> Running in 0a27e3535ce1 10:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:22 Upgrading critical system libraries and apk-tools: 10:12:22 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 10:12:22 Executing busybox-1.36.1-r5.trigger 10:12:22 Continuing the upgrade transaction with new apk-tools: 10:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:23 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 10:12:23 Executing busybox-1.36.1-r6.post-upgrade 10:12:23 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 10:12:23 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:12:23 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 10:12:24 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 10:12:24 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 10:12:24 Executing busybox-1.36.1-r6.trigger 10:12:24 OK: 8 MiB in 16 packages 10:12:25 Removing intermediate container 0a27e3535ce1 10:12:25 ---> 792c762efecb 10:12:25 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 10:12:27 ---> e658f33f2a0b 10:12:27 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 10:12:27 ---> aa9f9a832ad4 10:12:27 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 10:12:27 ---> 71fcd0701bdd 10:12:27 Step 21/26 : EXPOSE 59986 10:12:28 ---> Running in f5d26ab200aa 10:12:28 Removing intermediate container f5d26ab200aa 10:12:28 ---> 3058607ed8ff 10:12:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 10:12:28 ---> Running in bf5aaf29f833 10:12:28 Removing intermediate container bf5aaf29f833 10:12:28 ---> c890cfe30611 10:12:28 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:12:29 ---> Running in d7cf516e27c2 10:12:29 Removing intermediate container d7cf516e27c2 10:12:29 ---> 849611f45bb5 10:12:29 Step 24/26 : LABEL arch=arm64 10:12:29 ---> Running in 6272c9e3d43f 10:12:29 Removing intermediate container 6272c9e3d43f 10:12:29 ---> 60fee7539332 10:12:29 Step 25/26 : LABEL git_sha=2d91178305c2fdb466838f343222f56a000ebb2b 10:12:29 ---> Running in 02d705744390 10:12:30 Removing intermediate container 02d705744390 10:12:30 ---> 8549daefb040 10:12:30 Step 26/26 : LABEL version=3.1.1 10:12:30 ---> Running in 74d50526fedd 10:12:30 Removing intermediate container 74d50526fedd 10:12:30 ---> a63eba042ff6 10:12:30 [Warning] One or more build-args [ARCH] were not consumed 10:12:30 Successfully built a63eba042ff6 10:12:30 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:12:31 provisioning config files... 10:12:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config11469875105278067104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:31 ---> ****-login.sh 10:12:31 nexus3.edgexfoundry.org:10001 10:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:31 Configure a credential helper to remove this warning. See 10:12:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:31 10:12:31 Login Succeeded 10:12:31 nexus3.edgexfoundry.org:10002 10:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:32 Configure a credential helper to remove this warning. See 10:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:32 10:12:32 Login Succeeded 10:12:32 nexus3.edgexfoundry.org:10003 10:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:32 Configure a credential helper to remove this warning. See 10:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:32 10:12:32 Login Succeeded 10:12:32 nexus3.edgexfoundry.org:10004 10:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:33 Configure a credential helper to remove this warning. See 10:12:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:33 10:12:33 Login Succeeded 10:12:33 ****.io 10:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:33 Configure a credential helper to remove this warning. See 10:12:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:33 10:12:33 Login Succeeded 10:12:33 ---> ****-login.sh ends [Pipeline] } 10:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:33 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:12:33 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 10:12:33 2d91178305c2fdb466838f343222f56a000ebb2b 10:12:33 3.1.1 10:12:33 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 10:12:33 napa 10:12:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b 10:12:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:12:34 5036926228b0: Preparing 10:12:34 92823b6a496a: Preparing 10:12:34 1f7ecebf6cd0: Preparing 10:12:34 5847d67acc33: Preparing 10:12:34 34e45e76112e: Preparing 10:12:34 7c504f21be85: Preparing 10:12:34 7c504f21be85: Waiting 10:12:34 5036926228b0: Pushed 10:12:34 92823b6a496a: Pushed 10:12:34 34e45e76112e: Pushed 10:12:34 7c504f21be85: Layer already exists 10:12:36 5847d67acc33: Pushed 10:12:40 1f7ecebf6cd0: Pushed 10:12:40 2d91178305c2fdb466838f343222f56a000ebb2b: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1 10:12:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:12:41 5036926228b0: Preparing 10:12:41 92823b6a496a: Preparing 10:12:41 1f7ecebf6cd0: Preparing 10:12:41 5847d67acc33: Preparing 10:12:41 34e45e76112e: Preparing 10:12:41 7c504f21be85: Preparing 10:12:41 7c504f21be85: Waiting 10:12:41 5036926228b0: Layer already exists 10:12:41 5847d67acc33: Layer already exists 10:12:41 34e45e76112e: Layer already exists 10:12:41 92823b6a496a: Layer already exists 10:12:41 1f7ecebf6cd0: Layer already exists 10:12:41 7c504f21be85: Layer already exists 10:12:41 3.1.1: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 10:12:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:12:42 5036926228b0: Preparing 10:12:42 92823b6a496a: Preparing 10:12:42 1f7ecebf6cd0: Preparing 10:12:42 5847d67acc33: Preparing 10:12:42 34e45e76112e: Preparing 10:12:42 7c504f21be85: Preparing 10:12:42 7c504f21be85: Waiting 10:12:42 92823b6a496a: Layer already exists 10:12:42 1f7ecebf6cd0: Layer already exists 10:12:42 5036926228b0: Layer already exists 10:12:42 34e45e76112e: Layer already exists 10:12:42 5847d67acc33: Layer already exists 10:12:42 7c504f21be85: Layer already exists 10:12:42 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:napa 10:12:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:12:43 5036926228b0: Preparing 10:12:43 92823b6a496a: Preparing 10:12:43 1f7ecebf6cd0: Preparing 10:12:43 5847d67acc33: Preparing 10:12:43 34e45e76112e: Preparing 10:12:43 7c504f21be85: Preparing 10:12:43 7c504f21be85: Waiting 10:12:43 1f7ecebf6cd0: Layer already exists 10:12:43 5036926228b0: Layer already exists 10:12:43 34e45e76112e: Layer already exists 10:12:43 5847d67acc33: Layer already exists 10:12:43 92823b6a496a: Layer already exists 10:12:43 7c504f21be85: Layer already exists 10:12:43 napa: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:43 ===================================================== [Pipeline] echo 10:12:43 taggedImages: 10:12:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b 10:12:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1 10:12:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 10:12:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:44 10:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:44 arm64: Pulling from edgex-lftools-log-publisher 10:12:44 8998bd30e6a1: Pulling fs layer 10:12:44 04944245beec: Pulling fs layer 10:12:44 699f458cf7ca: Pulling fs layer 10:12:44 765212b225bb: Pulling fs layer 10:12:44 f23df028b6ca: Pulling fs layer 10:12:44 d65c8cfc05b1: Pulling fs layer 10:12:44 2437ff75d9bd: Pulling fs layer 10:12:44 765212b225bb: Waiting 10:12:44 f23df028b6ca: Waiting 10:12:44 d65c8cfc05b1: Waiting 10:12:44 2437ff75d9bd: Waiting 10:12:44 04944245beec: Verifying Checksum 10:12:44 04944245beec: Download complete 10:12:44 765212b225bb: Verifying Checksum 10:12:44 765212b225bb: Download complete 10:12:44 f23df028b6ca: Download complete 10:12:44 d65c8cfc05b1: Verifying Checksum 10:12:44 d65c8cfc05b1: Download complete 10:12:45 699f458cf7ca: Download complete 10:12:45 8998bd30e6a1: Download complete 10:12:47 2437ff75d9bd: Verifying Checksum 10:12:47 2437ff75d9bd: Download complete 10:12:49 8998bd30e6a1: Pull complete 10:12:50 04944245beec: Pull complete 10:12:52 699f458cf7ca: Pull complete 10:12:52 765212b225bb: Pull complete 10:12:53 f23df028b6ca: Pull complete 10:12:53 d65c8cfc05b1: Pull complete 10:13:11 2437ff75d9bd: Pull complete 10:13:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:12 prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container 10:13:12 $ 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/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:13:15 $ docker top ac4ef96198dc9ccc755d247413535dee38824aeeef69fb4612aa933bdee8aefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:16 ---> job-cost.sh 10:13:16 lf-activate-venv: SKIPPING 10:13:16 INFO: No Stack... 10:13:16 INFO: Retrieving Pricing Info for: v3-standard-4 10:13:17 INFO: Archiving Costs [Pipeline] sh 10:13:17 + cat /w/workspace/device-rest-go/5/archives/cost.csv 10:13:17 + cut -d, -f6 [Pipeline] lock 10:13:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] 10:13:17 Resource [jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] did not exist. Created. 10:13:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:18 /w/workspace/device-rest-go/5@tmp/durable-6356f6c8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:13:19 + echo total: 0.10999999940395355 [Pipeline] stash 10:13:19 Warning: overwriting stash ‘stack-cost’ 10:13:19 Stashed 1 file(s) [Pipeline] } 10:13:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:19 $ docker stop --time=1 ac4ef96198dc9ccc755d247413535dee38824aeeef69fb4612aa933bdee8aefc 10:13:21 $ docker rm -f --volumes ac4ef96198dc9ccc755d247413535dee38824aeeef69fb4612aa933bdee8aefc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:13:21 provisioning config files... 10:13:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3000733227074455858tmp [Pipeline] { [Pipeline] sh 10:13:22 + set +x 10:13:22 + + curl -s https://codecov.io/bash 10:13:22 bash -s -- 10:13:22 10:13:22 _____ _ 10:13:22 / ____| | | 10:13:22 | | ___ __| | ___ ___ _____ __ 10:13:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:13:22 | |___| (_) | (_| | __/ (_| (_) \ V / 10:13:22 \_____\___/ \__,_|\___|\___\___/ \_/ 10:13:22 Bash-1.0.6 10:13:22 10:13:22 10:13:22 ==> git version 2.25.1 found 10:13:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:13:22 Release-Date: 2020-01-08 10:13:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:13:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:13:22 ==> Jenkins CI detected. 10:13:22 current dir:  /w/workspace/edgexfoundry_device-rest-go_napa 10:13:22 project root: . 10:13:22 --> token set from env 10:13:22 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 10:13:22 ==> Running gcov in . (disable via -X gcov) 10:13:22 ==> Python coveragepy not found 10:13:22 ==> Searching for coverage reports in: 10:13:22 + . 10:13:22 -> Found 1 reports 10:13:22 ==> Detecting git/mercurial file structure 10:13:22 ==> Reading reports 10:13:22 + ./coverage.out bytes=14499 10:13:22 ==> Appending adjustments 10:13:22 https://docs.codecov.io/docs/fixing-reports 10:13:22 + Found adjustments 10:13:22 ==> Gzipping contents 10:13:22 16K /tmp/codecov.fCvqGF.gz 10:13:22 ==> Uploading reports 10:13:22 url: https://codecov.io 10:13:22 query: branch=napa&commit=2d91178305c2fdb466838f343222f56a000ebb2b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:22 -> Pinging Codecov 10:13:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=2d91178305c2fdb466838f343222f56a000ebb2b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:22 -> Uploading to 10:13:22 https://storage.googleapis.com/codecov/v4/raw/2024-05-31/4E5D53B4F1F92C436F7061BF334D961C/2d91178305c2fdb466838f343222f56a000ebb2b/51158e6f-c632-4212-9ab8-06c5c528aa90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T101322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07912fea4c00c9d5175c72d732f7221d75bb47b3e375b2822eba831ae1798b7a 10:13:22 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:22 Dload Upload Total Spent Left Speed 10:13:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14111 0 0 100 14111 0 60303 --:--:-- --:--:-- --:--:-- 60046 10:13:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } 10:13:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:13:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:13:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:23 10:13:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:23 latest: Pulling from edgex-devops/edgex-snyk-go 10:13:23 619be1103602: Already exists 10:13:23 f8ea3408117e: Pulling fs layer 10:13:23 91320369b822: Pulling fs layer 10:13:23 0406650e8295: Pulling fs layer 10:13:23 4f4fb700ef54: Pulling fs layer 10:13:23 96d80e3f36e1: Pulling fs layer 10:13:23 bcf3aedb951c: Pulling fs layer 10:13:23 96d80e3f36e1: Waiting 10:13:23 4f4fb700ef54: Waiting 10:13:23 bcf3aedb951c: Waiting 10:13:23 0406650e8295: Verifying Checksum 10:13:23 0406650e8295: Download complete 10:13:23 f8ea3408117e: Verifying Checksum 10:13:23 f8ea3408117e: Download complete 10:13:23 4f4fb700ef54: Verifying Checksum 10:13:23 4f4fb700ef54: Download complete 10:13:23 f8ea3408117e: Pull complete 10:13:24 96d80e3f36e1: Verifying Checksum 10:13:24 91320369b822: Verifying Checksum 10:13:24 91320369b822: Download complete 10:13:24 bcf3aedb951c: Verifying Checksum 10:13:24 bcf3aedb951c: Download complete 10:13:27 91320369b822: Pull complete 10:13:27 0406650e8295: Pull complete 10:13:27 4f4fb700ef54: Pull complete 10:13:27 96d80e3f36e1: Pull complete 10:13:30 bcf3aedb951c: Pull complete 10:13:30 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 10:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:30 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 10:13:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 10:13:37 $ docker top 5d1ef8a27e764ac540aa42b19a95bbf911918dfdbd5962da47a1435dfe7650ed -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] echo 10:13:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:napa' [Pipeline] sh 10:13:37 + set -o pipefail 10:13:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:napa' 10:13:40 10:13:40 Monitoring /w/workspace/edgexfoundry_device-rest-go_napa (github.com/edgexfoundry/device-rest-go)... 10:13:40 10:13:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6a24142c-bddd-4b89-b932-8b99182fe61d/history/65063bd2-438c-4e2d-821e-38a3b93145d3 10:13:40 10:13:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:13:40 10:13:40 10:13:40 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:13:40 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:13:40 $ docker stop --time=1 5d1ef8a27e764ac540aa42b19a95bbf911918dfdbd5962da47a1435dfe7650ed 10:13:42 $ docker rm -f --volumes 5d1ef8a27e764ac540aa42b19a95bbf911918dfdbd5962da47a1435dfe7650ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:43 + git log --format=format:%s -1 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] sh 10:13:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:13:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:43 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 10:13:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:13:44 $ docker top dc3c3f45bd63c7e36eb4d74996b92656eea670726856419c973bbf18d8ce2508 -eo pid,comm 10:13: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). 10:13:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:13:44 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:44 + git semver [Pipeline] } 10:13:44 $ docker stop --time=1 dc3c3f45bd63c7e36eb4d74996b92656eea670726856419c973bbf18d8ce2508 10:13:46 $ docker rm -f --volumes dc3c3f45bd63c7e36eb4d74996b92656eea670726856419c973bbf18d8ce2508 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:46 10:13:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:47 0.23.1-centos7: Pulling from edgex-lftools 10:13:47 ab5ef0e58194: Pulling fs layer 10:13:47 9712f1f96733: Pulling fs layer 10:13:47 63f879dbbcfc: Pulling fs layer 10:13:47 0d9ebad4ef96: Pulling fs layer 10:13:47 e9a5061849ea: Pulling fs layer 10:13:47 d747dcd14b5f: Pulling fs layer 10:13:47 2de7ff778b66: Pulling fs layer 10:13:47 0d9ebad4ef96: Waiting 10:13:47 e9a5061849ea: Waiting 10:13:47 d747dcd14b5f: Waiting 10:13:47 2de7ff778b66: Waiting 10:13:47 9712f1f96733: Download complete 10:13:47 63f879dbbcfc: Verifying Checksum 10:13:47 63f879dbbcfc: Download complete 10:13:47 e9a5061849ea: Verifying Checksum 10:13:47 e9a5061849ea: Download complete 10:13:47 d747dcd14b5f: Verifying Checksum 10:13:47 d747dcd14b5f: Download complete 10:13:47 0d9ebad4ef96: Verifying Checksum 10:13:47 0d9ebad4ef96: Download complete 10:13:47 ab5ef0e58194: Download complete 10:13:47 2de7ff778b66: Verifying Checksum 10:13:47 2de7ff778b66: Download complete 10:13:50 ab5ef0e58194: Pull complete 10:13:50 9712f1f96733: Pull complete 10:13:50 63f879dbbcfc: Pull complete 10:13:55 0d9ebad4ef96: Pull complete 10:13:55 e9a5061849ea: Pull complete 10:13:55 d747dcd14b5f: Pull complete 10:13:55 2de7ff778b66: Pull complete 10:13:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:55 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 10:13:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:14:03 $ docker top ec939f6a06ecf25bd2eb2fd33f0542fa1ead5b3290dd979d932a7cf2727c0f4a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:14:03 provisioning config files... 10:14:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config16651293534842194461tmp 10:14:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config15398136927454006893tmp 10:14:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3377792920324133219tmp [Pipeline] { [Pipeline] echo 10:14:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:14:04 ---> sigul-configuration.sh 10:14:04 gpg: directory `/root/.gnupg' created 10:14:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:14:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:14:04 gpg: keyring `/root/.gnupg/secring.gpg' created 10:14:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:14:04 gpg: CAST5 encrypted data 10:14:04 gpg: encrypted with 1 passphrase 10:14:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:14:04 + mkdir /home/jenkins 10:14:04 + mkdir /home/jenkins/sigul [Pipeline] sh 10:14:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:14:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:14:05 ---> sigul-install.sh 10:14:05 Sigul already installed; skipping installation. [Pipeline] sh 10:14:05 + git tag --list 10:14:05 v1.0.0 10:14:05 v1.1.0 10:14:05 v1.1.1 10:14:05 v1.1.2 10:14:05 v1.2.0 10:14:05 v1.2.1 10:14:05 v2.0.0 10:14:05 v2.1.0 10:14:05 v2.1.1 10:14:05 v2.2.0 10:14:05 v2.3.0 10:14:05 v3.0 10:14:05 v3.0.0 10:14:05 v3.1 10:14:05 v3.1.0 10:14:05 v3.1.0-dev.1 10:14:05 v3.1.0-dev.10 10:14:05 v3.1.0-dev.11 10:14:05 v3.1.0-dev.12 10:14:05 v3.1.0-dev.13 10:14:05 v3.1.0-dev.14 10:14:05 v3.1.0-dev.15 10:14:05 v3.1.0-dev.16 10:14:05 v3.1.0-dev.17 10:14:05 v3.1.0-dev.18 10:14:05 v3.1.0-dev.19 10:14:05 v3.1.0-dev.2 10:14:05 v3.1.0-dev.20 10:14:05 v3.1.0-dev.21 10:14:05 v3.1.0-dev.22 10:14:05 v3.1.0-dev.23 10:14:05 v3.1.0-dev.24 10:14:05 v3.1.0-dev.25 10:14:05 v3.1.0-dev.26 10:14:05 v3.1.0-dev.27 10:14:05 v3.1.0-dev.28 10:14:05 v3.1.0-dev.29 10:14:05 v3.1.0-dev.3 10:14:05 v3.1.0-dev.30 10:14:05 v3.1.0-dev.31 10:14:05 v3.1.0-dev.32 10:14:05 v3.1.0-dev.4 10:14:05 v3.1.0-dev.5 10:14:05 v3.1.0-dev.6 10:14:05 v3.1.0-dev.7 10:14:05 v3.1.0-dev.8 10:14:05 v3.1.0-dev.9 10:14:05 v3.1.1 10:14:05 v3.2.0-dev.1 10:14:05 v3.2.0-dev.10 10:14:05 v3.2.0-dev.11 10:14:05 v3.2.0-dev.12 10:14:05 v3.2.0-dev.13 10:14:05 v3.2.0-dev.2 10:14:05 v3.2.0-dev.3 10:14:05 v3.2.0-dev.4 10:14:05 v3.2.0-dev.5 10:14:05 v3.2.0-dev.6 10:14:05 v3.2.0-dev.7 10:14:05 v3.2.0-dev.8 10:14:05 v3.2.0-dev.9 [Pipeline] sh 10:14:05 + lftools sign git-tag v3.1.1 10:14:06 Signing Git tag with Sigul... 10:14:06 Signing v3.1.1 [Pipeline] echo 10:14:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:14:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:14:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:14:06 $ docker stop --time=1 ec939f6a06ecf25bd2eb2fd33f0542fa1ead5b3290dd979d932a7cf2727c0f4a 10:14:08 $ docker rm -f --volumes ec939f6a06ecf25bd2eb2fd33f0542fa1ead5b3290dd979d932a7cf2727c0f4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:14:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:08 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 10:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:14:09 $ docker top c4639f54d59318b4e36f67f3f0480849570bfb029e5cc3bb91f23b92abdc9b2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:09 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:09 + git semver [Pipeline] } 10:14:10 $ docker stop --time=1 c4639f54d59318b4e36f67f3f0480849570bfb029e5cc3bb91f23b92abdc9b2a 10:14:11 $ docker rm -f --volumes c4639f54d59318b4e36f67f3f0480849570bfb029e5cc3bb91f23b92abdc9b2a [Pipeline] // withDockerContainer [Pipeline] sh 10:14:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:12 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 10:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:14:12 $ docker top eedd1683c5401766e228d1ba7cbf6ba9fad08cb56954984c60b81a435227a414 -eo pid,comm 10:14:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:14:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:12 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:12 + git semver [Pipeline] } 10:14:13 $ docker stop --time=1 eedd1683c5401766e228d1ba7cbf6ba9fad08cb56954984c60b81a435227a414 10:14:14 $ docker rm -f --volumes eedd1683c5401766e228d1ba7cbf6ba9fad08cb56954984c60b81a435227a414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:14:14 + [ -d /w/workspace/edgexfoundry_device-rest-go_napa/archives ] 10:14:14 + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives 10:14:14 total 16 10:14:14 drwxr-xr-x 3 root root 4096 May 31 09:43 . 10:14:14 drwxrwxr-x 11 jenkins jenkins 4096 May 31 10:14 .. 10:14:14 drwxr-xr-x 2 root root 4096 May 31 09:43 cost 10:14:14 -rw-r--r-- 1 root root 84 May 31 09:43 cost.csv 10:14:14 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_napa/archives 10:14:14 + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives 10:14:14 total 16 10:14:14 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:43 . 10:14:14 drwxrwxr-x 11 jenkins jenkins 4096 May 31 10:14 .. 10:14:14 drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:43 cost 10:14:14 -rw-r--r-- 1 jenkins jenkins 84 May 31 09:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:14:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:14:16 ---> package-listing.sh 10:14:16 ++ facter osfamily 10:14:16 ++ tr '[:upper:]' '[:lower:]' 10:14:16 + OS_FAMILY=debian 10:14:16 + workspace=/w/workspace/edgexfoundry_device-rest-go_napa 10:14:16 + START_PACKAGES=/tmp/packages_start.txt 10:14:16 + END_PACKAGES=/tmp/packages_end.txt 10:14:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:14:16 + PACKAGES=/tmp/packages_start.txt 10:14:16 + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' 10:14:16 + PACKAGES=/tmp/packages_end.txt 10:14:16 + case "${OS_FAMILY}" in 10:14:16 + dpkg -l 10:14:16 + grep '^ii' 10:14:16 + '[' -f /tmp/packages_start.txt ']' 10:14:16 + '[' -f /tmp/packages_end.txt ']' 10:14:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:14:16 + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' 10:14:16 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_napa/archives/ 10:14:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [Pipeline] echo 10:14: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/edgexfoundry_device-rest-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:14:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:17 prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container 10:14: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/edgexfoundry_device-rest-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:14:17 $ docker top ef158418f151b07eb4f80865dfa6453ea9e76077351b9e33549763b708b16245 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:17 + touch /tmp/pre-build-complete [Pipeline] sh 10:14:18 + mkdir -p /var/log/sysstat [Pipeline] sh 10:14:18 + ls /var/log/sa-host 10:14:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:18 provisioning config files... 10:14:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3519846190793752241tmp [Pipeline] { [Pipeline] echo 10:14:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:14:18 ---> create-netrc.sh [Pipeline] } 10:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:14:19 ---> python-tools-install.sh [Pipeline] echo 10:14:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:14:19 ---> sudo-logs.sh 10:14:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:14:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:14:19 ---> job-cost.sh 10:14:19 lf-activate-venv: SKIPPING 10:14:19 DEBUG: total: 0.2199999988079071 10:14:19 INFO: Retrieving Stack Cost... 10:14:20 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:20 INFO: Archiving Costs [Pipeline] echo 10:14:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:14:20 ---> logs-deploy.sh 10:14:20 lf-activate-venv: SKIPPING 10:14:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/napa/5 10:14:20 INFO: archiving workspace using pattern(s): 10:14:21 Archives upload complete. 10:14:21 INFO: archiving logs to Nexus