Pull request #233 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-rest-go Obtained Jenkinsfile from ae6d3e36a4ecc23782ace36827d70caa945237b3+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (3b16e1f32f51bd4a9922eb7ee92333946f832ca8) 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-ssh6904144511223160764.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-ssh5422870177690177017.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-233/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-233/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5474347876337790684.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-233/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1378496057217432320.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-ssh12343623169372990245.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-233/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-233/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16140853666651033856.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1120 in /w/workspace/gexfoundry_device-rest-go_PR-233 [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-233 # 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/233/head:refs/remotes/origin/PR-233 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit ae6d3e36a4ecc23782ace36827d70caa945237b3 Merge succeeded, producing ae6d3e36a4ecc23782ace36827d70caa945237b3 Checking out Revision ae6d3e36a4ecc23782ace36827d70caa945237b3 (PR-233) > git config core.sparsecheckout # timeout=10 > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # 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 ae6d3e36a4ecc23782ace36827d70caa945237b3 # timeout=10 Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" 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 18:56:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:18 ========================================================= 18:56:18 EdgeX Global Pipelines Version Info 18:56:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:56:19 ------------------- 18:56:19 stable info: 18:56:19 ------------------- 18:56:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:56:19 Message: update stable to v1.0.244 18:56:20 ------------------- 18:56:20 experimental info: 18:56:20 ------------------- 18:56:20 Commited By: **** collab-it+edgex@linuxfoundation.org 18:56:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:56:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-233 [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-233 [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-233 [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae6d3e3 [Pipeline] echo 18:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:21 provisioning config files... 18:56:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config8909753235795617190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:22 ---> docker-login.sh 18:56:22 nexus3.edgexfoundry.org:10001 18:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:22 Configure a credential helper to remove this warning. See 18:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:22 18:56:22 Login Succeeded 18:56:22 nexus3.edgexfoundry.org:10002 18:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:22 Configure a credential helper to remove this warning. See 18:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:22 18:56:22 Login Succeeded 18:56:22 nexus3.edgexfoundry.org:10003 18:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:22 Configure a credential helper to remove this warning. See 18:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:22 18:56:22 Login Succeeded 18:56:22 nexus3.edgexfoundry.org:10004 18:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:23 Configure a credential helper to remove this warning. See 18:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:23 18:56:23 Login Succeeded 18:56:23 docker.io 18:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:23 Configure a credential helper to remove this warning. See 18:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:23 18:56:23 Login Succeeded 18:56:23 ---> docker-login.sh ends [Pipeline] } 18:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:56:24 + git rev-list -1 --merges ae6d3e36a4ecc23782ace36827d70caa945237b3~1..ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo 18:56:24 -----------> git rev-list -1 --merges ae6d3e36a4ecc23782ace36827d70caa945237b3~1..ae6d3e36a4ecc23782ace36827d70caa945237b3 ae6d3e36a4ecc23782ace36827d70caa945237b3 [false] [Pipeline] sh 18:56:24 + git log --format=format:%s -1 ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo 18:56:24 ========================================================= 18:56:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:56:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:24 + git log --format=format:%s -1 ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo 18:56:24 [semverPrep] GIT_COMMIT: ae6d3e36a4ecc23782ace36827d70caa945237b3, Commit Message: build(deps): Bump edgex-snap-hooks/v2 to v2.5.0 [Pipeline] echo 18:56:24 [semverPrep] This is not a build commit. [Pipeline] sh 18:56:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:25 + grep -v github /etc/ssh/ssh_known_hosts 18:56:25 + [ -e /tmp/ssh_known_hosts ] 18:56:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:56:25 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:56:25 sudo tee -a /etc/ssh/ssh_known_hosts 18:56:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:25 18:56:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:26 0.1.4: Pulling from edgex-devops/py-git-semver 18:56:26 b85a868b505f: Pulling fs layer 18:56:26 e2be974225ed: Pulling fs layer 18:56:26 339a4e72a1f5: Pulling fs layer 18:56:26 988bab9f4d93: Pulling fs layer 18:56:26 1469e6f7b9e6: Pulling fs layer 18:56:26 988bab9f4d93: Waiting 18:56:26 eaf3925da568: Pulling fs layer 18:56:26 bab4dde63d76: Pulling fs layer 18:56:26 1469e6f7b9e6: Waiting 18:56:26 eaf3925da568: Waiting 18:56:26 bde34c3a00c8: Pulling fs layer 18:56:26 b352a97aabf1: Pulling fs layer 18:56:26 4872d77fe225: Pulling fs layer 18:56:26 5851b861e8e6: Pulling fs layer 18:56:26 bde34c3a00c8: Waiting 18:56:26 4872d77fe225: Waiting 18:56:26 b352a97aabf1: Waiting 18:56:26 e2be974225ed: Download complete 18:56:26 988bab9f4d93: Verifying Checksum 18:56:26 988bab9f4d93: Download complete 18:56:26 1469e6f7b9e6: Verifying Checksum 18:56:26 1469e6f7b9e6: Download complete 18:56:26 eaf3925da568: Verifying Checksum 18:56:26 eaf3925da568: Download complete 18:56:26 339a4e72a1f5: Verifying Checksum 18:56:26 339a4e72a1f5: Download complete 18:56:26 bde34c3a00c8: Verifying Checksum 18:56:26 bde34c3a00c8: Download complete 18:56:26 b352a97aabf1: Verifying Checksum 18:56:26 b352a97aabf1: Download complete 18:56:26 4872d77fe225: Verifying Checksum 18:56:26 4872d77fe225: Download complete 18:56:26 5851b861e8e6: Verifying Checksum 18:56:26 5851b861e8e6: Download complete 18:56:26 b85a868b505f: Verifying Checksum 18:56:26 b85a868b505f: Download complete 18:56:26 bab4dde63d76: Verifying Checksum 18:56:26 bab4dde63d76: Download complete 18:56:27 b85a868b505f: Pull complete 18:56:27 e2be974225ed: Pull complete 18:56:28 339a4e72a1f5: Pull complete 18:56:28 988bab9f4d93: Pull complete 18:56:28 1469e6f7b9e6: Pull complete 18:56:28 eaf3925da568: Pull complete 18:56:30 bab4dde63d76: Pull complete 18:56:30 bde34c3a00c8: Pull complete 18:56:30 b352a97aabf1: Pull complete 18:56:30 4872d77fe225: Pull complete 18:56:30 5851b861e8e6: Pull complete 18:56:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:56:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:31 prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container 18:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@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-devops/py-git-semver:0.1.4 cat 18:56:32 $ docker top e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 -eo pid,comm 18:56:32 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). 18:56:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:32 [ssh-agent] Looking for ssh-agent implementation... 18:56:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:32 $ docker exec e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent 18:56:32 SSH_AUTH_SOCK=/tmp/ssh-7l8ZZwsBBC7L/agent.32 18:56:32 SSH_AGENT_PID=38 18:56:32 Running ssh-add (command line suppressed) 18:56:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_17937936456874724637.key (/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_17937936456874724637.key) 18:56:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:33 + git tag --points-at HEAD [Pipeline] } 18:56:33 $ docker exec --env ******** --env ******** e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent -k 18:56:33 unset SSH_AUTH_SOCK; 18:56:33 unset SSH_AGENT_PID; 18:56:33 echo Agent pid 38 killed; 18:56:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:56:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:33 [ssh-agent] Looking for ssh-agent implementation... 18:56:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:33 $ docker exec e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent 18:56:33 SSH_AUTH_SOCK=/tmp/ssh-AQGx65DUCWiE/agent.70 18:56:33 SSH_AGENT_PID=76 18:56:33 Running ssh-add (command line suppressed) 18:56:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_18353931253282004174.key (/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_18353931253282004174.key) 18:56:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:34 + git semver init 18:56:34 2023-01-04 18:56:34,564 [run_init] DEBUG init version:0.0.0 force:False 18:56:34 2023-01-04 18:56:34,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-233/.semver 18:56:34 2023-01-04 18:56:34,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-233/.semver 18:56:34 2023-01-04 18:56:34,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-233/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-233, universal_newlines=False, shell=None, istream=None) 18:56:35 2023-01-04 18:56:35,557 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-233/.git/info/exclude 18:56:35 2023-01-04 18:56:35,557 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-233/.semver/PR-233 with force:False 18:56:35 2023-01-04 18:56:35,558 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-233/.semver/PR-233 18:56:35 2023-01-04 18:56:35,563 [execute] INFO git cat-file --batch-check 18:56:35 2023-01-04 18:56:35,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-233/.semver, universal_newlines=False, shell=None, istream=) 18:56:35 2023-01-04 18:56:35,572 [execute] INFO git cat-file --batch 18:56:35 2023-01-04 18:56:35,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-233/.semver, universal_newlines=False, shell=None, istream=) 18:56:35 2023-01-04 18:56:35,578 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-233/.semver/PR-233 18:56:35 0.0.0 [Pipeline] } 18:56:35 $ docker exec --env ******** --env ******** e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent -k 18:56:35 unset SSH_AUTH_SOCK; 18:56:35 unset SSH_AGENT_PID; 18:56:35 echo Agent pid 76 killed; 18:56:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:36 + git semver [Pipeline] } 18:56:36 $ docker stop --time=1 e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 18:56:38 $ docker rm -f --volumes e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:38 Stashed 1 file(s) [Pipeline] echo 18:56:38 [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 18:56:39 provisioning config files... 18:56:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config3571958960978000728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:39 ---> docker-login.sh 18:56:39 nexus3.edgexfoundry.org:10001 18:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:39 Configure a credential helper to remove this warning. See 18:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:39 18:56:39 Login Succeeded 18:56:39 nexus3.edgexfoundry.org:10002 18:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:39 Configure a credential helper to remove this warning. See 18:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:39 18:56:39 Login Succeeded 18:56:39 nexus3.edgexfoundry.org:10003 18:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:39 Configure a credential helper to remove this warning. See 18:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:39 18:56:39 Login Succeeded 18:56:39 nexus3.edgexfoundry.org:10004 18:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:39 Configure a credential helper to remove this warning. See 18:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:39 18:56:39 Login Succeeded 18:56:39 docker.io 18:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:40 Configure a credential helper to remove this warning. See 18:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:40 18:56:40 Login Succeeded 18:56:40 ---> docker-login.sh ends [Pipeline] } 18:56:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:40 ========================================================= 18:56:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:56:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:40 + 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 . 18:56:40 Sending build context to Docker daemon 10.79MB 18:56:40 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:56:40 Step 2/12 : FROM ${BASE} AS builder 18:56:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:56:40 213ec9aee27d: Pulling fs layer 18:56:40 4583459ba037: Pulling fs layer 18:56:40 93c1e223e6f2: Pulling fs layer 18:56:40 53926ce57604: Pulling fs layer 18:56:40 21b2b0c7a3f4: Pulling fs layer 18:56:40 22ff95d597cd: Pulling fs layer 18:56:40 12d6caf4c0d1: Pulling fs layer 18:56:40 96b7cbca73a9: Pulling fs layer 18:56:40 a7acece74701: Pulling fs layer 18:56:40 53926ce57604: Waiting 18:56:40 21b2b0c7a3f4: Waiting 18:56:40 22ff95d597cd: Waiting 18:56:40 12d6caf4c0d1: Waiting 18:56:40 96b7cbca73a9: Waiting 18:56:40 a7acece74701: Waiting 18:56:40 93c1e223e6f2: Download complete 18:56:40 4583459ba037: Verifying Checksum 18:56:40 4583459ba037: Download complete 18:56:41 21b2b0c7a3f4: Verifying Checksum 18:56:41 21b2b0c7a3f4: Download complete 18:56:41 22ff95d597cd: Verifying Checksum 18:56:41 22ff95d597cd: Download complete 18:56:41 213ec9aee27d: Verifying Checksum 18:56:41 213ec9aee27d: Download complete 18:56:41 12d6caf4c0d1: Verifying Checksum 18:56:41 12d6caf4c0d1: Download complete 18:56:41 213ec9aee27d: Pull complete 18:56:41 4583459ba037: Pull complete 18:56:41 93c1e223e6f2: Pull complete 18:56:41 a7acece74701: Verifying Checksum 18:56:41 a7acece74701: Download complete 18:56:42 53926ce57604: Verifying Checksum 18:56:42 53926ce57604: Download complete 18:56:42 96b7cbca73a9: Verifying Checksum 18:56:42 96b7cbca73a9: Download complete 18:56:46 53926ce57604: Pull complete 18:56:46 21b2b0c7a3f4: Pull complete 18:56:46 22ff95d597cd: Pull complete 18:56:46 12d6caf4c0d1: Pull complete 18:56:48 96b7cbca73a9: Pull complete 18:56:48 a7acece74701: Pull complete 18:56:48 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:56:48 ---> db6d94c90886 18:56:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:56:50 ---> Running in 5fd17ea50a06 18:56:50 Removing intermediate container 5fd17ea50a06 18:56:50 ---> 74437fe2aa43 18:56:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:50 ---> Running in 6214a0a2514b 18:56:51 Removing intermediate container 6214a0a2514b 18:56:51 ---> 8ff4e842028f 18:56:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:56:51 ---> Running in 1d4730e2df2f 18:56:51 Removing intermediate container 1d4730e2df2f 18:56:51 ---> 37cf02d6454f 18:56:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:56:51 ---> Running in 7eaae42e7c27 18:56:51 Removing intermediate container 7eaae42e7c27 18:56:51 ---> c6e817237c8b 18:56:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:51 ---> Running in 9f15ed269f8c 18:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:56:52 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:56:52 (2/4) Installing libedit (20210910.3.1-r0) 18:56:52 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:56:52 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:56:52 Executing busybox-1.35.0-r17.trigger 18:56:52 OK: 216 MiB in 55 packages 18:56:52 Removing intermediate container 9f15ed269f8c 18:56:52 ---> 76b488f377de 18:56:52 Step 8/12 : WORKDIR /device-rest-go 18:56:52 ---> Running in 8d2c0e88823d 18:56:52 Removing intermediate container 8d2c0e88823d 18:56:52 ---> ab8a64d54aaa 18:56:52 Step 9/12 : COPY go.mod vendor* ./ 18:56:52 ---> 5337aee95b64 18:56:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:52 ---> Running in f1410fa7a59d 18:56:54 Still waiting to schedule task 18:56:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:57:14 Removing intermediate container f1410fa7a59d 18:57:14 ---> 1e53c2ffa217 18:57:14 Step 11/12 : COPY . . 18:57:14 ---> 30fccfe7cf0e 18:57:14 Step 12/12 : RUN $MAKE 18:57:14 ---> Running in e12ce8d566e4 18:57:14 noop 18:57:14 Removing intermediate container e12ce8d566e4 18:57:14 ---> bba730031753 18:57:14 Successfully built bba730031753 18:57:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:15 + docker inspect -f . ci-base-image-x86_64 18:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:15 prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container 18:57:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:57:15 $ docker top 63c435a18fcfd6b374c06c491232bf044fa67144c076b6af2a251b7a445a206b -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:16 + go version 18:57:16 go version go1.18.7 linux/amd64 [Pipeline] } 18:57:16 $ docker stop --time=1 63c435a18fcfd6b374c06c491232bf044fa67144c076b6af2a251b7a445a206b 18:57:17 $ docker rm -f --volumes 63c435a18fcfd6b374c06c491232bf044fa67144c076b6af2a251b7a445a206b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:18 + docker inspect -f . ci-base-image-x86_64 18:57:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:18 prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container 18:57:18 $ 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-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:57:18 $ docker top ed4831a93affb6e3dca85458f2e8b695aa23b07c0bf67375f45b5d16232446b1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-233 [Pipeline] fileExists [Pipeline] sh 18:57:19 + make test 18:57:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:57:19 ? github.com/edgexfoundry/device-rest-go [no test files] 18:57:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:57:29 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 18:57:36 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." 18:57:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:57:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:57:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:57:38 ./bin/test-attribution-txt.sh [Pipeline] echo 18:57:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:57:39 $ docker stop --time=1 ed4831a93affb6e3dca85458f2e8b695aa23b07c0bf67375f45b5d16232446b1 18:57:40 $ docker rm -f --volumes ed4831a93affb6e3dca85458f2e8b695aa23b07c0bf67375f45b5d16232446b1 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:57:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:57:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:42 + ls -al . 18:57:42 total 188 18:57:42 drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 18:57 . 18:57:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:56 .. 18:57:42 -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 18:56 .dockerignore 18:57:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 18:57 .git 18:57:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:56 .github 18:57:42 -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 18:56 .gitignore 18:57:42 -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 18:56 .golangci.yml 18:57:42 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 18:56 .semver 18:57:42 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 4 18:56 Attribution.txt 18:57:42 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 4 18:56 CHANGELOG.md 18:57:42 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 4 18:56 Dockerfile 18:57:42 -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 18:56 GOVERNANCE.md 18:57:42 -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 18:56 Jenkinsfile 18:57:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 18:56 LICENSE 18:57:42 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 4 18:56 Makefile 18:57:42 -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 18:56 OWNERS.md 18:57:42 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 4 18:56 README.md 18:57:42 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 18:56 VERSION 18:57:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:56 bin 18:57:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:56 cmd 18:57:42 -rw-r--r-- 1 jenkins jenkins 9355 Jan 4 18:57 coverage.out 18:57:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:56 driver 18:57:42 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 4 18:56 go.mod 18:57:42 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 18:56 go.sum 18:57:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:56 snap 18:57:42 -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 18:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:42 + 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=ae6d3e36a4ecc23782ace36827d70caa945237b3 --label arch=amd64 --label version=0.0.0 . 18:57:42 Sending build context to Docker daemon 10.8MB 18:57:42 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:57:42 Step 2/25 : FROM ${BASE} AS builder 18:57:42 ---> bba730031753 18:57:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:57:42 ---> Running in e2866be93926 18:57:42 Removing intermediate container e2866be93926 18:57:42 ---> 3245869a1092 18:57:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:57:42 ---> Running in 4ee1a7e3efd3 18:57:42 Removing intermediate container 4ee1a7e3efd3 18:57:42 ---> 0ea079f2d96b 18:57:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:57:42 ---> Running in 75e4eaa17d1c 18:57:43 Removing intermediate container 75e4eaa17d1c 18:57:43 ---> 0212fbade2ef 18:57:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:57:43 ---> Running in 4fe3ebebcbb0 18:57:43 Removing intermediate container 4fe3ebebcbb0 18:57:43 ---> 58476703d3bf 18:57:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:57:43 ---> Running in 440b583470de 18:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:57:43 OK: 216 MiB in 55 packages 18:57:44 Removing intermediate container 440b583470de 18:57:44 ---> 39d51ba9f293 18:57:44 Step 8/25 : WORKDIR /device-rest-go 18:57:44 ---> Running in 059d71b8ee7d 18:57:44 Removing intermediate container 059d71b8ee7d 18:57:44 ---> 5cb6ed32da34 18:57:44 Step 9/25 : COPY go.mod vendor* ./ 18:57:44 ---> bd47984efb3c 18:57:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:44 ---> Running in 7b7646ec9d39 18:57:45 Removing intermediate container 7b7646ec9d39 18:57:45 ---> 527ee1792428 18:57:45 Step 11/25 : COPY . . 18:57:45 ---> 6dd9dde6f459 18:57:45 Step 12/25 : RUN $MAKE 18:57:45 ---> Running in 9b40e40f4982 18:57:45 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 18:58:03 Removing intermediate container 9b40e40f4982 18:58:03 ---> e69ed18ba878 18:58:03 Step 13/25 : FROM alpine:3.16 18:58:04 3.16: Pulling from library/alpine 18:58:04 ca7dd9ec2225: Pulling fs layer 18:58:04 ca7dd9ec2225: Download complete 18:58:04 ca7dd9ec2225: Pull complete 18:58:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:58:04 Status: Downloaded newer image for alpine:3.16 18:58:04 ---> bfe296a52501 18:58:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:58:04 ---> Running in 94981a656c1d 18:58:05 Removing intermediate container 94981a656c1d 18:58:05 ---> 2b88edb42f14 18:58:05 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:58:05 ---> Running in 4466914c65f8 18:58:05 Removing intermediate container 4466914c65f8 18:58:05 ---> 4aabe8f1c4f6 18:58:05 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:58:05 ---> Running in 50df22032ec6 18:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:58:06 (1/6) Installing dumb-init (1.2.5-r1) 18:58:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:58:06 (3/6) Installing libsodium (1.0.18-r0) 18:58:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:58:06 (5/6) Installing libzmq (4.3.4-r0) 18:58:06 (6/6) Installing zeromq (4.3.4-r0) 18:58:06 Executing busybox-1.35.0-r17.trigger 18:58:06 OK: 8 MiB in 20 packages 18:58:06 Removing intermediate container 50df22032ec6 18:58:06 ---> 700115857585 18:58:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:58:07 ---> 966e634c9693 18:58:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:58:07 ---> a75fce8e8912 18:58:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:58:07 ---> 2ab9f38b6526 18:58:07 Step 20/25 : EXPOSE 59986 18:58:07 ---> Running in 228e7f36dbba 18:58:07 Removing intermediate container 228e7f36dbba 18:58:07 ---> bbddb47b0cd3 18:58:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:58:07 ---> Running in 133c1d4ea363 18:58:07 Removing intermediate container 133c1d4ea363 18:58:07 ---> 3d43783fc618 18:58:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:58:07 ---> Running in 37ae08567577 18:58:07 Removing intermediate container 37ae08567577 18:58:07 ---> 387c20ad2f3d 18:58:07 Step 23/25 : LABEL arch=amd64 18:58:07 ---> Running in e8ef1d2e47b5 18:58:07 Removing intermediate container e8ef1d2e47b5 18:58:07 ---> 53e928af5a53 18:58:07 Step 24/25 : LABEL git_sha=ae6d3e36a4ecc23782ace36827d70caa945237b3 18:58:07 ---> Running in ffff562ed4a6 18:58:07 Removing intermediate container ffff562ed4a6 18:58:07 ---> 3b8efba432ea 18:58:07 Step 25/25 : LABEL version=0.0.0 18:58:07 ---> Running in 8b8d3714eec4 18:58:07 Removing intermediate container 8b8d3714eec4 18:58:07 ---> 9d84f539d9ae 18:58:07 [Warning] One or more build-args [ARCH] were not consumed 18:58:07 Successfully built 9d84f539d9ae 18:58:07 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 18:58:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:08 18:58:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:09 latest: Pulling from edgex-lftools-log-publisher 18:58:09 5eb5b503b376: Pulling fs layer 18:58:09 5c69ac0246d0: Pulling fs layer 18:58:09 ec43610c2a17: Pulling fs layer 18:58:09 3a2ae6a8a46f: Pulling fs layer 18:58:09 33b1e0a273af: Pulling fs layer 18:58:09 5d3b04190fa2: Pulling fs layer 18:58:09 2f39f015ded8: Pulling fs layer 18:58:09 3a2ae6a8a46f: Waiting 18:58:09 33b1e0a273af: Waiting 18:58:09 5d3b04190fa2: Waiting 18:58:09 2f39f015ded8: Waiting 18:58:09 5c69ac0246d0: Download complete 18:58:09 3a2ae6a8a46f: Download complete 18:58:09 33b1e0a273af: Verifying Checksum 18:58:09 33b1e0a273af: Download complete 18:58:09 5d3b04190fa2: Download complete 18:58:09 ec43610c2a17: Verifying Checksum 18:58:09 ec43610c2a17: Download complete 18:58:09 5eb5b503b376: Verifying Checksum 18:58:09 5eb5b503b376: Download complete 18:58:09 2f39f015ded8: Download complete 18:58:10 5eb5b503b376: Pull complete 18:58:10 5c69ac0246d0: Pull complete 18:58:10 ec43610c2a17: Pull complete 18:58:11 3a2ae6a8a46f: Pull complete 18:58:11 33b1e0a273af: Pull complete 18:58:11 5d3b04190fa2: Pull complete 18:58:15 2f39f015ded8: Pull complete 18:58:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:15 prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container 18:58:15 $ 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-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:58:17 $ docker top e7cb1114f718d78c4bf00e9cdcd48e394d6043f64765b827df4be790112dd914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:17 ---> job-cost.sh 18:58:17 lf-activate-venv: SKIPPING 18:58:17 INFO: No Stack... 18:58:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:18 INFO: Archiving Costs [Pipeline] sh 18:58:18 + cat /w/workspace/gexfoundry_device-rest-go_PR-233/archives/cost.csv 18:58:18 + cut -d, -f6 [Pipeline] lock 18:58:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] 18:58:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] did not exist. Created. 18:58:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:19 + echo total: 0.2199999988079071 [Pipeline] stash 18:58:19 Stashed 1 file(s) [Pipeline] } 18:58:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:19 $ docker stop --time=1 e7cb1114f718d78c4bf00e9cdcd48e394d6043f64765b827df4be790112dd914 18:58:20 $ docker rm -f --volumes e7cb1114f718d78c4bf00e9cdcd48e394d6043f64765b827df4be790112dd914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:58:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1121 in /w/workspace/gexfoundry_device-rest-go_PR-233 [Pipeline] { [Pipeline] ws 18:58:21 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:58:21 The recommended git tool is: git 18:58:26 using credential edgex-jenkins-ssh 18:58:26 Cloning the remote Git repository 18:58:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:58:26 > git init /w/workspace/device-rest-go/1 # timeout=10 18:58:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:58:26 > git --version # timeout=10 18:58:26 > git --version # 'git version 2.25.1' 18:58:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:58:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:30 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit ae6d3e36a4ecc23782ace36827d70caa945237b3 18:58:30 Merge succeeded, producing ae6d3e36a4ecc23782ace36827d70caa945237b3 18:58:30 Checking out Revision ae6d3e36a4ecc23782ace36827d70caa945237b3 (PR-233) 18:58:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:58:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:58:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/233/head:refs/remotes/origin/PR-233 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:58:30 > git config core.sparsecheckout # timeout=10 18:58:30 > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # timeout=10 18:58:30 > git remote # timeout=10 18:58:30 > git config --get remote.origin.url # timeout=10 18:58:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:30 > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 18:58:30 > git rev-parse HEAD^{commit} # timeout=10 18:58:30 > git config core.sparsecheckout # timeout=10 18:58:30 > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # timeout=10 18:58:33 Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" 18:58:33 > git --version # timeout=10 18:58:33 > git --version # 'git version 2.25.1' 18:58:33 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:58:34 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:34 Dload Upload Total Spent Left Speed 18:58:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 18:58:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:58:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:58:35 + sudo tee /etc/docker/daemon.new 18:58:35 { 18:58:35 "registry-mirrors": [ 18:58:35 "https://nexus3.edgexfoundry.org:10001" 18:58:35 ], 18:58:35 "bip": "10.250.0.254/24", 18:58:35 "hosts": [ 18:58:35 "tcp://0.0.0.0:5555", 18:58:35 "unix:///var/run/docker.sock" 18:58:35 ], 18:58:35 "mtu": 1458, 18:58:35 "selinux-enabled": true, 18:58:35 "seccomp-profile": "/etc/docker/seccomp.json" 18:58:35 } [Pipeline] sh 18:58:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:58:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:55 provisioning config files... 18:58:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10670557455699788769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:55 ---> docker-login.sh 18:58:55 nexus3.edgexfoundry.org:10001 18:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:55 Configure a credential helper to remove this warning. See 18:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:55 18:58:55 Login Succeeded 18:58:55 nexus3.edgexfoundry.org:10002 18:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:56 Configure a credential helper to remove this warning. See 18:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:56 18:58:56 Login Succeeded 18:58:56 nexus3.edgexfoundry.org:10003 18:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:56 Configure a credential helper to remove this warning. See 18:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:56 18:58:56 Login Succeeded 18:58:56 nexus3.edgexfoundry.org:10004 18:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:57 Configure a credential helper to remove this warning. See 18:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:57 18:58:57 Login Succeeded 18:58:57 docker.io 18:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:57 Configure a credential helper to remove this warning. See 18:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:57 18:58:57 Login Succeeded 18:58:57 ---> docker-login.sh ends [Pipeline] } 18:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:58:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:58 ========================================================= 18:58:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:58:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:58 + 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 . 18:58:58 Sending build context to Docker daemon 129.5kB 18:58:58 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:58:58 Step 2/12 : FROM ${BASE} AS builder 18:58:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:58:58 9b18e9b68314: Pulling fs layer 18:58:58 35d82f9e3411: Pulling fs layer 18:58:58 e16973657156: Pulling fs layer 18:58:58 fc693d55d65f: Pulling fs layer 18:58:58 7e9fc2657dce: Pulling fs layer 18:58:58 dda99020689f: Pulling fs layer 18:58:58 db1c61fa0a46: Pulling fs layer 18:58:58 891c053d2c06: Pulling fs layer 18:58:58 fc693d55d65f: Waiting 18:58:58 7e9fc2657dce: Waiting 18:58:58 dda99020689f: Waiting 18:58:58 db1c61fa0a46: Waiting 18:58:58 891c053d2c06: Waiting 18:58:59 e16973657156: Verifying Checksum 18:58:59 e16973657156: Download complete 18:58:59 35d82f9e3411: Verifying Checksum 18:58:59 35d82f9e3411: Download complete 18:58:59 7e9fc2657dce: Verifying Checksum 18:58:59 7e9fc2657dce: Download complete 18:58:59 dda99020689f: Verifying Checksum 18:58:59 dda99020689f: Download complete 18:58:59 9b18e9b68314: Verifying Checksum 18:58:59 9b18e9b68314: Download complete 18:59:00 9b18e9b68314: Pull complete 18:59:00 891c053d2c06: Verifying Checksum 18:59:00 891c053d2c06: Download complete 18:59:00 35d82f9e3411: Pull complete 18:59:00 e16973657156: Pull complete 18:59:01 db1c61fa0a46: Verifying Checksum 18:59:01 db1c61fa0a46: Download complete 18:59:01 fc693d55d65f: Verifying Checksum 18:59:01 fc693d55d65f: Download complete 18:59:14 fc693d55d65f: Pull complete 18:59:14 7e9fc2657dce: Pull complete 18:59:14 dda99020689f: Pull complete 18:59:20 db1c61fa0a46: Pull complete 18:59:21 891c053d2c06: Pull complete 18:59:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:59:21 ---> f96f9c87975a 18:59:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:59:23 ---> Running in 93d751b3d53c 18:59:23 Removing intermediate container 93d751b3d53c 18:59:23 ---> e35b25c39582 18:59:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:59:23 ---> Running in bfd4158650d8 18:59:24 Removing intermediate container bfd4158650d8 18:59:24 ---> ce37089e08bc 18:59:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:59:24 ---> Running in a5991e9a0a4a 18:59:24 Removing intermediate container a5991e9a0a4a 18:59:24 ---> 24c2fa949bc0 18:59:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:59:24 ---> Running in 340b107d4cc3 18:59:24 Removing intermediate container 340b107d4cc3 18:59:24 ---> d47477045648 18:59:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:59:25 ---> Running in a238724e4d33 18:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:59:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:59:28 (2/4) Installing libedit (20210910.3.1-r0) 18:59:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:59:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:59:29 Executing busybox-1.35.0-r17.trigger 18:59:29 OK: 226 MiB in 55 packages 18:59:30 Removing intermediate container a238724e4d33 18:59:30 ---> d3a0a81e817b 18:59:30 Step 8/12 : WORKDIR /device-rest-go 18:59:30 ---> Running in a6833fbdbee2 18:59:30 Removing intermediate container a6833fbdbee2 18:59:30 ---> e9a14e9c5c11 18:59:30 Step 9/12 : COPY go.mod vendor* ./ 18:59:31 ---> 8fad4c04335e 18:59:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:59:31 ---> Running in 782749d3e9d7 19:01:07 Removing intermediate container 782749d3e9d7 19:01:07 ---> 8ba460b7ae36 19:01:07 Step 11/12 : COPY . . 19:01:07 ---> 8a853334e3ff 19:01:07 Step 12/12 : RUN $MAKE 19:01:07 ---> Running in e2e88572619b 19:01:07 noop 19:01:07 Removing intermediate container e2e88572619b 19:01:07 ---> ed51d6e07a2a 19:01:07 Successfully built ed51d6e07a2a 19:01:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:08 + docker inspect -f . ci-base-image-arm64 19:01:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:08 prd-ubuntu20.04-docker-arm64-4c-16g-1121 does not seem to be running inside a container 19:01:08 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:01:09 $ docker top 99b6ae2c9a168de55009daceaa13c4d85ab56746db9899017d11c3ba962cd62f -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:10 + go version 19:01:10 go version go1.18.7 linux/arm64 [Pipeline] } 19:01:10 $ docker stop --time=1 99b6ae2c9a168de55009daceaa13c4d85ab56746db9899017d11c3ba962cd62f 19:01:12 $ docker rm -f --volumes 99b6ae2c9a168de55009daceaa13c4d85ab56746db9899017d11c3ba962cd62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:13 + docker inspect -f . ci-base-image-arm64 19:01:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:13 prd-ubuntu20.04-docker-arm64-4c-16g-1121 does not seem to be running inside a container 19:01:13 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:01:14 $ docker top 6e4be4758b1e3f2b67e1435db5f3194231f7af08959f8049ae8c930ba546f29c -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:15 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 19:01:15 + make test 19:01:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:01:17 ? github.com/edgexfoundry/device-rest-go [no test files] 19:02:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:02:39 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 55.2% of statements 19:02:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:02:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:02:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:57 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:57 $ docker stop --time=1 6e4be4758b1e3f2b67e1435db5f3194231f7af08959f8049ae8c930ba546f29c 19:02:59 $ docker rm -f --volumes 6e4be4758b1e3f2b67e1435db5f3194231f7af08959f8049ae8c930ba546f29c [Pipeline] // withDockerContainer [Pipeline] sh 19:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:03:00 Warning: overwriting stash ‘coverage-report’ 19:03:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:03:01 + ls -al . 19:03:01 total 184 19:03:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 19:01 . 19:03:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:58 .. 19:03:01 -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 18:58 .dockerignore 19:03:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 18:58 .git 19:03:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:58 .github 19:03:01 -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 18:58 .gitignore 19:03:01 -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 18:58 .golangci.yml 19:03:01 -rw-rw-r-- 1 jenkins jenkins 9100 Jan 4 18:58 Attribution.txt 19:03:01 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 4 18:58 CHANGELOG.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 1623 Jan 4 18:58 Dockerfile 19:03:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 18:58 GOVERNANCE.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 18:58 Jenkinsfile 19:03:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 18:58 LICENSE 19:03:01 -rw-rw-r-- 1 jenkins jenkins 2173 Jan 4 18:58 Makefile 19:03:01 -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 18:58 OWNERS.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 4 18:58 README.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 18:56 VERSION 19:03:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:58 bin 19:03:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:58 cmd 19:03:01 -rw-r--r-- 1 jenkins jenkins 9355 Jan 4 19:02 coverage.out 19:03:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:58 driver 19:03:01 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 4 18:58 go.mod 19:03:01 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 18:58 go.sum 19:03:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:58 snap 19:03:01 -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 18:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:02 + 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=ae6d3e36a4ecc23782ace36827d70caa945237b3 --label arch=arm64 --label version=0.0.0 . 19:03:02 Sending build context to Docker daemon 139.8kB 19:03:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:03:02 Step 2/25 : FROM ${BASE} AS builder 19:03:02 ---> ed51d6e07a2a 19:03:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:03:02 ---> Running in 831704134be1 19:03:02 Removing intermediate container 831704134be1 19:03:02 ---> e639b89105a9 19:03:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:02 ---> Running in 9e01599e6377 19:03:03 Removing intermediate container 9e01599e6377 19:03:03 ---> ea53296d6e63 19:03:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:03:03 ---> Running in 1c057658b60a 19:03:03 Removing intermediate container 1c057658b60a 19:03:03 ---> d6ffdee73683 19:03:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:03:03 ---> Running in 5be62eb47e73 19:03:04 Removing intermediate container 5be62eb47e73 19:03:04 ---> d60a93ac59db 19:03:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:03:04 ---> Running in d3fa159f2d72 19:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:03:06 OK: 226 MiB in 55 packages 19:03:07 Removing intermediate container d3fa159f2d72 19:03:07 ---> cdee63cdf9ba 19:03:07 Step 8/25 : WORKDIR /device-rest-go 19:03:07 ---> Running in adefd9b75689 19:03:08 Removing intermediate container adefd9b75689 19:03:08 ---> 0caa1c68834f 19:03:08 Step 9/25 : COPY go.mod vendor* ./ 19:03:08 ---> 7174a124ea89 19:03:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:08 ---> Running in d2633141eb95 19:03:10 Removing intermediate container d2633141eb95 19:03:10 ---> bedbc0a989c5 19:03:10 Step 11/25 : COPY . . 19:03:11 ---> 32a75c7fd439 19:03:11 Step 12/25 : RUN $MAKE 19:03:11 ---> Running in 78f6e37f66af 19:03:12 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 19:05:33 Removing intermediate container 78f6e37f66af 19:05:33 ---> c0dd1bdf6a35 19:05:33 Step 13/25 : FROM alpine:3.16 19:05:33 3.16: Pulling from library/alpine 19:05:33 6875df1f5354: Pulling fs layer 19:05:33 6875df1f5354: Download complete 19:05:33 6875df1f5354: Pull complete 19:05:33 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 19:05:33 Status: Downloaded newer image for alpine:3.16 19:05:33 ---> 2b4661558fb8 19:05:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:05:33 ---> Running in 628c5dd7331d 19:05:33 Removing intermediate container 628c5dd7331d 19:05:33 ---> 1dc0b6749df6 19:05:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:05:33 ---> Running in 295dfece36dc 19:05:33 Removing intermediate container 295dfece36dc 19:05:33 ---> 641ef26ab150 19:05:33 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:05:33 ---> Running in b8629a179d1c 19:05:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:05:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:05:33 (1/6) Installing dumb-init (1.2.5-r1) 19:05:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:05:33 (3/6) Installing libsodium (1.0.18-r0) 19:05:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:05:33 (5/6) Installing libzmq (4.3.4-r0) 19:05:33 (6/6) Installing zeromq (4.3.4-r0) 19:05:33 Executing busybox-1.35.0-r17.trigger 19:05:33 OK: 8 MiB in 20 packages 19:05:33 Removing intermediate container b8629a179d1c 19:05:33 ---> fb4a822c6819 19:05:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:05:33 ---> 3d25980edef7 19:05:33 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:05:33 ---> 92d9e6abf1c9 19:05:33 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:05:33 ---> 3ac99bc31e97 19:05:33 Step 20/25 : EXPOSE 59986 19:05:33 ---> Running in 6a0ecdb9813e 19:05:33 Removing intermediate container 6a0ecdb9813e 19:05:33 ---> 1bb2582ea0c8 19:05:33 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:05:33 ---> Running in 6f2632c61fbb 19:05:33 Removing intermediate container 6f2632c61fbb 19:05:33 ---> 1f568a288527 19:05:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:05:33 ---> Running in 15e6744acb02 19:05:33 Removing intermediate container 15e6744acb02 19:05:33 ---> b14ed862a0f9 19:05:33 Step 23/25 : LABEL arch=arm64 19:05:33 ---> Running in 87e64a863214 19:05:33 Removing intermediate container 87e64a863214 19:05:33 ---> 2df687e49451 19:05:33 Step 24/25 : LABEL git_sha=ae6d3e36a4ecc23782ace36827d70caa945237b3 19:05:33 ---> Running in 53fc6a6e12d1 19:05:33 Removing intermediate container 53fc6a6e12d1 19:05:33 ---> 179fe71d0b5f 19:05:33 Step 25/25 : LABEL version=0.0.0 19:05:33 ---> Running in 42e5c7abfa99 19:05:33 Removing intermediate container 42e5c7abfa99 19:05:33 ---> d45a2d5c5063 19:05:33 [Warning] One or more build-args [ARCH] were not consumed 19:05:33 Successfully built d45a2d5c5063 19:05:33 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 19:05:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:34 19:05:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:35 arm64: Pulling from edgex-lftools-log-publisher 19:05:35 8998bd30e6a1: Pulling fs layer 19:05:35 04944245beec: Pulling fs layer 19:05:35 699f458cf7ca: Pulling fs layer 19:05:35 765212b225bb: Pulling fs layer 19:05:35 f23df028b6ca: Pulling fs layer 19:05:35 d65c8cfc05b1: Pulling fs layer 19:05:35 2437ff75d9bd: Pulling fs layer 19:05:35 765212b225bb: Waiting 19:05:35 2437ff75d9bd: Waiting 19:05:35 d65c8cfc05b1: Waiting 19:05:35 f23df028b6ca: Waiting 19:05:35 04944245beec: Verifying Checksum 19:05:35 04944245beec: Download complete 19:05:35 765212b225bb: Verifying Checksum 19:05:35 765212b225bb: Download complete 19:05:35 f23df028b6ca: Verifying Checksum 19:05:35 f23df028b6ca: Download complete 19:05:35 d65c8cfc05b1: Verifying Checksum 19:05:35 d65c8cfc05b1: Download complete 19:05:35 699f458cf7ca: Verifying Checksum 19:05:35 699f458cf7ca: Download complete 19:05:35 8998bd30e6a1: Download complete 19:05:37 2437ff75d9bd: Verifying Checksum 19:05:37 2437ff75d9bd: Download complete 19:05:39 8998bd30e6a1: Pull complete 19:05:39 04944245beec: Pull complete 19:05:41 699f458cf7ca: Pull complete 19:05:41 765212b225bb: Pull complete 19:05:42 f23df028b6ca: Pull complete 19:05:42 d65c8cfc05b1: Pull complete 19:05:57 2437ff75d9bd: Pull complete 19:05:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:58 prd-ubuntu20.04-docker-arm64-4c-16g-1121 does not seem to be running inside a container 19:05:58 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:06:00 $ docker top 069e0de570aa72f848c6f2555bce16291babdcf0a4d713a5af2c266ee6ae778d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:01 ---> job-cost.sh 19:06:01 lf-activate-venv: SKIPPING 19:06:01 INFO: No Stack... 19:06:01 INFO: Retrieving Pricing Info for: v3-standard-4 19:06:02 INFO: Archiving Costs [Pipeline] sh 19:06:03 + cat /w/workspace/device-rest-go/1/archives/cost.csv 19:06:03 + cut -d, -f6 [Pipeline] lock 19:06:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] 19:06:03 Resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] did not exist. Created. 19:06:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:06:03 /w/workspace/device-rest-go/1@tmp/durable-22b36c0e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:06:03 + echo total: 0.10999999940395355 [Pipeline] stash 19:06:03 Warning: overwriting stash ‘stack-cost’ 19:06:03 Stashed 1 file(s) [Pipeline] } 19:06:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:06:04 $ docker stop --time=1 069e0de570aa72f848c6f2555bce16291babdcf0a4d713a5af2c266ee6ae778d 19:06:08 $ docker rm -f --volumes 069e0de570aa72f848c6f2555bce16291babdcf0a4d713a5af2c266ee6ae778d [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 19:06:09 provisioning config files... 19:06:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config16667495019920910657tmp [Pipeline] { [Pipeline] sh 19:06:09 + set +x 19:06:09 + bash -s -- 19:06:09 + curl -s https://codecov.io/bash 19:06:09 19:06:09 _____ _ 19:06:09 / ____| | | 19:06:09 | | ___ __| | ___ ___ _____ __ 19:06:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:06:09 | |___| (_) | (_| | __/ (_| (_) \ V / 19:06:09 \_____\___/ \__,_|\___|\___\___/ \_/ 19:06:09 Bash-1.0.6 19:06:09 19:06:09 19:06:09 ==> git version 2.25.1 found 19:06:09 ==> 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 19:06:09 Release-Date: 2020-01-08 19:06:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:06:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:06:09 ==> Jenkins CI detected. 19:06:09 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-233 19:06:09 project root: . 19:06:09 --> token set from env 19:06:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:06:09 ==> Running gcov in . (disable via -X gcov) 19:06:09 ==> Python coveragepy not found 19:06:09 ==> Searching for coverage reports in: 19:06:09 + . 19:06:09 -> Found 1 reports 19:06:09 ==> Detecting git/mercurial file structure 19:06:09 ==> Reading reports 19:06:09 + ./coverage.out bytes=9355 19:06:09 ==> Appending adjustments 19:06:09 https://docs.codecov.io/docs/fixing-reports 19:06:09 + Found adjustments 19:06:09 ==> Gzipping contents 19:06:09 4.0K /tmp/codecov.Zg5aff.gz 19:06:09 ==> Uploading reports 19:06:09 url: https://codecov.io 19:06:09 query: branch=PR-233&commit=ae6d3e36a4ecc23782ace36827d70caa945237b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-233%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=233&job=&cmd_args= 19:06:09 -> Pinging Codecov 19:06:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-233&commit=ae6d3e36a4ecc23782ace36827d70caa945237b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-233%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=233&job=&cmd_args= 19:06:09 -> Uploading to 19:06:09 https://storage.googleapis.com/codecov/v4/raw/2023-01-04/4E5D53B4F1F92C436F7061BF334D961C/ae6d3e36a4ecc23782ace36827d70caa945237b3/c518b35d-0ab2-476e-a139-3a2df51633ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T190609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed61ec981a4ab9a939ad9e89ea0b8417b898ee67eae73e4a293b359703738a71 19:06:09 % Total % Received % Xferd Average Speed Time Time Time Current 19:06:09 Dload Upload Total Spent Left Speed 19:06:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1743 0 0 100 1743 0 7000 --:--:-- --:--:-- --:--:-- 7028 19:06:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] } 19:06:10 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 19:06:11 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-233/archives ] 19:06:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-233/archives 19:06:11 total 16 19:06:11 drwxr-xr-x 3 root root 4096 Jan 4 18:58 . 19:06:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 18:58 .. 19:06:11 drwxr-xr-x 2 root root 4096 Jan 4 18:58 cost 19:06:11 -rw-r--r-- 1 root root 86 Jan 4 18:58 cost.csv 19:06:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-233/archives 19:06:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-233/archives 19:06:11 total 16 19:06:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 18:58 . 19:06:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 18:58 .. 19:06:11 drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 18:58 cost 19:06:11 -rw-r--r-- 1 jenkins jenkins 86 Jan 4 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:06:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:06:12 ---> package-listing.sh 19:06:12 ++ facter osfamily 19:06:12 ++ tr '[:upper:]' '[:lower:]' 19:06:13 + OS_FAMILY=debian 19:06:13 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-233 19:06:13 + START_PACKAGES=/tmp/packages_start.txt 19:06:13 + END_PACKAGES=/tmp/packages_end.txt 19:06:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:06:13 + PACKAGES=/tmp/packages_start.txt 19:06:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-233 ']' 19:06:13 + PACKAGES=/tmp/packages_end.txt 19:06:13 + case "${OS_FAMILY}" in 19:06:13 + dpkg -l 19:06:13 + grep '^ii' 19:06:13 + '[' -f /tmp/packages_start.txt ']' 19:06:13 + '[' -f /tmp/packages_end.txt ']' 19:06:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:06:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-233 ']' 19:06:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-233/archives/ 19:06:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-233/archives/ [Pipeline] echo 19:06:13 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-233/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:06:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:14 prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container 19:06:14 $ 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-233/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-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:06:14 $ docker top 10ccd2eaf39263f1991b519825173e10f0bbf22a9448a396f6400f3380fb2849 -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:14 + touch /tmp/pre-build-complete [Pipeline] sh 19:06:15 + mkdir -p /var/log/sysstat [Pipeline] sh 19:06:15 + ls /var/log/sa-host 19:06:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:06:15 provisioning config files... 19:06:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config9706211177162378247tmp [Pipeline] { [Pipeline] echo 19:06:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:06:16 ---> create-netrc.sh [Pipeline] } 19:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:06:16 ---> python-tools-install.sh [Pipeline] echo 19:06:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:06:16 ---> sudo-logs.sh 19:06:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:06:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:06:17 ---> job-cost.sh 19:06:17 lf-activate-venv: SKIPPING 19:06:17 DEBUG: total: 0.2199999988079071 19:06:17 INFO: Retrieving Stack Cost... 19:06:17 INFO: Retrieving Pricing Info for: v3-standard-8 19:06:18 INFO: Archiving Costs [Pipeline] echo 19:06:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:06:18 ---> logs-deploy.sh 19:06:18 lf-activate-venv: SKIPPING 19:06:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-233/1 19:06:18 INFO: archiving workspace using pattern(s): 19:06:19 Archives upload complete. 19:06:19 INFO: archiving logs to Nexus