Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2edde5371b1e0a954b02411e16a4f121493e2029+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (588f56924e6a062eeb89fafc779394a4d9efe58f) 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-ssh262213732581651495.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17232726972722239432.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15407250335819301087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14768190134754195936.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh18136317395394658530.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4600363017046243127.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1479’ Running on prd-ubuntu20.04-docker-8c-8g-1486 in /w/workspace/gexfoundry_device-rest-go_PR-234 [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/gexfoundry_device-rest-go_PR-234 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 2edde5371b1e0a954b02411e16a4f121493e2029 Merge succeeded, producing 2edde5371b1e0a954b02411e16a4f121493e2029 Checking out Revision 2edde5371b1e0a954b02411e16a4f121493e2029 (PR-234) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 [Pipeline] withCredentials 20:04:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:15 ========================================================= 20:04:15 EdgeX Global Pipelines Version Info 20:04:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:16 ------------------- 20:04:16 stable info: 20:04:16 ------------------- 20:04:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:04:16 Message: update stable to v1.0.244 20:04:16 ------------------- 20:04:16 experimental info: 20:04:16 ------------------- 20:04:16 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:04:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2edde53 [Pipeline] echo 20:04:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:18 provisioning config files... 20:04:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config3181287448192025893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:19 ---> docker-login.sh 20:04:19 nexus3.edgexfoundry.org:10001 20:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:19 Configure a credential helper to remove this warning. See 20:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:19 20:04:19 Login Succeeded 20:04:19 nexus3.edgexfoundry.org:10002 20:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:19 Configure a credential helper to remove this warning. See 20:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:19 20:04:19 Login Succeeded 20:04:19 nexus3.edgexfoundry.org:10003 20:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:19 Configure a credential helper to remove this warning. See 20:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:19 20:04:19 Login Succeeded 20:04:19 nexus3.edgexfoundry.org:10004 20:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:19 Configure a credential helper to remove this warning. See 20:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:19 20:04:19 Login Succeeded 20:04:19 docker.io 20:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:19 Configure a credential helper to remove this warning. See 20:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:19 20:04:19 Login Succeeded 20:04:19 ---> docker-login.sh ends [Pipeline] } 20:04:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:20 + git rev-list -1 --merges 2edde5371b1e0a954b02411e16a4f121493e2029~1..2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo 20:04:20 -----------> git rev-list -1 --merges 2edde5371b1e0a954b02411e16a4f121493e2029~1..2edde5371b1e0a954b02411e16a4f121493e2029 2edde5371b1e0a954b02411e16a4f121493e2029 [false] [Pipeline] sh 20:04:20 + git log --format=format:%s -1 2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo 20:04:20 ========================================================= 20:04:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:21 + git log --format=format:%s -1 2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] echo 20:04:21 [semverPrep] GIT_COMMIT: 2edde5371b1e0a954b02411e16a4f121493e2029, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:04:21 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:21 + grep -v github /etc/ssh/ssh_known_hosts 20:04:21 + [ -e /tmp/ssh_known_hosts ] 20:04:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:21 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:22 20:04:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:22 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:22 b85a868b505f: Pulling fs layer 20:04:22 e2be974225ed: Pulling fs layer 20:04:22 339a4e72a1f5: Pulling fs layer 20:04:22 988bab9f4d93: Pulling fs layer 20:04:22 1469e6f7b9e6: Pulling fs layer 20:04:22 eaf3925da568: Pulling fs layer 20:04:22 bab4dde63d76: Pulling fs layer 20:04:22 bde34c3a00c8: Pulling fs layer 20:04:22 b352a97aabf1: Pulling fs layer 20:04:22 4872d77fe225: Pulling fs layer 20:04:22 4872d77fe225: Waiting 20:04:22 bde34c3a00c8: Waiting 20:04:22 988bab9f4d93: Waiting 20:04:22 eaf3925da568: Waiting 20:04:22 5851b861e8e6: Pulling fs layer 20:04:22 1469e6f7b9e6: Waiting 20:04:22 b352a97aabf1: Waiting 20:04:22 e2be974225ed: Download complete 20:04:22 988bab9f4d93: Verifying Checksum 20:04:22 988bab9f4d93: Download complete 20:04:22 1469e6f7b9e6: Verifying Checksum 20:04:22 1469e6f7b9e6: Download complete 20:04:22 339a4e72a1f5: Verifying Checksum 20:04:22 339a4e72a1f5: Download complete 20:04:23 bde34c3a00c8: Verifying Checksum 20:04:23 bde34c3a00c8: Download complete 20:04:23 b352a97aabf1: Download complete 20:04:23 4872d77fe225: Download complete 20:04:23 5851b861e8e6: Verifying Checksum 20:04:23 5851b861e8e6: Download complete 20:04:23 b85a868b505f: Verifying Checksum 20:04:23 b85a868b505f: Download complete 20:04:23 bab4dde63d76: Verifying Checksum 20:04:23 bab4dde63d76: Download complete 20:04:24 b85a868b505f: Pull complete 20:04:24 e2be974225ed: Pull complete 20:04:25 339a4e72a1f5: Pull complete 20:04:25 988bab9f4d93: Pull complete 20:04:26 1469e6f7b9e6: Pull complete 20:04:26 eaf3925da568: Pull complete 20:04:28 bab4dde63d76: Pull complete 20:04:28 bde34c3a00c8: Pull complete 20:04:28 b352a97aabf1: Pull complete 20:04:28 4872d77fe225: Pull complete 20:04:28 5851b861e8e6: Pull complete 20:04:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:28 prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container 20:04:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@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 20:04:31 $ docker top 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf -eo pid,comm 20:04:31 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). 20:04:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:31 [ssh-agent] Looking for ssh-agent implementation... 20:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:31 $ docker exec 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent 20:04:31 SSH_AUTH_SOCK=/tmp/ssh-6cC1mVpXZYMV/agent.21 20:04:31 SSH_AGENT_PID=27 20:04:31 Running ssh-add (command line suppressed) 20:04:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_11418836558825912010.key (/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_11418836558825912010.key) 20:04:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:32 + git tag --points-at HEAD [Pipeline] } 20:04:32 $ docker exec --env ******** --env ******** 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent -k 20:04:32 unset SSH_AUTH_SOCK; 20:04:32 unset SSH_AGENT_PID; 20:04:32 echo Agent pid 27 killed; 20:04:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:32 [ssh-agent] Looking for ssh-agent implementation... 20:04:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:32 $ docker exec 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent 20:04:32 SSH_AUTH_SOCK=/tmp/ssh-EKjsVSfWutLv/agent.70 20:04:32 SSH_AGENT_PID=76 20:04:32 Running ssh-add (command line suppressed) 20:04:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_13857384738861259183.key (/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/private_key_13857384738861259183.key) 20:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:33 + git semver init 20:04:33 2023-01-09 20:04:33,181 [run_init] DEBUG init version:0.0.0 force:False 20:04:33 2023-01-09 20:04:33,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-234/.semver 20:04:33 2023-01-09 20:04:33,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-234/.semver 20:04:33 2023-01-09 20:04:33,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-234/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-234, universal_newlines=False, shell=None, istream=None) 20:04:34 2023-01-09 20:04:34,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-234/.git/info/exclude 20:04:34 2023-01-09 20:04:34,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-234/.semver/PR-234 with force:False 20:04:34 2023-01-09 20:04:34,306 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-234/.semver/PR-234 20:04:34 2023-01-09 20:04:34,310 [execute] INFO git cat-file --batch-check 20:04:34 2023-01-09 20:04:34,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-234/.semver, universal_newlines=False, shell=None, istream=) 20:04:34 2023-01-09 20:04:34,315 [execute] INFO git cat-file --batch 20:04:34 2023-01-09 20:04:34,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-234/.semver, universal_newlines=False, shell=None, istream=) 20:04:34 2023-01-09 20:04:34,320 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-234/.semver/PR-234 20:04:34 0.0.0 [Pipeline] } 20:04:34 $ docker exec --env ******** --env ******** 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf ssh-agent -k 20:04:34 unset SSH_AUTH_SOCK; 20:04:34 unset SSH_AGENT_PID; 20:04:34 echo Agent pid 76 killed; 20:04:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:35 + git semver [Pipeline] } 20:04:35 $ docker stop --time=1 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf 20:04:36 $ docker rm -f --volumes 56f9d8dc942d40b7e652b9e18ab4975ee99e5901175e35573ef27a7fe8cb5bbf [Pipeline] // withDockerContainer [Pipeline] sh 20:04:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:37 Stashed 1 file(s) [Pipeline] echo 20:04:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:38 provisioning config files... 20:04:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config4527225235850421731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:38 ---> docker-login.sh 20:04:38 nexus3.edgexfoundry.org:10001 20:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:38 Configure a credential helper to remove this warning. See 20:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:38 20:04:38 Login Succeeded 20:04:38 nexus3.edgexfoundry.org:10002 20:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:38 Configure a credential helper to remove this warning. See 20:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:38 20:04:38 Login Succeeded 20:04:38 nexus3.edgexfoundry.org:10003 20:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:38 Configure a credential helper to remove this warning. See 20:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:38 20:04:38 Login Succeeded 20:04:38 nexus3.edgexfoundry.org:10004 20:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:38 Configure a credential helper to remove this warning. See 20:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:38 20:04:38 Login Succeeded 20:04:38 docker.io 20:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:38 Configure a credential helper to remove this warning. See 20:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:38 20:04:38 Login Succeeded 20:04:38 ---> docker-login.sh ends [Pipeline] } 20:04:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:39 ========================================================= 20:04:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:04:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:04:39 Sending build context to Docker daemon 10.79MB 20:04:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:04:39 Step 2/12 : FROM ${BASE} AS builder 20:04:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:39 213ec9aee27d: Pulling fs layer 20:04:39 4583459ba037: Pulling fs layer 20:04:39 93c1e223e6f2: Pulling fs layer 20:04:39 53926ce57604: Pulling fs layer 20:04:39 21b2b0c7a3f4: Pulling fs layer 20:04:39 22ff95d597cd: Pulling fs layer 20:04:39 12d6caf4c0d1: Pulling fs layer 20:04:39 96b7cbca73a9: Pulling fs layer 20:04:39 a7acece74701: Pulling fs layer 20:04:39 21b2b0c7a3f4: Waiting 20:04:39 22ff95d597cd: Waiting 20:04:39 12d6caf4c0d1: Waiting 20:04:39 53926ce57604: Waiting 20:04:39 96b7cbca73a9: Waiting 20:04:39 a7acece74701: Waiting 20:04:39 93c1e223e6f2: Verifying Checksum 20:04:39 93c1e223e6f2: Download complete 20:04:39 4583459ba037: Verifying Checksum 20:04:39 4583459ba037: Download complete 20:04:39 21b2b0c7a3f4: Verifying Checksum 20:04:39 21b2b0c7a3f4: Download complete 20:04:39 22ff95d597cd: Download complete 20:04:39 213ec9aee27d: Verifying Checksum 20:04:39 213ec9aee27d: Download complete 20:04:39 12d6caf4c0d1: Verifying Checksum 20:04:39 12d6caf4c0d1: Download complete 20:04:40 213ec9aee27d: Pull complete 20:04:40 a7acece74701: Verifying Checksum 20:04:40 a7acece74701: Download complete 20:04:40 4583459ba037: Pull complete 20:04:40 93c1e223e6f2: Pull complete 20:04:41 53926ce57604: Verifying Checksum 20:04:41 53926ce57604: Download complete 20:04:41 96b7cbca73a9: Verifying Checksum 20:04:41 96b7cbca73a9: Download complete 20:04:45 53926ce57604: Pull complete 20:04:45 21b2b0c7a3f4: Pull complete 20:04:45 22ff95d597cd: Pull complete 20:04:45 12d6caf4c0d1: Pull complete 20:04:46 96b7cbca73a9: Pull complete 20:04:47 a7acece74701: Pull complete 20:04:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:04:47 ---> db6d94c90886 20:04:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:04:52 Still waiting to schedule task 20:04:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1483’ is offline 20:04:52 ---> Running in 618a247c32af 20:04:52 Removing intermediate container 618a247c32af 20:04:52 ---> d78922640f82 20:04:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:52 ---> Running in e0530e62ed1d 20:04:52 Removing intermediate container e0530e62ed1d 20:04:52 ---> 1da16684e1a8 20:04:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:53 ---> Running in c42c4df613d8 20:04:53 Removing intermediate container c42c4df613d8 20:04:53 ---> 7c6cb3d31a16 20:04:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:04:53 ---> Running in cda01b81b0ba 20:04:53 Removing intermediate container cda01b81b0ba 20:04:53 ---> 0e49b567dd58 20:04:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:53 ---> Running in 8f4e576fd7f9 20:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:04:55 (2/4) Installing libedit (20210910.3.1-r0) 20:04:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:04:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:04:55 Executing busybox-1.35.0-r17.trigger 20:04:55 OK: 216 MiB in 55 packages 20:04:55 Removing intermediate container 8f4e576fd7f9 20:04:55 ---> eabd2f43fb37 20:04:55 Step 8/12 : WORKDIR /device-rest-go 20:04:55 ---> Running in 5b1952d10341 20:04:55 Removing intermediate container 5b1952d10341 20:04:55 ---> 43b8eed55183 20:04:55 Step 9/12 : COPY go.mod vendor* ./ 20:04:55 ---> d042cf63795b 20:04:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:55 ---> Running in d7835597eb3f 20:05:27 Removing intermediate container d7835597eb3f 20:05:27 ---> bc4c6db09561 20:05:27 Step 11/12 : COPY . . 20:05:27 ---> 071e4a4c6b5c 20:05:27 Step 12/12 : RUN $MAKE 20:05:27 ---> Running in 0235f4895314 20:05:27 noop 20:05:27 Removing intermediate container 0235f4895314 20:05:27 ---> 4a154d870de1 20:05:27 Successfully built 4a154d870de1 20:05:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:28 + docker inspect -f . ci-base-image-x86_64 20:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:28 prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container 20:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:28 $ docker top c0b4a8cdf66d927842fbd8b6d244f79cf91f2505dea864b759a5de9c964621f3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:29 + go version 20:05:29 go version go1.18.7 linux/amd64 [Pipeline] } 20:05:29 $ docker stop --time=1 c0b4a8cdf66d927842fbd8b6d244f79cf91f2505dea864b759a5de9c964621f3 20:05:30 $ docker rm -f --volumes c0b4a8cdf66d927842fbd8b6d244f79cf91f2505dea864b759a5de9c964621f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:31 + docker inspect -f . ci-base-image-x86_64 20:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:31 prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container 20:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:31 $ docker top 7df32cc9d62044b1e64fab93633a4dff30abb2c266658bb35a16cc0ac0bf4cc1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-234 [Pipeline] fileExists [Pipeline] sh 20:05:32 + make test 20:05:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:05:32 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:42 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:05:50 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:05:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:53 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:53 $ docker stop --time=1 7df32cc9d62044b1e64fab93633a4dff30abb2c266658bb35a16cc0ac0bf4cc1 20:05:56 $ docker rm -f --volumes 7df32cc9d62044b1e64fab93633a4dff30abb2c266658bb35a16cc0ac0bf4cc1 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:58 + ls -al . 20:05:58 total 188 20:05:58 drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 20:05 . 20:05:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:04 .. 20:05:58 -rw-rw-r-- 1 jenkins jenkins 151 Jan 9 20:04 .dockerignore 20:05:58 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 20:05 .git 20:05:58 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:04 .github 20:05:58 -rw-rw-r-- 1 jenkins jenkins 329 Jan 9 20:04 .gitignore 20:05:58 -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 20:04 .golangci.yml 20:05:58 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 20:04 .semver 20:05:58 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 9 20:04 Attribution.txt 20:05:58 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 9 20:04 CHANGELOG.md 20:05:58 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 9 20:04 Dockerfile 20:05:58 -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 20:04 GOVERNANCE.md 20:05:58 -rw-rw-r-- 1 jenkins jenkins 680 Jan 9 20:04 Jenkinsfile 20:05:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 20:04 LICENSE 20:05:58 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 9 20:04 Makefile 20:05:58 -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 20:04 OWNERS.md 20:05:58 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 9 20:04 README.md 20:05:58 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 20:04 VERSION 20:05:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:04 bin 20:05:58 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:04 cmd 20:05:58 -rw-r--r-- 1 jenkins jenkins 9355 Jan 9 20:05 coverage.out 20:05:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:04 driver 20:05:58 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 9 20:04 go.mod 20:05:58 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 9 20:04 go.sum 20:05:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:04 snap 20:05:58 -rw-rw-r-- 1 jenkins jenkins 713 Jan 9 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:58 + 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=2edde5371b1e0a954b02411e16a4f121493e2029 --label arch=amd64 --label version=0.0.0 . 20:05:58 Sending build context to Docker daemon 10.8MB 20:05:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:05:58 Step 2/25 : FROM ${BASE} AS builder 20:05:58 ---> 4a154d870de1 20:05:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:05:58 ---> Running in fa710f624482 20:05:58 Removing intermediate container fa710f624482 20:05:58 ---> 2267b516d44a 20:05:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:58 ---> Running in 681bc5575b0e 20:05:58 Removing intermediate container 681bc5575b0e 20:05:58 ---> 759d4d51c7c2 20:05:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:58 ---> Running in 4c71155dc4ab 20:05:59 Removing intermediate container 4c71155dc4ab 20:05:59 ---> 51fcf1dfbc5d 20:05:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:05:59 ---> Running in e8cd701353d4 20:05:59 Removing intermediate container e8cd701353d4 20:05:59 ---> 490f4250dfc2 20:05:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:59 ---> Running in 06d3ee86070b 20:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:59 OK: 216 MiB in 55 packages 20:06:00 Removing intermediate container 06d3ee86070b 20:06:00 ---> fb6ee5de8388 20:06:00 Step 8/25 : WORKDIR /device-rest-go 20:06:00 ---> Running in e65951d05a19 20:06:00 Removing intermediate container e65951d05a19 20:06:00 ---> 78b34c9ac8e0 20:06:00 Step 9/25 : COPY go.mod vendor* ./ 20:06:00 ---> 873d34b4a5dd 20:06:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:00 ---> Running in 542fac073a93 20:06:00 Removing intermediate container 542fac073a93 20:06:00 ---> b8e0d37e69eb 20:06:00 Step 11/25 : COPY . . 20:06:01 ---> ca7dd7754c12 20:06:01 Step 12/25 : RUN $MAKE 20:06:01 ---> Running in 1216a2bb6f73 20:06:01 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:06:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1487 in /w/workspace/gexfoundry_device-rest-go_PR-234 [Pipeline] { [Pipeline] ws 20:06:21 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:21 The recommended git tool is: git 20:06:23 Removing intermediate container 1216a2bb6f73 20:06:23 ---> b10b64d9a0c2 20:06:23 Step 13/25 : FROM alpine:3.16 20:06:23 3.16: Pulling from library/alpine 20:06:23 ca7dd9ec2225: Pulling fs layer 20:06:23 ca7dd9ec2225: Verifying Checksum 20:06:23 ca7dd9ec2225: Download complete 20:06:23 ca7dd9ec2225: Pull complete 20:06:23 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 20:06:23 Status: Downloaded newer image for alpine:3.16 20:06:23 ---> bfe296a52501 20:06:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:06:23 ---> Running in 7c395fbafd0b 20:06:23 Removing intermediate container 7c395fbafd0b 20:06:23 ---> a931f3f96e49 20:06:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:06:23 ---> Running in 9378e2cadca7 20:06:23 Removing intermediate container 9378e2cadca7 20:06:23 ---> f1d2e70f7202 20:06:23 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:06:23 ---> Running in 18c088c9b34c 20:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:23 (1/6) Installing dumb-init (1.2.5-r1) 20:06:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:06:23 (3/6) Installing libsodium (1.0.18-r0) 20:06:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:06:23 (5/6) Installing libzmq (4.3.4-r0) 20:06:23 (6/6) Installing zeromq (4.3.4-r0) 20:06:23 Executing busybox-1.35.0-r17.trigger 20:06:23 OK: 8 MiB in 20 packages 20:06:23 Removing intermediate container 18c088c9b34c 20:06:23 ---> 3c954cfb3a1d 20:06:23 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:06:24 ---> 37cab540dc02 20:06:24 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:06:24 ---> afc7a46e4bc4 20:06:24 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:25 ---> ad7de7dd3cc5 20:06:25 Step 20/25 : EXPOSE 59986 20:06:25 ---> Running in d8f8f2cb2a7e 20:06:25 Removing intermediate container d8f8f2cb2a7e 20:06:25 ---> 96e5c557e3ba 20:06:25 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:06:25 ---> Running in ef7900a3a2a7 20:06:25 Removing intermediate container ef7900a3a2a7 20:06:25 ---> e5a80d8f551a 20:06:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:06:25 ---> Running in a8d13311a771 20:06:25 Removing intermediate container a8d13311a771 20:06:25 ---> 948c34f2f4f4 20:06:25 Step 23/25 : LABEL arch=amd64 20:06:25 ---> Running in 64c43fd7c150 20:06:25 Removing intermediate container 64c43fd7c150 20:06:25 ---> bc3947aa0717 20:06:25 Step 24/25 : LABEL git_sha=2edde5371b1e0a954b02411e16a4f121493e2029 20:06:25 ---> Running in 28dd93842713 20:06:25 Removing intermediate container 28dd93842713 20:06:25 ---> 1d4e1d2e74dc 20:06:25 Step 25/25 : LABEL version=0.0.0 20:06:25 ---> Running in cce64bc51fc2 20:06:25 Removing intermediate container cce64bc51fc2 20:06:25 ---> 659c091600a6 20:06:25 [Warning] One or more build-args [ARCH] were not consumed 20:06:25 Successfully built 659c091600a6 20:06:25 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 20:06:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:26 20:06:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:26 using credential edgex-jenkins-ssh 20:06:26 Cloning the remote Git repository 20:06:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:26 latest: Pulling from edgex-lftools-log-publisher 20:06:26 5eb5b503b376: Pulling fs layer 20:06:26 5c69ac0246d0: Pulling fs layer 20:06:26 ec43610c2a17: Pulling fs layer 20:06:26 3a2ae6a8a46f: Pulling fs layer 20:06:26 33b1e0a273af: Pulling fs layer 20:06:26 5d3b04190fa2: Pulling fs layer 20:06:26 2f39f015ded8: Pulling fs layer 20:06:26 33b1e0a273af: Waiting 20:06:26 5d3b04190fa2: Waiting 20:06:26 3a2ae6a8a46f: Waiting 20:06:26 2f39f015ded8: Waiting 20:06:26 5c69ac0246d0: Download complete 20:06:26 3a2ae6a8a46f: Download complete 20:06:26 33b1e0a273af: Verifying Checksum 20:06:26 33b1e0a273af: Download complete 20:06:27 ec43610c2a17: Verifying Checksum 20:06:27 ec43610c2a17: Download complete 20:06:27 5d3b04190fa2: Verifying Checksum 20:06:27 5d3b04190fa2: Download complete 20:06:27 5eb5b503b376: Verifying Checksum 20:06:27 5eb5b503b376: Download complete 20:06:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:26 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:26 > git --version # timeout=10 20:06:26 > git --version # 'git version 2.25.1' 20:06:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:27 2f39f015ded8: Download complete 20:06:28 5eb5b503b376: Pull complete 20:06:28 5c69ac0246d0: Pull complete 20:06:28 ec43610c2a17: Pull complete 20:06:28 3a2ae6a8a46f: Pull complete 20:06:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:29 33b1e0a273af: Pull complete 20:06:29 5d3b04190fa2: Pull complete 20:06:30 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 2edde5371b1e0a954b02411e16a4f121493e2029 20:06:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:30 > git config core.sparsecheckout # timeout=10 20:06:30 > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 20:06:30 Merge succeeded, producing 2edde5371b1e0a954b02411e16a4f121493e2029 20:06:30 Checking out Revision 2edde5371b1e0a954b02411e16a4f121493e2029 (PR-234) 20:06:30 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:06:30 > git --version # timeout=10 20:06:30 > git --version # 'git version 2.25.1' 20:06:30 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:06:31 20:06:31 GitHub has been notified of this commit’s build result 20:06:31 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:06:30 > git remote # timeout=10 20:06:30 > git config --get remote.origin.url # timeout=10 20:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:30 > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 20:06:30 > git rev-parse HEAD^{commit} # timeout=10 20:06:30 > git config core.sparsecheckout # timeout=10 20:06:30 > git checkout -f 2edde5371b1e0a954b02411e16a4f121493e2029 # timeout=10 [Pipeline] sh 20:06:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:32 Dload Upload Total Spent Left Speed 20:06:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64398 0 --:--:-- --:--:-- --:--:-- 64075 100 12751 100 12751 0 0 64075 0 --:--:-- --:--:-- --:--:-- 63755 [Pipeline] sh 20:06:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:33 + sudo tee /etc/docker/daemon.new 20:06:33 { 20:06:33 "registry-mirrors": [ 20:06:33 "https://nexus3.edgexfoundry.org:10001" 20:06:33 ], 20:06:33 "bip": "10.250.0.254/24", 20:06:33 "hosts": [ 20:06:33 "tcp://0.0.0.0:5555", 20:06:33 "unix:///var/run/docker.sock" 20:06:33 ], 20:06:33 "mtu": 1458, 20:06:33 "selinux-enabled": true, 20:06:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:33 } [Pipeline] sh 20:06:33 2f39f015ded8: Pull complete 20:06:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:33 prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container 20:06:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 20:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:37 $ docker top 20aecf96285e5ea8367e5cc11d67f2df1875a0c81421190bcfb14643cc0b530f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 20:06:37 + sudo service docker restart 20:06:37 ---> job-cost.sh 20:06:37 lf-activate-venv: SKIPPING 20:06:37 INFO: No Stack... 20:06:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:38 INFO: Archiving Costs [Pipeline] sh 20:06:38 + cat /w/workspace/gexfoundry_device-rest-go_PR-234/archives/cost.csv 20:06:38 + cut -d, -f6 [Pipeline] lock 20:06:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] 20:06:38 Resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] did not exist. Created. 20:06:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:39 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:39 Stashed 1 file(s) [Pipeline] } 20:06:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:39 $ docker stop --time=1 20aecf96285e5ea8367e5cc11d67f2df1875a0c81421190bcfb14643cc0b530f 20:06:40 $ docker rm -f --volumes 20aecf96285e5ea8367e5cc11d67f2df1875a0c81421190bcfb14643cc0b530f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:55 provisioning config files... 20:06:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11162796491956166199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:56 ---> docker-login.sh 20:06:56 nexus3.edgexfoundry.org:10001 20:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:57 Configure a credential helper to remove this warning. See 20:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:57 20:06:57 Login Succeeded 20:06:57 nexus3.edgexfoundry.org:10002 20:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:57 Configure a credential helper to remove this warning. See 20:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:57 20:06:57 Login Succeeded 20:06:57 nexus3.edgexfoundry.org:10003 20:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:57 Configure a credential helper to remove this warning. See 20:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:57 20:06:57 Login Succeeded 20:06:57 nexus3.edgexfoundry.org:10004 20:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:58 Configure a credential helper to remove this warning. See 20:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:58 20:06:58 Login Succeeded 20:06:58 docker.io 20:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:58 Configure a credential helper to remove this warning. See 20:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:58 20:06:58 Login Succeeded 20:06:58 ---> docker-login.sh ends [Pipeline] } 20:06:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:59 ========================================================= 20:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:06:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:06:59 Sending build context to Docker daemon 129.5kB 20:06:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:06:59 Step 2/12 : FROM ${BASE} AS builder 20:06:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:59 9b18e9b68314: Pulling fs layer 20:06:59 35d82f9e3411: Pulling fs layer 20:06:59 e16973657156: Pulling fs layer 20:06:59 fc693d55d65f: Pulling fs layer 20:06:59 7e9fc2657dce: Pulling fs layer 20:06:59 dda99020689f: Pulling fs layer 20:06:59 db1c61fa0a46: Pulling fs layer 20:06:59 891c053d2c06: Pulling fs layer 20:06:59 fc693d55d65f: Waiting 20:06:59 dda99020689f: Waiting 20:06:59 db1c61fa0a46: Waiting 20:06:59 891c053d2c06: Waiting 20:06:59 7e9fc2657dce: Waiting 20:07:00 e16973657156: Verifying Checksum 20:07:00 e16973657156: Download complete 20:07:00 35d82f9e3411: Verifying Checksum 20:07:00 35d82f9e3411: Download complete 20:07:00 7e9fc2657dce: Verifying Checksum 20:07:00 7e9fc2657dce: Download complete 20:07:00 dda99020689f: Verifying Checksum 20:07:00 dda99020689f: Download complete 20:07:00 9b18e9b68314: Verifying Checksum 20:07:00 9b18e9b68314: Download complete 20:07:01 9b18e9b68314: Pull complete 20:07:01 891c053d2c06: Verifying Checksum 20:07:01 891c053d2c06: Download complete 20:07:01 35d82f9e3411: Pull complete 20:07:01 e16973657156: Pull complete 20:07:02 db1c61fa0a46: Download complete 20:07:03 fc693d55d65f: Download complete 20:07:15 fc693d55d65f: Pull complete 20:07:15 7e9fc2657dce: Pull complete 20:07:15 dda99020689f: Pull complete 20:07:23 db1c61fa0a46: Pull complete 20:07:24 891c053d2c06: Pull complete 20:07:24 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:07:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:24 ---> f96f9c87975a 20:07:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:07:26 ---> Running in 528fa0745c1c 20:07:27 Removing intermediate container 528fa0745c1c 20:07:27 ---> c7d1c7ba4cb3 20:07:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:27 ---> Running in 37c318546d7c 20:07:27 Removing intermediate container 37c318546d7c 20:07:27 ---> 7976e75adbac 20:07:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:27 ---> Running in 08a72cc214be 20:07:27 Removing intermediate container 08a72cc214be 20:07:27 ---> a2e4dc90e9fe 20:07:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:07:27 ---> Running in 56a6f14cc497 20:07:28 Removing intermediate container 56a6f14cc497 20:07:28 ---> 3a4417a3ec39 20:07:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:28 ---> Running in 45b639aad3f6 20:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:30 (2/4) Installing libedit (20210910.3.1-r0) 20:07:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:30 Executing busybox-1.35.0-r17.trigger 20:07:31 OK: 226 MiB in 55 packages 20:07:31 Removing intermediate container 45b639aad3f6 20:07:31 ---> 8235a840d9d1 20:07:31 Step 8/12 : WORKDIR /device-rest-go 20:07:31 ---> Running in 2177ccc7f4e8 20:07:32 Removing intermediate container 2177ccc7f4e8 20:07:32 ---> 2a0e3771d142 20:07:32 Step 9/12 : COPY go.mod vendor* ./ 20:07:32 ---> 3d9001314108 20:07:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:32 ---> Running in 78fbda8390a0 20:08:29 Removing intermediate container 78fbda8390a0 20:08:29 ---> 0e83738e93c5 20:08:29 Step 11/12 : COPY . . 20:08:29 ---> f2f4abc88120 20:08:29 Step 12/12 : RUN $MAKE 20:08:29 ---> Running in dd1ee5c3f57a 20:08:30 noop 20:08:31 Removing intermediate container dd1ee5c3f57a 20:08:31 ---> 45efccf2dc9c 20:08:31 Successfully built 45efccf2dc9c 20:08:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:31 + docker inspect -f . ci-base-image-arm64 20:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:31 prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container 20:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:33 $ docker top 13b6614ed691ee7ec84a45f48072afc33f849aef2eb73b0bba9660899ab683a9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:33 + go version 20:08:33 go version go1.18.7 linux/arm64 [Pipeline] } 20:08:33 $ docker stop --time=1 13b6614ed691ee7ec84a45f48072afc33f849aef2eb73b0bba9660899ab683a9 20:08:35 $ docker rm -f --volumes 13b6614ed691ee7ec84a45f48072afc33f849aef2eb73b0bba9660899ab683a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:36 + docker inspect -f . ci-base-image-arm64 20:08:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:36 prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container 20:08:36 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:39 $ docker top 9f66bd2cf87203de3d971664deffd0ff4912619c4326c874e5d67385985172f3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:39 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:40 + make test 20:08:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:08:42 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:03 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements 20:10:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:10:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:22 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:22 $ docker stop --time=1 9f66bd2cf87203de3d971664deffd0ff4912619c4326c874e5d67385985172f3 20:10:24 $ docker rm -f --volumes 9f66bd2cf87203de3d971664deffd0ff4912619c4326c874e5d67385985172f3 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:25 Warning: overwriting stash ‘coverage-report’ 20:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:26 + ls -al . 20:10:26 total 184 20:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 20:08 . 20:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:06 .. 20:10:26 -rw-rw-r-- 1 jenkins jenkins 151 Jan 9 20:06 .dockerignore 20:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 20:06 .git 20:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:06 .github 20:10:26 -rw-rw-r-- 1 jenkins jenkins 329 Jan 9 20:06 .gitignore 20:10:26 -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 20:06 .golangci.yml 20:10:26 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 9 20:06 Attribution.txt 20:10:26 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 9 20:06 CHANGELOG.md 20:10:26 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 9 20:06 Dockerfile 20:10:26 -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 20:06 GOVERNANCE.md 20:10:26 -rw-rw-r-- 1 jenkins jenkins 680 Jan 9 20:06 Jenkinsfile 20:10:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 20:06 LICENSE 20:10:26 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 9 20:06 Makefile 20:10:26 -rw-rw-r-- 1 jenkins jenkins 620 Jan 9 20:06 OWNERS.md 20:10:26 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 9 20:06 README.md 20:10:26 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 20:04 VERSION 20:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:06 bin 20:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 20:06 cmd 20:10:26 -rw-r--r-- 1 jenkins jenkins 9355 Jan 9 20:09 coverage.out 20:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 20:06 driver 20:10:26 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 9 20:06 go.mod 20:10:26 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 9 20:06 go.sum 20:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 20:06 snap 20:10:26 -rw-rw-r-- 1 jenkins jenkins 713 Jan 9 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:26 + 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=2edde5371b1e0a954b02411e16a4f121493e2029 --label arch=arm64 --label version=0.0.0 . 20:10:26 Sending build context to Docker daemon 139.8kB 20:10:27 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:10:27 Step 2/25 : FROM ${BASE} AS builder 20:10:27 ---> 45efccf2dc9c 20:10:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:10:27 ---> Running in 432e21e154eb 20:10:27 Removing intermediate container 432e21e154eb 20:10:27 ---> 12d760bda2c5 20:10:27 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:10:27 ---> Running in 5f8440044462 20:10:27 Removing intermediate container 5f8440044462 20:10:27 ---> 49d23b5ab3bd 20:10:27 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:27 ---> Running in 3741473eca6c 20:10:28 Removing intermediate container 3741473eca6c 20:10:28 ---> f680e78099a3 20:10:28 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:10:28 ---> Running in 07447d6fba58 20:10:28 Removing intermediate container 07447d6fba58 20:10:28 ---> 674380f68d3e 20:10:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:28 ---> Running in cfb42cee1387 20:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:30 OK: 226 MiB in 55 packages 20:10:31 Removing intermediate container cfb42cee1387 20:10:31 ---> f81bcc70b1a0 20:10:31 Step 8/25 : WORKDIR /device-rest-go 20:10:31 ---> Running in 4dabdc128666 20:10:31 Removing intermediate container 4dabdc128666 20:10:31 ---> d0fd50dc0ec5 20:10:31 Step 9/25 : COPY go.mod vendor* ./ 20:10:32 ---> 3fed7df30abc 20:10:32 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:32 ---> Running in 9de5a68218dc 20:10:34 Removing intermediate container 9de5a68218dc 20:10:34 ---> d5769273521d 20:10:34 Step 11/25 : COPY . . 20:10:34 ---> f73e8d5d60a8 20:10:34 Step 12/25 : RUN $MAKE 20:10:34 ---> Running in 8ae9f192b314 20:10:35 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:13:12 Removing intermediate container 8ae9f192b314 20:13:12 ---> f92b919ea97e 20:13:12 Step 13/25 : FROM alpine:3.16 20:13:12 3.16: Pulling from library/alpine 20:13:12 6875df1f5354: Pulling fs layer 20:13:12 6875df1f5354: Verifying Checksum 20:13:12 6875df1f5354: Download complete 20:13:12 6875df1f5354: Pull complete 20:13:12 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 20:13:12 Status: Downloaded newer image for alpine:3.16 20:13:12 ---> 2b4661558fb8 20:13:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:13:12 ---> Running in 53f9cab04339 20:13:12 Removing intermediate container 53f9cab04339 20:13:12 ---> e79158897558 20:13:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:13:12 ---> Running in b381d57ccfe9 20:13:12 Removing intermediate container b381d57ccfe9 20:13:12 ---> d1e6455ec72d 20:13:12 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:13:12 ---> Running in 2a91e5d92300 20:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:13:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:13:12 (1/6) Installing dumb-init (1.2.5-r1) 20:13:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:13:12 (3/6) Installing libsodium (1.0.18-r0) 20:13:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:13:12 (5/6) Installing libzmq (4.3.4-r0) 20:13:12 (6/6) Installing zeromq (4.3.4-r0) 20:13:12 Executing busybox-1.35.0-r17.trigger 20:13:12 OK: 8 MiB in 20 packages 20:13:12 Removing intermediate container 2a91e5d92300 20:13:12 ---> 99481f100636 20:13:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:13:12 ---> 5d678b297676 20:13:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:13:12 ---> d5b870937dde 20:13:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:12 ---> 514dfeb75b2f 20:13:12 Step 20/25 : EXPOSE 59986 20:13:12 ---> Running in 10234288f3ff 20:13:12 Removing intermediate container 10234288f3ff 20:13:12 ---> 851f29397f5a 20:13:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:13:12 ---> Running in 77a0302c5359 20:13:12 Removing intermediate container 77a0302c5359 20:13:12 ---> bf1d49a26fd5 20:13:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:13:12 ---> Running in 18e4894de045 20:13:12 Removing intermediate container 18e4894de045 20:13:12 ---> d40407653751 20:13:12 Step 23/25 : LABEL arch=arm64 20:13:12 ---> Running in 647bc9cc88ab 20:13:12 Removing intermediate container 647bc9cc88ab 20:13:12 ---> 2ca5d0c71fe8 20:13:12 Step 24/25 : LABEL git_sha=2edde5371b1e0a954b02411e16a4f121493e2029 20:13:12 ---> Running in 6d2f2f161b8b 20:13:12 Removing intermediate container 6d2f2f161b8b 20:13:12 ---> 561e6541b5d9 20:13:12 Step 25/25 : LABEL version=0.0.0 20:13:12 ---> Running in 13c328867c5e 20:13:12 Removing intermediate container 13c328867c5e 20:13:12 ---> 365a19a69b20 20:13:12 [Warning] One or more build-args [ARCH] were not consumed 20:13:12 Successfully built 365a19a69b20 20:13:12 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:13 20:13:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:15 arm64: Pulling from edgex-lftools-log-publisher 20:13:15 8998bd30e6a1: Pulling fs layer 20:13:15 04944245beec: Pulling fs layer 20:13:15 699f458cf7ca: Pulling fs layer 20:13:15 765212b225bb: Pulling fs layer 20:13:15 f23df028b6ca: Pulling fs layer 20:13:15 d65c8cfc05b1: Pulling fs layer 20:13:15 2437ff75d9bd: Pulling fs layer 20:13:15 f23df028b6ca: Waiting 20:13:15 d65c8cfc05b1: Waiting 20:13:15 2437ff75d9bd: Waiting 20:13:15 765212b225bb: Waiting 20:13:15 04944245beec: Verifying Checksum 20:13:15 04944245beec: Download complete 20:13:15 765212b225bb: Verifying Checksum 20:13:15 765212b225bb: Download complete 20:13:15 f23df028b6ca: Verifying Checksum 20:13:15 f23df028b6ca: Download complete 20:13:15 d65c8cfc05b1: Verifying Checksum 20:13:15 d65c8cfc05b1: Download complete 20:13:15 699f458cf7ca: Verifying Checksum 20:13:15 699f458cf7ca: Download complete 20:13:15 8998bd30e6a1: Verifying Checksum 20:13:15 8998bd30e6a1: Download complete 20:13:17 2437ff75d9bd: Verifying Checksum 20:13:17 2437ff75d9bd: Download complete 20:13:19 8998bd30e6a1: Pull complete 20:13:19 04944245beec: Pull complete 20:13:21 699f458cf7ca: Pull complete 20:13:21 765212b225bb: Pull complete 20:13:21 f23df028b6ca: Pull complete 20:13:22 d65c8cfc05b1: Pull complete 20:13:37 2437ff75d9bd: Pull complete 20:13:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:37 prd-ubuntu20.04-docker-arm64-4c-16g-1487 does not seem to be running inside a container 20:13:37 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:13:39 $ docker top 17d8b7d3451cda13cb003e81312d29d6917cadb1212e4d3a2c0234d005f0b957 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:40 ---> job-cost.sh 20:13:40 lf-activate-venv: SKIPPING 20:13:40 INFO: No Stack... 20:13:41 INFO: Retrieving Pricing Info for: v3-standard-4 20:13:42 INFO: Archiving Costs [Pipeline] sh 20:13:42 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:13:42 + cut -d, -f6 [Pipeline] lock 20:13:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] 20:13:42 Resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] did not exist. Created. 20:13:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:43 /w/workspace/device-rest-go/1@tmp/durable-64010d70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:13:43 + echo total: 0.10999999940395355 [Pipeline] stash 20:13:44 Warning: overwriting stash ‘stack-cost’ 20:13:44 Stashed 1 file(s) [Pipeline] } 20:13:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:44 $ docker stop --time=1 17d8b7d3451cda13cb003e81312d29d6917cadb1212e4d3a2c0234d005f0b957 20:13:45 $ docker rm -f --volumes 17d8b7d3451cda13cb003e81312d29d6917cadb1212e4d3a2c0234d005f0b957 [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 20:13:46 provisioning config files... 20:13:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config6796552814432965718tmp [Pipeline] { [Pipeline] sh 20:13:46 + set +x 20:13:46 + curl+ -s https://codecov.io/bash 20:13:46 bash -s -- 20:13:46 20:13:46 _____ _ 20:13:46 / ____| | | 20:13:46 | | ___ __| | ___ ___ _____ __ 20:13:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:13:46 | |___| (_) | (_| | __/ (_| (_) \ V / 20:13:46 \_____\___/ \__,_|\___|\___\___/ \_/ 20:13:46 Bash-1.0.6 20:13:46 20:13:46 20:13:46 ==> git version 2.25.1 found 20:13:46 ==> 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 20:13:46 Release-Date: 2020-01-08 20:13:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:13:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:13:46 ==> Jenkins CI detected. 20:13:46 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-234 20:13:46 project root: . 20:13:46 --> token set from env 20:13:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:13:46 ==> Running gcov in . (disable via -X gcov) 20:13:46 ==> Python coveragepy not found 20:13:46 ==> Searching for coverage reports in: 20:13:46 + . 20:13:46 -> Found 1 reports 20:13:46 ==> Detecting git/mercurial file structure 20:13:46 ==> Reading reports 20:13:46 + ./coverage.out bytes=9355 20:13:46 ==> Appending adjustments 20:13:46 https://docs.codecov.io/docs/fixing-reports 20:13:47 + Found adjustments 20:13:47 ==> Gzipping contents 20:13:47 4.0K /tmp/codecov.cJRqos.gz 20:13:47 ==> Uploading reports 20:13:47 url: https://codecov.io 20:13:47 query: branch=PR-234&commit=2edde5371b1e0a954b02411e16a4f121493e2029&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=234&job=&cmd_args= 20:13:47 -> Pinging Codecov 20:13:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-234&commit=2edde5371b1e0a954b02411e16a4f121493e2029&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=234&job=&cmd_args= 20:13:47 -> Uploading to 20:13:47 https://storage.googleapis.com/codecov/v4/raw/2023-01-09/4E5D53B4F1F92C436F7061BF334D961C/2edde5371b1e0a954b02411e16a4f121493e2029/1ffbfdb6-b27f-4bb9-a086-c6927d115978.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T201347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a62de9cdab034537dfe4bbbfda1a35a603bc88887ce4d388de0814a7298b892 20:13:47 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:47 Dload Upload Total Spent Left Speed 20:13:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1743 0 0 100 1743 0 7886 --:--:-- --:--:-- --:--:-- 7851 100 1743 0 0 100 1743 0 7232 --:--:-- --:--:-- --:--:-- 7202 20:13:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2edde5371b1e0a954b02411e16a4f121493e2029 [Pipeline] } 20:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 20:13:49 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-234/archives ] 20:13:49 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-234/archives 20:13:49 total 16 20:13:49 drwxr-xr-x 3 root root 4096 Jan 9 20:06 . 20:13:49 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 20:06 .. 20:13:49 drwxr-xr-x 2 root root 4096 Jan 9 20:06 cost 20:13:49 -rw-r--r-- 1 root root 86 Jan 9 20:06 cost.csv 20:13:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-234/archives 20:13:49 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-234/archives 20:13:49 total 16 20:13:49 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 20:06 . 20:13:49 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 20:06 .. 20:13:49 drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 20:06 cost 20:13:49 -rw-r--r-- 1 jenkins jenkins 86 Jan 9 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:13:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:13:50 ---> package-listing.sh 20:13:50 ++ facter osfamily 20:13:50 ++ tr '[:upper:]' '[:lower:]' 20:13:51 + OS_FAMILY=debian 20:13:51 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-234 20:13:51 + START_PACKAGES=/tmp/packages_start.txt 20:13:51 + END_PACKAGES=/tmp/packages_end.txt 20:13:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:13:51 + PACKAGES=/tmp/packages_start.txt 20:13:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-234 ']' 20:13:51 + PACKAGES=/tmp/packages_end.txt 20:13:51 + case "${OS_FAMILY}" in 20:13:51 + dpkg -l 20:13:51 + grep '^ii' 20:13:51 + '[' -f /tmp/packages_start.txt ']' 20:13:51 + '[' -f /tmp/packages_end.txt ']' 20:13:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:13:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-234 ']' 20:13:51 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-234/archives/ 20:13:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-234/archives/ [Pipeline] echo 20:13:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:13:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:52 prd-ubuntu20.04-docker-8c-8g-1486 does not seem to be running inside a container 20:13:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-234 -v /w/workspace/gexfoundry_device-rest-go_PR-234:/w/workspace/gexfoundry_device-rest-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-234@tmp:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:53 $ docker top 7e80afdd2e110f64ebb9531534f629168c51903872039ba89ebfffc44a7f3092 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:53 + touch /tmp/pre-build-complete [Pipeline] sh 20:13:53 + mkdir -p /var/log/sysstat [Pipeline] sh 20:13:54 + ls /var/log/sa-host 20:13:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:54 provisioning config files... 20:13:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-234@tmp/config8936517029186916920tmp [Pipeline] { [Pipeline] echo 20:13:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:13:54 ---> create-netrc.sh [Pipeline] } 20:13:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:13:55 ---> python-tools-install.sh [Pipeline] echo 20:13:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:13:55 ---> sudo-logs.sh 20:13:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:13:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:13:55 ---> job-cost.sh 20:13:55 lf-activate-venv: SKIPPING 20:13:55 DEBUG: total: 0.2199999988079071 20:13:55 INFO: Retrieving Stack Cost... 20:13:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:56 INFO: Archiving Costs [Pipeline] echo 20:13:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:13:56 ---> logs-deploy.sh 20:13:56 lf-activate-venv: SKIPPING 20:13:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-234/1 20:13:56 INFO: archiving workspace using pattern(s): 20:13:57 Archives upload complete. 20:13:57 INFO: archiving logs to Nexus