Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 89173ea65a943aba0f4628b8150ce015ac4d5016 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-ssh16891017798829346634.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh17116278870703536734.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12730961380212827513.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh1815270619438905052.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9906790740285912560.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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2758 in /w/workspace/edgexfoundry_device-rest-go_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 89173ea65a943aba0f4628b8150ce015ac4d5016 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 Commit message: "fix: Range check for float64/32 equal to 0.0 (#330)" > git rev-list --no-walk 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:34:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:34:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:34:30 ========================================================= 16:34:30 EdgeX Global Pipelines Version Info 16:34:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:34:30 ------------------- 16:34:30 stable info: 16:34:30 ------------------- 16:34:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:34:30 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 16:34:30 Message: update stable to v1.0.250 16:34:31 ------------------- 16:34:31 experimental info: 16:34:31 ------------------- 16:34:31 Commited By: **** collab-it+edgex@linuxfoundation.org 16:34:31 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 16:34:31 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:34:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89173ea [Pipeline] echo 16:34:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:32 provisioning config files... 16:34:32 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14907099296016341300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:32 ---> docker-login.sh 16:34:32 nexus3.edgexfoundry.org:10001 16:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:32 Configure a credential helper to remove this warning. See 16:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:32 16:34:32 Login Succeeded 16:34:32 nexus3.edgexfoundry.org:10002 16:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:33 Configure a credential helper to remove this warning. See 16:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:33 16:34:33 Login Succeeded 16:34:33 nexus3.edgexfoundry.org:10003 16:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:33 Configure a credential helper to remove this warning. See 16:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:33 16:34:33 Login Succeeded 16:34:33 nexus3.edgexfoundry.org:10004 16:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:33 Configure a credential helper to remove this warning. See 16:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:33 16:34:33 Login Succeeded 16:34:33 docker.io 16:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:33 Configure a credential helper to remove this warning. See 16:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:33 16:34:33 Login Succeeded 16:34:33 ---> docker-login.sh ends [Pipeline] } 16:34:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:34:33 + git rev-list -1 --merges 89173ea65a943aba0f4628b8150ce015ac4d5016~1..89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo 16:34:34 -----------> git rev-list -1 --merges 89173ea65a943aba0f4628b8150ce015ac4d5016~1..89173ea65a943aba0f4628b8150ce015ac4d5016 89173ea65a943aba0f4628b8150ce015ac4d5016 [false] [Pipeline] sh 16:34:34 + git log --format=format:%s -1 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo 16:34:34 ========================================================= 16:34:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:34:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:34 + git log --format=format:%s -1 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] echo 16:34:34 [semverPrep] GIT_COMMIT: 89173ea65a943aba0f4628b8150ce015ac4d5016, Commit Message: fix: Range check for float64/32 equal to 0.0 (#330) [Pipeline] echo 16:34:34 [semverPrep] This is not a build commit. [Pipeline] sh 16:34:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:35 + grep -v github /etc/ssh/ssh_known_hosts 16:34:35 + [ -e /tmp/ssh_known_hosts ] 16:34:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:34:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:34:35 + sudo tee -a /etc/ssh/ssh_known_hosts 16:34:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:35 16:34:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:35 0.1.4: Pulling from edgex-devops/py-git-semver 16:34:35 b85a868b505f: Pulling fs layer 16:34:35 e2be974225ed: Pulling fs layer 16:34:35 339a4e72a1f5: Pulling fs layer 16:34:35 988bab9f4d93: Pulling fs layer 16:34:35 1469e6f7b9e6: Pulling fs layer 16:34:35 eaf3925da568: Pulling fs layer 16:34:35 bab4dde63d76: Pulling fs layer 16:34:35 bde34c3a00c8: Pulling fs layer 16:34:35 b352a97aabf1: Pulling fs layer 16:34:35 4872d77fe225: Pulling fs layer 16:34:35 5851b861e8e6: Pulling fs layer 16:34:35 eaf3925da568: Waiting 16:34:35 bab4dde63d76: Waiting 16:34:35 bde34c3a00c8: Waiting 16:34:35 b352a97aabf1: Waiting 16:34:35 4872d77fe225: Waiting 16:34:35 5851b861e8e6: Waiting 16:34:35 988bab9f4d93: Waiting 16:34:35 1469e6f7b9e6: Waiting 16:34:35 e2be974225ed: Verifying Checksum 16:34:35 e2be974225ed: Download complete 16:34:35 988bab9f4d93: Verifying Checksum 16:34:35 988bab9f4d93: Download complete 16:34:35 1469e6f7b9e6: Verifying Checksum 16:34:35 1469e6f7b9e6: Download complete 16:34:35 eaf3925da568: Verifying Checksum 16:34:35 eaf3925da568: Download complete 16:34:35 339a4e72a1f5: Verifying Checksum 16:34:35 339a4e72a1f5: Download complete 16:34:35 bde34c3a00c8: Verifying Checksum 16:34:35 bde34c3a00c8: Download complete 16:34:35 b352a97aabf1: Verifying Checksum 16:34:35 b352a97aabf1: Download complete 16:34:35 4872d77fe225: Download complete 16:34:35 5851b861e8e6: Verifying Checksum 16:34:35 5851b861e8e6: Download complete 16:34:35 b85a868b505f: Download complete 16:34:36 bab4dde63d76: Verifying Checksum 16:34:36 bab4dde63d76: Download complete 16:34:41 b85a868b505f: Pull complete 16:34:41 e2be974225ed: Pull complete 16:34:41 339a4e72a1f5: Pull complete 16:34:41 988bab9f4d93: Pull complete 16:34:41 1469e6f7b9e6: Pull complete 16:34:41 eaf3925da568: Pull complete 16:34:43 bab4dde63d76: Pull complete 16:34:43 bde34c3a00c8: Pull complete 16:34:43 b352a97aabf1: Pull complete 16:34:43 4872d77fe225: Pull complete 16:34:43 5851b861e8e6: Pull complete 16:34:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:34:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:43 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:34:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-devops/py-git-semver:0.1.4 cat 16:34:53 $ docker top 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 -eo pid,comm 16:34:53 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). 16:34:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:53 [ssh-agent] Looking for ssh-agent implementation... 16:34:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:53 $ docker exec 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent 16:34:53 SSH_AUTH_SOCK=/tmp/ssh-RP9Sry9oFwwR/agent.32 16:34:53 SSH_AGENT_PID=38 16:34:53 Running ssh-add (command line suppressed) 16:34:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7114115158802146284.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7114115158802146284.key) 16:34:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:54 + git tag --points-at HEAD [Pipeline] } 16:34:54 $ docker exec --env ******** --env ******** 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent -k 16:34:54 unset SSH_AUTH_SOCK; 16:34:54 unset SSH_AGENT_PID; 16:34:54 echo Agent pid 38 killed; 16:34:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:34:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:54 [ssh-agent] Looking for ssh-agent implementation... 16:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:54 $ docker exec 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent 16:34:54 SSH_AUTH_SOCK=/tmp/ssh-yO0VdfR6czLQ/agent.71 16:34:54 SSH_AGENT_PID=77 16:34:54 Running ssh-add (command line suppressed) 16:34:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5410302354172995379.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5410302354172995379.key) 16:34:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:55 + git semver init 16:34:55 2023-08-02 16:34:55,327 [run_init] DEBUG init version:0.0.0 force:False 16:34:55 2023-08-02 16:34:55,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:34:55 2023-08-02 16:34:55,328 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:34:55 2023-08-02 16:34:55,328 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:34:56 2023-08-02 16:34:56,498 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:34:56 2023-08-02 16:34:56,499 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:34:56 2023-08-02 16:34:56,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:34:56 2023-08-02 16:34:56,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:34:56 3.1.0-dev.3 [Pipeline] } 16:34:56 $ docker exec --env ******** --env ******** 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 ssh-agent -k 16:34:56 unset SSH_AUTH_SOCK; 16:34:56 unset SSH_AGENT_PID; 16:34:56 echo Agent pid 77 killed; 16:34:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:57 + git semver [Pipeline] } 16:34:57 $ docker stop --time=1 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 16:34:58 $ docker rm -f --volumes 20b77697e4423e4cfab30f27cae3394f80136383c82c939a8ce39700e24afc82 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:34:59 Stashed 1 file(s) [Pipeline] echo 16:34:59 [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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 16:34:59 provisioning config files... 16:34:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5092034606510417766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:59 ---> docker-login.sh 16:34:59 nexus3.edgexfoundry.org:10001 16:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:59 Configure a credential helper to remove this warning. See 16:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:59 16:34:59 Login Succeeded 16:34:59 nexus3.edgexfoundry.org:10002 16:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:59 Configure a credential helper to remove this warning. See 16:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:59 16:34:59 Login Succeeded 16:34:59 nexus3.edgexfoundry.org:10003 16:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:59 Configure a credential helper to remove this warning. See 16:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:59 16:34:59 Login Succeeded 16:34:59 nexus3.edgexfoundry.org:10004 16:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:59 Configure a credential helper to remove this warning. See 16:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:59 16:34:59 Login Succeeded 16:34:59 docker.io 16:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:00 Configure a credential helper to remove this warning. See 16:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:00 16:35:00 Login Succeeded 16:35:00 ---> docker-login.sh ends [Pipeline] } 16:35:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:00 ========================================================= 16:35:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:35:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:35:00 Sending build context to Docker daemon 10.9MB 16:35:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:35:00 Step 2/12 : FROM ${BASE} AS builder 16:35:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:35:00 4db1b89c0bd1: Pulling fs layer 16:35:00 6911f1a30b25: Pulling fs layer 16:35:00 e194b8c5c2a9: Pulling fs layer 16:35:00 6863d3e3a2b1: Pulling fs layer 16:35:00 ec0bb842ea78: Pulling fs layer 16:35:00 40a00589a448: Pulling fs layer 16:35:00 6c08303d61cc: Pulling fs layer 16:35:00 798269fcf238: Pulling fs layer 16:35:00 6863d3e3a2b1: Waiting 16:35:00 ec0bb842ea78: Waiting 16:35:00 40a00589a448: Waiting 16:35:00 6c08303d61cc: Waiting 16:35:00 798269fcf238: Waiting 16:35:00 6911f1a30b25: Verifying Checksum 16:35:00 6911f1a30b25: Download complete 16:35:00 6863d3e3a2b1: Download complete 16:35:00 ec0bb842ea78: Verifying Checksum 16:35:00 ec0bb842ea78: Download complete 16:35:00 4db1b89c0bd1: Verifying Checksum 16:35:00 4db1b89c0bd1: Download complete 16:35:00 40a00589a448: Verifying Checksum 16:35:00 40a00589a448: Download complete 16:35:00 4db1b89c0bd1: Pull complete 16:35:01 6911f1a30b25: Pull complete 16:35:01 798269fcf238: Verifying Checksum 16:35:01 798269fcf238: Download complete 16:35:01 e194b8c5c2a9: Download complete 16:35:01 6c08303d61cc: Verifying Checksum 16:35:01 6c08303d61cc: Download complete 16:35:04 e194b8c5c2a9: Pull complete 16:35:04 6863d3e3a2b1: Pull complete 16:35:04 ec0bb842ea78: Pull complete 16:35:05 40a00589a448: Pull complete 16:35:07 6c08303d61cc: Pull complete 16:35:08 798269fcf238: Pull complete 16:35:08 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 16:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:35:08 ---> ec979cd7f677 16:35:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:35:12 ---> Running in e1df93a33c12 16:35:12 Removing intermediate container e1df93a33c12 16:35:12 ---> 3670d10e03a5 16:35:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:35:12 ---> Running in fed9e912a596 16:35:12 Removing intermediate container fed9e912a596 16:35:12 ---> 2a67234fb86a 16:35:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:35:12 ---> Running in d58103ee622c 16:35:12 Removing intermediate container d58103ee622c 16:35:12 ---> da8c096bbcd1 16:35:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:35:12 ---> Running in 3ced648b31ea 16:35:12 Removing intermediate container 3ced648b31ea 16:35:12 ---> fde38d00ba4d 16:35:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:35:12 ---> Running in 9e49acea9eeb 16:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:35:13 (1/4) Installing openssh-keygen (9.1_p1-r4) 16:35:13 (2/4) Installing libedit (20221030.3.1-r0) 16:35:13 (3/4) Installing openssh-client-common (9.1_p1-r4) 16:35:13 (4/4) Installing openssh-client-default (9.1_p1-r4) 16:35:13 Executing busybox-1.35.0-r29.trigger 16:35:13 OK: 269 MiB in 57 packages 16:35:13 Removing intermediate container 9e49acea9eeb 16:35:13 ---> f63881f46d59 16:35:13 Step 8/12 : WORKDIR /device-rest-go 16:35:13 ---> Running in eca81b92c1aa 16:35:13 Removing intermediate container eca81b92c1aa 16:35:13 ---> 27551799a1b4 16:35:13 Step 9/12 : COPY go.mod vendor* ./ 16:35:14 ---> 0061d3f60a83 16:35:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:14 ---> Running in e32136f76013 16:35:14 Still waiting to schedule task 16:35:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:35:46 Removing intermediate container e32136f76013 16:35:46 ---> f361fd280aed 16:35:46 Step 11/12 : COPY . . 16:35:46 ---> 36b05f9f3835 16:35:46 Step 12/12 : RUN $MAKE 16:35:46 ---> Running in 7ad08f0208cd 16:35:46 noop 16:35:46 Removing intermediate container 7ad08f0208cd 16:35:46 ---> a42b79c3805e 16:35:46 Successfully built a42b79c3805e 16:35:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:46 + docker inspect -f . ci-base-image-x86_64 16:35:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:46 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:35:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:35:47 $ docker top 196b9355fe4ef0db25f94af93e32895ca4a199f7095027f64093060286b02ed5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:47 + go version 16:35:47 go version go1.20.6 linux/amd64 [Pipeline] } 16:35:47 $ docker stop --time=1 196b9355fe4ef0db25f94af93e32895ca4a199f7095027f64093060286b02ed5 16:35:48 $ docker rm -f --volumes 196b9355fe4ef0db25f94af93e32895ca4a199f7095027f64093060286b02ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:49 + docker inspect -f . ci-base-image-x86_64 16:35:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:49 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:35:49 $ 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_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:35:49 $ docker top d8f781fbf817384a727b244d7cc64c65307d9662e842d37d46c36379cec4c316 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 16:35:50 + make test 16:35:50 go test ./... -coverprofile=coverage.out ./... 16:35:55 ? github.com/edgexfoundry/device-rest-go [no test files] 16:36:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:36:05 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 16:36:09 go vet ./... 16:36:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:36:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:36:12 ./bin/test-attribution-txt.sh [Pipeline] echo 16:36:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:36:12 $ docker stop --time=1 d8f781fbf817384a727b244d7cc64c65307d9662e842d37d46c36379cec4c316 16:36:16 $ docker rm -f --volumes d8f781fbf817384a727b244d7cc64c65307d9662e842d37d46c36379cec4c316 [Pipeline] // withDockerContainer [Pipeline] sh 16:36:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:36:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:36:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:36:17 + ls -al . 16:36:17 total 184 16:36:17 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 16:35 . 16:36:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:34 .. 16:36:17 -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 16:34 .dockerignore 16:36:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 16:34 .git 16:36:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:34 .github 16:36:17 -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 16:34 .gitignore 16:36:17 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 16:34 .golangci.yml 16:36:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 16:34 .semver 16:36:17 -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 16:34 Attribution.txt 16:36:17 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 16:34 CHANGELOG.md 16:36:17 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 16:34 Dockerfile 16:36:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 16:34 GOVERNANCE.md 16:36:17 -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 16:34 Jenkinsfile 16:36:17 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 16:34 LICENSE 16:36:17 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 16:34 Makefile 16:36:17 -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 16:34 OWNERS.md 16:36:17 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 16:34 README.md 16:36:17 -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 16:34 VERSION 16:36:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:34 bin 16:36:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:34 cmd 16:36:17 -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 16:36 coverage.out 16:36:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:34 driver 16:36:17 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 16:34 go.mod 16:36:17 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 16:34 go.sum 16:36:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:34 snap 16:36:17 -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 16:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:18 + 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=89173ea65a943aba0f4628b8150ce015ac4d5016 --label arch=amd64 --label version=3.1.0-dev.3 . 16:36:18 Sending build context to Docker daemon 10.91MB 16:36:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:36:18 Step 2/25 : FROM ${BASE} AS builder 16:36:18 ---> a42b79c3805e 16:36:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:36:18 ---> Running in 57292f2ec06e 16:36:18 Removing intermediate container 57292f2ec06e 16:36:18 ---> af72192743a7 16:36:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:36:18 ---> Running in 8eaf3b98fbdb 16:36:18 Removing intermediate container 8eaf3b98fbdb 16:36:18 ---> b9decaae1202 16:36:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:36:18 ---> Running in 4da7bb653204 16:36:18 Removing intermediate container 4da7bb653204 16:36:18 ---> 76d79721cef4 16:36:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:36:18 ---> Running in 736d5b496206 16:36:18 Removing intermediate container 736d5b496206 16:36:18 ---> fedf99546774 16:36:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:36:18 ---> Running in 5bad6f34180d 16:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:36:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:36:19 OK: 269 MiB in 57 packages 16:36:19 Removing intermediate container 5bad6f34180d 16:36:19 ---> a5734a598e0c 16:36:19 Step 8/25 : WORKDIR /device-rest-go 16:36:19 ---> Running in 469590505cae 16:36:19 Removing intermediate container 469590505cae 16:36:19 ---> 304aae49ae24 16:36:19 Step 9/25 : COPY go.mod vendor* ./ 16:36:19 ---> b4d09330f3de 16:36:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:36:19 ---> Running in d18d60264229 16:36:20 Removing intermediate container d18d60264229 16:36:20 ---> 176d361f63b3 16:36:20 Step 11/25 : COPY . . 16:36:20 ---> cd84afede176 16:36:20 Step 12/25 : RUN $MAKE 16:36:20 ---> Running in 6d6fd6d73523 16:36:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:36:39 Removing intermediate container 6d6fd6d73523 16:36:39 ---> c70a6758bd97 16:36:39 Step 13/25 : FROM alpine:3.17 16:36:39 3.17: Pulling from library/alpine 16:36:39 4db1b89c0bd1: Already exists 16:36:39 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 16:36:39 Status: Downloaded newer image for alpine:3.17 16:36:39 ---> 1f73a9d63274 16:36:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:36:39 ---> Running in 06978180567e 16:36:39 Removing intermediate container 06978180567e 16:36:39 ---> 130b8609b6c0 16:36:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:36:39 ---> Running in 72480139e1aa 16:36:39 Removing intermediate container 72480139e1aa 16:36:39 ---> c791bc553e79 16:36:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:36:39 ---> Running in 43b93d0899ee 16:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:36:40 (1/1) Installing dumb-init (1.2.5-r2) 16:36:40 Executing busybox-1.35.0-r29.trigger 16:36:40 OK: 7 MiB in 16 packages 16:36:40 Removing intermediate container 43b93d0899ee 16:36:40 ---> 2eda425170d9 16:36:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:36:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2759 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:36:41 Running in /w/workspace/device-rest-go/123 [Pipeline] { [Pipeline] checkout 16:36:41 The recommended git tool is: git 16:36:42 ---> 68f1d0672ffc 16:36:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:36:42 ---> e2685b01f2b5 16:36:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:36:42 ---> ba1d5c785159 16:36:42 Step 20/25 : EXPOSE 59986 16:36:42 ---> Running in 188a774de0bf 16:36:42 Removing intermediate container 188a774de0bf 16:36:42 ---> 38f39911e9c3 16:36:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:36:42 ---> Running in fe99280982a1 16:36:42 Removing intermediate container fe99280982a1 16:36:42 ---> 8280484a27e0 16:36:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:36:42 ---> Running in 9f3381985535 16:36:42 Removing intermediate container 9f3381985535 16:36:42 ---> 1baceac613bf 16:36:42 Step 23/25 : LABEL arch=amd64 16:36:42 ---> Running in dfece9af91e1 16:36:42 Removing intermediate container dfece9af91e1 16:36:42 ---> 3698e66a2982 16:36:42 Step 24/25 : LABEL git_sha=89173ea65a943aba0f4628b8150ce015ac4d5016 16:36:42 ---> Running in c74317a99b72 16:36:42 Removing intermediate container c74317a99b72 16:36:42 ---> ec2b72c9df5e 16:36:42 Step 25/25 : LABEL version=3.1.0-dev.3 16:36:42 ---> Running in f855b21f503a 16:36:42 Removing intermediate container f855b21f503a 16:36:42 ---> 64e715e799d7 16:36:42 [Warning] One or more build-args [ARCH] were not consumed 16:36:42 Successfully built 64e715e799d7 16:36:42 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:42 provisioning config files... 16:36:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15201459133943470734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:42 ---> docker-login.sh 16:36:42 nexus3.edgexfoundry.org:10001 16:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:42 Configure a credential helper to remove this warning. See 16:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:42 16:36:42 Login Succeeded 16:36:42 nexus3.edgexfoundry.org:10002 16:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:42 Configure a credential helper to remove this warning. See 16:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:42 16:36:42 Login Succeeded 16:36:42 nexus3.edgexfoundry.org:10003 16:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:43 Configure a credential helper to remove this warning. See 16:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:43 16:36:43 Login Succeeded 16:36:43 nexus3.edgexfoundry.org:10004 16:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:43 Configure a credential helper to remove this warning. See 16:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:43 16:36:43 Login Succeeded 16:36:43 docker.io 16:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:36:43 Configure a credential helper to remove this warning. See 16:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:36:43 16:36:43 Login Succeeded 16:36:43 ---> docker-login.sh ends [Pipeline] } 16:36:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:36:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:36:43 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:36:43 89173ea65a943aba0f4628b8150ce015ac4d5016 16:36:43 latest 16:36:43 3.1.0-dev.3 16:36:43 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 16:36:43 main 16:36:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016 16:36:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:36:44 04eb1018836d: Preparing 16:36:44 46f885af6dd4: Preparing 16:36:44 3ff4f43a070d: Preparing 16:36:44 4e413b82bc96: Preparing 16:36:44 3dab9f8bf2d2: Preparing 16:36:44 3dab9f8bf2d2: Layer already exists 16:36:44 46f885af6dd4: Pushed 16:36:44 04eb1018836d: Pushed 16:36:44 4e413b82bc96: Pushed 16:36:46 using credential edgex-jenkins-ssh 16:36:46 Cloning the remote Git repository 16:36:46 3ff4f43a070d: Pushed 16:36:46 89173ea65a943aba0f4628b8150ce015ac4d5016: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:36:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:36:47 04eb1018836d: Preparing 16:36:47 46f885af6dd4: Preparing 16:36:47 3ff4f43a070d: Preparing 16:36:47 4e413b82bc96: Preparing 16:36:47 3dab9f8bf2d2: Preparing 16:36:47 3dab9f8bf2d2: Layer already exists 16:36:47 04eb1018836d: Layer already exists 16:36:47 4e413b82bc96: Layer already exists 16:36:47 3ff4f43a070d: Layer already exists 16:36:47 46f885af6dd4: Layer already exists 16:36:47 latest: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:36:46 > git init /w/workspace/device-rest-go/123 # timeout=10 16:36:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:36:47 > git --version # timeout=10 16:36:47 > git --version # 'git version 2.25.1' 16:36:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:36:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.3 16:36:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:36:48 04eb1018836d: Preparing 16:36:48 46f885af6dd4: Preparing 16:36:48 3ff4f43a070d: Preparing 16:36:48 4e413b82bc96: Preparing 16:36:48 3dab9f8bf2d2: Preparing 16:36:48 46f885af6dd4: Layer already exists 16:36:48 3dab9f8bf2d2: Layer already exists 16:36:48 4e413b82bc96: Layer already exists 16:36:48 3ff4f43a070d: Layer already exists 16:36:48 04eb1018836d: Layer already exists 16:36:48 3.1.0-dev.3: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 16:36:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:36:48 04eb1018836d: Preparing 16:36:48 46f885af6dd4: Preparing 16:36:48 3ff4f43a070d: Preparing 16:36:48 4e413b82bc96: Preparing 16:36:48 3dab9f8bf2d2: Preparing 16:36:48 04eb1018836d: Layer already exists 16:36:48 3dab9f8bf2d2: Layer already exists 16:36:48 46f885af6dd4: Layer already exists 16:36:48 3ff4f43a070d: Layer already exists 16:36:48 4e413b82bc96: Layer already exists 16:36:48 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:36:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:36:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:36:49 04eb1018836d: Preparing 16:36:49 46f885af6dd4: Preparing 16:36:49 3ff4f43a070d: Preparing 16:36:49 4e413b82bc96: Preparing 16:36:49 3dab9f8bf2d2: Preparing 16:36:49 3ff4f43a070d: Layer already exists 16:36:49 4e413b82bc96: Layer already exists 16:36:49 04eb1018836d: Layer already exists 16:36:49 46f885af6dd4: Layer already exists 16:36:49 3dab9f8bf2d2: Layer already exists 16:36:49 main: digest: sha256:629727e8faecb341a0c1873e236e41fcfbb1bf1f45a0ffa64a33ba9155a684d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:36:49 ===================================================== [Pipeline] echo 16:36:49 taggedImages: 16:36:49 - nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016 16:36:49 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:36:49 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.3 16:36:49 - nexus3.edgexfoundry.org:10004/device-rest:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 16:36:49 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:49 16:36:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:49 Avoid second fetch 16:36:49 Checking out Revision 89173ea65a943aba0f4628b8150ce015ac4d5016 (main) 16:36:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:50 latest: Pulling from edgex-lftools-log-publisher 16:36:50 5eb5b503b376: Pulling fs layer 16:36:50 5c69ac0246d0: Pulling fs layer 16:36:50 ec43610c2a17: Pulling fs layer 16:36:50 3a2ae6a8a46f: Pulling fs layer 16:36:50 33b1e0a273af: Pulling fs layer 16:36:50 5d3b04190fa2: Pulling fs layer 16:36:50 2f39f015ded8: Pulling fs layer 16:36:50 3a2ae6a8a46f: Waiting 16:36:50 33b1e0a273af: Waiting 16:36:50 5d3b04190fa2: Waiting 16:36:50 2f39f015ded8: Waiting 16:36:50 5c69ac0246d0: Verifying Checksum 16:36:50 5c69ac0246d0: Download complete 16:36:50 3a2ae6a8a46f: Verifying Checksum 16:36:50 3a2ae6a8a46f: Download complete 16:36:50 33b1e0a273af: Verifying Checksum 16:36:50 33b1e0a273af: Download complete 16:36:50 5d3b04190fa2: Download complete 16:36:50 ec43610c2a17: Verifying Checksum 16:36:50 ec43610c2a17: Download complete 16:36:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:36:49 > git config core.sparsecheckout # timeout=10 16:36:49 > git checkout -f 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 16:36:50 Commit message: "fix: Range check for float64/32 equal to 0.0 (#330)" 16:36:50 5eb5b503b376: Verifying Checksum 16:36:50 5eb5b503b376: Download complete 16:36:50 16:36:50 GitHub has been notified of this commit’s build result 16:36:50 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:36:50 2f39f015ded8: Verifying Checksum 16:36:50 2f39f015ded8: Download complete 16:36:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:36:51 % Total % Received % Xferd Average Speed Time Time Time Current 16:36:51 Dload Upload Total Spent Left Speed 16:36:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 16:36:51 5eb5b503b376: Pull complete 16:36:51 5c69ac0246d0: Pull complete 16:36:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:36:52 ec43610c2a17: Pull complete 16:36:52 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:36:52 sudo tee /etc/docker/daemon.new 16:36:52 { 16:36:52 "registry-mirrors": [ 16:36:52 "https://nexus3.edgexfoundry.org:10001" 16:36:52 ], 16:36:52 "bip": "10.250.0.254/24", 16:36:52 "hosts": [ 16:36:52 "tcp://0.0.0.0:5555", 16:36:52 "unix:///var/run/docker.sock" 16:36:52 ], 16:36:52 "mtu": 1458, 16:36:52 "selinux-enabled": true, 16:36:52 "seccomp-profile": "/etc/docker/seccomp.json" 16:36:52 } [Pipeline] sh 16:36:52 3a2ae6a8a46f: Pull complete 16:36:52 33b1e0a273af: Pull complete 16:36:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 16:36:52 5d3b04190fa2: Pull complete [Pipeline] sh 16:36:53 + sudo service docker restart 16:36:56 2f39f015ded8: Pull complete 16:36:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:56 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:36:57 $ 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_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:37:01 $ docker top ae2b2338c900d9ea62f34c98241bd5aa47a9afb9c71e954ec6bd3887a003cc16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:01 ---> job-cost.sh 16:37:01 lf-activate-venv: SKIPPING 16:37:01 INFO: No Stack... 16:37:01 INFO: Retrieving Pricing Info for: v3-standard-8 16:37:02 INFO: Archiving Costs [Pipeline] sh 16:37:02 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 16:37:02 + cut -d, -f6 [Pipeline] lock 16:37:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] 16:37:02 Resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] did not exist. Created. 16:37:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:37:02 + echo total: 0.2199999988079071 [Pipeline] stash 16:37:02 Stashed 1 file(s) [Pipeline] } 16:37:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 16:37:02 $ docker stop --time=1 ae2b2338c900d9ea62f34c98241bd5aa47a9afb9c71e954ec6bd3887a003cc16 16:37:03 $ docker rm -f --volumes ae2b2338c900d9ea62f34c98241bd5aa47a9afb9c71e954ec6bd3887a003cc16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:11 provisioning config files... 16:37:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/123@tmp/config1672593121918997966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:11 ---> docker-login.sh 16:37:11 nexus3.edgexfoundry.org:10001 16:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:12 Configure a credential helper to remove this warning. See 16:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:12 16:37:12 Login Succeeded 16:37:12 nexus3.edgexfoundry.org:10002 16:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:12 Configure a credential helper to remove this warning. See 16:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:12 16:37:12 Login Succeeded 16:37:12 nexus3.edgexfoundry.org:10003 16:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:13 Configure a credential helper to remove this warning. See 16:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:13 16:37:13 Login Succeeded 16:37:13 nexus3.edgexfoundry.org:10004 16:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:13 Configure a credential helper to remove this warning. See 16:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:13 16:37:13 Login Succeeded 16:37:13 docker.io 16:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:13 Configure a credential helper to remove this warning. See 16:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:13 16:37:13 Login Succeeded 16:37:13 ---> docker-login.sh ends [Pipeline] } 16:37:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:14 ========================================================= 16:37:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:37:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:37:14 Sending build context to Docker daemon 142.3kB 16:37:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:37:14 Step 2/12 : FROM ${BASE} AS builder 16:37:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:37:14 edb6bdbacee9: Pulling fs layer 16:37:14 5f9638ab2659: Pulling fs layer 16:37:14 8d51d6327a98: Pulling fs layer 16:37:14 8b374f2dd631: Pulling fs layer 16:37:14 ec14aa9079de: Pulling fs layer 16:37:14 8b374f2dd631: Waiting 16:37:14 ec14aa9079de: Waiting 16:37:14 2f466654f4bb: Pulling fs layer 16:37:14 554e91adad29: Pulling fs layer 16:37:14 2f466654f4bb: Waiting 16:37:14 5f9638ab2659: Verifying Checksum 16:37:14 5f9638ab2659: Download complete 16:37:14 8b374f2dd631: Verifying Checksum 16:37:14 8b374f2dd631: Download complete 16:37:15 ec14aa9079de: Verifying Checksum 16:37:15 ec14aa9079de: Download complete 16:37:15 edb6bdbacee9: Verifying Checksum 16:37:15 edb6bdbacee9: Download complete 16:37:16 edb6bdbacee9: Pull complete 16:37:16 554e91adad29: Verifying Checksum 16:37:16 554e91adad29: Download complete 16:37:17 8d51d6327a98: Verifying Checksum 16:37:17 8d51d6327a98: Download complete 16:37:17 2f466654f4bb: Verifying Checksum 16:37:17 2f466654f4bb: Download complete 16:37:18 5f9638ab2659: Pull complete 16:37:33 8d51d6327a98: Pull complete 16:37:33 8b374f2dd631: Pull complete 16:37:33 ec14aa9079de: Pull complete 16:37:40 2f466654f4bb: Pull complete 16:37:42 554e91adad29: Pull complete 16:37:42 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 16:37:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:37:42 ---> 1e15ea492957 16:37:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:37:44 ---> Running in 85975ab100a9 16:37:44 Removing intermediate container 85975ab100a9 16:37:44 ---> d4255e09191a 16:37:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:37:44 ---> Running in f641daafbc0b 16:37:45 Removing intermediate container f641daafbc0b 16:37:45 ---> fb8afbb87b97 16:37:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:37:45 ---> Running in e3af2043472e 16:37:45 Removing intermediate container e3af2043472e 16:37:45 ---> 5abe4c080b7f 16:37:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:37:45 ---> Running in 7c518c98de74 16:37:45 Removing intermediate container 7c518c98de74 16:37:45 ---> a0c1d844c0a7 16:37:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:37:45 ---> Running in 36886ed94f02 16:37:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:37:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:37:48 (1/4) Installing openssh-keygen (9.1_p1-r4) 16:37:48 (2/4) Installing libedit (20221030.3.1-r0) 16:37:48 (3/4) Installing openssh-client-common (9.1_p1-r4) 16:37:48 (4/4) Installing openssh-client-default (9.1_p1-r4) 16:37:48 Executing busybox-1.35.0-r29.trigger 16:37:48 OK: 268 MiB in 57 packages 16:37:49 Removing intermediate container 36886ed94f02 16:37:49 ---> 54f3c76f126c 16:37:49 Step 8/12 : WORKDIR /device-rest-go 16:37:49 ---> Running in 215eb3acb1d2 16:37:49 Removing intermediate container 215eb3acb1d2 16:37:49 ---> d8028818cab5 16:37:49 Step 9/12 : COPY go.mod vendor* ./ 16:37:50 ---> 4d17371b3e86 16:37:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:37:50 ---> Running in cbd4971a6a82 16:38:58 Removing intermediate container cbd4971a6a82 16:38:58 ---> 3b8406983d0b 16:38:58 Step 11/12 : COPY . . 16:38:58 ---> d088d7bdf076 16:38:58 Step 12/12 : RUN $MAKE 16:38:58 ---> Running in b537c25b008e 16:38:58 noop 16:38:58 Removing intermediate container b537c25b008e 16:38:58 ---> 1ded776ca986 16:38:58 Successfully built 1ded776ca986 16:38:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:58 + docker inspect -f . ci-base-image-arm64 16:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:58 prd-ubuntu20.04-docker-arm64-4c-16g-2759 does not seem to be running inside a container 16:38:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/123 -v /w/workspace/device-rest-go/123:/w/workspace/device-rest-go/123:rw,z -v /w/workspace/device-rest-go/123@tmp:/w/workspace/device-rest-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:38:59 $ docker top 1f4a4cc4a471df1d4cbe15f806ecd8f864db1d5bad39e5e7e7b930fa726c57d0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:00 + go version 16:39:00 go version go1.20.6 linux/arm64 [Pipeline] } 16:39:00 $ docker stop --time=1 1f4a4cc4a471df1d4cbe15f806ecd8f864db1d5bad39e5e7e7b930fa726c57d0 16:39:02 $ docker rm -f --volumes 1f4a4cc4a471df1d4cbe15f806ecd8f864db1d5bad39e5e7e7b930fa726c57d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:02 + docker inspect -f . ci-base-image-arm64 16:39:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:03 prd-ubuntu20.04-docker-arm64-4c-16g-2759 does not seem to be running inside a container 16:39:03 $ 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/123 -v /w/workspace/device-rest-go/123:/w/workspace/device-rest-go/123:rw,z -v /w/workspace/device-rest-go/123@tmp:/w/workspace/device-rest-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:39:06 $ docker top ba25fed65e9ce18b8d036bbbabdeb07f0a12e99382024f95c7642912cd29238d -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:06 + git config --global --add safe.directory /w/workspace/device-rest-go/123 [Pipeline] fileExists [Pipeline] sh 16:39:07 + make test 16:39:07 go test ./... -coverprofile=coverage.out ./... 16:39:39 ? github.com/edgexfoundry/device-rest-go [no test files] 16:41:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:41:31 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements 16:41:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:41:31 go vet ./... 16:41:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:41:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:41:58 ./bin/test-attribution-txt.sh [Pipeline] echo 16:41:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:41:58 $ docker stop --time=1 ba25fed65e9ce18b8d036bbbabdeb07f0a12e99382024f95c7642912cd29238d 16:42:00 $ docker rm -f --volumes ba25fed65e9ce18b8d036bbbabdeb07f0a12e99382024f95c7642912cd29238d [Pipeline] // withDockerContainer [Pipeline] sh 16:42:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:42:01 Warning: overwriting stash ‘coverage-report’ 16:42:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:42:02 + ls -al . 16:42:02 total 180 16:42:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 16:39 . 16:42:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:36 .. 16:42:02 -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 16:36 .dockerignore 16:42:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 16:36 .git 16:42:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:36 .github 16:42:02 -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 16:36 .gitignore 16:42:02 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 16:36 .golangci.yml 16:42:02 -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 16:36 Attribution.txt 16:42:02 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 16:36 CHANGELOG.md 16:42:02 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 16:36 Dockerfile 16:42:02 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 16:36 GOVERNANCE.md 16:42:02 -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 16:36 Jenkinsfile 16:42:02 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 16:36 LICENSE 16:42:02 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 16:36 Makefile 16:42:02 -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 16:36 OWNERS.md 16:42:02 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 16:36 README.md 16:42:02 -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 16:34 VERSION 16:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:36 bin 16:42:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 16:36 cmd 16:42:02 -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 16:41 coverage.out 16:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 16:36 driver 16:42:02 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 16:36 go.mod 16:42:02 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 16:36 go.sum 16:42:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 16:36 snap 16:42:02 -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 16:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:03 + 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=89173ea65a943aba0f4628b8150ce015ac4d5016 --label arch=arm64 --label version=3.1.0-dev.3 . 16:42:03 Sending build context to Docker daemon 157.7kB 16:42:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:42:04 Step 2/25 : FROM ${BASE} AS builder 16:42:04 ---> 1ded776ca986 16:42:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:42:04 ---> Running in 11f408d12179 16:42:05 Removing intermediate container 11f408d12179 16:42:05 ---> cccc8de933ad 16:42:05 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:42:05 ---> Running in 5eeacabc90f1 16:42:05 Removing intermediate container 5eeacabc90f1 16:42:05 ---> dfef40dac93c 16:42:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:42:05 ---> Running in d71187d0360e 16:42:06 Removing intermediate container d71187d0360e 16:42:06 ---> ff4fc75aee33 16:42:06 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:42:06 ---> Running in e76b3efcf456 16:42:06 Removing intermediate container e76b3efcf456 16:42:06 ---> ed46381cfbef 16:42:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:42:06 ---> Running in 8ee697c568ca 16:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:42:09 OK: 268 MiB in 57 packages 16:42:10 Removing intermediate container 8ee697c568ca 16:42:10 ---> e8550c5aee99 16:42:10 Step 8/25 : WORKDIR /device-rest-go 16:42:11 ---> Running in 87be638724a6 16:42:13 Removing intermediate container 87be638724a6 16:42:13 ---> 89ab881aa214 16:42:13 Step 9/25 : COPY go.mod vendor* ./ 16:42:13 ---> 52500ef5baec 16:42:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:42:13 ---> Running in 20c95bbe0a42 16:42:16 Removing intermediate container 20c95bbe0a42 16:42:16 ---> 3fb390eb5522 16:42:16 Step 11/25 : COPY . . 16:42:16 ---> 7402f2340fbb 16:42:16 Step 12/25 : RUN $MAKE 16:42:16 ---> Running in d411410976dc 16:42:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:44:24 Removing intermediate container d411410976dc 16:44:24 ---> dc48e5fb6564 16:44:24 Step 13/25 : FROM alpine:3.17 16:44:24 3.17: Pulling from library/alpine 16:44:24 edb6bdbacee9: Already exists 16:44:24 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 16:44:24 Status: Downloaded newer image for alpine:3.17 16:44:24 ---> 779605e5fbc0 16:44:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:44:24 ---> Running in 1682beeaa514 16:44:24 Removing intermediate container 1682beeaa514 16:44:24 ---> 7a8e7c08c282 16:44:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:44:24 ---> Running in 611510a4e70e 16:44:24 Removing intermediate container 611510a4e70e 16:44:24 ---> a60dbdded22b 16:44:24 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:44:24 ---> Running in 07a2edf84124 16:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:44:24 (1/1) Installing dumb-init (1.2.5-r2) 16:44:24 Executing busybox-1.35.0-r29.trigger 16:44:24 OK: 8 MiB in 16 packages 16:44:24 Removing intermediate container 07a2edf84124 16:44:24 ---> 56a2e2710a8c 16:44:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:44:24 ---> 1ca71a376ce6 16:44:24 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:44:24 ---> 426a26c416ae 16:44:24 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:44:24 ---> 48f0ac3915b7 16:44:24 Step 20/25 : EXPOSE 59986 16:44:24 ---> Running in 82ef93286e64 16:44:24 Removing intermediate container 82ef93286e64 16:44:24 ---> 01b064557b8e 16:44:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:44:24 ---> Running in ae7c2be99cc5 16:44:24 Removing intermediate container ae7c2be99cc5 16:44:24 ---> 255f589a4de2 16:44:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:44:24 ---> Running in bd80b742a299 16:44:24 Removing intermediate container bd80b742a299 16:44:24 ---> 932b9095e553 16:44:24 Step 23/25 : LABEL arch=arm64 16:44:24 ---> Running in 71a1606e4d69 16:44:24 Removing intermediate container 71a1606e4d69 16:44:24 ---> bc82a695622d 16:44:24 Step 24/25 : LABEL git_sha=89173ea65a943aba0f4628b8150ce015ac4d5016 16:44:24 ---> Running in afc74ed36c7e 16:44:24 Removing intermediate container afc74ed36c7e 16:44:24 ---> 37456fab2a82 16:44:24 Step 25/25 : LABEL version=3.1.0-dev.3 16:44:24 ---> Running in e81f1ead22ea 16:44:24 Removing intermediate container e81f1ead22ea 16:44:24 ---> a5d9f80a67e8 16:44:24 [Warning] One or more build-args [ARCH] were not consumed 16:44:24 Successfully built a5d9f80a67e8 16:44:24 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 16:44:24 provisioning config files... 16:44:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/123@tmp/config8372257499380110639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:24 ---> docker-login.sh 16:44:24 nexus3.edgexfoundry.org:10001 16:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:25 Configure a credential helper to remove this warning. See 16:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:25 16:44:25 Login Succeeded 16:44:25 nexus3.edgexfoundry.org:10002 16:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:25 Configure a credential helper to remove this warning. See 16:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:25 16:44:25 Login Succeeded 16:44:25 nexus3.edgexfoundry.org:10003 16:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:25 Configure a credential helper to remove this warning. See 16:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:25 16:44:25 Login Succeeded 16:44:25 nexus3.edgexfoundry.org:10004 16:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:26 Configure a credential helper to remove this warning. See 16:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:26 16:44:26 Login Succeeded 16:44:26 docker.io 16:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:26 Configure a credential helper to remove this warning. See 16:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:26 16:44:26 Login Succeeded 16:44:26 ---> docker-login.sh ends [Pipeline] } 16:44:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:44:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:26 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:44:26 89173ea65a943aba0f4628b8150ce015ac4d5016 16:44:26 latest 16:44:26 3.1.0-dev.3 16:44:26 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 16:44:26 main 16:44:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016 16:44:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:44:27 9ecd61a05c58: Preparing 16:44:27 24796c9caca0: Preparing 16:44:27 398de2a5e0c6: Preparing 16:44:27 5aa64c3ef7d8: Preparing 16:44:27 9386262d7a74: Preparing 16:44:27 9386262d7a74: Layer already exists 16:44:27 5aa64c3ef7d8: Pushed 16:44:27 9ecd61a05c58: Pushed 16:44:27 24796c9caca0: Pushed 16:44:33 398de2a5e0c6: Pushed 16:44:33 89173ea65a943aba0f4628b8150ce015ac4d5016: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:44:33 9ecd61a05c58: Preparing 16:44:33 24796c9caca0: Preparing 16:44:33 398de2a5e0c6: Preparing 16:44:33 5aa64c3ef7d8: Preparing 16:44:33 9386262d7a74: Preparing 16:44:33 398de2a5e0c6: Layer already exists 16:44:33 24796c9caca0: Layer already exists 16:44:33 9386262d7a74: Layer already exists 16:44:33 9ecd61a05c58: Layer already exists 16:44:33 5aa64c3ef7d8: Layer already exists 16:44:33 latest: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.3 16:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:44:34 9ecd61a05c58: Preparing 16:44:34 24796c9caca0: Preparing 16:44:34 398de2a5e0c6: Preparing 16:44:34 5aa64c3ef7d8: Preparing 16:44:34 9386262d7a74: Preparing 16:44:34 9ecd61a05c58: Layer already exists 16:44:34 9386262d7a74: Layer already exists 16:44:34 398de2a5e0c6: Layer already exists 16:44:34 5aa64c3ef7d8: Layer already exists 16:44:34 24796c9caca0: Layer already exists 16:44:34 3.1.0-dev.3: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 16:44:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:44:35 9ecd61a05c58: Preparing 16:44:35 24796c9caca0: Preparing 16:44:35 398de2a5e0c6: Preparing 16:44:35 5aa64c3ef7d8: Preparing 16:44:35 9386262d7a74: Preparing 16:44:35 9386262d7a74: Layer already exists 16:44:35 24796c9caca0: Layer already exists 16:44:35 398de2a5e0c6: Layer already exists 16:44:35 5aa64c3ef7d8: Layer already exists 16:44:35 9ecd61a05c58: Layer already exists 16:44:35 89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:44:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:44:36 9ecd61a05c58: Preparing 16:44:36 24796c9caca0: Preparing 16:44:36 398de2a5e0c6: Preparing 16:44:36 5aa64c3ef7d8: Preparing 16:44:36 9386262d7a74: Preparing 16:44:36 24796c9caca0: Layer already exists 16:44:36 9386262d7a74: Layer already exists 16:44:36 5aa64c3ef7d8: Layer already exists 16:44:36 398de2a5e0c6: Layer already exists 16:44:36 9ecd61a05c58: Layer already exists 16:44:36 main: digest: sha256:0c5c4b94ada68ad7261e67bd78528ed0b7b8272178d4517e6e205e6f7003ae7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:44:36 ===================================================== [Pipeline] echo 16:44:36 taggedImages: 16:44:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016 16:44:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:44:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.3 16:44:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:89173ea65a943aba0f4628b8150ce015ac4d5016-3.1.0-dev.3 16:44:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:44:36 16:44:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:44:36 arm64: Pulling from edgex-lftools-log-publisher 16:44:36 8998bd30e6a1: Pulling fs layer 16:44:36 04944245beec: Pulling fs layer 16:44:36 699f458cf7ca: Pulling fs layer 16:44:36 765212b225bb: Pulling fs layer 16:44:36 f23df028b6ca: Pulling fs layer 16:44:36 d65c8cfc05b1: Pulling fs layer 16:44:36 2437ff75d9bd: Pulling fs layer 16:44:36 f23df028b6ca: Waiting 16:44:36 d65c8cfc05b1: Waiting 16:44:36 2437ff75d9bd: Waiting 16:44:36 765212b225bb: Waiting 16:44:36 04944245beec: Verifying Checksum 16:44:36 04944245beec: Download complete 16:44:37 765212b225bb: Verifying Checksum 16:44:37 765212b225bb: Download complete 16:44:37 f23df028b6ca: Verifying Checksum 16:44:37 f23df028b6ca: Download complete 16:44:37 d65c8cfc05b1: Verifying Checksum 16:44:37 d65c8cfc05b1: Download complete 16:44:37 699f458cf7ca: Verifying Checksum 16:44:37 699f458cf7ca: Download complete 16:44:37 8998bd30e6a1: Verifying Checksum 16:44:37 8998bd30e6a1: Download complete 16:44:39 2437ff75d9bd: Verifying Checksum 16:44:39 2437ff75d9bd: Download complete 16:44:41 8998bd30e6a1: Pull complete 16:44:41 04944245beec: Pull complete 16:44:43 699f458cf7ca: Pull complete 16:44:43 765212b225bb: Pull complete 16:44:44 f23df028b6ca: Pull complete 16:44:44 d65c8cfc05b1: Pull complete 16:44:59 2437ff75d9bd: Pull complete 16:44:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:44:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:44:59 prd-ubuntu20.04-docker-arm64-4c-16g-2759 does not seem to be running inside a container 16:44:59 $ 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/123 -v /w/workspace/device-rest-go/123:/w/workspace/device-rest-go/123:rw,z -v /w/workspace/device-rest-go/123@tmp:/w/workspace/device-rest-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:45:01 $ docker top 075250925e4bb5ac53e3354008074da71352b8b6a1952e520e06d016338d2be3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:02 ---> job-cost.sh 16:45:02 lf-activate-venv: SKIPPING 16:45:02 INFO: No Stack... 16:45:02 INFO: Retrieving Pricing Info for: v3-standard-4 16:45:03 INFO: Archiving Costs [Pipeline] sh 16:45:04 + cat /w/workspace/device-rest-go/123/archives/cost.csv 16:45:04 + cut -d, -f6 [Pipeline] lock 16:45:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] 16:45:04 Resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] did not exist. Created. 16:45:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:45:04 /w/workspace/device-rest-go/123@tmp/durable-0368d133/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:45:04 + echo total: 0.10999999940395355 [Pipeline] stash 16:45:04 Warning: overwriting stash ‘stack-cost’ 16:45:05 Stashed 1 file(s) [Pipeline] } 16:45:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 16:45:05 $ docker stop --time=1 075250925e4bb5ac53e3354008074da71352b8b6a1952e520e06d016338d2be3 16:45:06 $ docker rm -f --volumes 075250925e4bb5ac53e3354008074da71352b8b6a1952e520e06d016338d2be3 [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 16:45:06 provisioning config files... 16:45:06 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2241025605706340509tmp [Pipeline] { [Pipeline] sh 16:45:07 + set +x 16:45:07 + curl -s https://codecov.io/bash 16:45:07 + bash -s -- 16:45:07 16:45:07 _____ _ 16:45:07 / ____| | | 16:45:07 | | ___ __| | ___ ___ _____ __ 16:45:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:45:07 | |___| (_) | (_| | __/ (_| (_) \ V / 16:45:07 \_____\___/ \__,_|\___|\___\___/ \_/ 16:45:07 Bash-1.0.6 16:45:07 16:45:07 16:45:07 ==> git version 2.25.1 found 16:45:07 ==> 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 16:45:07 Release-Date: 2020-01-08 16:45:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:45:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:45:07 ==> Jenkins CI detected. 16:45:07 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:45:07 project root: . 16:45:07 --> token set from env 16:45:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:45:07 ==> Running gcov in . (disable via -X gcov) 16:45:07 ==> Python coveragepy not found 16:45:07 ==> Searching for coverage reports in: 16:45:07 + . 16:45:07 -> Found 1 reports 16:45:07 ==> Detecting git/mercurial file structure 16:45:07 ==> Reading reports 16:45:07 + ./coverage.out bytes=14656 16:45:07 ==> Appending adjustments 16:45:07 https://docs.codecov.io/docs/fixing-reports 16:45:07 + Found adjustments 16:45:07 ==> Gzipping contents 16:45:07 4.0K /tmp/codecov.lSdDzR.gz 16:45:07 ==> Uploading reports 16:45:07 url: https://codecov.io 16:45:07 query: branch=main&commit=89173ea65a943aba0f4628b8150ce015ac4d5016&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:45:07 -> Pinging Codecov 16:45:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=89173ea65a943aba0f4628b8150ce015ac4d5016&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:45:07 -> Uploading to 16:45:07 https://storage.googleapis.com/codecov/v4/raw/2023-08-02/4E5D53B4F1F92C436F7061BF334D961C/89173ea65a943aba0f4628b8150ce015ac4d5016/0070a33b-113a-442d-90fc-e59c604524b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230802T164507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89f550f63009a367f4871e2eea70af061fb1412cbde2f41d6d4e0d257613efce 16:45:07 % Total % Received % Xferd Average Speed Time Time Time Current 16:45:07 Dload Upload Total Spent Left Speed 16:45:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 13115 --:--:-- --:--:-- --:--:-- 13047 16:45:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] } 16:45:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:45:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:45:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:45:08 16:45:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:45:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:45:08 df9b9388f04a: Pulling fs layer 16:45:08 52dc419b0ee2: Pulling fs layer 16:45:08 25bc292e5bac: Pulling fs layer 16:45:08 114826534d7a: Pulling fs layer 16:45:08 4657fd5d0bcf: Pulling fs layer 16:45:08 6ad1cebc031e: Pulling fs layer 16:45:08 8a3aa393b2d8: Pulling fs layer 16:45:08 114826534d7a: Waiting 16:45:08 4657fd5d0bcf: Waiting 16:45:08 6ad1cebc031e: Waiting 16:45:08 8a3aa393b2d8: Waiting 16:45:08 25bc292e5bac: Download complete 16:45:08 52dc419b0ee2: Verifying Checksum 16:45:08 52dc419b0ee2: Download complete 16:45:08 4657fd5d0bcf: Verifying Checksum 16:45:08 4657fd5d0bcf: Download complete 16:45:08 df9b9388f04a: Download complete 16:45:08 6ad1cebc031e: Verifying Checksum 16:45:08 6ad1cebc031e: Download complete 16:45:08 df9b9388f04a: Pull complete 16:45:08 52dc419b0ee2: Pull complete 16:45:08 25bc292e5bac: Pull complete 16:45:09 114826534d7a: Download complete 16:45:09 8a3aa393b2d8: Verifying Checksum 16:45:09 8a3aa393b2d8: Download complete 16:45:12 114826534d7a: Pull complete 16:45:12 4657fd5d0bcf: Pull complete 16:45:12 6ad1cebc031e: Pull complete 16:45:15 8a3aa393b2d8: Pull complete 16:45:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:45:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:15 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:45:15 $ 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_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:45:24 $ docker top cdda2fe3cc1b25b6a04b38dc8c4c4688ac329a459024875ec1a9b174565e7196 -eo pid,comm [Pipeline] { [Pipeline] echo 16:45:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:45:24 + set -o pipefail 16:45:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:45:30 16:45:30 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:45:30 16:45:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/30079a9b-1607-4ab1-87f9-f43223910414 16:45:30 16:45:30 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:45:30 16:45:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:45:30 16:45:30 16:45:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:45:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:45:30 More details here: https://snyk.co/ue1NS 16:45:30 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 16:45:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:45:30 $ docker stop --time=1 cdda2fe3cc1b25b6a04b38dc8c4c4688ac329a459024875ec1a9b174565e7196 16:45:40 $ docker rm -f --volumes cdda2fe3cc1b25b6a04b38dc8c4c4688ac329a459024875ec1a9b174565e7196 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:45:40 + git log --format=format:%s -1 89173ea65a943aba0f4628b8150ce015ac4d5016 [Pipeline] sh 16:45:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:45:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:41 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:45:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:45:41 $ docker top a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 -eo pid,comm 16:45:42 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). 16:45:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:42 [ssh-agent] Looking for ssh-agent implementation... 16:45:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:42 $ docker exec a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 ssh-agent 16:45:42 SSH_AUTH_SOCK=/tmp/ssh-wJyu0UB9FOB1/agent.33 16:45:42 SSH_AGENT_PID=39 16:45:42 Running ssh-add (command line suppressed) 16:45:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11524578897987877330.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11524578897987877330.key) 16:45:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:42 + git semver tag 16:45:42 2023-08-02 16:45:42,829 [run_tag] DEBUG tag force:False 16:45:42 2023-08-02 16:45:42,829 [check_head_tag] DEBUG check head tag 16:45:42 2023-08-02 16:45:42,829 [execute] INFO git cat-file --batch-check 16:45:42 2023-08-02 16:45:42,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:45:42 2023-08-02 16:45:42,832 [execute] INFO git cat-file --batch 16:45:42 2023-08-02 16:45:42,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:45:42 2023-08-02 16:45:42,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:45:42 2023-08-02 16:45:42,839 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 16:45:42 2023-08-02 16:45:42,840 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:45:42 2023-08-02 16:45:42,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:45:42 3.1.0-dev.3 [Pipeline] } 16:45:42 $ docker exec --env ******** --env ******** a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 ssh-agent -k 16:45:43 unset SSH_AUTH_SOCK; 16:45:43 unset SSH_AGENT_PID; 16:45:43 echo Agent pid 39 killed; 16:45:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:45:43 + git semver [Pipeline] } 16:45:43 $ docker stop --time=1 a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 16:45:44 $ docker rm -f --volumes a185cd12765d6d92757b905ae49ed5dc6b5649720b571d6d88067926f6ef7334 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:45:45 16:45:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:45:45 0.23.1-centos7: Pulling from edgex-lftools 16:45:45 ab5ef0e58194: Pulling fs layer 16:45:45 9712f1f96733: Pulling fs layer 16:45:45 63f879dbbcfc: Pulling fs layer 16:45:45 0d9ebad4ef96: Pulling fs layer 16:45:45 e9a5061849ea: Pulling fs layer 16:45:45 d747dcd14b5f: Pulling fs layer 16:45:45 2de7ff778b66: Pulling fs layer 16:45:45 0d9ebad4ef96: Waiting 16:45:45 e9a5061849ea: Waiting 16:45:45 2de7ff778b66: Waiting 16:45:45 d747dcd14b5f: Waiting 16:45:45 9712f1f96733: Verifying Checksum 16:45:45 9712f1f96733: Download complete 16:45:45 63f879dbbcfc: Verifying Checksum 16:45:45 63f879dbbcfc: Download complete 16:45:46 e9a5061849ea: Verifying Checksum 16:45:46 e9a5061849ea: Download complete 16:45:46 0d9ebad4ef96: Verifying Checksum 16:45:46 0d9ebad4ef96: Download complete 16:45:46 d747dcd14b5f: Verifying Checksum 16:45:46 d747dcd14b5f: Download complete 16:45:46 ab5ef0e58194: Verifying Checksum 16:45:46 ab5ef0e58194: Download complete 16:45:46 2de7ff778b66: Verifying Checksum 16:45:46 2de7ff778b66: Download complete 16:45:48 ab5ef0e58194: Pull complete 16:45:48 9712f1f96733: Pull complete 16:45:49 63f879dbbcfc: Pull complete 16:45:53 0d9ebad4ef96: Pull complete 16:45:53 e9a5061849ea: Pull complete 16:45:53 d747dcd14b5f: Pull complete 16:45:54 2de7ff778b66: Pull complete 16:45:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:45:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:54 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:45:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:46:00 $ docker top 4b78cc4ad8088d87fd4c11a845b3add63493527b609a5c13444ab13fbfdd9b51 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:46:00 provisioning config files... 16:46:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6859011538020419512tmp 16:46:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12573159823457871362tmp 16:46:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9303232529550398203tmp [Pipeline] { [Pipeline] echo 16:46:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:46:00 ---> sigul-configuration.sh 16:46:00 gpg: directory `/root/.gnupg' created 16:46:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:46:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:46:00 gpg: keyring `/root/.gnupg/secring.gpg' created 16:46:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:46:00 gpg: CAST5 encrypted data 16:46:00 gpg: encrypted with 1 passphrase 16:46:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:46:00 + mkdir /home/jenkins 16:46:00 + mkdir /home/jenkins/sigul [Pipeline] sh 16:46:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:46:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:46:01 ---> sigul-install.sh 16:46:01 Sigul already installed; skipping installation. [Pipeline] sh 16:46:01 + git tag --list 16:46:01 v1.0.0 16:46:01 v1.1.0 16:46:01 v1.1.1 16:46:01 v1.1.2 16:46:01 v1.2.0 16:46:01 v1.2.1 16:46:01 v2.0.0 16:46:01 v2.1.0 16:46:01 v2.1.1 16:46:01 v2.2.0 16:46:01 v2.3.0 16:46:01 v3.0 16:46:01 v3.0.0 16:46:01 v3.1.0-dev.1 16:46:01 v3.1.0-dev.2 16:46:01 v3.1.0-dev.3 [Pipeline] sh 16:46:02 + lftools sign git-tag v3.1.0-dev.3 16:46:02 Signing Git tag with Sigul... 16:46:02 Signing v3.1.0-dev.3 [Pipeline] echo 16:46:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:46:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:46:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:46:03 $ docker stop --time=1 4b78cc4ad8088d87fd4c11a845b3add63493527b609a5c13444ab13fbfdd9b51 16:46:04 $ docker rm -f --volumes 4b78cc4ad8088d87fd4c11a845b3add63493527b609a5c13444ab13fbfdd9b51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:46:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:46:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:05 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:46:05 $ docker top 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 -eo pid,comm 16:46:05 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). 16:46:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:05 [ssh-agent] Looking for ssh-agent implementation... 16:46:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:05 $ docker exec 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 ssh-agent 16:46:05 SSH_AUTH_SOCK=/tmp/ssh-FvnUHaHbH9zS/agent.32 16:46:05 SSH_AGENT_PID=38 16:46:05 Running ssh-add (command line suppressed) 16:46:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11829048762494130792.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11829048762494130792.key) 16:46:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:06 + git semver bump pre 16:46:06 2023-08-02 16:46:06,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:46:06 2023-08-02 16:46:06,454 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev 16:46:06 2023-08-02 16:46:06,454 [bump_version] DEBUG bumped version:3.1.0-dev.4 16:46:06 2023-08-02 16:46:06,454 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:46:06 2023-08-02 16:46:06,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:46:06 2023-08-02 16:46:06,454 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:46:06 2023-08-02 16:46:06,456 [execute] INFO git cat-file --batch-check 16:46:06 2023-08-02 16:46:06,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:46:06 2023-08-02 16:46:06,461 [execute] INFO git cat-file --batch 16:46:06 2023-08-02 16:46:06,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:46:06 2023-08-02 16:46:06,466 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:46:06 3.1.0-dev.4 [Pipeline] } 16:46:06 $ docker exec --env ******** --env ******** 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 ssh-agent -k 16:46:06 unset SSH_AUTH_SOCK; 16:46:06 unset SSH_AGENT_PID; 16:46:06 echo Agent pid 38 killed; 16:46:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:06 + git semver [Pipeline] } 16:46:07 $ docker stop --time=1 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 16:46:08 $ docker rm -f --volumes 931eb032ed89bd356a1c57024240a0ff0714ca45a20aec6c47dfa4be636eb957 [Pipeline] // withDockerContainer [Pipeline] sh 16:46:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:46:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:46:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:09 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:46:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:46:09 $ docker top 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 -eo pid,comm 16:46:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:46:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:46:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:46:09 [ssh-agent] Looking for ssh-agent implementation... 16:46:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:46:09 $ docker exec 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 ssh-agent 16:46:09 SSH_AUTH_SOCK=/tmp/ssh-J6mMH9gPAfZB/agent.32 16:46:09 SSH_AGENT_PID=38 16:46:09 Running ssh-add (command line suppressed) 16:46:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16654885489579251467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16654885489579251467.key) 16:46:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:46:10 + git semver push 16:46:10 2023-08-02 16:46:10,328 [run_push] DEBUG push 16:46:10 2023-08-02 16:46:10,329 [execute] INFO git cat-file --batch-check 16:46:10 2023-08-02 16:46:10,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:46:10 2023-08-02 16:46:10,333 [execute] INFO git rev-list 64679faa2a5cfe780ac0759fb263c637d0aab1a7 -- 16:46:10 2023-08-02 16:46:10,333 [execute] DEBUG Popen(['git', 'rev-list', '64679faa2a5cfe780ac0759fb263c637d0aab1a7', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:46:10 2023-08-02 16:46:10,341 [execute] INFO git fetch -v origin 16:46:10 2023-08-02 16:46:10,341 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:46:11 2023-08-02 16:46:10,851 [run_push] DEBUG no remote changes detected 16:46:11 2023-08-02 16:46:10,851 [execute] INFO git push origin semver 16:46:11 2023-08-02 16:46:10,852 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:46:11 2023-08-02 16:46:11,687 [run_push] DEBUG push all version tags 16:46:11 2023-08-02 16:46:11,688 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:46:11 2023-08-02 16:46:11,688 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:46:12 2023-08-02 16:46:12,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:46:12 3.1.0-dev.4 [Pipeline] } 16:46:12 $ docker exec --env ******** --env ******** 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 ssh-agent -k 16:46:12 unset SSH_AUTH_SOCK; 16:46:12 unset SSH_AGENT_PID; 16:46:12 echo Agent pid 38 killed; 16:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:46:13 + git semver [Pipeline] } 16:46:13 $ docker stop --time=1 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 16:46:14 $ docker rm -f --volumes 74b9248095061809af5ffd27c3dc90e4da5e946a69b582413e467b4334b3f644 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:46:15 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:46:15 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:46:15 total 16 16:46:15 drwxr-xr-x 3 root root 4096 Aug 2 16:37 . 16:46:15 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 16:46 .. 16:46:15 drwxr-xr-x 2 root root 4096 Aug 2 16:37 cost 16:46:15 -rw-r--r-- 1 root root 86 Aug 2 16:37 cost.csv 16:46:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:46:15 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:46:15 total 16 16:46:15 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 16:37 . 16:46:15 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 16:46 .. 16:46:15 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 16:37 cost 16:46:15 -rw-r--r-- 1 jenkins jenkins 86 Aug 2 16:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:46:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:46:16 ---> package-listing.sh 16:46:16 ++ facter osfamily 16:46:16 ++ tr '[:upper:]' '[:lower:]' 16:46:16 + OS_FAMILY=debian 16:46:16 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:46:16 + START_PACKAGES=/tmp/packages_start.txt 16:46:16 + END_PACKAGES=/tmp/packages_end.txt 16:46:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:46:16 + PACKAGES=/tmp/packages_start.txt 16:46:16 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:46:16 + PACKAGES=/tmp/packages_end.txt 16:46:16 + case "${OS_FAMILY}" in 16:46:16 + dpkg -l 16:46:16 + grep '^ii' 16:46:16 + '[' -f /tmp/packages_start.txt ']' 16:46:16 + '[' -f /tmp/packages_end.txt ']' 16:46:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:46:16 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:46:16 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:46:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:46:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:46:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:17 prd-ubuntu20.04-docker-8c-8g-2758 does not seem to be running inside a container 16:46:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/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_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:46:17 $ docker top cf5dda475bc635e65567b581a844c60fa33076abe69bf7fb20c9995b2c7e654b -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:18 + touch /tmp/pre-build-complete [Pipeline] sh 16:46:18 + mkdir -p /var/log/sysstat [Pipeline] sh 16:46:18 + ls /var/log/sa-host 16:46:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:46:18 provisioning config files... 16:46:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15563444245323049055tmp [Pipeline] { [Pipeline] echo 16:46:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:46:19 ---> create-netrc.sh [Pipeline] } 16:46:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:46:19 ---> python-tools-install.sh [Pipeline] echo 16:46:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:46:19 ---> sudo-logs.sh 16:46:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:46:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:46:20 ---> job-cost.sh 16:46:20 lf-activate-venv: SKIPPING 16:46:20 DEBUG: total: 0.2199999988079071 16:46:20 INFO: Retrieving Stack Cost... 16:46:20 INFO: Retrieving Pricing Info for: v3-standard-8 16:46:21 INFO: Archiving Costs [Pipeline] echo 16:46:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:46:21 ---> logs-deploy.sh 16:46:21 lf-activate-venv: SKIPPING 16:46:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/123 16:46:21 INFO: archiving workspace using pattern(s): 16:46:22 Archives upload complete. 16:46:22 INFO: archiving logs to Nexus