Pull request #212 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61c93761f1ed90963be38175987664f9fad31886+3bfa2c7cebef17aba10611e718aa3e6714bdeddd (d346adf57340fc16388cdef37b0242b2a9063484) 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-ssh13370249987261072503.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh17990623916123319525.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-212/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-212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18250056668431549386.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-212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11187562629716089287.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4823470494264963115.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-212/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-212/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18125271532197588521.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-28998 in /w/workspace/gexfoundry_device-rest-go_PR-212 [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-212 # 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 Merging remotes/origin/main commit 3bfa2c7cebef17aba10611e718aa3e6714bdeddd into PR head commit 61c93761f1ed90963be38175987664f9fad31886 Merge succeeded, producing 61c93761f1ed90963be38175987664f9fad31886 Checking out Revision 61c93761f1ed90963be38175987664f9fad31886 (PR-212) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61c93761f1ed90963be38175987664f9fad31886 # 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 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61c93761f1ed90963be38175987664f9fad31886 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:05:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:05:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:50 ========================================================= 20:05:50 EdgeX Global Pipelines Version Info 20:05:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:50 ------------------- 20:05:50 stable info: 20:05:50 ------------------- 20:05:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:05:50 Message: update stable to v1.0.239 20:05:51 ------------------- 20:05:51 experimental info: 20:05:51 ------------------- 20:05:51 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:05:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:05:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:05:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:05:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-212 [Pipeline] echo 20:05:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-212 [Pipeline] echo 20:05:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-212 [Pipeline] echo 20:05:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61c93761f1ed90963be38175987664f9fad31886 [Pipeline] echo 20:05:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61c9376 [Pipeline] echo 20:05:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:53 provisioning config files... 20:05:53 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp/config6747982351833461254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:53 ---> docker-login.sh 20:05:53 nexus3.edgexfoundry.org:10001 20:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:54 Configure a credential helper to remove this warning. See 20:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:54 20:05:54 Login Succeeded 20:05:54 nexus3.edgexfoundry.org:10002 20:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:54 Configure a credential helper to remove this warning. See 20:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:54 20:05:54 Login Succeeded 20:05:54 nexus3.edgexfoundry.org:10003 20:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:54 Configure a credential helper to remove this warning. See 20:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:54 20:05:54 Login Succeeded 20:05:54 nexus3.edgexfoundry.org:10004 20:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:54 Configure a credential helper to remove this warning. See 20:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:54 20:05:54 Login Succeeded 20:05:54 docker.io 20:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:55 Configure a credential helper to remove this warning. See 20:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:55 20:05:55 Login Succeeded 20:05:55 ---> docker-login.sh ends [Pipeline] } 20:05:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:55 + git rev-list -1 --merges 61c93761f1ed90963be38175987664f9fad31886~1..61c93761f1ed90963be38175987664f9fad31886 [Pipeline] echo 20:05:55 -----------> git rev-list -1 --merges 61c93761f1ed90963be38175987664f9fad31886~1..61c93761f1ed90963be38175987664f9fad31886 61c93761f1ed90963be38175987664f9fad31886 [false] [Pipeline] sh 20:05:56 + git log --format=format:%s -1 61c93761f1ed90963be38175987664f9fad31886 [Pipeline] echo 20:05:56 ========================================================= 20:05:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:56 + git log --format=format:%s -1 61c93761f1ed90963be38175987664f9fad31886 [Pipeline] echo 20:05:56 [semverPrep] GIT_COMMIT: 61c93761f1ed90963be38175987664f9fad31886, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:05:56 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:56 + grep -v github /etc/ssh/ssh_known_hosts 20:05:56 + [ -e /tmp/ssh_known_hosts ] 20:05:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:56 + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:57 20:05:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:05:57 b85a868b505f: Pulling fs layer 20:05:57 e2be974225ed: Pulling fs layer 20:05:57 339a4e72a1f5: Pulling fs layer 20:05:57 988bab9f4d93: Pulling fs layer 20:05:57 1469e6f7b9e6: Pulling fs layer 20:05:57 eaf3925da568: Pulling fs layer 20:05:57 bab4dde63d76: Pulling fs layer 20:05:57 bde34c3a00c8: Pulling fs layer 20:05:57 b352a97aabf1: Pulling fs layer 20:05:57 4872d77fe225: Pulling fs layer 20:05:57 5851b861e8e6: Pulling fs layer 20:05:57 bab4dde63d76: Waiting 20:05:57 bde34c3a00c8: Waiting 20:05:57 1469e6f7b9e6: Waiting 20:05:57 eaf3925da568: Waiting 20:05:57 4872d77fe225: Waiting 20:05:57 988bab9f4d93: Waiting 20:05:57 b352a97aabf1: Waiting 20:05:57 e2be974225ed: Download complete 20:05:57 988bab9f4d93: Verifying Checksum 20:05:57 988bab9f4d93: Download complete 20:05:58 1469e6f7b9e6: Verifying Checksum 20:05:58 1469e6f7b9e6: Download complete 20:05:58 339a4e72a1f5: Verifying Checksum 20:05:58 339a4e72a1f5: Download complete 20:05:58 eaf3925da568: Verifying Checksum 20:05:58 eaf3925da568: Download complete 20:05:58 bde34c3a00c8: Download complete 20:05:58 b352a97aabf1: Download complete 20:05:58 4872d77fe225: Verifying Checksum 20:05:58 4872d77fe225: Download complete 20:05:58 5851b861e8e6: Verifying Checksum 20:05:58 5851b861e8e6: Download complete 20:05:58 b85a868b505f: Verifying Checksum 20:05:58 b85a868b505f: Download complete 20:05:58 bab4dde63d76: Verifying Checksum 20:05:58 bab4dde63d76: Download complete 20:05:59 b85a868b505f: Pull complete 20:05:59 e2be974225ed: Pull complete 20:06:00 339a4e72a1f5: Pull complete 20:06:00 988bab9f4d93: Pull complete 20:06:00 1469e6f7b9e6: Pull complete 20:06:00 eaf3925da568: Pull complete 20:06:02 bab4dde63d76: Pull complete 20:06:02 bde34c3a00c8: Pull complete 20:06:02 b352a97aabf1: Pull complete 20:06:02 4872d77fe225: Pull complete 20:06:03 5851b861e8e6: Pull complete 20:06:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:06:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:03 prd-ubuntu20.04-docker-8c-8g-28998 does not seem to be running inside a container 20:06:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-212 -v /w/workspace/gexfoundry_device-rest-go_PR-212:/w/workspace/gexfoundry_device-rest-go_PR-212:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-212@tmp:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:06:05 $ docker top 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca -eo pid,comm 20:06:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:06:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:06:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:06:05 [ssh-agent] Looking for ssh-agent implementation... 20:06:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:06:05 $ docker exec 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca ssh-agent 20:06:05 SSH_AUTH_SOCK=/tmp/ssh-wSI9sZa3FnOy/agent.33 20:06:05 SSH_AGENT_PID=40 20:06:05 Running ssh-add (command line suppressed) 20:06:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-212@tmp/private_key_6932701897921070043.key (/w/workspace/gexfoundry_device-rest-go_PR-212@tmp/private_key_6932701897921070043.key) 20:06:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:06:06 + git tag --points-at HEAD [Pipeline] } 20:06:06 $ docker exec --env ******** --env ******** 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca ssh-agent -k 20:06:06 unset SSH_AUTH_SOCK; 20:06:06 unset SSH_AGENT_PID; 20:06:06 echo Agent pid 40 killed; 20:06:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:06:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:06:06 [ssh-agent] Looking for ssh-agent implementation... 20:06:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:06:06 $ docker exec 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca ssh-agent 20:06:06 SSH_AUTH_SOCK=/tmp/ssh-DKGbcIP4rQAq/agent.74 20:06:06 SSH_AGENT_PID=80 20:06:06 Running ssh-add (command line suppressed) 20:06:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-212@tmp/private_key_7867175230663372497.key (/w/workspace/gexfoundry_device-rest-go_PR-212@tmp/private_key_7867175230663372497.key) 20:06:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:06:07 + git semver init 20:06:07 2022-09-12 20:06:07,444 [run_init] DEBUG init version:0.0.0 force:False 20:06:07 2022-09-12 20:06:07,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-212/.semver 20:06:07 2022-09-12 20:06:07,445 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-212/.semver 20:06:07 2022-09-12 20:06:07,445 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-212/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-212, universal_newlines=False, shell=None, istream=None) 20:06:08 2022-09-12 20:06:08,547 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-212/.git/info/exclude 20:06:08 2022-09-12 20:06:08,547 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-212/.semver/PR-212 with force:False 20:06:08 2022-09-12 20:06:08,547 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-212/.semver/PR-212 20:06:08 2022-09-12 20:06:08,550 [execute] INFO git cat-file --batch-check 20:06:08 2022-09-12 20:06:08,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-212/.semver, universal_newlines=False, shell=None, istream=) 20:06:08 2022-09-12 20:06:08,556 [execute] INFO git cat-file --batch 20:06:08 2022-09-12 20:06:08,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-212/.semver, universal_newlines=False, shell=None, istream=) 20:06:08 2022-09-12 20:06:08,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-212/.semver/PR-212 20:06:08 0.0.0 [Pipeline] } 20:06:08 $ docker exec --env ******** --env ******** 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca ssh-agent -k 20:06:09 unset SSH_AUTH_SOCK; 20:06:09 unset SSH_AGENT_PID; 20:06:09 echo Agent pid 80 killed; 20:06:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:06:09 + git semver [Pipeline] } 20:06:09 $ docker stop --time=1 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca 20:06:11 $ docker rm -f 12ff7622cd7277168f90ed23e7474cc4689aa8cb585a3b4c0515187bd844e0ca [Pipeline] // withDockerContainer [Pipeline] sh 20:06:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:06:11 Stashed 1 file(s) [Pipeline] echo 20:06: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 20:06:12 provisioning config files... 20:06:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp/config6388093397178281631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:12 ---> docker-login.sh 20:06:12 nexus3.edgexfoundry.org:10001 20:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:12 Configure a credential helper to remove this warning. See 20:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:12 20:06:12 Login Succeeded 20:06:12 nexus3.edgexfoundry.org:10002 20:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:12 Configure a credential helper to remove this warning. See 20:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:12 20:06:12 Login Succeeded 20:06:12 nexus3.edgexfoundry.org:10003 20:06:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:12 Configure a credential helper to remove this warning. See 20:06:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:12 20:06:12 Login Succeeded 20:06:12 nexus3.edgexfoundry.org:10004 20:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:13 Configure a credential helper to remove this warning. See 20:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:13 20:06:13 Login Succeeded 20:06:13 docker.io 20:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:13 Configure a credential helper to remove this warning. See 20:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:13 20:06:13 Login Succeeded 20:06:13 ---> docker-login.sh ends [Pipeline] } 20:06:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:13 ========================================================= 20:06:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:06:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:06:14 Sending build context to Docker daemon 10.71MB 20:06:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:06:14 Step 2/12 : FROM ${BASE} AS builder 20:06:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:06:14 2408cc74d12b: Pulling fs layer 20:06:14 ea60b727a1ce: Pulling fs layer 20:06:14 30c4a7721957: Pulling fs layer 20:06:14 370296b7ddb6: Pulling fs layer 20:06:14 7c6cee850709: Pulling fs layer 20:06:14 39a5fcdaea64: Pulling fs layer 20:06:14 d94ebbe4e438: Pulling fs layer 20:06:14 bcfd1f05c69d: Pulling fs layer 20:06:14 59ccb84bbe0f: Pulling fs layer 20:06:14 370296b7ddb6: Waiting 20:06:14 7c6cee850709: Waiting 20:06:14 39a5fcdaea64: Waiting 20:06:14 d94ebbe4e438: Waiting 20:06:14 bcfd1f05c69d: Waiting 20:06:14 59ccb84bbe0f: Waiting 20:06:14 30c4a7721957: Verifying Checksum 20:06:14 30c4a7721957: Download complete 20:06:14 ea60b727a1ce: Download complete 20:06:14 7c6cee850709: Verifying Checksum 20:06:14 7c6cee850709: Download complete 20:06:14 39a5fcdaea64: Download complete 20:06:14 2408cc74d12b: Verifying Checksum 20:06:14 2408cc74d12b: Download complete 20:06:14 d94ebbe4e438: Verifying Checksum 20:06:14 d94ebbe4e438: Download complete 20:06:14 2408cc74d12b: Pull complete 20:06:14 ea60b727a1ce: Pull complete 20:06:14 30c4a7721957: Pull complete 20:06:14 59ccb84bbe0f: Verifying Checksum 20:06:14 59ccb84bbe0f: Download complete 20:06:15 370296b7ddb6: Verifying Checksum 20:06:15 370296b7ddb6: Download complete 20:06:15 bcfd1f05c69d: Verifying Checksum 20:06:15 bcfd1f05c69d: Download complete 20:06:19 370296b7ddb6: Pull complete 20:06:19 7c6cee850709: Pull complete 20:06:19 39a5fcdaea64: Pull complete 20:06:19 d94ebbe4e438: Pull complete 20:06:21 bcfd1f05c69d: Pull complete 20:06:22 59ccb84bbe0f: Pull complete 20:06:22 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:06:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:06:22 ---> a4fb48ad2a94 20:06:22 Step 3/12 : ARG MAKE='make build' 20:06:24 ---> Running in be1bfbd20372 20:06:24 Removing intermediate container be1bfbd20372 20:06:24 ---> eab877dbf8f3 20:06:24 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:24 ---> Running in d16da280f9b6 20:06:24 Removing intermediate container d16da280f9b6 20:06:24 ---> d7c3bccc0873 20:06:24 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:06:24 ---> Running in 12e7b2f1f797 20:06:24 Removing intermediate container 12e7b2f1f797 20:06:24 ---> 21759852c391 20:06:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:24 ---> Running in 137682b2a5c8 20:06:25 Removing intermediate container 137682b2a5c8 20:06:25 ---> e367b7d40e96 20:06:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:25 ---> Running in 4aadbf80f2ff 20:06:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:06:26 (2/4) Installing libedit (20210910.3.1-r0) 20:06:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:06:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:06:27 Still waiting to schedule task 20:06:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:06:27 Executing busybox-1.35.0-r13.trigger 20:06:27 OK: 216 MiB in 55 packages 20:06:27 Removing intermediate container 4aadbf80f2ff 20:06:27 ---> e9165127946a 20:06:27 Step 8/12 : WORKDIR /device-rest-go 20:06:27 ---> Running in cf530d2bde0e 20:06:27 Removing intermediate container cf530d2bde0e 20:06:27 ---> 1132461870ac 20:06:27 Step 9/12 : COPY go.mod vendor* ./ 20:06:27 ---> bda14e7bad85 20:06:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:28 ---> Running in 39211cb0a729 20:06:46 Removing intermediate container 39211cb0a729 20:06:46 ---> 83b1744db5e7 20:06:46 Step 11/12 : COPY . . 20:06:46 ---> bf0df6d2553e 20:06:46 Step 12/12 : RUN $MAKE 20:06:46 ---> Running in 02af0bfa768b 20:06:46 noop 20:06:46 Removing intermediate container 02af0bfa768b 20:06:46 ---> 0bdeee495cd7 20:06:46 Successfully built 0bdeee495cd7 20:06:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:46 + docker inspect -f . ci-base-image-x86_64 20:06:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:46 prd-ubuntu20.04-docker-8c-8g-28998 does not seem to be running inside a container 20:06:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-212 -v /w/workspace/gexfoundry_device-rest-go_PR-212:/w/workspace/gexfoundry_device-rest-go_PR-212:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-212@tmp:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:47 $ docker top df38fc4e93d1152382f37692265147b9c8e7cd7672a1b61f2db577204fc88893 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:47 + go version 20:06:47 go version go1.18.3 linux/amd64 [Pipeline] } 20:06:47 $ docker stop --time=1 df38fc4e93d1152382f37692265147b9c8e7cd7672a1b61f2db577204fc88893 20:06:48 $ docker rm -f df38fc4e93d1152382f37692265147b9c8e7cd7672a1b61f2db577204fc88893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:49 + docker inspect -f . ci-base-image-x86_64 20:06:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:49 prd-ubuntu20.04-docker-8c-8g-28998 does not seem to be running inside a container 20:06:49 $ 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-212 -v /w/workspace/gexfoundry_device-rest-go_PR-212:/w/workspace/gexfoundry_device-rest-go_PR-212:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-212@tmp:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:50 $ docker top 77e28d0ae66d1f4c130c951ac39f9bc77e3a0c1d0844c56f3d17461fae3dc810 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-212 [Pipeline] fileExists [Pipeline] sh 20:06:51 + make test 20:06:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:06:51 ? github.com/edgexfoundry/device-rest-go [no test files] 20:07:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:07:01 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements 20:07:07 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:07:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:07:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:07:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:07:10 ./bin/test-attribution-txt.sh 20:07:10 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:07:10 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:07:10 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:07:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:07:10 $ docker stop --time=1 77e28d0ae66d1f4c130c951ac39f9bc77e3a0c1d0844c56f3d17461fae3dc810 20:07:12 $ docker rm -f 77e28d0ae66d1f4c130c951ac39f9bc77e3a0c1d0844c56f3d17461fae3dc810 [Pipeline] // withDockerContainer [Pipeline] sh 20:07:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:07:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:14 + ls -al . 20:07:14 total 172 20:07:14 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 20:06 . 20:07:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:05 .. 20:07:14 -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 20:05 .dockerignore 20:07:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:07 .git 20:07:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:05 .github 20:07:14 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 20:05 .gitignore 20:07:14 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 20:05 .golangci.yml 20:07:14 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:06 .semver 20:07:14 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 12 20:05 Attribution.txt 20:07:14 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 12 20:05 CHANGELOG.md 20:07:14 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 12 20:05 Dockerfile 20:07:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:05 GOVERNANCE.md 20:07:14 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 20:05 Jenkinsfile 20:07:14 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 20:05 LICENSE 20:07:14 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 12 20:05 Makefile 20:07:14 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 20:05 OWNERS.md 20:07:14 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 12 20:05 README.md 20:07:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:06 VERSION 20:07:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:05 bin 20:07:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:05 cmd 20:07:14 -rw-r--r-- 1 jenkins jenkins 9355 Sep 12 20:07 coverage.out 20:07:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:05 driver 20:07:14 -rw-rw-r-- 1 jenkins jenkins 3476 Sep 12 20:05 go.mod 20:07:14 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 12 20:05 go.sum 20:07:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:05 snap 20:07:14 -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:14 + 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=61c93761f1ed90963be38175987664f9fad31886 --label arch=amd64 --label version=0.0.0 . 20:07:14 Sending build context to Docker daemon 10.72MB 20:07:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:07:14 Step 2/25 : FROM ${BASE} AS builder 20:07:14 ---> 0bdeee495cd7 20:07:14 Step 3/25 : ARG MAKE='make build' 20:07:14 ---> Running in 0b04f7ba1232 20:07:14 Removing intermediate container 0b04f7ba1232 20:07:14 ---> 464348831c1e 20:07:14 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:14 ---> Running in 542c93786929 20:07:14 Removing intermediate container 542c93786929 20:07:14 ---> 89b9e6b096d5 20:07:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:07:14 ---> Running in c1128418cefb 20:07:15 Removing intermediate container c1128418cefb 20:07:15 ---> d61954781084 20:07:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:15 ---> Running in 213b48000b78 20:07:15 Removing intermediate container 213b48000b78 20:07:15 ---> 88dde7a71eab 20:07:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:15 ---> Running in 6639d50da756 20:07:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:07:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:17 OK: 216 MiB in 55 packages 20:07:17 Removing intermediate container 6639d50da756 20:07:17 ---> 6d4c27caeb3a 20:07:17 Step 8/25 : WORKDIR /device-rest-go 20:07:17 ---> Running in 15e16e09d753 20:07:17 Removing intermediate container 15e16e09d753 20:07:17 ---> 6cc030493da7 20:07:17 Step 9/25 : COPY go.mod vendor* ./ 20:07:17 ---> b4e6eec5e1fe 20:07:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:17 ---> Running in 89b241a40d51 20:07:18 Removing intermediate container 89b241a40d51 20:07:18 ---> e27265eb2260 20:07:18 Step 11/25 : COPY . . 20:07:18 ---> 8a0d544072ef 20:07:18 Step 12/25 : RUN $MAKE 20:07:18 ---> Running in e5f916d1a7a4 20:07:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:07:40 Removing intermediate container e5f916d1a7a4 20:07:40 ---> 121b8c13f069 20:07:40 Step 13/25 : FROM alpine:3.16 20:07:40 3.16: Pulling from library/alpine 20:07:40 213ec9aee27d: Pulling fs layer 20:07:40 213ec9aee27d: Verifying Checksum 20:07:40 213ec9aee27d: Download complete 20:07:40 213ec9aee27d: Pull complete 20:07:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:07:40 Status: Downloaded newer image for alpine:3.16 20:07:40 ---> 9c6f07244728 20:07:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:07:40 ---> Running in 4f5a09d44c34 20:07:40 Removing intermediate container 4f5a09d44c34 20:07:40 ---> 97f98cfb5b5c 20:07:40 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:07:40 ---> Running in 9b32da13b8da 20:07:40 Removing intermediate container 9b32da13b8da 20:07:40 ---> f7713e88116b 20:07:40 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:07:40 ---> Running in 89adcd2f6a6f 20:07:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:07:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:40 (1/6) Installing dumb-init (1.2.5-r1) 20:07:40 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:07:40 (3/6) Installing libsodium (1.0.18-r0) 20:07:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:07:40 (5/6) Installing libzmq (4.3.4-r0) 20:07:40 (6/6) Installing zeromq (4.3.4-r0) 20:07:40 Executing busybox-1.35.0-r17.trigger 20:07:40 OK: 8 MiB in 20 packages 20:07:41 Removing intermediate container 89adcd2f6a6f 20:07:41 ---> a6d043591ab9 20:07:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:07:42 ---> e20988ad2254 20:07:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:07:42 ---> 2ea39dd1a825 20:07:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:07:42 ---> 73262d2b18c5 20:07:42 Step 20/25 : EXPOSE 59986 20:07:42 ---> Running in 385d9855dfad 20:07:42 Removing intermediate container 385d9855dfad 20:07:42 ---> 4c4936650e21 20:07:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:07:42 ---> Running in d5257ac78d59 20:07:42 Removing intermediate container d5257ac78d59 20:07:42 ---> cda570d8d76e 20:07:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:07:42 ---> Running in 57474e549193 20:07:42 Removing intermediate container 57474e549193 20:07:42 ---> 902bb70f140b 20:07:42 Step 23/25 : LABEL arch=amd64 20:07:42 ---> Running in 78f27ebac085 20:07:42 Removing intermediate container 78f27ebac085 20:07:42 ---> 96f5fcf10c2f 20:07:42 Step 24/25 : LABEL git_sha=61c93761f1ed90963be38175987664f9fad31886 20:07:42 ---> Running in bc5924d2f859 20:07:42 Removing intermediate container bc5924d2f859 20:07:42 ---> 82226f4b7865 20:07:42 Step 25/25 : LABEL version=0.0.0 20:07:42 ---> Running in d4c08c6bb24f 20:07:43 Removing intermediate container d4c08c6bb24f 20:07:43 ---> 9b52b384241f 20:07:43 [Warning] One or more build-args [ARCH] were not consumed 20:07:43 Successfully built 9b52b384241f 20:07:43 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:44 20:07:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:44 latest: Pulling from edgex-lftools-log-publisher 20:07:44 5eb5b503b376: Pulling fs layer 20:07:44 5c69ac0246d0: Pulling fs layer 20:07:44 ec43610c2a17: Pulling fs layer 20:07:44 3a2ae6a8a46f: Pulling fs layer 20:07:44 33b1e0a273af: Pulling fs layer 20:07:44 5d3b04190fa2: Pulling fs layer 20:07:44 2f39f015ded8: Pulling fs layer 20:07:44 33b1e0a273af: Waiting 20:07:44 5d3b04190fa2: Waiting 20:07:44 3a2ae6a8a46f: Waiting 20:07:44 2f39f015ded8: Waiting 20:07:44 5c69ac0246d0: Download complete 20:07:44 3a2ae6a8a46f: Verifying Checksum 20:07:44 3a2ae6a8a46f: Download complete 20:07:44 33b1e0a273af: Verifying Checksum 20:07:44 33b1e0a273af: Download complete 20:07:44 5d3b04190fa2: Verifying Checksum 20:07:44 5d3b04190fa2: Download complete 20:07:44 ec43610c2a17: Verifying Checksum 20:07:44 ec43610c2a17: Download complete 20:07:44 5eb5b503b376: Verifying Checksum 20:07:44 5eb5b503b376: Download complete 20:07:45 2f39f015ded8: Download complete 20:07:46 5eb5b503b376: Pull complete 20:07:46 5c69ac0246d0: Pull complete 20:07:46 ec43610c2a17: Pull complete 20:07:46 3a2ae6a8a46f: Pull complete 20:07:47 33b1e0a273af: Pull complete 20:07:47 5d3b04190fa2: Pull complete 20:07:52 2f39f015ded8: Pull complete 20:07:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:52 prd-ubuntu20.04-docker-8c-8g-28998 does not seem to be running inside a container 20:07:52 $ 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-212 -v /w/workspace/gexfoundry_device-rest-go_PR-212:/w/workspace/gexfoundry_device-rest-go_PR-212:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-212@tmp:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:07:54 $ docker top 3141ae0154e6195b837e064f23ded1baefe64faa70f4a9814d101a11d4a62472 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:55 ---> job-cost.sh 20:07:55 lf-activate-venv: SKIPPING 20:07:55 INFO: No Stack... 20:07:55 INFO: Retrieving Pricing Info for: v3-standard-8 20:07:56 INFO: Archiving Costs [Pipeline] sh 20:07:56 + cat /w/workspace/gexfoundry_device-rest-go_PR-212/archives/cost.csv 20:07:56 + cut -d, -f6 [Pipeline] lock 20:07:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] 20:07:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] did not exist. Created. 20:07:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:07:56 + echo total: 0.2199999988079071 [Pipeline] stash 20:07:56 Stashed 1 file(s) [Pipeline] } 20:07:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:07:57 $ docker stop --time=1 3141ae0154e6195b837e064f23ded1baefe64faa70f4a9814d101a11d4a62472 20:07:58 $ docker rm -f 3141ae0154e6195b837e064f23ded1baefe64faa70f4a9814d101a11d4a62472 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:08:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28999 in /w/workspace/gexfoundry_device-rest-go_PR-212 [Pipeline] { [Pipeline] ws 20:08:07 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:08:08 The recommended git tool is: git 20:08:14 using credential edgex-jenkins-ssh 20:08:14 Cloning the remote Git repository 20:08:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:15 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:15 > git --version # timeout=10 20:08:15 > git --version # 'git version 2.25.1' 20:08:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/212/head:refs/remotes/origin/PR-212 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:17 Merging remotes/origin/main commit 3bfa2c7cebef17aba10611e718aa3e6714bdeddd into PR head commit 61c93761f1ed90963be38175987664f9fad31886 20:08:18 Merge succeeded, producing 61c93761f1ed90963be38175987664f9fad31886 20:08:18 Checking out Revision 61c93761f1ed90963be38175987664f9fad31886 (PR-212) 20:08:17 > git config core.sparsecheckout # timeout=10 20:08:17 > git checkout -f 61c93761f1ed90963be38175987664f9fad31886 # timeout=10 20:08:17 > git remote # timeout=10 20:08:17 > git config --get remote.origin.url # timeout=10 20:08:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:17 > git merge 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 20:08:17 > git rev-parse HEAD^{commit} # timeout=10 20:08:18 > git config core.sparsecheckout # timeout=10 20:08:18 > git checkout -f 61c93761f1ed90963be38175987664f9fad31886 # timeout=10 20:08:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:08:22 > git --version # timeout=10 20:08:22 > git --version # 'git version 2.25.1' 20:08:22 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:23 Dload Upload Total Spent Left Speed 20:08:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 20:08:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:24 + sudo tee /etc/docker/daemon.new 20:08:24 { 20:08:24 "registry-mirrors": [ 20:08:24 "https://nexus3.edgexfoundry.org:10001" 20:08:24 ], 20:08:24 "bip": "10.250.0.254/24", 20:08:24 "hosts": [ 20:08:24 "tcp://0.0.0.0:5555", 20:08:24 "unix:///var/run/docker.sock" 20:08:24 ], 20:08:24 "mtu": 1458, 20:08:24 "selinux-enabled": true, 20:08:24 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:24 } [Pipeline] sh 20:08:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:43 provisioning config files... 20:08:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8589823313138297189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:44 ---> docker-login.sh 20:08:44 nexus3.edgexfoundry.org:10001 20:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:45 Configure a credential helper to remove this warning. See 20:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:45 20:08:45 Login Succeeded 20:08:45 nexus3.edgexfoundry.org:10002 20:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:45 Configure a credential helper to remove this warning. See 20:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:45 20:08:45 Login Succeeded 20:08:45 nexus3.edgexfoundry.org:10003 20:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:45 Configure a credential helper to remove this warning. See 20:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:45 20:08:45 Login Succeeded 20:08:45 nexus3.edgexfoundry.org:10004 20:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:46 Configure a credential helper to remove this warning. See 20:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:46 20:08:46 Login Succeeded 20:08:46 docker.io 20:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:47 Configure a credential helper to remove this warning. See 20:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:47 20:08:47 Login Succeeded 20:08:47 ---> docker-login.sh ends [Pipeline] } 20:08:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:47 ========================================================= 20:08:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:08:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:08:48 Sending build context to Docker daemon 126kB 20:08:48 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:08:48 Step 2/12 : FROM ${BASE} AS builder 20:08:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:48 b3c136eddcbf: Pulling fs layer 20:08:48 c0a3192eca97: Pulling fs layer 20:08:48 a050256f5b6f: Pulling fs layer 20:08:48 656be50a0ddc: Pulling fs layer 20:08:48 2bbca73fdf42: Pulling fs layer 20:08:48 46d945488cbd: Pulling fs layer 20:08:48 8a5474983e97: Pulling fs layer 20:08:48 329c88fbcd65: Pulling fs layer 20:08:48 46d945488cbd: Waiting 20:08:48 8a5474983e97: Waiting 20:08:48 329c88fbcd65: Waiting 20:08:48 656be50a0ddc: Waiting 20:08:48 2bbca73fdf42: Waiting 20:08:48 a050256f5b6f: Verifying Checksum 20:08:48 a050256f5b6f: Download complete 20:08:48 c0a3192eca97: Download complete 20:08:48 2bbca73fdf42: Verifying Checksum 20:08:48 2bbca73fdf42: Download complete 20:08:48 46d945488cbd: Verifying Checksum 20:08:48 46d945488cbd: Download complete 20:08:48 b3c136eddcbf: Download complete 20:08:49 b3c136eddcbf: Pull complete 20:08:49 329c88fbcd65: Verifying Checksum 20:08:49 329c88fbcd65: Download complete 20:08:50 c0a3192eca97: Pull complete 20:08:50 a050256f5b6f: Pull complete 20:08:51 8a5474983e97: Download complete 20:08:51 656be50a0ddc: Verifying Checksum 20:08:51 656be50a0ddc: Download complete 20:09:06 656be50a0ddc: Pull complete 20:09:06 2bbca73fdf42: Pull complete 20:09:06 46d945488cbd: Pull complete 20:09:12 8a5474983e97: Pull complete 20:09:13 329c88fbcd65: Pull complete 20:09:13 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:09:13 ---> ff4287adb874 20:09:13 Step 3/12 : ARG MAKE='make build' 20:09:14 ---> Running in 4a489eb2a83f 20:09:14 Removing intermediate container 4a489eb2a83f 20:09:14 ---> 31dbd3487b42 20:09:14 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:14 ---> Running in 0ecdb24d36b3 20:09:15 Removing intermediate container 0ecdb24d36b3 20:09:15 ---> 44afb3238c97 20:09:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:09:15 ---> Running in f7cbace0a584 20:09:15 Removing intermediate container f7cbace0a584 20:09:15 ---> 7d48ea1ca197 20:09:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:15 ---> Running in 37d9cd0ede37 20:09:18 Removing intermediate container 37d9cd0ede37 20:09:18 ---> 00fba9a423cb 20:09:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:18 ---> Running in 77560b651b54 20:09:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:09:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:09:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:09:21 (2/4) Installing libedit (20210910.3.1-r0) 20:09:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:09:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:09:21 Executing busybox-1.35.0-r13.trigger 20:09:21 OK: 226 MiB in 55 packages 20:09:22 Removing intermediate container 77560b651b54 20:09:22 ---> 6ec80b664d06 20:09:22 Step 8/12 : WORKDIR /device-rest-go 20:09:22 ---> Running in e5449719c5b5 20:09:23 Removing intermediate container e5449719c5b5 20:09:23 ---> 2e7d675ac511 20:09:23 Step 9/12 : COPY go.mod vendor* ./ 20:09:23 ---> 9a1eeb7ee594 20:09:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:23 ---> Running in 55b4ed9614c5 20:10:10 Removing intermediate container 55b4ed9614c5 20:10:10 ---> e5ed43574909 20:10:10 Step 11/12 : COPY . . 20:10:10 ---> cdd02a9109ad 20:10:10 Step 12/12 : RUN $MAKE 20:10:10 ---> Running in 8e80936c6b5c 20:10:11 noop 20:10:11 Removing intermediate container 8e80936c6b5c 20:10:11 ---> de203dd5291a 20:10:11 Successfully built de203dd5291a 20:10:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:12 + docker inspect -f . ci-base-image-arm64 20:10:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:12 prd-ubuntu20.04-docker-arm64-4c-16g-28999 does not seem to be running inside a container 20:10:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:10:13 $ docker top f909f4256b19a72ef2b594e718aa822f7963dea0d2db131cfb24a8a74e92178d -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:14 + go version 20:10:14 go version go1.18.3 linux/arm64 [Pipeline] } 20:10:14 $ docker stop --time=1 f909f4256b19a72ef2b594e718aa822f7963dea0d2db131cfb24a8a74e92178d 20:10:16 $ docker rm -f f909f4256b19a72ef2b594e718aa822f7963dea0d2db131cfb24a8a74e92178d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:17 + docker inspect -f . ci-base-image-arm64 20:10:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:17 prd-ubuntu20.04-docker-arm64-4c-16g-28999 does not seem to be running inside a container 20:10:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:10:18 $ docker top ce865e7561734cf9c9a540cfc9825508db2d78c5efe5cd9ac95680d242ae36af -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:19 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:10:20 + make test 20:10:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:10:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:43 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 20:11:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:11:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:12:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:02 ./bin/test-attribution-txt.sh 20:12:02 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:12:02 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:12:02 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:12:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:02 $ docker stop --time=1 ce865e7561734cf9c9a540cfc9825508db2d78c5efe5cd9ac95680d242ae36af 20:12:03 $ docker rm -f ce865e7561734cf9c9a540cfc9825508db2d78c5efe5cd9ac95680d242ae36af [Pipeline] // withDockerContainer [Pipeline] sh 20:12:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:04 Warning: overwriting stash ‘coverage-report’ 20:12:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:06 + ls -al . 20:12:06 total 168 20:12:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:10 . 20:12:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:08 .. 20:12:06 -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 20:08 .dockerignore 20:12:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:08 .git 20:12:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:08 .github 20:12:06 -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 20:08 .gitignore 20:12:06 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 20:08 .golangci.yml 20:12:06 -rw-rw-r-- 1 jenkins jenkins 8724 Sep 12 20:08 Attribution.txt 20:12:06 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 12 20:08 CHANGELOG.md 20:12:06 -rw-rw-r-- 1 jenkins jenkins 1674 Sep 12 20:08 Dockerfile 20:12:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:08 GOVERNANCE.md 20:12:06 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 20:08 Jenkinsfile 20:12:06 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 20:08 LICENSE 20:12:06 -rw-rw-r-- 1 jenkins jenkins 1964 Sep 12 20:08 Makefile 20:12:06 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 20:08 OWNERS.md 20:12:06 -rw-rw-r-- 1 jenkins jenkins 8003 Sep 12 20:08 README.md 20:12:06 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:06 VERSION 20:12:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:08 bin 20:12:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:08 cmd 20:12:06 -rw-r--r-- 1 jenkins jenkins 9355 Sep 12 20:11 coverage.out 20:12:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:08 driver 20:12:06 -rw-rw-r-- 1 jenkins jenkins 3476 Sep 12 20:08 go.mod 20:12:06 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 12 20:08 go.sum 20:12:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:08 snap 20:12:06 -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:06 + 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=61c93761f1ed90963be38175987664f9fad31886 --label arch=arm64 --label version=0.0.0 . 20:12:06 Sending build context to Docker daemon 136.2kB 20:12:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:12:07 Step 2/25 : FROM ${BASE} AS builder 20:12:07 ---> de203dd5291a 20:12:07 Step 3/25 : ARG MAKE='make build' 20:12:07 ---> Running in 403efcd2a1cc 20:12:07 Removing intermediate container 403efcd2a1cc 20:12:07 ---> 345b02a0ff04 20:12:07 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:12:07 ---> Running in 9a870d06402b 20:12:07 Removing intermediate container 9a870d06402b 20:12:07 ---> 3732ce041bc4 20:12:07 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:12:07 ---> Running in 65132ed4afd0 20:12:08 Removing intermediate container 65132ed4afd0 20:12:08 ---> 71fbad0ec2a3 20:12:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:08 ---> Running in 8db39ca3b5e2 20:12:10 Removing intermediate container 8db39ca3b5e2 20:12:10 ---> 94811a9955e9 20:12:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:10 ---> Running in bdc76b94e1ce 20:12:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:12:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:12:12 OK: 226 MiB in 55 packages 20:12:13 Removing intermediate container bdc76b94e1ce 20:12:13 ---> 83a3f19f7638 20:12:13 Step 8/25 : WORKDIR /device-rest-go 20:12:13 ---> Running in e9d9fbe6108a 20:12:14 Removing intermediate container e9d9fbe6108a 20:12:14 ---> 36388c521e04 20:12:14 Step 9/25 : COPY go.mod vendor* ./ 20:12:14 ---> a3c2e30b38ab 20:12:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:14 ---> Running in 6945a90a7842 20:12:16 Removing intermediate container 6945a90a7842 20:12:16 ---> 628f328e7134 20:12:16 Step 11/25 : COPY . . 20:12:17 ---> d3fc41b100b5 20:12:17 Step 12/25 : RUN $MAKE 20:12:17 ---> Running in 088bf13f3297 20:12:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:14:25 Removing intermediate container 088bf13f3297 20:14:25 ---> ed07218ccbaf 20:14:25 Step 13/25 : FROM alpine:3.16 20:14:25 3.16: Pulling from library/alpine 20:14:25 9b18e9b68314: Pulling fs layer 20:14:25 9b18e9b68314: Verifying Checksum 20:14:25 9b18e9b68314: Download complete 20:14:25 9b18e9b68314: Pull complete 20:14:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:14:25 Status: Downloaded newer image for alpine:3.16 20:14:25 ---> a6215f271958 20:14:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:14:25 ---> Running in a5e458a3584a 20:14:25 Removing intermediate container a5e458a3584a 20:14:25 ---> e1e6eaf2ac6c 20:14:25 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:14:25 ---> Running in 5d5c64f36b86 20:14:25 Removing intermediate container 5d5c64f36b86 20:14:25 ---> 6b7c84592794 20:14:25 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:14:25 ---> Running in ded763f075a1 20:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:14:25 (1/6) Installing dumb-init (1.2.5-r1) 20:14:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:14:25 (3/6) Installing libsodium (1.0.18-r0) 20:14:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:14:25 (5/6) Installing libzmq (4.3.4-r0) 20:14:25 (6/6) Installing zeromq (4.3.4-r0) 20:14:25 Executing busybox-1.35.0-r17.trigger 20:14:25 OK: 8 MiB in 20 packages 20:14:25 Removing intermediate container ded763f075a1 20:14:25 ---> 424c7ed33ddb 20:14:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:14:25 ---> dd8531afa3a4 20:14:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:14:25 ---> 700dca77b9ab 20:14:25 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:14:26 ---> 56ac49c83b0b 20:14:26 Step 20/25 : EXPOSE 59986 20:14:26 ---> Running in 833a4629f5c9 20:14:26 Removing intermediate container 833a4629f5c9 20:14:26 ---> 05e6f2b2e55d 20:14:26 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:14:27 ---> Running in 7b71f4c742aa 20:14:27 Removing intermediate container 7b71f4c742aa 20:14:27 ---> 36296dc92aeb 20:14:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:14:27 ---> Running in 939a69370492 20:14:27 Removing intermediate container 939a69370492 20:14:27 ---> ed7c91be0c10 20:14:27 Step 23/25 : LABEL arch=arm64 20:14:27 ---> Running in f62dc1ff8e0e 20:14:28 Removing intermediate container f62dc1ff8e0e 20:14:28 ---> 1b4ca57ac66c 20:14:28 Step 24/25 : LABEL git_sha=61c93761f1ed90963be38175987664f9fad31886 20:14:28 ---> Running in 88ecb2205705 20:14:28 Removing intermediate container 88ecb2205705 20:14:28 ---> f21d2b2f0c22 20:14:28 Step 25/25 : LABEL version=0.0.0 20:14:28 ---> Running in 50c549244208 20:14:28 Removing intermediate container 50c549244208 20:14:28 ---> d0e5071c466c 20:14:28 [Warning] One or more build-args [ARCH] were not consumed 20:14:28 Successfully built d0e5071c466c 20:14:28 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:29 20:14:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:30 arm64: Pulling from edgex-lftools-log-publisher 20:14:30 8998bd30e6a1: Pulling fs layer 20:14:30 04944245beec: Pulling fs layer 20:14:30 699f458cf7ca: Pulling fs layer 20:14:30 765212b225bb: Pulling fs layer 20:14:30 f23df028b6ca: Pulling fs layer 20:14:30 d65c8cfc05b1: Pulling fs layer 20:14:30 2437ff75d9bd: Pulling fs layer 20:14:30 f23df028b6ca: Waiting 20:14:30 765212b225bb: Waiting 20:14:30 d65c8cfc05b1: Waiting 20:14:30 2437ff75d9bd: Waiting 20:14:30 04944245beec: Verifying Checksum 20:14:30 04944245beec: Download complete 20:14:30 765212b225bb: Verifying Checksum 20:14:30 765212b225bb: Download complete 20:14:30 f23df028b6ca: Download complete 20:14:30 d65c8cfc05b1: Verifying Checksum 20:14:30 d65c8cfc05b1: Download complete 20:14:30 699f458cf7ca: Verifying Checksum 20:14:30 699f458cf7ca: Download complete 20:14:31 8998bd30e6a1: Verifying Checksum 20:14:31 8998bd30e6a1: Download complete 20:14:33 2437ff75d9bd: Verifying Checksum 20:14:33 2437ff75d9bd: Download complete 20:14:35 8998bd30e6a1: Pull complete 20:14:35 04944245beec: Pull complete 20:14:37 699f458cf7ca: Pull complete 20:14:37 765212b225bb: Pull complete 20:14:38 f23df028b6ca: Pull complete 20:14:38 d65c8cfc05b1: Pull complete 20:14:53 2437ff75d9bd: Pull complete 20:14:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:54 prd-ubuntu20.04-docker-arm64-4c-16g-28999 does not seem to be running inside a container 20:14:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:14:56 $ docker top 5e4c647ace410943de325a5d3bd6f6f437a67029bbce3d4774e0a2ca64c7c239 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:57 ---> job-cost.sh 20:14:57 lf-activate-venv: SKIPPING 20:14:57 INFO: No Stack... 20:14:58 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:59 INFO: Archiving Costs [Pipeline] sh 20:14:59 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:14:59 + cut -d, -f6 [Pipeline] lock 20:15:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] 20:15:00 Resource [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] did not exist. Created. 20:15:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:00 /w/workspace/device-rest-go/1@tmp/durable-64539849/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:15:01 + echo total: 0.10999999940395355 [Pipeline] stash 20:15:01 Warning: overwriting stash ‘stack-cost’ 20:15:01 Stashed 1 file(s) [Pipeline] } 20:15:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-212-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:01 $ docker stop --time=1 5e4c647ace410943de325a5d3bd6f6f437a67029bbce3d4774e0a2ca64c7c239 20:15:03 $ docker rm -f 5e4c647ace410943de325a5d3bd6f6f437a67029bbce3d4774e0a2ca64c7c239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:15:04 provisioning config files... 20:15:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp/config5044093881174523065tmp [Pipeline] { [Pipeline] sh 20:15:04 + set +x 20:15:04 + bash -s -- 20:15:04 + curl -s https://codecov.io/bash 20:15:04 20:15:04 _____ _ 20:15:04 / ____| | | 20:15:04 | | ___ __| | ___ ___ _____ __ 20:15:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:15:04 | |___| (_) | (_| | __/ (_| (_) \ V / 20:15:04 \_____\___/ \__,_|\___|\___\___/ \_/ 20:15:04 Bash-1.0.6 20:15:04 20:15:04 20:15:04 ==> git version 2.25.1 found 20:15:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:15:04 Release-Date: 2020-01-08 20:15:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:15:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:15:04 ==> Jenkins CI detected. 20:15:04 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-212 20:15:04 project root: . 20:15:04 --> token set from env 20:15:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:15:04 ==> Running gcov in . (disable via -X gcov) 20:15:04 ==> Python coveragepy not found 20:15:04 ==> Searching for coverage reports in: 20:15:04 + . 20:15:04 -> Found 1 reports 20:15:04 ==> Detecting git/mercurial file structure 20:15:04 ==> Reading reports 20:15:04 + ./coverage.out bytes=9355 20:15:04 ==> Appending adjustments 20:15:04 https://docs.codecov.io/docs/fixing-reports 20:15:04 + Found adjustments 20:15:04 ==> Gzipping contents 20:15:04 4.0K /tmp/codecov.dnNXyM.gz 20:15:04 ==> Uploading reports 20:15:04 url: https://codecov.io 20:15:04 query: branch=PR-212&commit=61c93761f1ed90963be38175987664f9fad31886&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-212%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=212&job=&cmd_args= 20:15:04 -> Pinging Codecov 20:15:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-212&commit=61c93761f1ed90963be38175987664f9fad31886&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-212%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=212&job=&cmd_args= 20:15:05 -> Uploading to 20:15:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-12/4E5D53B4F1F92C436F7061BF334D961C/61c93761f1ed90963be38175987664f9fad31886/2425f792-6c60-4c0b-8223-363ef867dc8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T201504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2fcecf38ca2e9a962ddc084147c13e87cef1c042f187af4a7250f33a523e827 20:15:05 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:05 Dload Upload Total Spent Left Speed 20:15:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 6323 --:--:-- --:--:-- --:--:-- 6323 20:15:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/61c93761f1ed90963be38175987664f9fad31886 [Pipeline] } 20:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:15:07 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-212/archives ] 20:15:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-212/archives 20:15:07 total 16 20:15:07 drwxr-xr-x 3 root root 4096 Sep 12 20:07 . 20:15:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:07 .. 20:15:07 drwxr-xr-x 2 root root 4096 Sep 12 20:07 cost 20:15:07 -rw-r--r-- 1 root root 86 Sep 12 20:07 cost.csv 20:15:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-212/archives 20:15:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-212/archives 20:15:07 total 16 20:15:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:07 . 20:15:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:07 .. 20:15:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:07 cost 20:15:07 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:15:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:15:08 ---> package-listing.sh 20:15:08 ++ facter osfamily 20:15:08 ++ tr '[:upper:]' '[:lower:]' 20:15:08 + OS_FAMILY=debian 20:15:08 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-212 20:15:08 + START_PACKAGES=/tmp/packages_start.txt 20:15:08 + END_PACKAGES=/tmp/packages_end.txt 20:15:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:15:08 + PACKAGES=/tmp/packages_start.txt 20:15:08 + '[' /w/workspace/gexfoundry_device-rest-go_PR-212 ']' 20:15:08 + PACKAGES=/tmp/packages_end.txt 20:15:08 + case "${OS_FAMILY}" in 20:15:08 + dpkg -l 20:15:08 + grep '^ii' 20:15:08 + '[' -f /tmp/packages_start.txt ']' 20:15:08 + '[' -f /tmp/packages_end.txt ']' 20:15:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:15:08 + '[' /w/workspace/gexfoundry_device-rest-go_PR-212 ']' 20:15:08 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-212/archives/ 20:15:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-212/archives/ [Pipeline] echo 20:15:08 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-212/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:15:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:09 prd-ubuntu20.04-docker-8c-8g-28998 does not seem to be running inside a container 20:15:09 $ 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-212/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-212 -v /w/workspace/gexfoundry_device-rest-go_PR-212:/w/workspace/gexfoundry_device-rest-go_PR-212:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-212@tmp:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:15:10 $ docker top 2e79f50457ab753c64549d89e9bcbb471e1be5a61e698f44acbdb8136d2dcabc -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:10 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:10 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:11 + ls /var/log/sa-host 20:15:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:11 provisioning config files... 20:15:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-212@tmp/config9180042366777919634tmp [Pipeline] { [Pipeline] echo 20:15:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:15:11 ---> create-netrc.sh [Pipeline] } 20:15:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:15:12 ---> python-tools-install.sh [Pipeline] echo 20:15:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:15:12 ---> sudo-logs.sh 20:15:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:15:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:15:12 ---> job-cost.sh 20:15:12 lf-activate-venv: SKIPPING 20:15:12 DEBUG: total: 0.2199999988079071 20:15:12 INFO: Retrieving Stack Cost... 20:15:13 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:13 INFO: Archiving Costs [Pipeline] echo 20:15:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:15:14 ---> logs-deploy.sh 20:15:14 lf-activate-venv: SKIPPING 20:15:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-212/1 20:15:14 INFO: archiving workspace using pattern(s): 20:15:15 Archives upload complete. 20:15:15 INFO: archiving logs to Nexus