Pull request #201 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0+a3ce1b492942266db7d07684db880175cd9968c1 (e1b3330f31e669b6943da737c5bac37c85a72960) 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-ssh9067135779693708835.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2883063783754438160.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-201/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-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh384470202937472914.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-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4337193715316409568.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh6151149239695695824.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-201/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-201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7183373003958658116.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16130’ Running on prd-ubuntu20.04-docker-8c-8g-16134 in /w/workspace/gexfoundry_device-rest-go_PR-201 [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-201 # 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 a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 Merge succeeded, producing 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 Checking out Revision 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 (PR-201) > 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/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # 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 a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:05:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:05:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:27 ========================================================= 20:05:27 EdgeX Global Pipelines Version Info 20:05:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:28 ------------------- 20:05:28 stable info: 20:05:28 ------------------- 20:05:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:28 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:05:28 Message: update stable to v1.0.234 20:05:28 ------------------- 20:05:28 experimental info: 20:05:28 ------------------- 20:05:28 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:28 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:05:28 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:05:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-201 [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-201 [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-201 [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d0a345 [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:30 provisioning config files... 20:05:30 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config8671888797850189032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:30 ---> docker-login.sh 20:05:30 nexus3.edgexfoundry.org:10001 20:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:30 Configure a credential helper to remove this warning. See 20:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:30 20:05:30 Login Succeeded 20:05:30 nexus3.edgexfoundry.org:10002 20:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:31 Configure a credential helper to remove this warning. See 20:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:31 20:05:31 Login Succeeded 20:05:31 nexus3.edgexfoundry.org:10003 20:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:31 Configure a credential helper to remove this warning. See 20:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:31 20:05:31 Login Succeeded 20:05:31 nexus3.edgexfoundry.org:10004 20:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:31 Configure a credential helper to remove this warning. See 20:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:31 20:05:31 Login Succeeded 20:05:31 docker.io 20:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:31 Configure a credential helper to remove this warning. See 20:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:31 20:05:31 Login Succeeded 20:05:31 ---> docker-login.sh ends [Pipeline] } 20:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:32 + git rev-list -1 --merges 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0~1..7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo 20:05:32 -----------> git rev-list -1 --merges 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0~1..7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [false] [Pipeline] sh 20:05:32 + git log --format=format:%s -1 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo 20:05:32 ========================================================= 20:05:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:33 + git log --format=format:%s -1 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo 20:05:33 [semverPrep] GIT_COMMIT: 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 [Pipeline] echo 20:05:33 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:33 + grep -v github /etc/ssh/ssh_known_hosts 20:05:33 + [ -e /tmp/ssh_known_hosts ] 20:05:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:33 + + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:33 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:34 20:05:34 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:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:34 0.1.4: Pulling from edgex-devops/py-git-semver 20:05:34 42c077c10790: Pulling fs layer 20:05:34 f63e77b7563a: Pulling fs layer 20:05:34 bd5fdadae976: Pulling fs layer 20:05:34 205491f53016: Pulling fs layer 20:05:34 df18705c85c3: Pulling fs layer 20:05:34 bdb3f477010e: Pulling fs layer 20:05:34 c8a8fc8e1c8f: Pulling fs layer 20:05:34 2c6e9b1d212d: Pulling fs layer 20:05:34 df18705c85c3: Waiting 20:05:34 bdb3f477010e: Waiting 20:05:34 205491f53016: Waiting 20:05:34 c8a8fc8e1c8f: Waiting 20:05:34 bdb8f0575790: Pulling fs layer 20:05:34 386e3cb2ff24: Pulling fs layer 20:05:34 2343380bae48: Pulling fs layer 20:05:34 386e3cb2ff24: Waiting 20:05:34 2c6e9b1d212d: Waiting 20:05:34 2343380bae48: Waiting 20:05:34 bdb8f0575790: Waiting 20:05:34 f63e77b7563a: Verifying Checksum 20:05:34 f63e77b7563a: Download complete 20:05:34 205491f53016: Verifying Checksum 20:05:34 205491f53016: Download complete 20:05:34 df18705c85c3: Verifying Checksum 20:05:34 df18705c85c3: Download complete 20:05:34 bd5fdadae976: Verifying Checksum 20:05:34 bd5fdadae976: Download complete 20:05:34 bdb3f477010e: Download complete 20:05:34 2c6e9b1d212d: Verifying Checksum 20:05:34 2c6e9b1d212d: Download complete 20:05:34 bdb8f0575790: Download complete 20:05:34 386e3cb2ff24: Verifying Checksum 20:05:34 386e3cb2ff24: Download complete 20:05:34 2343380bae48: Verifying Checksum 20:05:34 2343380bae48: Download complete 20:05:34 42c077c10790: Verifying Checksum 20:05:34 42c077c10790: Download complete 20:05:34 c8a8fc8e1c8f: Verifying Checksum 20:05:34 c8a8fc8e1c8f: Download complete 20:05:35 42c077c10790: Pull complete 20:05:36 f63e77b7563a: Pull complete 20:05:36 bd5fdadae976: Pull complete 20:05:36 205491f53016: Pull complete 20:05:37 df18705c85c3: Pull complete 20:05:37 bdb3f477010e: Pull complete 20:05:39 c8a8fc8e1c8f: Pull complete 20:05:39 2c6e9b1d212d: Pull complete 20:05:39 bdb8f0575790: Pull complete 20:05:39 386e3cb2ff24: Pull complete 20:05:39 2343380bae48: Pull complete 20:05:39 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 20:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:39 prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container 20:05:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@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:05:41 $ docker top ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 -eo pid,comm 20:05:41 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:05:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:41 [ssh-agent] Looking for ssh-agent implementation... 20:05:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:41 $ docker exec ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent 20:05:41 SSH_AUTH_SOCK=/tmp/ssh-EPSnfqyRNIPe/agent.33 20:05:41 SSH_AGENT_PID=40 20:05:41 Running ssh-add (command line suppressed) 20:05:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_239232817035473611.key (/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_239232817035473611.key) 20:05:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:41 + git tag --points-at HEAD [Pipeline] } 20:05:42 $ docker exec --env ******** --env ******** ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent -k 20:05:42 unset SSH_AUTH_SOCK; 20:05:42 unset SSH_AGENT_PID; 20:05:42 echo Agent pid 40 killed; 20:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:42 [ssh-agent] Looking for ssh-agent implementation... 20:05:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:42 $ docker exec ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent 20:05:42 SSH_AUTH_SOCK=/tmp/ssh-HRM6ReNsxqnz/agent.74 20:05:42 SSH_AGENT_PID=80 20:05:42 Running ssh-add (command line suppressed) 20:05:42 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_97268449626884437.key (/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_97268449626884437.key) 20:05:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:42 + git semver init 20:05:43 2022-06-27 20:05:43,153 [run_init] DEBUG init version:0.0.0 force:False 20:05:43 2022-06-27 20:05:43,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-201/.semver 20:05:43 2022-06-27 20:05:43,154 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-201/.semver 20:05:43 2022-06-27 20:05:43,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-201/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-201, universal_newlines=False, shell=None, istream=None) 20:05:44 2022-06-27 20:05:43,988 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-201/.git/info/exclude 20:05:44 2022-06-27 20:05:43,989 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-201/.semver/PR-201 with force:False 20:05:44 2022-06-27 20:05:43,989 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-201/.semver/PR-201 20:05:44 2022-06-27 20:05:43,992 [execute] INFO git cat-file --batch-check 20:05:44 2022-06-27 20:05:43,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-201/.semver, universal_newlines=False, shell=None, istream=) 20:05:44 2022-06-27 20:05:43,997 [execute] INFO git cat-file --batch 20:05:44 2022-06-27 20:05:43,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-201/.semver, universal_newlines=False, shell=None, istream=) 20:05:44 2022-06-27 20:05:44,002 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-201/.semver/PR-201 20:05:44 0.0.0 [Pipeline] } 20:05:44 $ docker exec --env ******** --env ******** ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent -k 20:05:44 unset SSH_AUTH_SOCK; 20:05:44 unset SSH_AGENT_PID; 20:05:44 echo Agent pid 80 killed; 20:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:44 + git semver [Pipeline] } 20:05:45 $ docker stop --time=1 ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 20:05:46 $ docker rm -f ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:47 Stashed 1 file(s) [Pipeline] echo 20:05:47 [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:05:47 provisioning config files... 20:05:47 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config2476757424843076994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:48 ---> docker-login.sh 20:05:48 nexus3.edgexfoundry.org:10001 20:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:48 Configure a credential helper to remove this warning. See 20:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:48 20:05:48 Login Succeeded 20:05:48 nexus3.edgexfoundry.org:10002 20:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:48 Configure a credential helper to remove this warning. See 20:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:48 20:05:48 Login Succeeded 20:05:48 nexus3.edgexfoundry.org:10003 20:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:48 Configure a credential helper to remove this warning. See 20:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:48 20:05:48 Login Succeeded 20:05:48 nexus3.edgexfoundry.org:10004 20:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:48 Configure a credential helper to remove this warning. See 20:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:48 20:05:48 Login Succeeded 20:05:48 docker.io 20:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:48 Configure a credential helper to remove this warning. See 20:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:48 20:05:48 Login Succeeded 20:05:48 ---> docker-login.sh ends [Pipeline] } 20:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:49 ========================================================= 20:05:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:05:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:05:49 Sending build context to Docker daemon 10.68MB 20:05:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:05:49 Step 2/12 : FROM ${BASE} AS builder 20:05:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:49 59bf1c3509f3: Pulling fs layer 20:05:49 666ba61612fd: Pulling fs layer 20:05:49 8ed8ca486205: Pulling fs layer 20:05:49 cc1cd167ecdc: Pulling fs layer 20:05:49 c516ae0d96e1: Pulling fs layer 20:05:49 c516ae0d96e1: Waiting 20:05:49 cc1cd167ecdc: Waiting 20:05:49 684cea983483: Pulling fs layer 20:05:49 dd3240ac7de5: Pulling fs layer 20:05:49 b1e948a4e11c: Pulling fs layer 20:05:49 a8fd76ee1af6: Pulling fs layer 20:05:49 646ad004c059: Pulling fs layer 20:05:49 684cea983483: Waiting 20:05:49 dd3240ac7de5: Waiting 20:05:49 b1e948a4e11c: Waiting 20:05:49 a8fd76ee1af6: Waiting 20:05:49 8ed8ca486205: Verifying Checksum 20:05:49 8ed8ca486205: Download complete 20:05:49 666ba61612fd: Download complete 20:05:49 c516ae0d96e1: Download complete 20:05:49 684cea983483: Download complete 20:05:49 59bf1c3509f3: Verifying Checksum 20:05:49 59bf1c3509f3: Download complete 20:05:49 dd3240ac7de5: Verifying Checksum 20:05:49 dd3240ac7de5: Download complete 20:05:49 b1e948a4e11c: Verifying Checksum 20:05:49 b1e948a4e11c: Download complete 20:05:49 59bf1c3509f3: Pull complete 20:05:50 666ba61612fd: Pull complete 20:05:50 8ed8ca486205: Pull complete 20:05:50 646ad004c059: Verifying Checksum 20:05:50 646ad004c059: Download complete 20:05:50 cc1cd167ecdc: Verifying Checksum 20:05:50 cc1cd167ecdc: Download complete 20:05:50 a8fd76ee1af6: Verifying Checksum 20:05:50 a8fd76ee1af6: Download complete 20:05:54 cc1cd167ecdc: Pull complete 20:05:54 c516ae0d96e1: Pull complete 20:05:54 684cea983483: Pull complete 20:05:54 dd3240ac7de5: Pull complete 20:05:54 b1e948a4e11c: Pull complete 20:05:56 a8fd76ee1af6: Pull complete 20:05:57 646ad004c059: Pull complete 20:05:57 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 20:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:05:57 ---> 8f69c11f6b0c 20:05:57 Step 3/12 : ARG MAKE='make build' 20:05:59 ---> Running in c255259329b1 20:05:59 Removing intermediate container c255259329b1 20:05:59 ---> 01f89238366f 20:05:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:59 ---> Running in ae2ba8141cd7 20:05:59 Removing intermediate container ae2ba8141cd7 20:05:59 ---> d91e6f4e774a 20:05:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:05:59 ---> Running in 930c20d76891 20:05:59 Removing intermediate container 930c20d76891 20:05:59 ---> 2ca93ee61ba8 20:05:59 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:59 ---> Running in e5caa1855209 20:05:59 Removing intermediate container e5caa1855209 20:05:59 ---> 32105e63cbd2 20:05:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:59 ---> Running in 73f6ecd25c27 20:05:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:06:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:06:01 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:06:01 (2/4) Installing libedit (20210910.3.1-r0) 20:06:01 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:06:01 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:06:01 Executing busybox-1.34.1-r3.trigger 20:06:01 OK: 224 MiB in 56 packages 20:06:01 Removing intermediate container 73f6ecd25c27 20:06:01 ---> 51f157f04faf 20:06:01 Step 8/12 : WORKDIR /device-rest-go 20:06:01 ---> Running in cdcda3f3d79f 20:06:02 Removing intermediate container cdcda3f3d79f 20:06:02 ---> 103358a9859b 20:06:02 Step 9/12 : COPY go.mod vendor* ./ 20:06:02 ---> ce44980a832c 20:06:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:02 ---> Running in 62dd641b777c 20:06:02 Still waiting to schedule task 20:06:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16131’ 20:06:17 Removing intermediate container 62dd641b777c 20:06:17 ---> 4ff1bdeb27d6 20:06:17 Step 11/12 : COPY . . 20:06:17 ---> b641ad4d4463 20:06:17 Step 12/12 : RUN $MAKE 20:06:17 ---> Running in f94ee4957b89 20:06:17 noop 20:06:17 Removing intermediate container f94ee4957b89 20:06:17 ---> e93eae67f2c4 20:06:17 Successfully built e93eae67f2c4 20:06:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:17 + docker inspect -f . ci-base-image-x86_64 20:06:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:17 prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container 20:06:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@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:17 $ docker top cb94d5f05efc6d11900d83d76b51bfa6d592dfd15654b4f792c156bd5ca083d1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:18 + go version 20:06:18 go version go1.17.7 linux/amd64 [Pipeline] } 20:06:18 $ docker stop --time=1 cb94d5f05efc6d11900d83d76b51bfa6d592dfd15654b4f792c156bd5ca083d1 20:06:19 $ docker rm -f cb94d5f05efc6d11900d83d76b51bfa6d592dfd15654b4f792c156bd5ca083d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:20 + docker inspect -f . ci-base-image-x86_64 20:06:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:20 prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container 20:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@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:20 $ docker top c0a87e00b3a7417065f44d0e5a7eb102ece4a0543799f91aa85e4b22e579477a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:06:21 + make test 20:06:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:06:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:31 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:06:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:06:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:44 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:44 $ docker stop --time=1 c0a87e00b3a7417065f44d0e5a7eb102ece4a0543799f91aa85e4b22e579477a 20:06:45 $ docker rm -f c0a87e00b3a7417065f44d0e5a7eb102ece4a0543799f91aa85e4b22e579477a [Pipeline] // withDockerContainer [Pipeline] sh 20:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:06:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:47 + ls -al . 20:06:47 total 172 20:06:47 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 20:06 . 20:06:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 20:05 .. 20:06:47 -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 20:05 .dockerignore 20:06:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:05 .git 20:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 .github 20:06:47 -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 20:05 .gitignore 20:06:47 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 20:05 .golangci.yml 20:06:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:05 .semver 20:06:47 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 27 20:05 Attribution.txt 20:06:47 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 27 20:05 CHANGELOG.md 20:06:47 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 27 20:05 Dockerfile 20:06:47 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 20:05 GOVERNANCE.md 20:06:47 -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 20:05 Jenkinsfile 20:06:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 20:05 LICENSE 20:06:47 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 27 20:05 Makefile 20:06:47 -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 20:05 OWNERS.md 20:06:47 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 27 20:05 README.md 20:06:47 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 20:05 VERSION 20:06:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:05 bin 20:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 cmd 20:06:47 -rw-r--r-- 1 jenkins jenkins 9355 Jun 27 20:06 coverage.out 20:06:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:05 driver 20:06:47 -rw-rw-r-- 1 jenkins jenkins 3337 Jun 27 20:05 go.mod 20:06:47 -rw-rw-r-- 1 jenkins jenkins 36279 Jun 27 20:05 go.sum 20:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 snap 20:06:47 -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:47 + 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=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 --label arch=amd64 --label version=0.0.0 . 20:06:47 Sending build context to Docker daemon 10.69MB 20:06:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:06:47 Step 2/25 : FROM ${BASE} AS builder 20:06:47 ---> e93eae67f2c4 20:06:47 Step 3/25 : ARG MAKE='make build' 20:06:47 ---> Running in 480665b66ec4 20:06:48 Removing intermediate container 480665b66ec4 20:06:48 ---> b27c1c122268 20:06:48 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:48 ---> Running in 704967055a5d 20:06:48 Removing intermediate container 704967055a5d 20:06:48 ---> 520b80f4db7b 20:06:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:06:48 ---> Running in 860e838bd4cc 20:06:48 Removing intermediate container 860e838bd4cc 20:06:48 ---> 8c95c591eb11 20:06:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:48 ---> Running in f332e4a590d2 20:06:48 Removing intermediate container f332e4a590d2 20:06:48 ---> 026e87e0d4a0 20:06:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:48 ---> Running in 2d37bd68b0c7 20:06:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:06:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:06:50 OK: 224 MiB in 56 packages 20:06:50 Removing intermediate container 2d37bd68b0c7 20:06:50 ---> 8fd7f0016267 20:06:50 Step 8/25 : WORKDIR /device-rest-go 20:06:50 ---> Running in 94e7512db2e1 20:06:50 Removing intermediate container 94e7512db2e1 20:06:50 ---> 6b114a1283e0 20:06:50 Step 9/25 : COPY go.mod vendor* ./ 20:06:50 ---> 3c6a9a9d5919 20:06:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:50 ---> Running in 7803c966f1e4 20:06:51 Removing intermediate container 7803c966f1e4 20:06:51 ---> a5d1269f9577 20:06:51 Step 11/25 : COPY . . 20:06:51 ---> c44e7dadb3d8 20:06:51 Step 12/25 : RUN $MAKE 20:06:51 ---> Running in c037536abca3 20:06:51 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:13 Removing intermediate container c037536abca3 20:07:13 ---> daeea74a9d90 20:07:13 Step 13/25 : FROM alpine:3.14 20:07:13 3.14: Pulling from library/alpine 20:07:13 8663204ce13b: Pulling fs layer 20:07:13 8663204ce13b: Verifying Checksum 20:07:13 8663204ce13b: Download complete 20:07:13 8663204ce13b: Pull complete 20:07:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:07:13 Status: Downloaded newer image for alpine:3.14 20:07:13 ---> e04c818066af 20:07:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:07:13 ---> Running in 4ec017f5236c 20:07:13 Removing intermediate container 4ec017f5236c 20:07:13 ---> dc9bd35d70ff 20:07:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:07:13 ---> Running in 9fb589f31dfb 20:07:13 Removing intermediate container 9fb589f31dfb 20:07:13 ---> e67803508c6c 20:07:13 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:07:13 ---> Running in ddf0e4e6ff82 20:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:07:13 (1/6) Installing dumb-init (1.2.5-r1) 20:07:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:07:13 (3/6) Installing libsodium (1.0.18-r0) 20:07:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:07:13 (5/6) Installing libzmq (4.3.4-r0) 20:07:13 (6/6) Installing zeromq (4.3.4-r0) 20:07:13 Executing busybox-1.33.1-r7.trigger 20:07:13 OK: 8 MiB in 20 packages 20:07:13 Removing intermediate container ddf0e4e6ff82 20:07:13 ---> 9b5912bd8a6d 20:07:13 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:07:14 ---> 059f37233009 20:07:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:07:14 ---> d406e098ca18 20:07:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:07:14 ---> cc31ea61ee29 20:07:14 Step 20/25 : EXPOSE 59986 20:07:14 ---> Running in d101fbc3622f 20:07:14 Removing intermediate container d101fbc3622f 20:07:14 ---> 06c33a943306 20:07:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:07:14 ---> Running in d6f28d040d71 20:07:14 Removing intermediate container d6f28d040d71 20:07:14 ---> 6806df69f4f4 20:07:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:07:14 ---> Running in 887df67c3e64 20:07:15 Removing intermediate container 887df67c3e64 20:07:15 ---> d984c88543a5 20:07:15 Step 23/25 : LABEL arch=amd64 20:07:15 ---> Running in 1cb078600e01 20:07:15 Removing intermediate container 1cb078600e01 20:07:15 ---> 57d26c9a2094 20:07:15 Step 24/25 : LABEL git_sha=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 20:07:15 ---> Running in 2ca6ec57cf43 20:07:15 Removing intermediate container 2ca6ec57cf43 20:07:15 ---> 58127b197048 20:07:15 Step 25/25 : LABEL version=0.0.0 20:07:15 ---> Running in 5ca8e9274df7 20:07:15 Removing intermediate container 5ca8e9274df7 20:07:15 ---> 848b82c72642 20:07:15 [Warning] One or more build-args [ARCH] were not consumed 20:07:15 Successfully built 848b82c72642 20:07:15 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:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:16 20:07:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:16 latest: Pulling from edgex-lftools-log-publisher 20:07:16 5eb5b503b376: Pulling fs layer 20:07:16 5c69ac0246d0: Pulling fs layer 20:07:16 ec43610c2a17: Pulling fs layer 20:07:16 3a2ae6a8a46f: Pulling fs layer 20:07:16 33b1e0a273af: Pulling fs layer 20:07:16 3a2ae6a8a46f: Waiting 20:07:16 5d3b04190fa2: Pulling fs layer 20:07:16 2f39f015ded8: Pulling fs layer 20:07:16 33b1e0a273af: Waiting 20:07:16 5d3b04190fa2: Waiting 20:07:16 2f39f015ded8: Waiting 20:07:16 5c69ac0246d0: Download complete 20:07:16 3a2ae6a8a46f: Verifying Checksum 20:07:16 3a2ae6a8a46f: Download complete 20:07:16 33b1e0a273af: Verifying Checksum 20:07:16 33b1e0a273af: Download complete 20:07:16 5d3b04190fa2: Verifying Checksum 20:07:16 5d3b04190fa2: Download complete 20:07:16 ec43610c2a17: Verifying Checksum 20:07:16 ec43610c2a17: Download complete 20:07:16 5eb5b503b376: Verifying Checksum 20:07:16 5eb5b503b376: Download complete 20:07:17 2f39f015ded8: Download complete 20:07:18 5eb5b503b376: Pull complete 20:07:18 5c69ac0246d0: Pull complete 20:07:18 ec43610c2a17: Pull complete 20:07:18 3a2ae6a8a46f: Pull complete 20:07:18 33b1e0a273af: Pull complete 20:07:19 5d3b04190fa2: Pull complete 20:07:23 2f39f015ded8: Pull complete 20:07:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:23 prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container 20:07:23 $ 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-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@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:24 $ docker top 6747f21ca0d971b5a0ec545ae22f0a66c628a0d535d162281d4b456bb96a20e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:25 ---> job-cost.sh 20:07:25 lf-activate-venv: SKIPPING 20:07:25 INFO: No Stack... 20:07:25 INFO: Retrieving Pricing Info for: v3-standard-8 20:07:26 INFO: Archiving Costs [Pipeline] sh 20:07:26 + + cutcat -d, /w/workspace/gexfoundry_device-rest-go_PR-201/archives/cost.csv -f6 20:07:26 [Pipeline] lock 20:07:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] 20:07:26 Resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] did not exist. Created. 20:07:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:07:26 + echo total: 0.2199999988079071 [Pipeline] stash 20:07:26 Stashed 1 file(s) [Pipeline] } 20:07:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:07:27 $ docker stop --time=1 6747f21ca0d971b5a0ec545ae22f0a66c628a0d535d162281d4b456bb96a20e1 20:07:28 $ docker rm -f 6747f21ca0d971b5a0ec545ae22f0a66c628a0d535d162281d4b456bb96a20e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:08:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16136 in /w/workspace/gexfoundry_device-rest-go_PR-201 [Pipeline] { [Pipeline] ws 20:08:10 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:08:10 The recommended git tool is: git 20:08:17 using credential edgex-jenkins-ssh 20:08:17 Cloning the remote Git repository 20:08:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:17 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:17 > git --version # timeout=10 20:08:17 > git --version # 'git version 2.25.1' 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/heads/*:refs/remotes/origin/* # timeout=10 20:08:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:20 Merging remotes/origin/main commit a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 20:08:20 Merge succeeded, producing 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 20:08:20 Checking out Revision 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 (PR-201) 20:08:20 > git config core.sparsecheckout # timeout=10 20:08:20 > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # timeout=10 20:08:20 > git remote # timeout=10 20:08:20 > git config --get remote.origin.url # timeout=10 20:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:20 > git merge a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 20:08:20 > git rev-parse HEAD^{commit} # timeout=10 20:08:20 > git config core.sparsecheckout # timeout=10 20:08:20 > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # timeout=10 20:08:24 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" 20:08:24 > git --version # timeout=10 20:08:24 > git --version # 'git version 2.25.1' 20:08:24 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:25 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:25 Dload Upload Total Spent Left Speed 20:08:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 86288 [Pipeline] sh 20:08:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:27 + sudo tee /etc/docker/daemon.new 20:08:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:27 { 20:08:27 "registry-mirrors": [ 20:08:27 "https://nexus3.edgexfoundry.org:10001" 20:08:27 ], 20:08:27 "bip": "10.250.0.254/24", 20:08:27 "hosts": [ 20:08:27 "tcp://0.0.0.0:5555", 20:08:27 "unix:///var/run/docker.sock" 20:08:27 ], 20:08:27 "mtu": 1458, 20:08:27 "selinux-enabled": true, 20:08:27 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:27 } [Pipeline] sh 20:08:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:46 provisioning config files... 20:08:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5795596867582880603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:46 ---> docker-login.sh 20:08:46 nexus3.edgexfoundry.org:10001 20:08:47 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 nexus3.edgexfoundry.org:10002 20:08:47 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 nexus3.edgexfoundry.org:10003 20:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:48 Configure a credential helper to remove this warning. See 20:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:48 20:08:48 Login Succeeded 20:08:48 nexus3.edgexfoundry.org:10004 20:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:48 Configure a credential helper to remove this warning. See 20:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:48 20:08:48 Login Succeeded 20:08:48 docker.io 20:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:49 Configure a credential helper to remove this warning. See 20:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:49 20:08:49 Login Succeeded 20:08:49 ---> docker-login.sh ends [Pipeline] } 20:08:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:50 ========================================================= 20:08:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:08:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:08:50 Sending build context to Docker daemon 129kB 20:08:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:08:50 Step 2/12 : FROM ${BASE} AS builder 20:08:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:50 9b3977197b4f: Pulling fs layer 20:08:50 1a89e8eeedd5: Pulling fs layer 20:08:50 94645a83ff95: Pulling fs layer 20:08:50 e6fb740bc735: Pulling fs layer 20:08:50 3a77bd46dcc9: Pulling fs layer 20:08:50 355e64cbe906: Pulling fs layer 20:08:50 63ab81a10011: Pulling fs layer 20:08:50 555d1d1c4555: Pulling fs layer 20:08:50 7d9057610161: Pulling fs layer 20:08:50 e6fb740bc735: Waiting 20:08:50 3a77bd46dcc9: Waiting 20:08:50 555d1d1c4555: Waiting 20:08:50 7d9057610161: Waiting 20:08:50 355e64cbe906: Waiting 20:08:50 63ab81a10011: Waiting 20:08:51 94645a83ff95: Verifying Checksum 20:08:51 94645a83ff95: Download complete 20:08:51 1a89e8eeedd5: Download complete 20:08:51 3a77bd46dcc9: Verifying Checksum 20:08:51 3a77bd46dcc9: Download complete 20:08:51 355e64cbe906: Verifying Checksum 20:08:51 355e64cbe906: Download complete 20:08:51 9b3977197b4f: Verifying Checksum 20:08:51 9b3977197b4f: Download complete 20:08:51 63ab81a10011: Verifying Checksum 20:08:51 63ab81a10011: Download complete 20:08:52 7d9057610161: Verifying Checksum 20:08:52 7d9057610161: Download complete 20:08:52 9b3977197b4f: Pull complete 20:08:52 1a89e8eeedd5: Pull complete 20:08:53 94645a83ff95: Pull complete 20:08:53 555d1d1c4555: Verifying Checksum 20:08:53 555d1d1c4555: Download complete 20:08:54 e6fb740bc735: Verifying Checksum 20:08:54 e6fb740bc735: Download complete 20:09:06 e6fb740bc735: Pull complete 20:09:06 3a77bd46dcc9: Pull complete 20:09:06 355e64cbe906: Pull complete 20:09:06 63ab81a10011: Pull complete 20:09:13 555d1d1c4555: Pull complete 20:09:14 7d9057610161: Pull complete 20:09:14 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 20:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:09:14 ---> 819e984ddca1 20:09:14 Step 3/12 : ARG MAKE='make build' 20:09:16 ---> Running in fb7066009e7b 20:09:16 Removing intermediate container fb7066009e7b 20:09:16 ---> 06c6edabddf4 20:09:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:16 ---> Running in 4c1b830f6981 20:09:16 Removing intermediate container 4c1b830f6981 20:09:16 ---> 8a4ab7a4f3b6 20:09:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:09:17 ---> Running in 1d09eb4275f7 20:09:18 Removing intermediate container 1d09eb4275f7 20:09:18 ---> 3de18cd1f15e 20:09:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:18 ---> Running in 93856b8598f2 20:09:20 Removing intermediate container 93856b8598f2 20:09:20 ---> 069b91fb2c7c 20:09:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:20 ---> Running in b43a51fed698 20:09:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:09:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:09:22 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:09:22 (2/4) Installing libedit (20210910.3.1-r0) 20:09:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:09:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:09:23 Executing busybox-1.34.1-r3.trigger 20:09:23 OK: 224 MiB in 56 packages 20:09:24 Removing intermediate container b43a51fed698 20:09:24 ---> e63599f0a034 20:09:24 Step 8/12 : WORKDIR /device-rest-go 20:09:24 ---> Running in dc8d5ea0fade 20:09:24 Removing intermediate container dc8d5ea0fade 20:09:24 ---> 0fc8eefc6748 20:09:24 Step 9/12 : COPY go.mod vendor* ./ 20:09:25 ---> 9d31e8933e4d 20:09:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:25 ---> Running in 8c3bff725450 20:10:12 Removing intermediate container 8c3bff725450 20:10:12 ---> 130c3d981829 20:10:12 Step 11/12 : COPY . . 20:10:12 ---> 5f1a95218634 20:10:12 Step 12/12 : RUN $MAKE 20:10:12 ---> Running in 421a48823ebb 20:10:12 noop 20:10:12 Removing intermediate container 421a48823ebb 20:10:12 ---> 87bf32697059 20:10:12 Successfully built 87bf32697059 20:10:12 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:13 prd-ubuntu20.04-docker-arm64-4c-16g-16136 does not seem to be running inside a container 20:10:13 $ 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:14 $ docker top b9a7737db3be2be823eebea0c49e9e561be8a40de752ae5c2fa0f8137df0a17e -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:15 + go version 20:10:15 go version go1.17.7 linux/arm64 [Pipeline] } 20:10:15 $ docker stop --time=1 b9a7737db3be2be823eebea0c49e9e561be8a40de752ae5c2fa0f8137df0a17e 20:10:17 $ docker rm -f b9a7737db3be2be823eebea0c49e9e561be8a40de752ae5c2fa0f8137df0a17e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:18 + docker inspect -f . ci-base-image-arm64 20:10:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:18 prd-ubuntu20.04-docker-arm64-4c-16g-16136 does not seem to be running inside a container 20:10:18 $ 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:19 $ docker top 253b7b24afbe2c8a3db77efa52a60e13e4f3b01fae58b987e90bb1b41da7ae8f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:10:20 + make test 20:10:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:10:22 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:44 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements 20:11:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:11:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:12:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:11 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:13 $ docker stop --time=1 253b7b24afbe2c8a3db77efa52a60e13e4f3b01fae58b987e90bb1b41da7ae8f 20:12:15 $ docker rm -f 253b7b24afbe2c8a3db77efa52a60e13e4f3b01fae58b987e90bb1b41da7ae8f [Pipeline] // withDockerContainer [Pipeline] sh 20:12:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:16 Warning: overwriting stash ‘coverage-report’ 20:12:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:18 + ls -al . 20:12:18 total 168 20:12:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:12 . 20:12:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 20:08 .. 20:12:18 -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 20:08 .dockerignore 20:12:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:08 .git 20:12:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:08 .github 20:12:18 -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 20:08 .gitignore 20:12:18 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 20:08 .golangci.yml 20:12:18 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 27 20:08 Attribution.txt 20:12:18 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 27 20:08 CHANGELOG.md 20:12:18 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 27 20:08 Dockerfile 20:12:18 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 20:08 GOVERNANCE.md 20:12:18 -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 20:08 Jenkinsfile 20:12:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 20:08 LICENSE 20:12:18 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 27 20:08 Makefile 20:12:18 -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 20:08 OWNERS.md 20:12:18 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 27 20:08 README.md 20:12:18 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 20:05 VERSION 20:12:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:08 bin 20:12:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:08 cmd 20:12:18 -rw-r--r-- 1 jenkins jenkins 9355 Jun 27 20:11 coverage.out 20:12:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:08 driver 20:12:18 -rw-rw-r-- 1 jenkins jenkins 3337 Jun 27 20:08 go.mod 20:12:18 -rw-rw-r-- 1 jenkins jenkins 36279 Jun 27 20:08 go.sum 20:12:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:08 snap 20:12:18 -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:18 + 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=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 --label arch=arm64 --label version=0.0.0 . 20:12:18 Sending build context to Docker daemon 139.3kB 20:12:18 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:12:18 Step 2/25 : FROM ${BASE} AS builder 20:12:18 ---> 87bf32697059 20:12:18 Step 3/25 : ARG MAKE='make build' 20:12:19 ---> Running in e11b6860471d 20:12:19 Removing intermediate container e11b6860471d 20:12:19 ---> 359c2e3c5b41 20:12:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:12:19 ---> Running in 843a2bdd84be 20:12:19 Removing intermediate container 843a2bdd84be 20:12:19 ---> a525a910045e 20:12:19 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:12:19 ---> Running in 4a1789c6ce76 20:12:20 Removing intermediate container 4a1789c6ce76 20:12:20 ---> 9bffae23a8f5 20:12:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:20 ---> Running in f202813d9d0a 20:12:22 Removing intermediate container f202813d9d0a 20:12:22 ---> 85d99ce1ef8b 20:12:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:22 ---> Running in 5c204d3edb38 20:12:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:12:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:12:25 OK: 224 MiB in 56 packages 20:12:25 Removing intermediate container 5c204d3edb38 20:12:25 ---> 1c57de44d51b 20:12:25 Step 8/25 : WORKDIR /device-rest-go 20:12:26 ---> Running in 4f91cccf3c04 20:12:26 Removing intermediate container 4f91cccf3c04 20:12:26 ---> 939afbf483ce 20:12:26 Step 9/25 : COPY go.mod vendor* ./ 20:12:26 ---> 6f617d740c71 20:12:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:26 ---> Running in 388baaa640ce 20:12:28 Removing intermediate container 388baaa640ce 20:12:28 ---> a31ffb0c069e 20:12:28 Step 11/25 : COPY . . 20:12:29 ---> 2c0b5ac1aa53 20:12:29 Step 12/25 : RUN $MAKE 20:12:29 ---> Running in 96f4de2b70ea 20:12:30 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:37 Removing intermediate container 96f4de2b70ea 20:14:37 ---> 080560b8ca4e 20:14:37 Step 13/25 : FROM alpine:3.14 20:14:37 3.14: Pulling from library/alpine 20:14:37 455c02918c45: Pulling fs layer 20:14:37 455c02918c45: Verifying Checksum 20:14:37 455c02918c45: Download complete 20:14:37 455c02918c45: Pull complete 20:14:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:14:37 Status: Downloaded newer image for alpine:3.14 20:14:37 ---> ac73e934f311 20:14:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:14:37 ---> Running in 121d28c082bc 20:14:37 Removing intermediate container 121d28c082bc 20:14:37 ---> 0ff565cbbc09 20:14:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:14:37 ---> Running in 1e8a97cbd98d 20:14:37 Removing intermediate container 1e8a97cbd98d 20:14:37 ---> e4bc92f2339e 20:14:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:14:37 ---> Running in ad4924850c77 20:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:14:38 (1/6) Installing dumb-init (1.2.5-r1) 20:14:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:14:38 (3/6) Installing libsodium (1.0.18-r0) 20:14:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:14:38 (5/6) Installing libzmq (4.3.4-r0) 20:14:38 (6/6) Installing zeromq (4.3.4-r0) 20:14:38 Executing busybox-1.33.1-r7.trigger 20:14:38 OK: 8 MiB in 20 packages 20:14:39 Removing intermediate container ad4924850c77 20:14:39 ---> dc2dac644ab1 20:14:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:14:41 ---> 40d86e2b9628 20:14:41 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:14:41 ---> 37419900450f 20:14:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:14:42 ---> fac072dc50be 20:14:42 Step 20/25 : EXPOSE 59986 20:14:42 ---> Running in 4348cba2d2d0 20:14:42 Removing intermediate container 4348cba2d2d0 20:14:42 ---> 0353b818aa3b 20:14:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:14:42 ---> Running in f62142215b22 20:14:43 Removing intermediate container f62142215b22 20:14:43 ---> 1f18ac4f36d9 20:14:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:14:43 ---> Running in e826cdb1bb82 20:14:43 Removing intermediate container e826cdb1bb82 20:14:43 ---> 5b46a523d8bc 20:14:43 Step 23/25 : LABEL arch=arm64 20:14:43 ---> Running in c02e9ae4803c 20:14:43 Removing intermediate container c02e9ae4803c 20:14:43 ---> fef9c3d9e0ba 20:14:43 Step 24/25 : LABEL git_sha=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 20:14:43 ---> Running in 1e12ba6fce5a 20:14:44 Removing intermediate container 1e12ba6fce5a 20:14:44 ---> 84f0c515ff19 20:14:44 Step 25/25 : LABEL version=0.0.0 20:14:44 ---> Running in a878f565f1ce 20:14:44 Removing intermediate container a878f565f1ce 20:14:44 ---> 949546419e7f 20:14:44 [Warning] One or more build-args [ARCH] were not consumed 20:14:44 Successfully built 949546419e7f 20:14:44 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:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:45 20:14:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:46 arm64: Pulling from edgex-lftools-log-publisher 20:14:46 8998bd30e6a1: Pulling fs layer 20:14:46 04944245beec: Pulling fs layer 20:14:46 699f458cf7ca: Pulling fs layer 20:14:46 765212b225bb: Pulling fs layer 20:14:46 f23df028b6ca: Pulling fs layer 20:14:46 d65c8cfc05b1: Pulling fs layer 20:14:46 2437ff75d9bd: Pulling fs layer 20:14:46 765212b225bb: Waiting 20:14:46 f23df028b6ca: Waiting 20:14:46 d65c8cfc05b1: Waiting 20:14:46 2437ff75d9bd: Waiting 20:14:46 04944245beec: Verifying Checksum 20:14:46 04944245beec: Download complete 20:14:46 765212b225bb: Verifying Checksum 20:14:46 765212b225bb: Download complete 20:14:46 f23df028b6ca: Verifying Checksum 20:14:46 f23df028b6ca: Download complete 20:14:46 d65c8cfc05b1: Verifying Checksum 20:14:46 d65c8cfc05b1: Download complete 20:14:46 699f458cf7ca: Verifying Checksum 20:14:46 699f458cf7ca: Download complete 20:14:46 8998bd30e6a1: Verifying Checksum 20:14:46 8998bd30e6a1: Download complete 20:14:49 2437ff75d9bd: Verifying Checksum 20:14:49 2437ff75d9bd: Download complete 20:14:51 8998bd30e6a1: Pull complete 20:14:51 04944245beec: Pull complete 20:14:52 699f458cf7ca: Pull complete 20:14:53 765212b225bb: Pull complete 20:14:54 f23df028b6ca: Pull complete 20:14:54 d65c8cfc05b1: Pull complete 20:15:09 2437ff75d9bd: Pull complete 20:15:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:15:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:09 prd-ubuntu20.04-docker-arm64-4c-16g-16136 does not seem to be running inside a container 20:15:09 $ 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:15:12 $ docker top 5c2182eaca50d38efc2a9597441617af6ca664a4682986537e8a37d512367244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:13 ---> job-cost.sh 20:15:13 lf-activate-venv: SKIPPING 20:15:13 INFO: No Stack... 20:15:13 INFO: Retrieving Pricing Info for: v3-standard-4 20:15:14 INFO: Archiving Costs [Pipeline] sh 20:15:15 + cut -d, -f6 20:15:15 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:15:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] 20:15:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] did not exist. Created. 20:15:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:16 /w/workspace/device-rest-go/1@tmp/durable-5724e3ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:15:17 + echo total: 0.10999999940395355 [Pipeline] stash 20:15:17 Warning: overwriting stash ‘stack-cost’ 20:15:17 Stashed 1 file(s) [Pipeline] } 20:15:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:17 $ docker stop --time=1 5c2182eaca50d38efc2a9597441617af6ca664a4682986537e8a37d512367244 20:15:18 $ docker rm -f 5c2182eaca50d38efc2a9597441617af6ca664a4682986537e8a37d512367244 [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:19 provisioning config files... 20:15:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config9056801138261646216tmp [Pipeline] { [Pipeline] sh 20:15:20 + set +x 20:15:20 + + bash -s -- 20:15:20 curl -s https://codecov.io/bash 20:15:20 20:15:20 _____ _ 20:15:20 / ____| | | 20:15:20 | | ___ __| | ___ ___ _____ __ 20:15:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:15:20 | |___| (_) | (_| | __/ (_| (_) \ V / 20:15:20 \_____\___/ \__,_|\___|\___\___/ \_/ 20:15:20 Bash-1.0.6 20:15:20 20:15:20 20:15:20 ==> git version 2.25.1 found 20:15:20 ==> 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:20 Release-Date: 2020-01-08 20:15:20 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:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:15:20 ==> Jenkins CI detected. 20:15:20 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-201 20:15:20 project root: . 20:15:20 --> token set from env 20:15:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:15:20 ==> Running gcov in . (disable via -X gcov) 20:15:20 ==> Python coveragepy not found 20:15:20 ==> Searching for coverage reports in: 20:15:20 + . 20:15:20 -> Found 1 reports 20:15:20 ==> Detecting git/mercurial file structure 20:15:20 ==> Reading reports 20:15:20 + ./coverage.out bytes=9355 20:15:20 ==> Appending adjustments 20:15:20 https://docs.codecov.io/docs/fixing-reports 20:15:20 + Found adjustments 20:15:20 ==> Gzipping contents 20:15:20 4.0K /tmp/codecov.xR8Zou.gz 20:15:20 ==> Uploading reports 20:15:20 url: https://codecov.io 20:15:20 query: branch=PR-201&commit=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=201&job=&cmd_args= 20:15:20 -> Pinging Codecov 20:15:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-201&commit=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=201&job=&cmd_args= 20:15:20 -> Uploading to 20:15:20 https://storage.googleapis.com/codecov/v4/raw/2022-06-27/4E5D53B4F1F92C436F7061BF334D961C/7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0/00603844-89d4-419d-9fcd-65e53b0870f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T201520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cac36ce6c9f5b04dc7cca415abf28869217a1635fae741c72d12f1a694ac554f 20:15:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:20 Dload Upload Total Spent Left Speed 20:15:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8135 100 1806 0 0 100 1806 0 8098 --:--:-- --:--:-- --:--:-- 8062 20:15:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] } 20:15:20 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:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-201/archives ] 20:15:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-201/archives 20:15:22 total 16 20:15:22 drwxr-xr-x 3 root root 4096 Jun 27 20:07 . 20:15:22 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:07 .. 20:15:22 drwxr-xr-x 2 root root 4096 Jun 27 20:07 cost 20:15:22 -rw-r--r-- 1 root root 85 Jun 27 20:07 cost.csv 20:15:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-201/archives 20:15:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-201/archives 20:15:22 total 16 20:15:22 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:07 . 20:15:22 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:07 .. 20:15:22 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:07 cost 20:15:22 -rw-r--r-- 1 jenkins jenkins 85 Jun 27 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:15:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:15:23 ---> package-listing.sh 20:15:23 ++ facter osfamily 20:15:23 ++ tr '[:upper:]' '[:lower:]' 20:15:24 + OS_FAMILY=debian 20:15:24 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-201 20:15:24 + START_PACKAGES=/tmp/packages_start.txt 20:15:24 + END_PACKAGES=/tmp/packages_end.txt 20:15:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:15:24 + PACKAGES=/tmp/packages_start.txt 20:15:24 + '[' /w/workspace/gexfoundry_device-rest-go_PR-201 ']' 20:15:24 + PACKAGES=/tmp/packages_end.txt 20:15:24 + case "${OS_FAMILY}" in 20:15:24 + dpkg -l 20:15:24 + grep '^ii' 20:15:24 + '[' -f /tmp/packages_start.txt ']' 20:15:24 + '[' -f /tmp/packages_end.txt ']' 20:15:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:15:24 + '[' /w/workspace/gexfoundry_device-rest-go_PR-201 ']' 20:15:24 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-201/archives/ 20:15:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-201/archives/ [Pipeline] echo 20:15:24 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-201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:15:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:25 prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container 20:15:25 $ 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-201/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-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@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:25 $ docker top 35e280ee1d9564b1e8cd34c829272fa809ad11e9224b0328bea54d91a1f05be4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:26 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:26 + ls /var/log/sa-host 20:15:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:26 provisioning config files... 20:15:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config136027271023209406tmp [Pipeline] { [Pipeline] echo 20:15:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:15:26 ---> create-netrc.sh [Pipeline] } 20:15:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:15:27 ---> python-tools-install.sh [Pipeline] echo 20:15:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:15:27 ---> sudo-logs.sh 20:15:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:15:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:15:28 ---> job-cost.sh 20:15:28 lf-activate-venv: SKIPPING 20:15:28 DEBUG: total: 0.2199999988079071 20:15:28 INFO: Retrieving Stack Cost... 20:15:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:28 INFO: Archiving Costs [Pipeline] echo 20:15:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:15:29 ---> logs-deploy.sh 20:15:29 lf-activate-venv: SKIPPING 20:15:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-201/1 20:15:29 INFO: archiving workspace using pattern(s): 20:15:30 Archives upload complete. 20:15:30 INFO: archiving logs to Nexus