Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26dd2cd913d05f397b62e8034ff483e97214642e 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-ssh16507792340575819977.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh16735717574095925724.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh17883892368212950754.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh4807788131854232501.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-ssh9532241510135922680.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 Running on prd-ubuntu20.04-docker-8c-8g-687 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 > 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 Avoid second fetch Checking out Revision 26dd2cd913d05f397b62e8034ff483e97214642e (napa) Commit message: "Merge pull request #391 from cloudxxx8/bump-sdk-3.1.1" > git config core.sparsecheckout # timeout=10 > git checkout -f 26dd2cd913d05f397b62e8034ff483e97214642e # timeout=10 > git rev-list --no-walk 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:32:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:32:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:32:14 ========================================================= 08:32:14 EdgeX Global Pipelines Version Info 08:32:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:32:15 ------------------- 08:32:15 No tag info for: stable 08:32:15 ------------------- 08:32:15 experimental info: 08:32:15 ------------------- 08:32:15 Commited By: **** collab-it+edgex@linuxfoundation.org 08:32:15 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 08:32:15 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26dd2cd [Pipeline] echo 08:32:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:16 provisioning config files... 08:32:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config2818953506796529248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:16 ---> ****-login.sh 08:32:16 nexus3.edgexfoundry.org:10001 08:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:16 Configure a credential helper to remove this warning. See 08:32:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:16 08:32:16 Login Succeeded 08:32:16 nexus3.edgexfoundry.org:10002 08:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:16 Configure a credential helper to remove this warning. See 08:32:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:16 08:32:16 Login Succeeded 08:32:16 nexus3.edgexfoundry.org:10003 08:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:17 Configure a credential helper to remove this warning. See 08:32:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:17 08:32:17 Login Succeeded 08:32:17 nexus3.edgexfoundry.org:10004 08:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:17 Configure a credential helper to remove this warning. See 08:32:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:17 08:32:17 Login Succeeded 08:32:17 ****.io 08:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:17 Configure a credential helper to remove this warning. See 08:32:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:17 08:32:17 Login Succeeded 08:32:17 ---> ****-login.sh ends [Pipeline] } 08:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:32:17 + git rev-list -1 --merges 26dd2cd913d05f397b62e8034ff483e97214642e~1..26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo 08:32:17 -----------> git rev-list -1 --merges 26dd2cd913d05f397b62e8034ff483e97214642e~1..26dd2cd913d05f397b62e8034ff483e97214642e 26dd2cd913d05f397b62e8034ff483e97214642e 08:32:17 26dd2cd913d05f397b62e8034ff483e97214642e [false] [Pipeline] sh 08:32:18 + git log --format=format:%s -1 26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo 08:32:18 ========================================================= 08:32:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:32:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:32:18 + git log --format=format:%s -1 26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo 08:32:18 [semverPrep] GIT_COMMIT: 26dd2cd913d05f397b62e8034ff483e97214642e, Commit Message: Merge pull request #391 from cloudxxx8/bump-sdk-3.1.1 [Pipeline] echo 08:32:18 [semverPrep] This is not a build commit. [Pipeline] sh 08:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:32:18 + grep -v github /etc/ssh/ssh_known_hosts 08:32:18 + [ -e /tmp/ssh_known_hosts ] 08:32:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:32:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:32:18 + sudo tee -a /etc/ssh/ssh_known_hosts 08:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:19 08:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:19 0.1.4: Pulling from edgex-devops/py-git-semver 08:32:19 b85a868b505f: Pulling fs layer 08:32:19 e2be974225ed: Pulling fs layer 08:32:19 339a4e72a1f5: Pulling fs layer 08:32:19 988bab9f4d93: Pulling fs layer 08:32:19 1469e6f7b9e6: Pulling fs layer 08:32:19 eaf3925da568: Pulling fs layer 08:32:19 bab4dde63d76: Pulling fs layer 08:32:19 bde34c3a00c8: Pulling fs layer 08:32:19 b352a97aabf1: Pulling fs layer 08:32:19 4872d77fe225: Pulling fs layer 08:32:19 1469e6f7b9e6: Waiting 08:32:19 eaf3925da568: Waiting 08:32:19 bab4dde63d76: Waiting 08:32:19 bde34c3a00c8: Waiting 08:32:19 988bab9f4d93: Waiting 08:32:19 b352a97aabf1: Waiting 08:32:19 5851b861e8e6: Pulling fs layer 08:32:19 4872d77fe225: Waiting 08:32:19 e2be974225ed: Download complete 08:32:19 988bab9f4d93: Download complete 08:32:19 1469e6f7b9e6: Verifying Checksum 08:32:19 1469e6f7b9e6: Download complete 08:32:19 eaf3925da568: Verifying Checksum 08:32:19 eaf3925da568: Download complete 08:32:19 339a4e72a1f5: Verifying Checksum 08:32:19 339a4e72a1f5: Download complete 08:32:19 bde34c3a00c8: Verifying Checksum 08:32:19 b352a97aabf1: Verifying Checksum 08:32:19 b352a97aabf1: Download complete 08:32:19 4872d77fe225: Verifying Checksum 08:32:19 4872d77fe225: Download complete 08:32:19 5851b861e8e6: Verifying Checksum 08:32:19 5851b861e8e6: Download complete 08:32:19 b85a868b505f: Download complete 08:32:20 bab4dde63d76: Verifying Checksum 08:32:20 bab4dde63d76: Download complete 08:32:20 b85a868b505f: Pull complete 08:32:21 e2be974225ed: Pull complete 08:32:21 339a4e72a1f5: Pull complete 08:32:21 988bab9f4d93: Pull complete 08:32:22 1469e6f7b9e6: Pull complete 08:32:22 eaf3925da568: Pull complete 08:32:23 bab4dde63d76: Pull complete 08:32:23 bde34c3a00c8: Pull complete 08:32:24 b352a97aabf1: Pull complete 08:32:24 4872d77fe225: Pull complete 08:32:24 5851b861e8e6: Pull complete 08:32:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:32:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:32:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:24 prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container 08:32:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:32:27 $ docker top d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 -eo pid,comm 08:32:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:32:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:27 [ssh-agent] Looking for ssh-agent implementation... 08:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:27 $ docker exec d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent 08:32:27 SSH_AUTH_SOCK=/tmp/ssh-UWrZxeSeC4d6/agent.31 08:32:27 SSH_AGENT_PID=37 08:32:27 Running ssh-add (command line suppressed) 08:32:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4550706509343490339.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4550706509343490339.key) 08:32:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:28 + git tag --points-at HEAD [Pipeline] } 08:32:28 $ docker exec --env ******** --env ******** d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent -k 08:32:28 unset SSH_AUTH_SOCK; 08:32:28 unset SSH_AGENT_PID; 08:32:28 echo Agent pid 37 killed; 08:32:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:32:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:28 [ssh-agent] Looking for ssh-agent implementation... 08:32:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:28 $ docker exec d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent 08:32:28 SSH_AUTH_SOCK=/tmp/ssh-cO3yRA01eRs5/agent.70 08:32:28 SSH_AGENT_PID=76 08:32:28 Running ssh-add (command line suppressed) 08:32:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4942176710411121027.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4942176710411121027.key) 08:32:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:29 + git semver init 08:32:29 2024-05-24 08:32:29,320 [run_init] DEBUG init version:0.0.0 force:False 08:32:29 2024-05-24 08:32:29,321 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_napa/.semver 08:32:29 2024-05-24 08:32:29,322 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_napa/.semver 08:32:29 2024-05-24 08:32:29,322 [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) 08:32:31 2024-05-24 08:32:30,850 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_napa/.git/info/exclude 08:32:31 2024-05-24 08:32:30,850 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa with force:False 08:32:31 2024-05-24 08:32:30,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa 08:32:31 2024-05-24 08:32:30,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa 08:32:31 3.1.1-dev.1 [Pipeline] } 08:32:31 $ docker exec --env ******** --env ******** d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent -k 08:32:31 unset SSH_AUTH_SOCK; 08:32:31 unset SSH_AGENT_PID; 08:32:31 echo Agent pid 76 killed; 08:32:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:31 + git semver [Pipeline] } 08:32:32 $ docker stop --time=1 d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 08:32:33 $ docker rm -f --volumes d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 [Pipeline] // withDockerContainer [Pipeline] sh 08:32:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:32:33 Stashed 1 file(s) [Pipeline] echo 08:32:33 [edgeXSemver]: initialized semver on version 3.1.1-dev.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] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:34 provisioning config files... 08:32:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config10310628969257737718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:34 ---> ****-login.sh 08:32:34 nexus3.edgexfoundry.org:10001 08:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:34 Configure a credential helper to remove this warning. See 08:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:34 08:32:34 Login Succeeded 08:32:34 nexus3.edgexfoundry.org:10002 08:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:34 Configure a credential helper to remove this warning. See 08:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:34 08:32:34 Login Succeeded 08:32:34 nexus3.edgexfoundry.org:10003 08:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:34 Configure a credential helper to remove this warning. See 08:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:34 08:32:34 Login Succeeded 08:32:34 nexus3.edgexfoundry.org:10004 08:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:34 Configure a credential helper to remove this warning. See 08:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:34 08:32:34 Login Succeeded 08:32:34 ****.io 08:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:34 Configure a credential helper to remove this warning. See 08:32:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:34 08:32:34 Login Succeeded 08:32:34 ---> ****-login.sh ends [Pipeline] } 08:32:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:32:35 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 08:32:35 + grep ^go [0-9].[0-9]* go.mod 08:32:35 + cut -d -f 2 [Pipeline] echo 08:32:35 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:32:35 ========================================================= 08:32:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 08:32:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:35 + 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 . 08:32:35 Sending build context to Docker daemon 45.78MB 08:32:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:32:35 Step 2/12 : FROM ${BASE} AS builder 08:32:36 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 08:32:36 619be1103602: Pulling fs layer 08:32:36 7862e08f4a3e: Pulling fs layer 08:32:36 5df492c9dc93: Pulling fs layer 08:32:36 7629e6793208: Pulling fs layer 08:32:36 4f4fb700ef54: Pulling fs layer 08:32:36 8de7f028bff5: Pulling fs layer 08:32:36 44042ff1420b: Pulling fs layer 08:32:36 5cdaf54b7214: Pulling fs layer 08:32:36 38f3e5a9071a: Pulling fs layer 08:32:36 7629e6793208: Waiting 08:32:36 4f4fb700ef54: Waiting 08:32:36 8de7f028bff5: Waiting 08:32:36 44042ff1420b: Waiting 08:32:36 5cdaf54b7214: Waiting 08:32:36 38f3e5a9071a: Waiting 08:32:36 7862e08f4a3e: Verifying Checksum 08:32:36 7862e08f4a3e: Download complete 08:32:36 7629e6793208: Verifying Checksum 08:32:36 7629e6793208: Download complete 08:32:36 4f4fb700ef54: Download complete 08:32:36 619be1103602: Verifying Checksum 08:32:36 619be1103602: Download complete 08:32:36 8de7f028bff5: Download complete 08:32:36 44042ff1420b: Verifying Checksum 08:32:36 44042ff1420b: Download complete 08:32:36 619be1103602: Pull complete 08:32:36 38f3e5a9071a: Verifying Checksum 08:32:36 38f3e5a9071a: Download complete 08:32:36 7862e08f4a3e: Pull complete 08:32:36 5df492c9dc93: Verifying Checksum 08:32:36 5df492c9dc93: Download complete 08:32:37 5cdaf54b7214: Verifying Checksum 08:32:37 5cdaf54b7214: Download complete 08:32:40 5df492c9dc93: Pull complete 08:32:40 7629e6793208: Pull complete 08:32:40 4f4fb700ef54: Pull complete 08:32:40 8de7f028bff5: Pull complete 08:32:40 44042ff1420b: Pull complete 08:32:43 5cdaf54b7214: Pull complete 08:32:43 38f3e5a9071a: Pull complete 08:32:43 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 08:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 08:32:43 ---> 60b93f829570 08:32:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:32:47 ---> Running in 85300ab46011 08:32:47 Removing intermediate container 85300ab46011 08:32:47 ---> c5edfd66ea71 08:32:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:32:47 ---> Running in 3c4057a0a208 08:32:47 Removing intermediate container 3c4057a0a208 08:32:47 ---> b471da376a14 08:32:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:32:47 ---> Running in be2241ed3f5c 08:32:47 Removing intermediate container be2241ed3f5c 08:32:47 ---> f545823aa0d1 08:32:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:32:47 ---> Running in 058cc2327d3c 08:32:47 Removing intermediate container 058cc2327d3c 08:32:47 ---> 13b59bbf88f8 08:32:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:32:47 ---> Running in ad9c5aa385f0 08:32:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:32:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:32:48 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:32:48 (2/4) Installing libedit (20221030.3.1-r1) 08:32:48 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:32:48 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:32:48 Executing busybox-1.36.1-r5.trigger 08:32:48 OK: 268 MiB in 56 packages 08:32:49 Still waiting to schedule task 08:32:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:32:49 Removing intermediate container ad9c5aa385f0 08:32:49 ---> 15ffce5febee 08:32:49 Step 8/12 : WORKDIR /device-rest-go 08:32:49 ---> Running in 11fe322bb864 08:32:49 Removing intermediate container 11fe322bb864 08:32:49 ---> 35d4b0ec15fb 08:32:49 Step 9/12 : COPY go.mod vendor* ./ 08:32:51 ---> 2233f0176e72 08:32:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:32:51 ---> Running in dcb3a1f28a27 08:33:13 Removing intermediate container dcb3a1f28a27 08:33:13 ---> 1c37a01d54db 08:33:13 Step 11/12 : COPY . . 08:33:14 ---> 3d0e9dbdeacc 08:33:14 Step 12/12 : RUN $MAKE 08:33:14 ---> Running in c5816a345b1a 08:33:14 noop 08:33:15 Removing intermediate container c5816a345b1a 08:33:15 ---> ff5cdf3ae964 08:33:15 Successfully built ff5cdf3ae964 08:33:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:15 + docker inspect -f . ci-base-image-x86_64 08:33:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:15 prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container 08:33:15 $ 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 ******** ci-base-image-x86_64 cat 08:33:15 $ docker top b831594a9db38de5f3d49a07f112fab168243d75cca73a12c1c5b59e89f3d133 -eo pid,comm [Pipeline] { [Pipeline] sh 08:33:16 + go version 08:33:16 go version go1.21.9 linux/amd64 [Pipeline] } 08:33:16 $ docker stop --time=1 b831594a9db38de5f3d49a07f112fab168243d75cca73a12c1c5b59e89f3d133 08:33:17 $ docker rm -f --volumes b831594a9db38de5f3d49a07f112fab168243d75cca73a12c1c5b59e89f3d133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:17 + docker inspect -f . ci-base-image-x86_64 08:33:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:18 prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container 08:33:18 $ 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 ******** ci-base-image-x86_64 cat 08:33:18 $ docker top 20d17ae2661c7ec255718eb7e207961a3499042515d1b6b17ffb56372a0961df -eo pid,comm [Pipeline] { [Pipeline] sh 08:33:18 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] fileExists [Pipeline] sh 08:33:19 + make test 08:33:19 go test ./... -coverprofile=coverage.out ./... 08:33:20 ? github.com/edgexfoundry/device-rest-go [no test files] 08:33:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:33:32 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements 08:33:39 go vet ./... 08:33:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:33:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:33:43 ./bin/test-attribution-txt.sh [Pipeline] echo 08:33:43 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:33:43 + go mod tidy [Pipeline] } 08:33:44 $ docker stop --time=1 20d17ae2661c7ec255718eb7e207961a3499042515d1b6b17ffb56372a0961df 08:33:47 $ docker rm -f --volumes 20d17ae2661c7ec255718eb7e207961a3499042515d1b6b17ffb56372a0961df [Pipeline] // withDockerContainer [Pipeline] sh 08:33:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:33:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:48 + ls -al . 08:33:48 total 184 08:33:48 drwxrwxr-x 10 jenkins jenkins 4096 May 24 08:33 . 08:33:48 drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:32 .. 08:33:48 -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:32 .dockerignore 08:33:48 drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:33 .git 08:33:48 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:32 .github 08:33:48 -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:32 .gitignore 08:33:48 -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:32 .golangci.yml 08:33:48 drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:32 .semver 08:33:48 -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:32 Attribution.txt 08:33:48 -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:32 CHANGELOG.md 08:33:48 -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:32 Dockerfile 08:33:48 -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:32 GOVERNANCE.md 08:33:48 -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:32 Jenkinsfile 08:33:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:32 LICENSE 08:33:48 -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:32 Makefile 08:33:48 -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:32 OWNERS.md 08:33:48 -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:32 README.md 08:33:48 -rw-rw-r-- 1 jenkins jenkins 11 May 24 08:32 VERSION 08:33:48 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:32 bin 08:33:48 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:32 cmd 08:33:48 -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:33 coverage.out 08:33:48 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:32 driver 08:33:48 -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:32 go.mod 08:33:48 -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:32 go.sum 08:33:48 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:32 openapi 08:33:48 drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:32 vendor 08:33:48 -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:49 + 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=26dd2cd913d05f397b62e8034ff483e97214642e --label arch=amd64 --label version=3.1.1-dev.1 . 08:33:49 Sending build context to Docker daemon 45.8MB 08:33:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:33:49 Step 2/26 : FROM ${BASE} AS builder 08:33:49 ---> ff5cdf3ae964 08:33:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:33:50 ---> Running in 82151391ab9f 08:33:50 Removing intermediate container 82151391ab9f 08:33:50 ---> 23bb95485722 08:33:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:33:50 ---> Running in ae91cf189be3 08:33:50 Removing intermediate container ae91cf189be3 08:33:50 ---> acd18229640c 08:33:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:33:50 ---> Running in 5f3ec94893a9 08:33:50 Removing intermediate container 5f3ec94893a9 08:33:50 ---> 94e1d04f9706 08:33:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:33:50 ---> Running in 989d05c1bd05 08:33:50 Removing intermediate container 989d05c1bd05 08:33:50 ---> a441c23d3507 08:33:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:33:50 ---> Running in df8625c6e42e 08:33:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:33:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:33:50 OK: 268 MiB in 56 packages 08:33:51 Removing intermediate container df8625c6e42e 08:33:51 ---> 605538b0df4a 08:33:51 Step 8/26 : WORKDIR /device-rest-go 08:33:51 ---> Running in 4bf6a80c2132 08:33:51 Removing intermediate container 4bf6a80c2132 08:33:51 ---> 9b9b5622e065 08:33:51 Step 9/26 : COPY go.mod vendor* ./ 08:33:53 ---> 223e13021fb1 08:33:53 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:33:53 ---> Running in f0b4d55ac536 08:33:53 skipping... 08:33:53 Removing intermediate container f0b4d55ac536 08:33:53 ---> ae072c35714b 08:33:53 Step 11/26 : COPY . . 08:33:55 ---> af85d17e32b7 08:33:55 Step 12/26 : RUN $MAKE 08:33:55 ---> Running in 994518cfbd74 08:33:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 08:34:18 Removing intermediate container 994518cfbd74 08:34:18 ---> c8ba5b4622b2 08:34:18 Step 13/26 : FROM alpine:3.18 08:34:18 3.18: Pulling from library/alpine 08:34:18 619be1103602: Already exists 08:34:18 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:34:18 Status: Downloaded newer image for alpine:3.18 08:34:18 ---> d3782b16ccc9 08:34:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:34:18 ---> Running in 952a97614270 08:34:18 Removing intermediate container 952a97614270 08:34:18 ---> e82113542b16 08:34:18 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:34:18 ---> Running in 384f7cea84d3 08:34:18 Removing intermediate container 384f7cea84d3 08:34:18 ---> b70b5d655fd8 08:34:18 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:34:18 ---> Running in 6f4428902516 08:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:34:18 (1/1) Installing dumb-init (1.2.5-r2) 08:34:18 Executing busybox-1.36.1-r5.trigger 08:34:18 OK: 7 MiB in 16 packages 08:34:18 Removing intermediate container 6f4428902516 08:34:18 ---> bf78e5ea17df 08:34:18 Step 17/26 : RUN apk --no-cache upgrade 08:34:18 ---> Running in 6d5ed1348f77 08:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:34:18 Upgrading critical system libraries and apk-tools: 08:34:18 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:34:18 Executing busybox-1.36.1-r5.trigger 08:34:18 Continuing the upgrade transaction with new apk-tools: 08:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:34:18 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:34:18 Executing busybox-1.36.1-r6.post-upgrade 08:34:18 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:34:18 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:34:18 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:34:18 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:34:18 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:34:18 Executing busybox-1.36.1-r6.trigger 08:34:18 OK: 7 MiB in 16 packages 08:34:18 Removing intermediate container 6d5ed1348f77 08:34:18 ---> 8ad63c3971a6 08:34:18 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:34:19 ---> 4e07b992344a 08:34:19 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:34:19 ---> 6ddf1e327a11 08:34:19 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:34:19 ---> b6b156204d6a 08:34:19 Step 21/26 : EXPOSE 59986 08:34:19 ---> Running in 7a6b8b7e38b8 08:34:19 Removing intermediate container 7a6b8b7e38b8 08:34:19 ---> f82e3d82e305 08:34:19 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:34:19 ---> Running in 13725579e90a 08:34:19 Removing intermediate container 13725579e90a 08:34:19 ---> ba25456e0054 08:34:19 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:34:19 ---> Running in 2d1d149c98aa 08:34:19 Removing intermediate container 2d1d149c98aa 08:34:19 ---> 07123660b447 08:34:19 Step 24/26 : LABEL arch=amd64 08:34:19 ---> Running in aa226c6079dd 08:34:19 Removing intermediate container aa226c6079dd 08:34:19 ---> 8f74a9a852a7 08:34:19 Step 25/26 : LABEL git_sha=26dd2cd913d05f397b62e8034ff483e97214642e 08:34:19 ---> Running in 53367e0d1b99 08:34:20 Removing intermediate container 53367e0d1b99 08:34:20 ---> 641e52f1d96b 08:34:20 Step 26/26 : LABEL version=3.1.1-dev.1 08:34:20 ---> Running in a3e784bc144b 08:34:20 Removing intermediate container a3e784bc144b 08:34:20 ---> f85e4ec33017 08:34:20 [Warning] One or more build-args [ARCH] were not consumed 08:34:20 Successfully built f85e4ec33017 08:34:20 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:20 provisioning config files... 08:34:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config12934402066181950677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:20 ---> ****-login.sh 08:34:20 nexus3.edgexfoundry.org:10001 08:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:20 Configure a credential helper to remove this warning. See 08:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:20 08:34:20 Login Succeeded 08:34:20 nexus3.edgexfoundry.org:10002 08:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:20 Configure a credential helper to remove this warning. See 08:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:20 08:34:20 Login Succeeded 08:34:20 nexus3.edgexfoundry.org:10003 08:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:20 Configure a credential helper to remove this warning. See 08:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:20 08:34:20 Login Succeeded 08:34:20 nexus3.edgexfoundry.org:10004 08:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:20 Configure a credential helper to remove this warning. See 08:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:20 08:34:20 Login Succeeded 08:34:20 ****.io 08:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:21 Configure a credential helper to remove this warning. See 08:34:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:21 08:34:21 Login Succeeded 08:34:21 ---> ****-login.sh ends [Pipeline] } 08:34:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:34:21 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:34:21 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:34:21 26dd2cd913d05f397b62e8034ff483e97214642e 08:34:21 3.1.1-dev.1 08:34:21 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 08:34:21 napa 08:34:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e 08:34:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:34:22 01213d675556: Preparing 08:34:22 341ec37a283c: Preparing 08:34:22 f8dff51cbebb: Preparing 08:34:22 fa405496c0bd: Preparing 08:34:22 6a68f6c3698a: Preparing 08:34:22 aedc3bda2944: Preparing 08:34:22 aedc3bda2944: Waiting 08:34:22 01213d675556: Pushed 08:34:22 6a68f6c3698a: Pushed 08:34:22 341ec37a283c: Pushed 08:34:22 aedc3bda2944: Layer already exists 08:34:23 fa405496c0bd: Pushed 08:34:25 f8dff51cbebb: Pushed 08:34:25 26dd2cd913d05f397b62e8034ff483e97214642e: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.1-dev.1 08:34:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:34:26 01213d675556: Preparing 08:34:26 341ec37a283c: Preparing 08:34:26 f8dff51cbebb: Preparing 08:34:26 fa405496c0bd: Preparing 08:34:26 6a68f6c3698a: Preparing 08:34:26 aedc3bda2944: Preparing 08:34:26 01213d675556: Layer already exists 08:34:26 341ec37a283c: Layer already exists 08:34:26 f8dff51cbebb: Layer already exists 08:34:26 fa405496c0bd: Layer already exists 08:34:26 6a68f6c3698a: Layer already exists 08:34:26 aedc3bda2944: Layer already exists 08:34:26 3.1.1-dev.1: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 08:34:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:34:26 01213d675556: Preparing 08:34:26 341ec37a283c: Preparing 08:34:26 f8dff51cbebb: Preparing 08:34:26 fa405496c0bd: Preparing 08:34:26 6a68f6c3698a: Preparing 08:34:26 aedc3bda2944: Preparing 08:34:26 aedc3bda2944: Waiting 08:34:26 f8dff51cbebb: Layer already exists 08:34:26 6a68f6c3698a: Layer already exists 08:34:26 341ec37a283c: Layer already exists 08:34:26 01213d675556: Layer already exists 08:34:26 fa405496c0bd: Layer already exists 08:34:26 aedc3bda2944: Layer already exists 08:34:26 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:napa 08:34:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:34:27 01213d675556: Preparing 08:34:27 341ec37a283c: Preparing 08:34:27 f8dff51cbebb: Preparing 08:34:27 fa405496c0bd: Preparing 08:34:27 6a68f6c3698a: Preparing 08:34:27 aedc3bda2944: Preparing 08:34:27 aedc3bda2944: Waiting 08:34:27 341ec37a283c: Layer already exists 08:34:27 6a68f6c3698a: Layer already exists 08:34:27 fa405496c0bd: Layer already exists 08:34:27 01213d675556: Layer already exists 08:34:27 f8dff51cbebb: Layer already exists 08:34:27 aedc3bda2944: Layer already exists 08:34:27 napa: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:34:27 ===================================================== [Pipeline] echo 08:34:27 taggedImages: 08:34:27 - nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e 08:34:27 - nexus3.edgexfoundry.org:10004/device-rest:3.1.1-dev.1 08:34:27 - nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 08:34:27 - 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 08:34:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:28 08:34:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:28 latest: Pulling from edgex-lftools-log-publisher 08:34:28 5eb5b503b376: Pulling fs layer 08:34:28 5c69ac0246d0: Pulling fs layer 08:34:28 ec43610c2a17: Pulling fs layer 08:34:28 3a2ae6a8a46f: Pulling fs layer 08:34:28 33b1e0a273af: Pulling fs layer 08:34:28 5d3b04190fa2: Pulling fs layer 08:34:28 2f39f015ded8: Pulling fs layer 08:34:28 33b1e0a273af: Waiting 08:34:28 5d3b04190fa2: Waiting 08:34:28 2f39f015ded8: Waiting 08:34:28 3a2ae6a8a46f: Waiting 08:34:28 5c69ac0246d0: Verifying Checksum 08:34:28 5c69ac0246d0: Download complete 08:34:28 3a2ae6a8a46f: Download complete 08:34:28 33b1e0a273af: Verifying Checksum 08:34:28 33b1e0a273af: Download complete 08:34:28 5d3b04190fa2: Verifying Checksum 08:34:28 5d3b04190fa2: Download complete 08:34:28 ec43610c2a17: Verifying Checksum 08:34:28 ec43610c2a17: Download complete 08:34:28 5eb5b503b376: Verifying Checksum 08:34:28 5eb5b503b376: Download complete 08:34:29 2f39f015ded8: Download complete 08:34:29 5eb5b503b376: Pull complete 08:34:29 5c69ac0246d0: Pull complete 08:34:30 ec43610c2a17: Pull complete 08:34:30 3a2ae6a8a46f: Pull complete 08:34:30 33b1e0a273af: Pull complete 08:34:30 5d3b04190fa2: Pull complete 08:34:34 2f39f015ded8: Pull complete 08:34:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:34 prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container 08:34:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:34:37 $ docker top e3d890a0bd19af0e2f7a1be76c5a2a55d5dbe23ed18ace37fc2f4190c6027cbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:38 ---> job-cost.sh 08:34:38 lf-activate-venv: SKIPPING 08:34:38 INFO: No Stack... 08:34:38 INFO: Retrieving Pricing Info for: v3-standard-8 08:34:38 INFO: Archiving Costs [Pipeline] sh 08:34:38 + cat /w/workspace/edgexfoundry_device-rest-go_napa/archives/cost.csv 08:34:38 + cut -d, -f6 [Pipeline] lock 08:34:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] 08:34:38 Resource [jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] did not exist. Created. 08:34:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:34:39 + echo total: 0.2199999988079071 [Pipeline] stash 08:34:39 Stashed 1 file(s) [Pipeline] } 08:34:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:34:39 $ docker stop --time=1 e3d890a0bd19af0e2f7a1be76c5a2a55d5dbe23ed18ace37fc2f4190c6027cbd 08:34:40 $ docker rm -f --volumes e3d890a0bd19af0e2f7a1be76c5a2a55d5dbe23ed18ace37fc2f4190c6027cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:35:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-689 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] ws 08:35:31 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 08:35:31 The recommended git tool is: git 08:35:36 using credential edgex-jenkins-ssh 08:35:36 Cloning the remote Git repository 08:35:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:35:36 > git init /w/workspace/device-rest-go/3 # timeout=10 08:35:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:35:37 > git --version # timeout=10 08:35:37 > git --version # 'git version 2.25.1' 08:35:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:35:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:41 Avoid second fetch 08:35:41 Checking out Revision 26dd2cd913d05f397b62e8034ff483e97214642e (napa) 08:35:41 > git config core.sparsecheckout # timeout=10 08:35:41 > git checkout -f 26dd2cd913d05f397b62e8034ff483e97214642e # timeout=10 08:35:42 Commit message: "Merge pull request #391 from cloudxxx8/bump-sdk-3.1.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:35:47 % Total % Received % Xferd Average Speed Time Time Time Current 08:35:47 Dload Upload Total Spent Left Speed 08:35:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 08:35:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:35:48 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 08:35:48 08:35:48 { 08:35:48 "registry-mirrors": [ 08:35:48 "https://nexus3.edgexfoundry.org:10001" 08:35:48 ], 08:35:48 "bip": "10.250.0.254/24", 08:35:48 "hosts": [ 08:35:48 "tcp://0.0.0.0:5555", 08:35:48 "unix:///var/run/docker.sock" 08:35:48 ], 08:35:48 "mtu": 1458, 08:35:48 "selinux-enabled": true, 08:35:48 "seccomp-profile": "/etc/docker/seccomp.json" 08:35:48 } [Pipeline] sh 08:35:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:35:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:06 provisioning config files... 08:36:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3336962226606342369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:07 ---> ****-login.sh 08:36:07 nexus3.edgexfoundry.org:10001 08:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:08 Configure a credential helper to remove this warning. See 08:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:08 08:36:08 Login Succeeded 08:36:08 nexus3.edgexfoundry.org:10002 08:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:08 Configure a credential helper to remove this warning. See 08:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:08 08:36:08 Login Succeeded 08:36:08 nexus3.edgexfoundry.org:10003 08:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:08 Configure a credential helper to remove this warning. See 08:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:08 08:36:08 Login Succeeded 08:36:08 nexus3.edgexfoundry.org:10004 08:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:09 Configure a credential helper to remove this warning. See 08:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:09 08:36:09 Login Succeeded 08:36:09 ****.io 08:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:09 Configure a credential helper to remove this warning. See 08:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:09 08:36:09 Login Succeeded 08:36:09 ---> ****-login.sh ends [Pipeline] } 08:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:36:09 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 08:36:10 + grep ^go [0-9].[0-9]* go.mod 08:36:10 + cut -d -f 2 [Pipeline] echo 08:36:10 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:36:10 ========================================================= 08:36:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 08:36:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:10 + 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 . 08:36:12 Sending build context to Docker daemon 27.75MB 08:36:12 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:36:12 Step 2/12 : FROM ${BASE} AS builder 08:36:12 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 08:36:12 c6b39de5b339: Pulling fs layer 08:36:12 a69c41024577: Pulling fs layer 08:36:12 d6de4b400683: Pulling fs layer 08:36:12 35cb2a7552d0: Pulling fs layer 08:36:12 4f4fb700ef54: Pulling fs layer 08:36:12 9e011611b7f5: Pulling fs layer 08:36:12 3bd174042beb: Pulling fs layer 08:36:12 4476f39b5e91: Pulling fs layer 08:36:12 4f4fb700ef54: Waiting 08:36:12 3bd174042beb: Waiting 08:36:12 9e011611b7f5: Waiting 08:36:12 35cb2a7552d0: Waiting 08:36:12 4476f39b5e91: Waiting 08:36:12 a69c41024577: Verifying Checksum 08:36:12 a69c41024577: Download complete 08:36:12 35cb2a7552d0: Verifying Checksum 08:36:12 35cb2a7552d0: Download complete 08:36:12 4f4fb700ef54: Verifying Checksum 08:36:12 4f4fb700ef54: Download complete 08:36:12 9e011611b7f5: Verifying Checksum 08:36:12 9e011611b7f5: Download complete 08:36:12 c6b39de5b339: Verifying Checksum 08:36:12 c6b39de5b339: Download complete 08:36:13 4476f39b5e91: Verifying Checksum 08:36:13 4476f39b5e91: Download complete 08:36:13 c6b39de5b339: Pull complete 08:36:14 a69c41024577: Pull complete 08:36:15 d6de4b400683: Verifying Checksum 08:36:15 d6de4b400683: Download complete 08:36:15 3bd174042beb: Verifying Checksum 08:36:15 3bd174042beb: Download complete 08:36:28 d6de4b400683: Pull complete 08:36:28 35cb2a7552d0: Pull complete 08:36:28 4f4fb700ef54: Pull complete 08:36:28 9e011611b7f5: Pull complete 08:36:36 3bd174042beb: Pull complete 08:36:38 4476f39b5e91: Pull complete 08:36:38 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 08:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 08:36:38 ---> 981a0608b64a 08:36:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:36:40 ---> Running in a0a3b8032368 08:36:40 Removing intermediate container a0a3b8032368 08:36:40 ---> f23f60b6f3f7 08:36:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:36:40 ---> Running in bba04a83357a 08:36:40 Removing intermediate container bba04a83357a 08:36:40 ---> 08b3443635a3 08:36:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:36:40 ---> Running in e4471514dfad 08:36:41 Removing intermediate container e4471514dfad 08:36:41 ---> 096dbc57e5a9 08:36:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:36:41 ---> Running in 1b90dfac6cae 08:36:41 Removing intermediate container 1b90dfac6cae 08:36:41 ---> 42d7049eb0c4 08:36:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:36:41 ---> Running in 2c584a737b91 08:36:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:36:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:36:44 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:36:44 (2/4) Installing libedit (20221030.3.1-r1) 08:36:44 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:36:44 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:36:44 Executing busybox-1.36.1-r5.trigger 08:36:44 OK: 271 MiB in 56 packages 08:36:45 Removing intermediate container 2c584a737b91 08:36:45 ---> 527eefcf511b 08:36:45 Step 8/12 : WORKDIR /device-rest-go 08:36:45 ---> Running in 408dfccee514 08:36:45 Removing intermediate container 408dfccee514 08:36:45 ---> 12f8e994657e 08:36:45 Step 9/12 : COPY go.mod vendor* ./ 08:36:52 ---> 354ade0364cb 08:36:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:52 ---> Running in f45ac9937b5b 08:37:48 Removing intermediate container f45ac9937b5b 08:37:48 ---> e7b299e814c2 08:37:48 Step 11/12 : COPY . . 08:37:53 ---> 55a089211874 08:37:53 Step 12/12 : RUN $MAKE 08:37:53 ---> Running in b489b85c75e8 08:37:54 noop 08:37:54 Removing intermediate container b489b85c75e8 08:37:54 ---> db8289af0b6c 08:37:54 Successfully built db8289af0b6c 08:37:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:55 + docker inspect -f . ci-base-image-arm64 08:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:55 prd-ubuntu20.04-docker-arm64-4c-16g-689 does not seem to be running inside a container 08:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat 08:37:56 $ docker top 5bed0af1360cab0e1b3c9840d31abf7d9764427394bceda3f8651e5f1f4550dc -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:57 + go version 08:37:57 go version go1.21.9 linux/arm64 [Pipeline] } 08:37:57 $ docker stop --time=1 5bed0af1360cab0e1b3c9840d31abf7d9764427394bceda3f8651e5f1f4550dc 08:37:59 $ docker rm -f --volumes 5bed0af1360cab0e1b3c9840d31abf7d9764427394bceda3f8651e5f1f4550dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:00 + docker inspect -f . ci-base-image-arm64 08:38:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:00 prd-ubuntu20.04-docker-arm64-4c-16g-689 does not seem to be running inside a container 08:38:00 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat 08:38:01 $ docker top 7a6ccefd0b2b4c3538450002a7f750bab6724c3004c20c1bde80efea6cb20eff -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:02 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 08:38:03 + make test 08:38:03 go test ./... -coverprofile=coverage.out ./... 08:38:05 ? github.com/edgexfoundry/device-rest-go [no test files] 08:40:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:40:12 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 33.2% of statements 08:40:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:40:12 go vet ./... 08:40:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:40:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:40:39 ./bin/test-attribution-txt.sh [Pipeline] echo 08:40:39 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:40:39 + go mod tidy [Pipeline] } 08:40:43 $ docker stop --time=1 7a6ccefd0b2b4c3538450002a7f750bab6724c3004c20c1bde80efea6cb20eff 08:40:45 $ docker rm -f --volumes 7a6ccefd0b2b4c3538450002a7f750bab6724c3004c20c1bde80efea6cb20eff [Pipeline] // withDockerContainer [Pipeline] sh 08:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:40:46 Warning: overwriting stash ‘coverage-report’ 08:40:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:40:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:40:48 + ls -al . 08:40:48 total 180 08:40:48 drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:38 . 08:40:48 drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:35 .. 08:40:48 -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:35 .dockerignore 08:40:48 drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:35 .git 08:40:48 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:35 .github 08:40:48 -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:35 .gitignore 08:40:48 -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:35 .golangci.yml 08:40:48 -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:35 Attribution.txt 08:40:48 -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:35 CHANGELOG.md 08:40:48 -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:35 Dockerfile 08:40:48 -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:35 GOVERNANCE.md 08:40:48 -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:35 Jenkinsfile 08:40:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:35 LICENSE 08:40:48 -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:35 Makefile 08:40:48 -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:35 OWNERS.md 08:40:48 -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:35 README.md 08:40:48 -rw-rw-r-- 1 jenkins jenkins 11 May 24 08:32 VERSION 08:40:48 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:35 bin 08:40:48 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:35 cmd 08:40:48 -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:40 coverage.out 08:40:48 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:35 driver 08:40:48 -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:35 go.mod 08:40:48 -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:35 go.sum 08:40:48 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:35 openapi 08:40:48 drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:35 vendor 08:40:48 -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:48 + 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=26dd2cd913d05f397b62e8034ff483e97214642e --label arch=arm64 --label version=3.1.1-dev.1 . 08:40:51 Sending build context to Docker daemon 27.76MB 08:40:51 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:40:51 Step 2/26 : FROM ${BASE} AS builder 08:40:51 ---> db8289af0b6c 08:40:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:40:51 ---> Running in 9f035ef82ab5 08:40:51 Removing intermediate container 9f035ef82ab5 08:40:51 ---> 7bfd403c8305 08:40:51 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:40:51 ---> Running in feac1cadd93e 08:40:51 Removing intermediate container feac1cadd93e 08:40:51 ---> 52d517ca2d4d 08:40:51 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:40:51 ---> Running in c332bef63ed5 08:40:51 Removing intermediate container c332bef63ed5 08:40:51 ---> 67245cf6bf8c 08:40:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:40:52 ---> Running in b1b4ebaadb55 08:40:52 Removing intermediate container b1b4ebaadb55 08:40:52 ---> d15a16972086 08:40:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:40:52 ---> Running in 63c7b94c8964 08:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:40:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:40:55 OK: 271 MiB in 56 packages 08:40:56 Removing intermediate container 63c7b94c8964 08:40:56 ---> 5be117c3d6fd 08:40:56 Step 8/26 : WORKDIR /device-rest-go 08:40:56 ---> Running in 9d66e5a5d794 08:40:56 Removing intermediate container 9d66e5a5d794 08:40:56 ---> 8b01e67030ff 08:40:56 Step 9/26 : COPY go.mod vendor* ./ 08:41:04 ---> 407d35d4ca49 08:41:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:41:04 ---> Running in d2303d296c7b 08:41:04 skipping... 08:41:05 Removing intermediate container d2303d296c7b 08:41:05 ---> ec2a92ab5d1d 08:41:05 Step 11/26 : COPY . . 08:41:11 ---> db1432e79cb7 08:41:11 Step 12/26 : RUN $MAKE 08:41:11 ---> Running in b9c7f9b19886 08:41:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 08:43:33 Removing intermediate container b9c7f9b19886 08:43:33 ---> 29d091359cc1 08:43:33 Step 13/26 : FROM alpine:3.18 08:43:33 3.18: Pulling from library/alpine 08:43:33 c6b39de5b339: Already exists 08:43:33 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:43:33 Status: Downloaded newer image for alpine:3.18 08:43:33 ---> 33abbf032149 08:43:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:43:33 ---> Running in e9a837762af2 08:43:33 Removing intermediate container e9a837762af2 08:43:33 ---> f29761e2b8e7 08:43:33 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:43:33 ---> Running in 59a8025bf1d0 08:43:33 Removing intermediate container 59a8025bf1d0 08:43:33 ---> 80d3c7373a84 08:43:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:43:33 ---> Running in 6bddb9626aa4 08:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:43:33 (1/1) Installing dumb-init (1.2.5-r2) 08:43:33 Executing busybox-1.36.1-r5.trigger 08:43:33 OK: 8 MiB in 16 packages 08:43:33 Removing intermediate container 6bddb9626aa4 08:43:33 ---> 0a96c9e155f4 08:43:33 Step 17/26 : RUN apk --no-cache upgrade 08:43:33 ---> Running in 01c6ffe3a148 08:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:43:33 Upgrading critical system libraries and apk-tools: 08:43:33 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:43:33 Executing busybox-1.36.1-r5.trigger 08:43:33 Continuing the upgrade transaction with new apk-tools: 08:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:43:33 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:43:33 Executing busybox-1.36.1-r6.post-upgrade 08:43:33 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:43:33 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:43:33 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:43:33 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:43:33 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:43:33 Executing busybox-1.36.1-r6.trigger 08:43:33 OK: 8 MiB in 16 packages 08:43:34 Removing intermediate container 01c6ffe3a148 08:43:34 ---> ad9e47b2940d 08:43:34 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:43:36 ---> bdab4f739a88 08:43:36 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:43:36 ---> e7ed811d2343 08:43:36 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:43:37 ---> 2d54951feb66 08:43:37 Step 21/26 : EXPOSE 59986 08:43:37 ---> Running in 0a4af67c0945 08:43:37 Removing intermediate container 0a4af67c0945 08:43:37 ---> fa49aca7b50c 08:43:37 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:43:37 ---> Running in 4fd458f0fbf5 08:43:37 Removing intermediate container 4fd458f0fbf5 08:43:37 ---> a7eebe9cde83 08:43:37 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:43:37 ---> Running in 5c645d1d679a 08:43:38 Removing intermediate container 5c645d1d679a 08:43:38 ---> d55bb600b3d9 08:43:38 Step 24/26 : LABEL arch=arm64 08:43:38 ---> Running in f4c8aa5bb6ea 08:43:38 Removing intermediate container f4c8aa5bb6ea 08:43:38 ---> 886c068436b0 08:43:38 Step 25/26 : LABEL git_sha=26dd2cd913d05f397b62e8034ff483e97214642e 08:43:38 ---> Running in 5a30da4e31f2 08:43:38 Removing intermediate container 5a30da4e31f2 08:43:38 ---> fd6b29098418 08:43:38 Step 26/26 : LABEL version=3.1.1-dev.1 08:43:38 ---> Running in abb1578b1fd6 08:43:39 Removing intermediate container abb1578b1fd6 08:43:39 ---> 76a25908ad8e 08:43:39 [Warning] One or more build-args [ARCH] were not consumed 08:43:39 Successfully built 76a25908ad8e 08:43:39 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 08:43:39 provisioning config files... 08:43:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3140551755409142224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:40 ---> ****-login.sh 08:43:40 nexus3.edgexfoundry.org:10001 08:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:40 Configure a credential helper to remove this warning. See 08:43:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:40 08:43:40 Login Succeeded 08:43:40 nexus3.edgexfoundry.org:10002 08:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:40 Configure a credential helper to remove this warning. See 08:43:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:40 08:43:40 Login Succeeded 08:43:40 nexus3.edgexfoundry.org:10003 08:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:40 Configure a credential helper to remove this warning. See 08:43:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:40 08:43:40 Login Succeeded 08:43:40 nexus3.edgexfoundry.org:10004 08:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:41 Configure a credential helper to remove this warning. See 08:43:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:41 08:43:41 Login Succeeded 08:43:41 ****.io 08:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:42 Configure a credential helper to remove this warning. See 08:43:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:42 08:43:42 Login Succeeded 08:43:42 ---> ****-login.sh ends [Pipeline] } 08:43:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:42 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:43:42 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 08:43:42 26dd2cd913d05f397b62e8034ff483e97214642e 08:43:42 3.1.1-dev.1 08:43:42 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 08:43:42 napa 08:43:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e 08:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:43 9f474932c003: Preparing 08:43:43 6b4baeec1263: Preparing 08:43:43 ce0a67f976b4: Preparing 08:43:43 72a7d4ca80e7: Preparing 08:43:43 bc740e2f1a54: Preparing 08:43:43 7c504f21be85: Preparing 08:43:43 7c504f21be85: Waiting 08:43:43 9f474932c003: Pushed 08:43:43 6b4baeec1263: Pushed 08:43:43 bc740e2f1a54: Pushed 08:43:43 7c504f21be85: Layer already exists 08:43:44 72a7d4ca80e7: Pushed 08:43:49 ce0a67f976b4: Pushed 08:43:49 26dd2cd913d05f397b62e8034ff483e97214642e: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1-dev.1 08:43:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:49 9f474932c003: Preparing 08:43:49 6b4baeec1263: Preparing 08:43:49 ce0a67f976b4: Preparing 08:43:49 72a7d4ca80e7: Preparing 08:43:49 bc740e2f1a54: Preparing 08:43:49 7c504f21be85: Preparing 08:43:49 7c504f21be85: Waiting 08:43:49 bc740e2f1a54: Layer already exists 08:43:49 9f474932c003: Layer already exists 08:43:49 ce0a67f976b4: Layer already exists 08:43:49 72a7d4ca80e7: Layer already exists 08:43:49 6b4baeec1263: Layer already exists 08:43:49 7c504f21be85: Layer already exists 08:43:49 3.1.1-dev.1: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 08:43:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:50 9f474932c003: Preparing 08:43:50 6b4baeec1263: Preparing 08:43:50 ce0a67f976b4: Preparing 08:43:50 72a7d4ca80e7: Preparing 08:43:50 bc740e2f1a54: Preparing 08:43:50 7c504f21be85: Preparing 08:43:50 9f474932c003: Layer already exists 08:43:50 72a7d4ca80e7: Layer already exists 08:43:50 bc740e2f1a54: Layer already exists 08:43:50 ce0a67f976b4: Layer already exists 08:43:50 6b4baeec1263: Layer already exists 08:43:50 7c504f21be85: Layer already exists 08:43:50 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:napa 08:43:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:51 9f474932c003: Preparing 08:43:51 6b4baeec1263: Preparing 08:43:51 ce0a67f976b4: Preparing 08:43:51 72a7d4ca80e7: Preparing 08:43:51 bc740e2f1a54: Preparing 08:43:51 7c504f21be85: Preparing 08:43:51 7c504f21be85: Waiting 08:43:51 bc740e2f1a54: Layer already exists 08:43:51 ce0a67f976b4: Layer already exists 08:43:51 9f474932c003: Layer already exists 08:43:51 6b4baeec1263: Layer already exists 08:43:51 72a7d4ca80e7: Layer already exists 08:43:51 7c504f21be85: Layer already exists 08:43:51 napa: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:51 ===================================================== [Pipeline] echo 08:43:51 taggedImages: 08:43:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e 08:43:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1-dev.1 08:43:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 08:43:51 - 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 08:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:52 08:43:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:52 arm64: Pulling from edgex-lftools-log-publisher 08:43:52 8998bd30e6a1: Pulling fs layer 08:43:52 04944245beec: Pulling fs layer 08:43:52 699f458cf7ca: Pulling fs layer 08:43:52 765212b225bb: Pulling fs layer 08:43:52 f23df028b6ca: Pulling fs layer 08:43:52 d65c8cfc05b1: Pulling fs layer 08:43:52 2437ff75d9bd: Pulling fs layer 08:43:52 765212b225bb: Waiting 08:43:52 f23df028b6ca: Waiting 08:43:52 d65c8cfc05b1: Waiting 08:43:52 2437ff75d9bd: Waiting 08:43:52 04944245beec: Verifying Checksum 08:43:52 04944245beec: Download complete 08:43:52 765212b225bb: Verifying Checksum 08:43:52 765212b225bb: Download complete 08:43:52 f23df028b6ca: Verifying Checksum 08:43:52 f23df028b6ca: Download complete 08:43:52 d65c8cfc05b1: Download complete 08:43:52 699f458cf7ca: Verifying Checksum 08:43:52 699f458cf7ca: Download complete 08:43:53 8998bd30e6a1: Verifying Checksum 08:43:53 8998bd30e6a1: Download complete 08:43:55 2437ff75d9bd: Verifying Checksum 08:43:55 2437ff75d9bd: Download complete 08:43:58 8998bd30e6a1: Pull complete 08:43:58 04944245beec: Pull complete 08:43:59 699f458cf7ca: Pull complete 08:44:00 765212b225bb: Pull complete 08:44:01 f23df028b6ca: Pull complete 08:44:01 d65c8cfc05b1: Pull complete 08:44:19 2437ff75d9bd: Pull complete 08:44:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:44:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:19 prd-ubuntu20.04-docker-arm64-4c-16g-689 does not seem to be running inside a container 08:44:19 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:44:22 $ docker top 8d38b24817154152070d4196b29722002123eaef25d1c5821bed1ea41136bde6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:23 ---> job-cost.sh 08:44:23 lf-activate-venv: SKIPPING 08:44:23 INFO: No Stack... 08:44:23 INFO: Retrieving Pricing Info for: v3-standard-4 08:44:24 INFO: Archiving Costs [Pipeline] sh 08:44:24 + cat /w/workspace/device-rest-go/3/archives/cost.csv 08:44:24 + cut -d, -f6 [Pipeline] lock 08:44:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] 08:44:24 Resource [jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] did not exist. Created. 08:44:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:44:25 /w/workspace/device-rest-go/3@tmp/durable-c381f57e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:44:25 + echo total: 0.10999999940395355 [Pipeline] stash 08:44:25 Warning: overwriting stash ‘stack-cost’ 08:44:26 Stashed 1 file(s) [Pipeline] } 08:44:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:44:26 $ docker stop --time=1 8d38b24817154152070d4196b29722002123eaef25d1c5821bed1ea41136bde6 08:44:27 $ docker rm -f --volumes 8d38b24817154152070d4196b29722002123eaef25d1c5821bed1ea41136bde6 [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 08:44:28 provisioning config files... 08:44:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config4682086015408752167tmp [Pipeline] { [Pipeline] sh 08:44:28 + set +x 08:44:28 + + curl -s https://codecov.io/bash 08:44:28 bash -s -- 08:44:28 08:44:28 _____ _ 08:44:28 / ____| | | 08:44:28 | | ___ __| | ___ ___ _____ __ 08:44:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:44:28 | |___| (_) | (_| | __/ (_| (_) \ V / 08:44:28 \_____\___/ \__,_|\___|\___\___/ \_/ 08:44:28 Bash-1.0.6 08:44:28 08:44:28 08:44:28 ==> git version 2.25.1 found 08:44:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:44:28 Release-Date: 2020-01-08 08:44:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:44:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:44:28 ==> Jenkins CI detected. 08:44:28 current dir:  /w/workspace/edgexfoundry_device-rest-go_napa 08:44:28 project root: . 08:44:28 --> token set from env 08:44:28 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 08:44:28 ==> Running gcov in . (disable via -X gcov) 08:44:28 ==> Python coveragepy not found 08:44:28 ==> Searching for coverage reports in: 08:44:28 + . 08:44:28 -> Found 1 reports 08:44:28 ==> Detecting git/mercurial file structure 08:44:28 ==> Reading reports 08:44:28 + ./coverage.out bytes=14499 08:44:28 ==> Appending adjustments 08:44:28 https://docs.codecov.io/docs/fixing-reports 08:44:28 + Found adjustments 08:44:28 ==> Gzipping contents 08:44:28 16K /tmp/codecov.1NfExF.gz 08:44:28 ==> Uploading reports 08:44:28 url: https://codecov.io 08:44:28 query: branch=napa&commit=26dd2cd913d05f397b62e8034ff483e97214642e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:44:28 -> Pinging Codecov 08:44:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=26dd2cd913d05f397b62e8034ff483e97214642e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:44:29 -> Uploading to 08:44:29 https://storage.googleapis.com/codecov/v4/raw/2024-05-24/4E5D53B4F1F92C436F7061BF334D961C/26dd2cd913d05f397b62e8034ff483e97214642e/c3778888-0ee5-444a-a35f-3720fa12541f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T084428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cef7c4885ed5fde89f2ab91033a27d860cd58e01c79f89c02f949e97e73ca24c 08:44:29 % Total % Received % Xferd Average Speed Time Time Time Current 08:44:29 Dload Upload Total Spent Left Speed 08:44:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14111 0 0 100 14111 0 62715 --:--:-- --:--:-- --:--:-- 62715 08:44:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] } 08:44:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:44:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:44:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:44:29 08:44:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:44:30 latest: Pulling from edgex-devops/edgex-snyk-go 08:44:30 619be1103602: Already exists 08:44:30 f8ea3408117e: Pulling fs layer 08:44:30 91320369b822: Pulling fs layer 08:44:30 0406650e8295: Pulling fs layer 08:44:30 4f4fb700ef54: Pulling fs layer 08:44:30 96d80e3f36e1: Pulling fs layer 08:44:30 bcf3aedb951c: Pulling fs layer 08:44:30 96d80e3f36e1: Waiting 08:44:30 4f4fb700ef54: Waiting 08:44:30 bcf3aedb951c: Waiting 08:44:30 0406650e8295: Verifying Checksum 08:44:30 0406650e8295: Download complete 08:44:30 f8ea3408117e: Verifying Checksum 08:44:30 f8ea3408117e: Download complete 08:44:30 4f4fb700ef54: Verifying Checksum 08:44:30 4f4fb700ef54: Download complete 08:44:30 f8ea3408117e: Pull complete 08:44:30 96d80e3f36e1: Verifying Checksum 08:44:30 96d80e3f36e1: Download complete 08:44:30 91320369b822: Verifying Checksum 08:44:30 91320369b822: Download complete 08:44:31 bcf3aedb951c: Verifying Checksum 08:44:31 bcf3aedb951c: Download complete 08:44:33 91320369b822: Pull complete 08:44:33 0406650e8295: Pull complete 08:44:33 4f4fb700ef54: Pull complete 08:44:34 96d80e3f36e1: Pull complete 08:44:36 bcf3aedb951c: Pull complete 08:44:36 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 08:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:44:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:36 prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container 08:44:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:44:39 $ docker top 4cec004bc240f07fead0f26bba3568cd88caed021e9d596072e903fbde1f0ecc -eo pid,comm [Pipeline] { [Pipeline] echo 08:44:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:napa' [Pipeline] sh 08:44:40 + set -o pipefail 08:44:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:napa' 08:44:42 08:44:42 Monitoring /w/workspace/edgexfoundry_device-rest-go_napa... 08:44:42 08:44:42 'go list -json -deps ./...' command failed with error: error obtaining VCS status: exit status 128 08:44:42 Use -buildvcs=false to disable VCS stamping. 08:44:42 [Pipeline] } 08:44:42 $ docker stop --time=1 4cec004bc240f07fead0f26bba3568cd88caed021e9d596072e903fbde1f0ecc 08:44:43 $ docker rm -f --volumes 4cec004bc240f07fead0f26bba3568cd88caed021e9d596072e903fbde1f0ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:44:44 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:44:44 + [ -d /w/workspace/edgexfoundry_device-rest-go_napa/archives ] 08:44:44 + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives 08:44:44 total 16 08:44:44 drwxr-xr-x 3 root root 4096 May 24 08:34 . 08:44:44 drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:34 .. 08:44:44 drwxr-xr-x 2 root root 4096 May 24 08:34 cost 08:44:44 -rw-r--r-- 1 root root 84 May 24 08:34 cost.csv 08:44:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_napa/archives 08:44:44 + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives 08:44:44 total 16 08:44:44 drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:34 . 08:44:44 drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:34 .. 08:44:44 drwxr-xr-x 2 jenkins jenkins 4096 May 24 08:34 cost 08:44:44 -rw-r--r-- 1 jenkins jenkins 84 May 24 08:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:44:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:44:45 ---> package-listing.sh 08:44:45 ++ facter osfamily 08:44:45 ++ tr '[:upper:]' '[:lower:]' 08:44:46 + OS_FAMILY=debian 08:44:46 + workspace=/w/workspace/edgexfoundry_device-rest-go_napa 08:44:46 + START_PACKAGES=/tmp/packages_start.txt 08:44:46 + END_PACKAGES=/tmp/packages_end.txt 08:44:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:44:46 + PACKAGES=/tmp/packages_start.txt 08:44:46 + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' 08:44:46 + PACKAGES=/tmp/packages_end.txt 08:44:46 + case "${OS_FAMILY}" in 08:44:46 + dpkg -l 08:44:46 + grep '^ii' 08:44:46 + '[' -f /tmp/packages_start.txt ']' 08:44:46 + '[' -f /tmp/packages_end.txt ']' 08:44:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:44:46 + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' 08:44:46 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_napa/archives/ 08:44:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [Pipeline] echo 08:44:46 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 08:44:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:47 prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container 08:44:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:44:47 $ docker top a7c21a350aea35a2885488dafb75f2090fd2b16571c04265e211b8d4d0456653 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:47 + touch /tmp/pre-build-complete [Pipeline] sh 08:44:48 + mkdir -p /var/log/sysstat [Pipeline] sh 08:44:48 + ls /var/log/sa-host 08:44:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:48 provisioning config files... 08:44:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config15183508225260519130tmp [Pipeline] { [Pipeline] echo 08:44:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:44:48 ---> create-netrc.sh [Pipeline] } 08:44:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:44:49 ---> python-tools-install.sh [Pipeline] echo 08:44:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:44:49 ---> sudo-logs.sh 08:44:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:44:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:44:49 ---> job-cost.sh 08:44:49 lf-activate-venv: SKIPPING 08:44:49 DEBUG: total: 0.2199999988079071 08:44:49 INFO: Retrieving Stack Cost... 08:44:50 INFO: Retrieving Pricing Info for: v3-standard-8 08:44:50 INFO: Archiving Costs [Pipeline] echo 08:44:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:44:50 ---> logs-deploy.sh 08:44:50 lf-activate-venv: SKIPPING 08:44:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/napa/3 08:44:50 INFO: archiving workspace using pattern(s): 08:44:51 Archives upload complete. 08:44:51 INFO: archiving logs to Nexus