Pull request #241 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0c8cee599e8840d59a5a88fbbd610b54878ba35e+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (2cb80d9319320f0194df27406f835391ddaf551e) 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-ssh6038245027103319113.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-ssh3433373779675059372.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-241/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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh357014273380376001.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-241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13083765740471684417.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-ssh13034765600572206308.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-241/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-241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1371341179970426125.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 ‘prd-ubuntu20.04-docker-8c-8g-3052’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3054 in /w/workspace/gexfoundry_device-rest-go_PR-241 [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-241 # 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 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit 0c8cee599e8840d59a5a88fbbd610b54878ba35e Merge succeeded, producing 0c8cee599e8840d59a5a88fbbd610b54878ba35e Checking out Revision 0c8cee599e8840d59a5a88fbbd610b54878ba35e (PR-241) > 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/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 Commit message: "build(deps): bump device-sdk-go version" 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 02:38:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:38:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:38:49 ========================================================= 02:38:49 EdgeX Global Pipelines Version Info 02:38:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:38:50 ------------------- 02:38:50 stable info: 02:38:50 ------------------- 02:38:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:38:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:38:50 Message: update stable to v1.0.244 02:38:50 ------------------- 02:38:50 experimental info: 02:38:50 ------------------- 02:38:50 Commited By: **** collab-it+edgex@linuxfoundation.org 02:38:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:38:50 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:38:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-241 [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-241 [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-241 [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c8cee5 [Pipeline] echo 02:38:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:38:52 provisioning config files... 02:38:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config13685719073167988191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:52 ---> docker-login.sh 02:38:52 nexus3.edgexfoundry.org:10001 02:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:53 Configure a credential helper to remove this warning. See 02:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:53 02:38:53 Login Succeeded 02:38:53 nexus3.edgexfoundry.org:10002 02:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:53 Configure a credential helper to remove this warning. See 02:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:53 02:38:53 Login Succeeded 02:38:53 nexus3.edgexfoundry.org:10003 02:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:53 Configure a credential helper to remove this warning. See 02:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:53 02:38:53 Login Succeeded 02:38:53 nexus3.edgexfoundry.org:10004 02:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:53 Configure a credential helper to remove this warning. See 02:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:53 02:38:53 Login Succeeded 02:38:53 docker.io 02:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:53 Configure a credential helper to remove this warning. See 02:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:53 02:38:53 Login Succeeded 02:38:53 ---> docker-login.sh ends [Pipeline] } 02:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:38:54 + git rev-list -1 --merges 0c8cee599e8840d59a5a88fbbd610b54878ba35e~1..0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo 02:38:54 -----------> git rev-list -1 --merges 0c8cee599e8840d59a5a88fbbd610b54878ba35e~1..0c8cee599e8840d59a5a88fbbd610b54878ba35e 0c8cee599e8840d59a5a88fbbd610b54878ba35e [false] [Pipeline] sh 02:38:54 + git log --format=format:%s -1 0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo 02:38:54 ========================================================= 02:38:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:38:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:38:55 + git log --format=format:%s -1 0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] echo 02:38:55 [semverPrep] GIT_COMMIT: 0c8cee599e8840d59a5a88fbbd610b54878ba35e, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo 02:38:55 [semverPrep] This is not a build commit. [Pipeline] sh 02:38:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:38:55 + grep -v github /etc/ssh/ssh_known_hosts 02:38:55 + [ -e /tmp/ssh_known_hosts ] 02:38:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:38:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:38:55 + sudo tee -a /etc/ssh/ssh_known_hosts 02:38:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:56 02:38:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:38:56 0.1.4: Pulling from edgex-devops/py-git-semver 02:38:56 b85a868b505f: Pulling fs layer 02:38:56 e2be974225ed: Pulling fs layer 02:38:56 339a4e72a1f5: Pulling fs layer 02:38:56 988bab9f4d93: Pulling fs layer 02:38:56 1469e6f7b9e6: Pulling fs layer 02:38:56 eaf3925da568: Pulling fs layer 02:38:56 bab4dde63d76: Pulling fs layer 02:38:56 bde34c3a00c8: Pulling fs layer 02:38:56 b352a97aabf1: Pulling fs layer 02:38:56 4872d77fe225: Pulling fs layer 02:38:56 5851b861e8e6: Pulling fs layer 02:38:56 bab4dde63d76: Waiting 02:38:56 eaf3925da568: Waiting 02:38:56 988bab9f4d93: Waiting 02:38:56 1469e6f7b9e6: Waiting 02:38:56 bde34c3a00c8: Waiting 02:38:56 b352a97aabf1: Waiting 02:38:56 4872d77fe225: Waiting 02:38:56 5851b861e8e6: Waiting 02:38:57 e2be974225ed: Download complete 02:38:57 988bab9f4d93: Verifying Checksum 02:38:57 988bab9f4d93: Download complete 02:38:57 1469e6f7b9e6: Verifying Checksum 02:38:57 1469e6f7b9e6: Download complete 02:38:57 eaf3925da568: Verifying Checksum 02:38:57 eaf3925da568: Download complete 02:38:57 339a4e72a1f5: Verifying Checksum 02:38:57 339a4e72a1f5: Download complete 02:38:57 bde34c3a00c8: Download complete 02:38:57 b352a97aabf1: Download complete 02:38:57 4872d77fe225: Download complete 02:38:57 b85a868b505f: Verifying Checksum 02:38:57 b85a868b505f: Download complete 02:38:57 5851b861e8e6: Verifying Checksum 02:38:57 5851b861e8e6: Download complete 02:38:57 bab4dde63d76: Verifying Checksum 02:38:57 bab4dde63d76: Download complete 02:38:58 b85a868b505f: Pull complete 02:38:58 e2be974225ed: Pull complete 02:38:59 339a4e72a1f5: Pull complete 02:38:59 988bab9f4d93: Pull complete 02:38:59 1469e6f7b9e6: Pull complete 02:38:59 eaf3925da568: Pull complete 02:39:01 bab4dde63d76: Pull complete 02:39:01 bde34c3a00c8: Pull complete 02:39:01 b352a97aabf1: Pull complete 02:39:01 4872d77fe225: Pull complete 02:39:01 5851b861e8e6: Pull complete 02:39:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:01 prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container 02:39:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 02:39:04 $ docker top bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 -eo pid,comm 02:39:04 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). 02:39:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:04 [ssh-agent] Looking for ssh-agent implementation... 02:39:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:05 $ docker exec bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent 02:39:05 SSH_AUTH_SOCK=/tmp/ssh-uJfdI3ZVzrlH/agent.32 02:39:05 SSH_AGENT_PID=38 02:39:05 Running ssh-add (command line suppressed) 02:39:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8630037964079752840.key (/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8630037964079752840.key) 02:39:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:05 + git tag --points-at HEAD [Pipeline] } 02:39:05 $ docker exec --env ******** --env ******** bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent -k 02:39:05 unset SSH_AUTH_SOCK; 02:39:05 unset SSH_AGENT_PID; 02:39:05 echo Agent pid 38 killed; 02:39:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:39:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:05 [ssh-agent] Looking for ssh-agent implementation... 02:39:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:06 $ docker exec bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent 02:39:06 SSH_AUTH_SOCK=/tmp/ssh-M8LUwHxSITyT/agent.71 02:39:06 SSH_AGENT_PID=77 02:39:06 Running ssh-add (command line suppressed) 02:39:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8581991119451262525.key (/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/private_key_8581991119451262525.key) 02:39:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:06 + git semver init 02:39:06 2023-01-19 02:39:06,922 [run_init] DEBUG init version:0.0.0 force:False 02:39:06 2023-01-19 02:39:06,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver 02:39:06 2023-01-19 02:39:06,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-241/.semver 02:39:06 2023-01-19 02:39:06,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-241/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241, universal_newlines=False, shell=None, istream=None) 02:39:08 2023-01-19 02:39:08,029 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-241/.git/info/exclude 02:39:08 2023-01-19 02:39:08,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 with force:False 02:39:08 2023-01-19 02:39:08,029 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 02:39:08 2023-01-19 02:39:08,033 [execute] INFO git cat-file --batch-check 02:39:08 2023-01-19 02:39:08,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) 02:39:08 2023-01-19 02:39:08,039 [execute] INFO git cat-file --batch 02:39:08 2023-01-19 02:39:08,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-241/.semver, universal_newlines=False, shell=None, istream=) 02:39:08 2023-01-19 02:39:08,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-241/.semver/PR-241 02:39:08 0.0.0 [Pipeline] } 02:39:08 $ docker exec --env ******** --env ******** bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 ssh-agent -k 02:39:08 unset SSH_AUTH_SOCK; 02:39:08 unset SSH_AGENT_PID; 02:39:08 echo Agent pid 77 killed; 02:39:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:08 + git semver [Pipeline] } 02:39:09 $ docker stop --time=1 bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 02:39:10 $ docker rm -f --volumes bb59dac58b94b71af91e866f4ff071f7dfc957afc07b1b11ba85d3dc4170c799 [Pipeline] // withDockerContainer [Pipeline] sh 02:39:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:39:11 Stashed 1 file(s) [Pipeline] echo 02:39:11 [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 02:39:12 provisioning config files... 02:39:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config2742938148588282009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:12 ---> docker-login.sh 02:39:12 nexus3.edgexfoundry.org:10001 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:12 Configure a credential helper to remove this warning. See 02:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:12 02:39:12 Login Succeeded 02:39:12 nexus3.edgexfoundry.org:10002 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:12 Configure a credential helper to remove this warning. See 02:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:12 02:39:12 Login Succeeded 02:39:12 nexus3.edgexfoundry.org:10003 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:12 Configure a credential helper to remove this warning. See 02:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:12 02:39:12 Login Succeeded 02:39:12 nexus3.edgexfoundry.org:10004 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:12 Configure a credential helper to remove this warning. See 02:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:12 02:39:12 Login Succeeded 02:39:12 docker.io 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:12 Configure a credential helper to remove this warning. See 02:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:12 02:39:12 Login Succeeded 02:39:12 ---> docker-login.sh ends [Pipeline] } 02:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:13 ========================================================= 02:39:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:39:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:13 + 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 . 02:39:13 Sending build context to Docker daemon 10.8MB 02:39:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:39:13 Step 2/12 : FROM ${BASE} AS builder 02:39:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:39:13 213ec9aee27d: Pulling fs layer 02:39:13 4583459ba037: Pulling fs layer 02:39:13 93c1e223e6f2: Pulling fs layer 02:39:13 53926ce57604: Pulling fs layer 02:39:13 21b2b0c7a3f4: Pulling fs layer 02:39:13 22ff95d597cd: Pulling fs layer 02:39:13 12d6caf4c0d1: Pulling fs layer 02:39:13 96b7cbca73a9: Pulling fs layer 02:39:13 a7acece74701: Pulling fs layer 02:39:13 22ff95d597cd: Waiting 02:39:13 12d6caf4c0d1: Waiting 02:39:13 96b7cbca73a9: Waiting 02:39:13 a7acece74701: Waiting 02:39:13 53926ce57604: Waiting 02:39:13 21b2b0c7a3f4: Waiting 02:39:13 93c1e223e6f2: Verifying Checksum 02:39:13 93c1e223e6f2: Download complete 02:39:13 4583459ba037: Download complete 02:39:14 21b2b0c7a3f4: Download complete 02:39:14 22ff95d597cd: Download complete 02:39:14 213ec9aee27d: Verifying Checksum 02:39:14 213ec9aee27d: Download complete 02:39:14 12d6caf4c0d1: Download complete 02:39:14 213ec9aee27d: Pull complete 02:39:14 4583459ba037: Pull complete 02:39:14 93c1e223e6f2: Pull complete 02:39:14 a7acece74701: Verifying Checksum 02:39:14 a7acece74701: Download complete 02:39:15 96b7cbca73a9: Verifying Checksum 02:39:15 96b7cbca73a9: Download complete 02:39:15 53926ce57604: Verifying Checksum 02:39:15 53926ce57604: Download complete 02:39:19 53926ce57604: Pull complete 02:39:19 21b2b0c7a3f4: Pull complete 02:39:19 22ff95d597cd: Pull complete 02:39:19 12d6caf4c0d1: Pull complete 02:39:21 96b7cbca73a9: Pull complete 02:39:22 a7acece74701: Pull complete 02:39:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:39:22 ---> db6d94c90886 02:39:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:39:26 Still waiting to schedule task 02:39:26 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3053’ is offline 02:39:29 ---> Running in 2392669fab6c 02:39:29 Removing intermediate container 2392669fab6c 02:39:29 ---> 3b256731301e 02:39:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:39:29 ---> Running in e405bb69e93f 02:39:29 Removing intermediate container e405bb69e93f 02:39:29 ---> cd6540d3137c 02:39:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:39:29 ---> Running in 1433fc7facd4 02:39:30 Removing intermediate container 1433fc7facd4 02:39:30 ---> fe68ec8a9d2c 02:39:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:39:30 ---> Running in fd5ab21b8153 02:39:30 Removing intermediate container fd5ab21b8153 02:39:30 ---> 39af2d23aa63 02:39:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:39:30 ---> Running in b217bdcdb050 02:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:39:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:39:30 (2/4) Installing libedit (20210910.3.1-r0) 02:39:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:39:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:39:30 Executing busybox-1.35.0-r17.trigger 02:39:30 OK: 216 MiB in 55 packages 02:39:31 Removing intermediate container b217bdcdb050 02:39:31 ---> be341a955cf9 02:39:31 Step 8/12 : WORKDIR /device-rest-go 02:39:31 ---> Running in 45e92ae7c471 02:39:31 Removing intermediate container 45e92ae7c471 02:39:31 ---> 92b8bdc119f5 02:39:31 Step 9/12 : COPY go.mod vendor* ./ 02:39:31 ---> 3844a672f65e 02:39:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:39:31 ---> Running in e80837a76151 02:40:03 Removing intermediate container e80837a76151 02:40:03 ---> 1a6decc1668d 02:40:03 Step 11/12 : COPY . . 02:40:03 ---> 643647e18e57 02:40:03 Step 12/12 : RUN $MAKE 02:40:03 ---> Running in 28640800eac1 02:40:03 noop 02:40:03 Removing intermediate container 28640800eac1 02:40:03 ---> c27aee812ade 02:40:03 Successfully built c27aee812ade 02:40:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:04 + docker inspect -f . ci-base-image-x86_64 02:40:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:04 prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container 02:40:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 02:40:04 $ docker top e0cf69da3c41ecbfec0ef7123431333446ed8ad4ed9f289cc1ba0199dea43aea -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:05 + go version 02:40:05 go version go1.18.7 linux/amd64 [Pipeline] } 02:40:05 $ docker stop --time=1 e0cf69da3c41ecbfec0ef7123431333446ed8ad4ed9f289cc1ba0199dea43aea 02:40:06 $ docker rm -f --volumes e0cf69da3c41ecbfec0ef7123431333446ed8ad4ed9f289cc1ba0199dea43aea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:07 + docker inspect -f . ci-base-image-x86_64 02:40:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:07 prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container 02:40:07 $ 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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 02:40:07 $ docker top 2aec9d3ff80a476d24278c35fe41af21f8be2780ab85bdddef96915fe27e7276 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-241 [Pipeline] fileExists [Pipeline] sh 02:40:08 + make test 02:40:08 go test ./... -coverprofile=coverage.out ./... 02:40:08 ? github.com/edgexfoundry/device-rest-go [no test files] 02:40:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:40:18 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 02:40:26 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." 02:40:26 go vet ./... 02:40:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:40:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:40:30 ./bin/test-attribution-txt.sh 02:40:30 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:40:30 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:40:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:40:30 $ docker stop --time=1 2aec9d3ff80a476d24278c35fe41af21f8be2780ab85bdddef96915fe27e7276 02:40:32 $ docker rm -f --volumes 2aec9d3ff80a476d24278c35fe41af21f8be2780ab85bdddef96915fe27e7276 [Pipeline] // withDockerContainer [Pipeline] sh 02:40:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:40:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:40:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:40:34 + ls -al . 02:40:34 total 180 02:40:34 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:40 . 02:40:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:38 .. 02:40:34 -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 02:38 .dockerignore 02:40:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:40 .git 02:40:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:38 .github 02:40:34 -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 02:38 .gitignore 02:40:34 -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:38 .golangci.yml 02:40:34 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:39 .semver 02:40:34 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 19 02:38 Attribution.txt 02:40:34 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 19 02:38 CHANGELOG.md 02:40:34 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 19 02:38 Dockerfile 02:40:34 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:38 GOVERNANCE.md 02:40:34 -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 02:38 Jenkinsfile 02:40:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:38 LICENSE 02:40:34 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 19 02:38 Makefile 02:40:34 -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:38 OWNERS.md 02:40:34 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 19 02:38 README.md 02:40:34 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:39 VERSION 02:40:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:38 bin 02:40:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:38 cmd 02:40:34 -rw-r--r-- 1 jenkins jenkins 9355 Jan 19 02:40 coverage.out 02:40:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:38 driver 02:40:34 -rw-rw-r-- 1 jenkins jenkins 3454 Jan 19 02:38 go.mod 02:40:34 -rw-rw-r-- 1 jenkins jenkins 34856 Jan 19 02:38 go.sum 02:40:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:38 snap 02:40:34 -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 02:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:34 + 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=0c8cee599e8840d59a5a88fbbd610b54878ba35e --label arch=amd64 --label version=0.0.0 . 02:40:34 Sending build context to Docker daemon 10.81MB 02:40:34 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:40:34 Step 2/25 : FROM ${BASE} AS builder 02:40:34 ---> c27aee812ade 02:40:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:40:34 ---> Running in 94267179c20d 02:40:34 Removing intermediate container 94267179c20d 02:40:34 ---> 2ac7fd8a88fb 02:40:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:34 ---> Running in 2d2d45479a5a 02:40:34 Removing intermediate container 2d2d45479a5a 02:40:34 ---> 55a0ea8ec142 02:40:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:34 ---> Running in 434a1c8c55cd 02:40:35 Removing intermediate container 434a1c8c55cd 02:40:35 ---> 3bd337057f16 02:40:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:40:35 ---> Running in 954890188b56 02:40:35 Removing intermediate container 954890188b56 02:40:35 ---> d6c43e5b60ec 02:40:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:35 ---> Running in d0986a8922b2 02:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:40:35 OK: 216 MiB in 55 packages 02:40:36 Removing intermediate container d0986a8922b2 02:40:36 ---> 2292ed0ef8c0 02:40:36 Step 8/25 : WORKDIR /device-rest-go 02:40:36 ---> Running in a76231cd83a8 02:40:36 Removing intermediate container a76231cd83a8 02:40:36 ---> 70749d72eb6f 02:40:36 Step 9/25 : COPY go.mod vendor* ./ 02:40:36 ---> 5a8b6bb36ed0 02:40:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:36 ---> Running in 5ef85047bd10 02:40:37 Removing intermediate container 5ef85047bd10 02:40:37 ---> 51debf3afe68 02:40:37 Step 11/25 : COPY . . 02:40:37 ---> fb467e08b035 02:40:37 Step 12/25 : RUN $MAKE 02:40:37 ---> Running in 67d1a140c17c 02:40:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:41:00 Removing intermediate container 67d1a140c17c 02:41:00 ---> d3664a0a8e85 02:41:00 Step 13/25 : FROM alpine:3.16 02:41:00 3.16: Pulling from library/alpine 02:41:00 ca7dd9ec2225: Pulling fs layer 02:41:00 ca7dd9ec2225: Verifying Checksum 02:41:00 ca7dd9ec2225: Download complete 02:41:00 ca7dd9ec2225: Pull complete 02:41:00 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:41:00 Status: Downloaded newer image for alpine:3.16 02:41:00 ---> bfe296a52501 02:41:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:41:00 ---> Running in 9fb2ecd539fa 02:41:00 Removing intermediate container 9fb2ecd539fa 02:41:00 ---> 6fcc58e1cc4e 02:41:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:41:00 ---> Running in 818033b572fd 02:41:00 Removing intermediate container 818033b572fd 02:41:00 ---> 528f4e4cf5ee 02:41:00 Step 16/25 : RUN apk add --update --no-cache dumb-init 02:41:00 ---> Running in a6942a487004 02:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:41:00 (1/1) Installing dumb-init (1.2.5-r1) 02:41:00 Executing busybox-1.35.0-r17.trigger 02:41:00 OK: 6 MiB in 15 packages 02:41:00 Removing intermediate container a6942a487004 02:41:00 ---> 95f6343ed636 02:41:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:41:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3055 in /w/workspace/gexfoundry_device-rest-go_PR-241 [Pipeline] { [Pipeline] ws 02:41:01 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 02:41:01 The recommended git tool is: git 02:41:01 ---> e0fca9fc1ee3 02:41:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:41:01 ---> ee8e2b9c9879 02:41:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:41:01 ---> ae23f63a18fc 02:41:01 Step 20/25 : EXPOSE 59986 02:41:01 ---> Running in 04ad312408e0 02:41:01 Removing intermediate container 04ad312408e0 02:41:01 ---> e057ffcb9875 02:41:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:41:01 ---> Running in 472826eed78b 02:41:01 Removing intermediate container 472826eed78b 02:41:01 ---> 68ea57106448 02:41:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:41:01 ---> Running in 296619a9dc48 02:41:02 Removing intermediate container 296619a9dc48 02:41:02 ---> 8055b68810a8 02:41:02 Step 23/25 : LABEL arch=amd64 02:41:02 ---> Running in 2957bfae1553 02:41:02 Removing intermediate container 2957bfae1553 02:41:02 ---> 7e99c5ab8704 02:41:02 Step 24/25 : LABEL git_sha=0c8cee599e8840d59a5a88fbbd610b54878ba35e 02:41:02 ---> Running in ce35c6e9f96a 02:41:02 Removing intermediate container ce35c6e9f96a 02:41:02 ---> 6124bc8ff33d 02:41:02 Step 25/25 : LABEL version=0.0.0 02:41:02 ---> Running in 03f15bd8d6a9 02:41:02 Removing intermediate container 03f15bd8d6a9 02:41:02 ---> 2be929a1d277 02:41:02 [Warning] One or more build-args [ARCH] were not consumed 02:41:02 Successfully built 2be929a1d277 02:41:02 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 02:41:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:03 02:41:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:03 latest: Pulling from edgex-lftools-log-publisher 02:41:03 5eb5b503b376: Pulling fs layer 02:41:03 5c69ac0246d0: Pulling fs layer 02:41:03 ec43610c2a17: Pulling fs layer 02:41:03 3a2ae6a8a46f: Pulling fs layer 02:41:03 33b1e0a273af: Pulling fs layer 02:41:03 5d3b04190fa2: Pulling fs layer 02:41:03 2f39f015ded8: Pulling fs layer 02:41:03 33b1e0a273af: Waiting 02:41:03 5d3b04190fa2: Waiting 02:41:03 3a2ae6a8a46f: Waiting 02:41:03 5c69ac0246d0: Verifying Checksum 02:41:03 5c69ac0246d0: Download complete 02:41:03 3a2ae6a8a46f: Download complete 02:41:03 33b1e0a273af: Verifying Checksum 02:41:03 33b1e0a273af: Download complete 02:41:03 5d3b04190fa2: Download complete 02:41:03 ec43610c2a17: Verifying Checksum 02:41:03 ec43610c2a17: Download complete 02:41:04 5eb5b503b376: Verifying Checksum 02:41:04 5eb5b503b376: Download complete 02:41:04 2f39f015ded8: Verifying Checksum 02:41:04 2f39f015ded8: Download complete 02:41:05 5eb5b503b376: Pull complete 02:41:05 5c69ac0246d0: Pull complete 02:41:05 ec43610c2a17: Pull complete 02:41:05 3a2ae6a8a46f: Pull complete 02:41:06 33b1e0a273af: Pull complete 02:41:06 5d3b04190fa2: Pull complete 02:41:06 using credential edgex-jenkins-ssh 02:41:06 Cloning the remote Git repository 02:41:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:41:07 > git init /w/workspace/device-rest-go/1 # timeout=10 02:41:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:41:07 > git --version # timeout=10 02:41:07 > git --version # 'git version 2.25.1' 02:41:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:41:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:10 2f39f015ded8: Pull complete 02:41:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:41:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:41:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:41:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:41:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:41:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:41:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/241/head:refs/remotes/origin/PR-241 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:10 prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container 02:41:10 $ 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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 02:41:10 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit 0c8cee599e8840d59a5a88fbbd610b54878ba35e 02:41:10 Merge succeeded, producing 0c8cee599e8840d59a5a88fbbd610b54878ba35e 02:41:10 Checking out Revision 0c8cee599e8840d59a5a88fbbd610b54878ba35e (PR-241) 02:41:10 > git config core.sparsecheckout # timeout=10 02:41:10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 02:41:10 > git remote # timeout=10 02:41:10 > git config --get remote.origin.url # timeout=10 02:41:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:41:10 > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 02:41:10 > git rev-parse HEAD^{commit} # timeout=10 02:41:10 > git config core.sparsecheckout # timeout=10 02:41:10 > git checkout -f 0c8cee599e8840d59a5a88fbbd610b54878ba35e # timeout=10 02:41:13 $ docker top 26bdb4ee7d3e0d5d7c4dcaed560da0e1f766309b17583ed0a02919e766fa106f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:14 Commit message: "build(deps): bump device-sdk-go version" 02:41:14 > git --version # timeout=10 02:41:14 > git --version # 'git version 2.25.1' 02:41:14 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:41:14 ---> job-cost.sh 02:41:14 lf-activate-venv: SKIPPING 02:41:14 INFO: No Stack... 02:41:14 INFO: Retrieving Pricing Info for: v3-standard-8 02:41:14 02:41:14 GitHub has been notified of this commit’s build result 02:41:14 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:15 INFO: Archiving Costs [Pipeline] sh 02:41:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:41:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:41:15 Dload Upload Total Spent Left Speed 02:41:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 74133 02:41:15 + cat /w/workspace/gexfoundry_device-rest-go_PR-241/archives/cost.csv 02:41:15 + cut -d, -f6 [Pipeline] lock 02:41:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] 02:41:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] did not exist. Created. 02:41:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh 02:41:16 + echo total: 0.2199999988079071 [Pipeline] stash 02:41:16 Stashed 1 file(s) [Pipeline] } 02:41:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:41:16 $ docker stop --time=1 26bdb4ee7d3e0d5d7c4dcaed560da0e1f766309b17583ed0a02919e766fa106f 02:41:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 02:41:17 $ docker rm -f --volumes 26bdb4ee7d3e0d5d7c4dcaed560da0e1f766309b17583ed0a02919e766fa106f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:41:17 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:41:17 sudo tee /etc/docker/daemon.new 02:41:17 { 02:41:17 "registry-mirrors": [ 02:41:17 "https://nexus3.edgexfoundry.org:10001" 02:41:17 ], 02:41:17 "bip": "10.250.0.254/24", 02:41:17 "hosts": [ 02:41:17 "tcp://0.0.0.0:5555", 02:41:17 "unix:///var/run/docker.sock" 02:41:17 ], 02:41:17 "mtu": 1458, 02:41:17 "selinux-enabled": true, 02:41:17 "seccomp-profile": "/etc/docker/seccomp.json" 02:41:17 } [Pipeline] sh 02:41:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:41:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:41:36 provisioning config files... 02:41:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3469714960085005290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:37 ---> docker-login.sh 02:41:37 nexus3.edgexfoundry.org:10001 02:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:37 Configure a credential helper to remove this warning. See 02:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:37 02:41:37 Login Succeeded 02:41:37 nexus3.edgexfoundry.org:10002 02:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:38 Configure a credential helper to remove this warning. See 02:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:38 02:41:38 Login Succeeded 02:41:38 nexus3.edgexfoundry.org:10003 02:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:38 Configure a credential helper to remove this warning. See 02:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:38 02:41:38 Login Succeeded 02:41:38 nexus3.edgexfoundry.org:10004 02:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:38 Configure a credential helper to remove this warning. See 02:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:38 02:41:38 Login Succeeded 02:41:38 docker.io 02:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:39 Configure a credential helper to remove this warning. See 02:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:39 02:41:39 Login Succeeded 02:41:39 ---> docker-login.sh ends [Pipeline] } 02:41:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:41:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:41:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:41:40 ========================================================= 02:41:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:41:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:40 + 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 . 02:41:40 Sending build context to Docker daemon 126.5kB 02:41:40 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:41:40 Step 2/12 : FROM ${BASE} AS builder 02:41:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:41:40 9b18e9b68314: Pulling fs layer 02:41:40 35d82f9e3411: Pulling fs layer 02:41:40 e16973657156: Pulling fs layer 02:41:40 fc693d55d65f: Pulling fs layer 02:41:40 7e9fc2657dce: Pulling fs layer 02:41:40 dda99020689f: Pulling fs layer 02:41:40 db1c61fa0a46: Pulling fs layer 02:41:40 891c053d2c06: Pulling fs layer 02:41:40 fc693d55d65f: Waiting 02:41:40 dda99020689f: Waiting 02:41:40 7e9fc2657dce: Waiting 02:41:40 db1c61fa0a46: Waiting 02:41:40 891c053d2c06: Waiting 02:41:40 e16973657156: Verifying Checksum 02:41:40 e16973657156: Download complete 02:41:41 35d82f9e3411: Download complete 02:41:41 7e9fc2657dce: Verifying Checksum 02:41:41 7e9fc2657dce: Download complete 02:41:41 dda99020689f: Verifying Checksum 02:41:41 dda99020689f: Download complete 02:41:41 9b18e9b68314: Verifying Checksum 02:41:41 9b18e9b68314: Download complete 02:41:42 891c053d2c06: Verifying Checksum 02:41:42 891c053d2c06: Download complete 02:41:42 9b18e9b68314: Pull complete 02:41:43 35d82f9e3411: Pull complete 02:41:43 db1c61fa0a46: Verifying Checksum 02:41:43 db1c61fa0a46: Download complete 02:41:43 e16973657156: Pull complete 02:41:43 fc693d55d65f: Verifying Checksum 02:41:43 fc693d55d65f: Download complete 02:41:56 fc693d55d65f: Pull complete 02:41:56 7e9fc2657dce: Pull complete 02:41:56 dda99020689f: Pull complete 02:42:03 db1c61fa0a46: Pull complete 02:42:04 891c053d2c06: Pull complete 02:42:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:42:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:42:04 ---> f96f9c87975a 02:42:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:42:06 ---> Running in 80f2957b4d69 02:42:06 Removing intermediate container 80f2957b4d69 02:42:06 ---> c1b3ef4de06f 02:42:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:42:06 ---> Running in 4ce8f40012dc 02:42:06 Removing intermediate container 4ce8f40012dc 02:42:06 ---> 12df7d9e4087 02:42:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:42:06 ---> Running in e9368ffed860 02:42:07 Removing intermediate container e9368ffed860 02:42:07 ---> c9d3a05898b4 02:42:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:42:07 ---> Running in eece070b5ee2 02:42:07 Removing intermediate container eece070b5ee2 02:42:07 ---> abd2779e1348 02:42:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:42:07 ---> Running in 2e1dc5d170ba 02:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:42:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:42:10 (2/4) Installing libedit (20210910.3.1-r0) 02:42:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:42:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:42:10 Executing busybox-1.35.0-r17.trigger 02:42:10 OK: 226 MiB in 55 packages 02:42:11 Removing intermediate container 2e1dc5d170ba 02:42:11 ---> e21c6cbd25e8 02:42:11 Step 8/12 : WORKDIR /device-rest-go 02:42:11 ---> Running in b7ccd6027507 02:42:11 Removing intermediate container b7ccd6027507 02:42:11 ---> 33345c42f952 02:42:11 Step 9/12 : COPY go.mod vendor* ./ 02:42:12 ---> ac8a2b22c249 02:42:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:12 ---> Running in f8906919991b 02:43:20 Removing intermediate container f8906919991b 02:43:20 ---> 0467bc668d28 02:43:20 Step 11/12 : COPY . . 02:43:20 ---> fd0f737e5b26 02:43:20 Step 12/12 : RUN $MAKE 02:43:20 ---> Running in c27ca79a4b44 02:43:20 noop 02:43:20 Removing intermediate container c27ca79a4b44 02:43:20 ---> 42dfa599cb36 02:43:20 Successfully built 42dfa599cb36 02:43:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:20 + docker inspect -f . ci-base-image-arm64 02:43:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:20 prd-ubuntu20.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container 02:43:20 $ 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 02:43:22 $ docker top 42afefef203618145c5753eaf4cef21b449b67f528f32f54347468b72525e02c -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:23 + go version 02:43:23 go version go1.18.7 linux/arm64 [Pipeline] } 02:43:23 $ docker stop --time=1 42afefef203618145c5753eaf4cef21b449b67f528f32f54347468b72525e02c 02:43:24 $ docker rm -f --volumes 42afefef203618145c5753eaf4cef21b449b67f528f32f54347468b72525e02c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:25 + docker inspect -f . ci-base-image-arm64 02:43:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:43:26 prd-ubuntu20.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container 02:43:26 $ 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 02:43:27 $ docker top b34b205f86183b63f205f2117725d6eb2ecb28e510c7f6d8efadb4efeed1e6ae -eo pid,comm [Pipeline] { [Pipeline] sh 02:43:28 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 02:43:28 + make test 02:43:28 go test ./... -coverprofile=coverage.out ./... 02:43:30 ? github.com/edgexfoundry/device-rest-go [no test files] 02:44:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:44:51 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements 02:44:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:44:51 go vet ./... 02:45:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:45:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:45:10 ./bin/test-attribution-txt.sh 02:45:10 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:45:10 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:45:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:45:10 $ docker stop --time=1 b34b205f86183b63f205f2117725d6eb2ecb28e510c7f6d8efadb4efeed1e6ae 02:45:14 $ docker rm -f --volumes b34b205f86183b63f205f2117725d6eb2ecb28e510c7f6d8efadb4efeed1e6ae [Pipeline] // withDockerContainer [Pipeline] sh 02:45:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:15 Warning: overwriting stash ‘coverage-report’ 02:45:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:16 + ls -al . 02:45:16 total 176 02:45:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:43 . 02:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:41 .. 02:45:16 -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 02:41 .dockerignore 02:45:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:41 .git 02:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:41 .github 02:45:16 -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 02:41 .gitignore 02:45:16 -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:41 .golangci.yml 02:45:16 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 19 02:41 Attribution.txt 02:45:16 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 19 02:41 CHANGELOG.md 02:45:16 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 19 02:41 Dockerfile 02:45:16 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:41 GOVERNANCE.md 02:45:16 -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 02:41 Jenkinsfile 02:45:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:41 LICENSE 02:45:16 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 19 02:41 Makefile 02:45:16 -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:41 OWNERS.md 02:45:16 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 19 02:41 README.md 02:45:16 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:39 VERSION 02:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:41 bin 02:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:41 cmd 02:45:16 -rw-r--r-- 1 jenkins jenkins 9355 Jan 19 02:44 coverage.out 02:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:41 driver 02:45:16 -rw-rw-r-- 1 jenkins jenkins 3454 Jan 19 02:41 go.mod 02:45:16 -rw-rw-r-- 1 jenkins jenkins 34856 Jan 19 02:41 go.sum 02:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:41 snap 02:45:16 -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 02:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:17 + 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=0c8cee599e8840d59a5a88fbbd610b54878ba35e --label arch=arm64 --label version=0.0.0 . 02:45:17 Sending build context to Docker daemon 136.7kB 02:45:17 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:45:17 Step 2/25 : FROM ${BASE} AS builder 02:45:17 ---> 42dfa599cb36 02:45:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:45:17 ---> Running in 392e770e7af5 02:45:17 Removing intermediate container 392e770e7af5 02:45:17 ---> 39adc66aa5d1 02:45:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:45:17 ---> Running in 3cbdb9f79683 02:45:18 Removing intermediate container 3cbdb9f79683 02:45:18 ---> c4356094dce7 02:45:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:45:18 ---> Running in 1b26a3031f15 02:45:18 Removing intermediate container 1b26a3031f15 02:45:18 ---> 9836bdd5d524 02:45:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:45:18 ---> Running in 87beccb345f5 02:45:18 Removing intermediate container 87beccb345f5 02:45:18 ---> a3618c85377d 02:45:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:18 ---> Running in e1e5d2d7624a 02:45:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:45:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:45:21 OK: 226 MiB in 55 packages 02:45:22 Removing intermediate container e1e5d2d7624a 02:45:22 ---> 087224ab97f5 02:45:22 Step 8/25 : WORKDIR /device-rest-go 02:45:22 ---> Running in 0a3d6f781acc 02:45:22 Removing intermediate container 0a3d6f781acc 02:45:22 ---> 71c8b320d638 02:45:22 Step 9/25 : COPY go.mod vendor* ./ 02:45:23 ---> db32eab58a3f 02:45:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:23 ---> Running in b0082982a768 02:45:27 Removing intermediate container b0082982a768 02:45:27 ---> e0506a606fa7 02:45:27 Step 11/25 : COPY . . 02:45:28 ---> a61aa7fa3d03 02:45:28 Step 12/25 : RUN $MAKE 02:45:28 ---> Running in 4a698cc1e4c7 02:45:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:47:50 Removing intermediate container 4a698cc1e4c7 02:47:50 ---> db5fab63c2f3 02:47:50 Step 13/25 : FROM alpine:3.16 02:47:50 3.16: Pulling from library/alpine 02:47:50 6875df1f5354: Pulling fs layer 02:47:50 6875df1f5354: Verifying Checksum 02:47:50 6875df1f5354: Download complete 02:47:50 6875df1f5354: Pull complete 02:47:50 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:47:50 Status: Downloaded newer image for alpine:3.16 02:47:50 ---> 2b4661558fb8 02:47:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:47:50 ---> Running in 5f8573444301 02:47:50 Removing intermediate container 5f8573444301 02:47:50 ---> d71888eea7b8 02:47:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:47:50 ---> Running in 91f96c017fd1 02:47:50 Removing intermediate container 91f96c017fd1 02:47:50 ---> 459d9525ae06 02:47:50 Step 16/25 : RUN apk add --update --no-cache dumb-init 02:47:50 ---> Running in 69c298ec949e 02:47:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:47:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:47:50 (1/1) Installing dumb-init (1.2.5-r1) 02:47:50 Executing busybox-1.35.0-r17.trigger 02:47:50 OK: 5 MiB in 15 packages 02:47:50 Removing intermediate container 69c298ec949e 02:47:50 ---> a5611c7b2646 02:47:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:47:50 ---> ef2f5f762d4e 02:47:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:47:50 ---> 18ffdc09d149 02:47:50 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:47:50 ---> 923545a8a8a2 02:47:50 Step 20/25 : EXPOSE 59986 02:47:50 ---> Running in 236abd2356c6 02:47:50 Removing intermediate container 236abd2356c6 02:47:50 ---> 60225ab6e1ea 02:47:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:47:50 ---> Running in 26bd03011b0e 02:47:50 Removing intermediate container 26bd03011b0e 02:47:50 ---> 8463c6ecdffb 02:47:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:47:50 ---> Running in 9c63ca3ef5a7 02:47:50 Removing intermediate container 9c63ca3ef5a7 02:47:50 ---> 0b50c959a735 02:47:50 Step 23/25 : LABEL arch=arm64 02:47:50 ---> Running in 211ae7ed51db 02:47:50 Removing intermediate container 211ae7ed51db 02:47:50 ---> c55f2e363bbc 02:47:50 Step 24/25 : LABEL git_sha=0c8cee599e8840d59a5a88fbbd610b54878ba35e 02:47:50 ---> Running in 25ea931f542c 02:47:51 Removing intermediate container 25ea931f542c 02:47:51 ---> 84e3202ec825 02:47:51 Step 25/25 : LABEL version=0.0.0 02:47:51 ---> Running in 0abe3a59ee1a 02:47:51 Removing intermediate container 0abe3a59ee1a 02:47:51 ---> 7496d8eff540 02:47:51 [Warning] One or more build-args [ARCH] were not consumed 02:47:51 Successfully built 7496d8eff540 02:47:51 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 02:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:52 02:47:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:52 arm64: Pulling from edgex-lftools-log-publisher 02:47:52 8998bd30e6a1: Pulling fs layer 02:47:52 04944245beec: Pulling fs layer 02:47:52 699f458cf7ca: Pulling fs layer 02:47:52 765212b225bb: Pulling fs layer 02:47:52 f23df028b6ca: Pulling fs layer 02:47:52 d65c8cfc05b1: Pulling fs layer 02:47:52 2437ff75d9bd: Pulling fs layer 02:47:52 765212b225bb: Waiting 02:47:52 d65c8cfc05b1: Waiting 02:47:52 2437ff75d9bd: Waiting 02:47:52 f23df028b6ca: Waiting 02:47:53 04944245beec: Verifying Checksum 02:47:53 04944245beec: Download complete 02:47:53 765212b225bb: Verifying Checksum 02:47:53 765212b225bb: Download complete 02:47:53 f23df028b6ca: Verifying Checksum 02:47:53 f23df028b6ca: Download complete 02:47:53 d65c8cfc05b1: Verifying Checksum 02:47:53 d65c8cfc05b1: Download complete 02:47:53 699f458cf7ca: Verifying Checksum 02:47:53 699f458cf7ca: Download complete 02:47:53 8998bd30e6a1: Download complete 02:47:56 2437ff75d9bd: Verifying Checksum 02:47:56 2437ff75d9bd: Download complete 02:47:57 8998bd30e6a1: Pull complete 02:47:58 04944245beec: Pull complete 02:47:59 699f458cf7ca: Pull complete 02:47:59 765212b225bb: Pull complete 02:48:00 f23df028b6ca: Pull complete 02:48:00 d65c8cfc05b1: Pull complete 02:48:15 2437ff75d9bd: Pull complete 02:48:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:48:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:16 prd-ubuntu20.04-docker-arm64-4c-16g-3055 does not seem to be running inside a container 02:48:16 $ 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 02:48:19 $ docker top 58c8c0bbafe9d27c2a90a54f08977f827beea68d6a67391bcd46993eba9315a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:19 ---> job-cost.sh 02:48:19 lf-activate-venv: SKIPPING 02:48:19 INFO: No Stack... 02:48:20 INFO: Retrieving Pricing Info for: v3-standard-4 02:48:21 INFO: Archiving Costs [Pipeline] sh 02:48:21 + cat /w/workspace/device-rest-go/1/archives/cost.csv 02:48:21 + cut -d, -f6 [Pipeline] lock 02:48:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] 02:48:21 Resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] did not exist. Created. 02:48:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:48:22 /w/workspace/device-rest-go/1@tmp/durable-a4fadfc3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:48:23 + echo total: 0.10999999940395355 [Pipeline] stash 02:48:23 Warning: overwriting stash ‘stack-cost’ 02:48:23 Stashed 1 file(s) [Pipeline] } 02:48:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-241-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:48:23 $ docker stop --time=1 58c8c0bbafe9d27c2a90a54f08977f827beea68d6a67391bcd46993eba9315a7 02:48:24 $ docker rm -f --volumes 58c8c0bbafe9d27c2a90a54f08977f827beea68d6a67391bcd46993eba9315a7 [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 02:48:25 provisioning config files... 02:48:25 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config9137034583761769865tmp [Pipeline] { [Pipeline] sh 02:48:26 + set +x 02:48:26 + bash -s -- 02:48:26 + curl -s https://codecov.io/bash 02:48:26 02:48:26 _____ _ 02:48:26 / ____| | | 02:48:26 | | ___ __| | ___ ___ _____ __ 02:48:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:26 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:26 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:26 Bash-1.0.6 02:48:26 02:48:26 02:48:26 ==> git version 2.25.1 found 02:48:26 ==> 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 02:48:26 Release-Date: 2020-01-08 02:48:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:48:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:48:26 ==> Jenkins CI detected. 02:48:26 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-241 02:48:26 project root: . 02:48:26 --> token set from env 02:48:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:26 ==> Running gcov in . (disable via -X gcov) 02:48:26 ==> Python coveragepy not found 02:48:26 ==> Searching for coverage reports in: 02:48:26 + . 02:48:26 -> Found 1 reports 02:48:26 ==> Detecting git/mercurial file structure 02:48:26 ==> Reading reports 02:48:26 + ./coverage.out bytes=9355 02:48:26 ==> Appending adjustments 02:48:26 https://docs.codecov.io/docs/fixing-reports 02:48:26 + Found adjustments 02:48:26 ==> Gzipping contents 02:48:26 4.0K /tmp/codecov.QdTViG.gz 02:48:26 ==> Uploading reports 02:48:26 url: https://codecov.io 02:48:26 query: branch=PR-241&commit=0c8cee599e8840d59a5a88fbbd610b54878ba35e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=241&job=&cmd_args= 02:48:26 -> Pinging Codecov 02:48:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-241&commit=0c8cee599e8840d59a5a88fbbd610b54878ba35e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=241&job=&cmd_args= 02:48:26 -> Uploading to 02:48:26 https://storage.googleapis.com/codecov/v4/raw/2023-01-19/4E5D53B4F1F92C436F7061BF334D961C/0c8cee599e8840d59a5a88fbbd610b54878ba35e/345324cd-8bfb-4f41-b85c-032151f46b82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T024826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=036c9bfefe6444079d272030ca4001766abcb0362b3ac647f084525a108c178b 02:48:26 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:26 Dload Upload Total Spent Left Speed 02:48:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 6588 --:--:-- --:--:-- --:--:-- 6588 02:48:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0c8cee599e8840d59a5a88fbbd610b54878ba35e [Pipeline] } 02:48:27 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 02:48:28 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-241/archives ] 02:48:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-241/archives 02:48:28 total 16 02:48:28 drwxr-xr-x 3 root root 4096 Jan 19 02:41 . 02:48:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:41 .. 02:48:28 drwxr-xr-x 2 root root 4096 Jan 19 02:41 cost 02:48:28 -rw-r--r-- 1 root root 86 Jan 19 02:41 cost.csv 02:48:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-241/archives 02:48:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-241/archives 02:48:28 total 16 02:48:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:41 . 02:48:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:41 .. 02:48:28 drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:41 cost 02:48:28 -rw-r--r-- 1 jenkins jenkins 86 Jan 19 02:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:48:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:29 ---> package-listing.sh 02:48:29 ++ facter osfamily 02:48:29 ++ tr '[:upper:]' '[:lower:]' 02:48:30 + OS_FAMILY=debian 02:48:30 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-241 02:48:30 + START_PACKAGES=/tmp/packages_start.txt 02:48:30 + END_PACKAGES=/tmp/packages_end.txt 02:48:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:30 + PACKAGES=/tmp/packages_start.txt 02:48:30 + '[' /w/workspace/gexfoundry_device-rest-go_PR-241 ']' 02:48:30 + PACKAGES=/tmp/packages_end.txt 02:48:30 + case "${OS_FAMILY}" in 02:48:30 + dpkg -l 02:48:30 + grep '^ii' 02:48:30 + '[' -f /tmp/packages_start.txt ']' 02:48:30 + '[' -f /tmp/packages_end.txt ']' 02:48:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:30 + '[' /w/workspace/gexfoundry_device-rest-go_PR-241 ']' 02:48:30 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-241/archives/ 02:48:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-241/archives/ [Pipeline] echo 02:48:30 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-241/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:31 prd-ubuntu20.04-docker-8c-8g-3054 does not seem to be running inside a container 02:48:31 $ 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-241/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-241 -v /w/workspace/gexfoundry_device-rest-go_PR-241:/w/workspace/gexfoundry_device-rest-go_PR-241:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-241@tmp:/w/workspace/gexfoundry_device-rest-go_PR-241@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 02:48:31 $ docker top 84d61ad13743fc4264a3be08087a0d232207e1e536606b99d6e2e883e2555b24 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:31 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:32 + mkdir -p /var/log/sysstat [Pipeline] sh 02:48:32 + ls /var/log/sa-host 02:48:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:32 provisioning config files... 02:48:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-241@tmp/config9628426305546617tmp [Pipeline] { [Pipeline] echo 02:48:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:33 ---> create-netrc.sh [Pipeline] } 02:48:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:48:33 ---> python-tools-install.sh [Pipeline] echo 02:48:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:33 ---> sudo-logs.sh 02:48:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:48:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:34 ---> job-cost.sh 02:48:34 lf-activate-venv: SKIPPING 02:48:34 DEBUG: total: 0.2199999988079071 02:48:34 INFO: Retrieving Stack Cost... 02:48:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:48:35 INFO: Archiving Costs [Pipeline] echo 02:48:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:35 ---> logs-deploy.sh 02:48:35 lf-activate-venv: SKIPPING 02:48:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-241/1 02:48:35 INFO: archiving workspace using pattern(s): 02:48:36 Archives upload complete. 02:48:36 INFO: archiving logs to Nexus