Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 569624fb81c2ae69bc90c383ac6b8d5090c026b7+f67542ccb051b13986f5f41838b922d5b9b125ad (7b134e8c26567603a892825c312daec1236ef626) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3824 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-85 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 > 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/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # 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 f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 7daf06878b1861d1fe11ae13c28bceaff0b70a18 Checking out Revision 7daf06878b1861d1fe11ae13c28bceaff0b70a18 (PR-85) > git config core.sparsecheckout # timeout=10 > git checkout -f 7daf06878b1861d1fe11ae13c28bceaff0b70a18 # timeout=10 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" > git rev-list --no-walk 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:10:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:10:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:10:03 ========================================================= 11:10:03 EdgeX Global Pipelines Version Info 11:10:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:10:06 ------------------- 11:10:06 stable info: 11:10:06 ------------------- 11:10:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:10:06 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 11:10:06 Message: update stable to v1.0.191 11:10:07 ------------------- 11:10:07 experimental info: 11:10:07 ------------------- 11:10:07 Commited By: **** collab-it+edgex@linuxfoundation.org 11:10:07 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 11:10:07 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:10:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:10:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:10:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:10:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:10:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:10:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7daf06878b1861d1fe11ae13c28bceaff0b70a18 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7daf068 [Pipeline] echo 11:10:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:10:08 provisioning config files... 11:10:08 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config5187161473786922554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:09 ---> docker-login.sh 11:10:09 nexus3.edgexfoundry.org:10001 11:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:10 Configure a credential helper to remove this warning. See 11:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:10 11:10:10 Login Succeeded 11:10:10 nexus3.edgexfoundry.org:10002 11:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:10 Configure a credential helper to remove this warning. See 11:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:10 11:10:10 Login Succeeded 11:10:10 nexus3.edgexfoundry.org:10003 11:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:11 Configure a credential helper to remove this warning. See 11:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:11 11:10:11 Login Succeeded 11:10:11 nexus3.edgexfoundry.org:10004 11:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:11 Configure a credential helper to remove this warning. See 11:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:11 11:10:11 Login Succeeded 11:10:11 docker.io 11:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:12 Configure a credential helper to remove this warning. See 11:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:12 11:10:12 Login Succeeded 11:10:12 ---> docker-login.sh ends [Pipeline] } 11:10:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:12 + git log --format=format:%s -1 7daf06878b1861d1fe11ae13c28bceaff0b70a18 [Pipeline] echo 11:10:13 GIT_COMMIT: 7daf06878b1861d1fe11ae13c28bceaff0b70a18, Commit Message: Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD [Pipeline] echo 11:10:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:10:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:10:13 11:10:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:10:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:10:14 latest: Pulling from edgex-devops/git-semver 11:10:14 31603596830f: Pulling fs layer 11:10:14 54011a49482f: Pulling fs layer 11:10:14 a6820b24f6d8: Pulling fs layer 11:10:14 f581987b2513: Pulling fs layer 11:10:14 f581987b2513: Waiting 11:10:14 54011a49482f: Verifying Checksum 11:10:14 54011a49482f: Download complete 11:10:14 31603596830f: Verifying Checksum 11:10:14 31603596830f: Download complete 11:10:15 f581987b2513: Verifying Checksum 11:10:15 f581987b2513: Download complete 11:10:15 a6820b24f6d8: Verifying Checksum 11:10:15 a6820b24f6d8: Download complete 11:10:15 31603596830f: Pull complete 11:10:15 54011a49482f: Pull complete 11:10:17 a6820b24f6d8: Pull complete 11:10:18 f581987b2513: Pull complete 11:10:18 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 11:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:10:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:10:18 prd-centos7-docker-4c-2g-3824 does not seem to be running inside a container 11:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:10:21 $ docker top 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:21 [ssh-agent] Looking for ssh-agent implementation... 11:10:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:22 $ docker exec 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent 11:10:22 SSH_AUTH_SOCK=/tmp/ssh-908Pq8I0SZzq/agent.11 11:10:22 SSH_AGENT_PID=16 11:10:22 Running ssh-add (command line suppressed) 11:10:23 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_8755924257101189557.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_8755924257101189557.key) 11:10:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:24 + git tag --points-at HEAD [Pipeline] } 11:10:24 $ docker exec --env ******** --env ******** 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent -k 11:10:24 unset SSH_AUTH_SOCK; 11:10:24 unset SSH_AGENT_PID; 11:10:24 echo Agent pid 16 killed; 11:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:24 [ssh-agent] Looking for ssh-agent implementation... 11:10:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:25 $ docker exec 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent 11:10:25 SSH_AUTH_SOCK=/tmp/ssh-CO5R8KAEq0Zq/agent.44 11:10:25 SSH_AGENT_PID=49 11:10:25 Running ssh-add (command line suppressed) 11:10:26 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_6248811119888263325.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_6248811119888263325.key) 11:10:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:27 + git semver init 11:10:27 # -> Open(): unable to determine branch for HEAD 11:10:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.git 11:10:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-85 11:10:27 # $SEMVER_REMOTE_NAME = origin 11:10:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:10:27 # $SEMVER_USER_NAME = edgex-jenkins 11:10:27 # $SEMVER_BRANCH = PR-85 11:10:27 # $SEMVER_TEMP = /tmp/semver-721376981 11:10:27 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:10:28 # '/tmp/semver-721376981' -> '/w/workspace/dgexfoundry_device-rest-go_PR-85/.semver' 11:10:28 # -> Force: false 11:10:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.semver [Pipeline] } 11:10:28 $ docker exec --env ******** --env ******** 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 ssh-agent -k 11:10:29 unset SSH_AUTH_SOCK; 11:10:29 unset SSH_AGENT_PID; 11:10:29 echo Agent pid 49 killed; 11:10:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:29 + git semver [Pipeline] } 11:10:29 $ docker stop --time=1 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 11:10:31 $ docker rm -f 5e51761ac1ec5e89f2303e09a80c3d28e6b2db9c836130f1cb566ffec97a8332 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:32 Stashed 1 file(s) [Pipeline] echo 11:10:32 [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] node [Pipeline] node 11:10:47 Still waiting to schedule task 11:10:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:10:47 Still waiting to schedule task 11:10:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 11:13:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3828 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws 11:13:30 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:13:37 using credential edgex-jenkins-ssh 11:13:37 Cloning the remote Git repository 11:13:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:13:37 > git init /w/workspace/device-rest-go/2 # timeout=10 11:13:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:13:37 > git --version # timeout=10 11:13:37 > git --version # 'git version 2.17.1' 11:13:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:40 Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 11:13:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:13:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:13:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:13:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:13:40 > git config core.sparsecheckout # timeout=10 11:13:40 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 11:13:40 Merge succeeded, producing beccd10fa4b0ba54e868dd0450e0ead289a801e0 11:13:40 Checking out Revision beccd10fa4b0ba54e868dd0450e0ead289a801e0 (PR-85) 11:13:40 > git remote # timeout=10 11:13:40 > git config --get remote.origin.url # timeout=10 11:13:40 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:40 > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 11:13:40 > git rev-parse HEAD^{commit} # timeout=10 11:13:40 > git config core.sparsecheckout # timeout=10 11:13:40 > git checkout -f beccd10fa4b0ba54e868dd0450e0ead289a801e0 # timeout=10 11:13:44 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" 11:13:44 > git rev-list --no-walk 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:46 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:13:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:13:46 + sudo service docker restart+ 11:13:46 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:13:49 provisioning config files... 11:13:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4734653122935324360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:49 ---> docker-login.sh 11:13:49 nexus3.edgexfoundry.org:10001 11:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:51 Configure a credential helper to remove this warning. See 11:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:51 11:13:51 Login Succeeded 11:13:51 nexus3.edgexfoundry.org:10002 11:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:51 Configure a credential helper to remove this warning. See 11:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:51 11:13:51 Login Succeeded 11:13:51 nexus3.edgexfoundry.org:10003 11:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:52 Configure a credential helper to remove this warning. See 11:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:52 11:13:52 Login Succeeded 11:13:52 nexus3.edgexfoundry.org:10004 11:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:52 Configure a credential helper to remove this warning. See 11:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:52 11:13:52 Login Succeeded 11:13:52 docker.io 11:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:53 Configure a credential helper to remove this warning. See 11:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:53 11:13:53 Login Succeeded 11:13:53 ---> docker-login.sh ends [Pipeline] } 11:13:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:13:54 ========================================================= 11:13:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:13:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:13:54 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 11:13:54 Sending build context to Docker daemon 93.18kB 11:13:54 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 11:13:54 Step 2/10 : FROM ${BASE} 11:13:55 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:13:55 595b0fe564bb: Pulling fs layer 11:13:55 7186ed65a4f7: Pulling fs layer 11:13:55 316046926c0a: Pulling fs layer 11:13:55 4ebd0625c992: Pulling fs layer 11:13:55 207e8628e3a3: Pulling fs layer 11:13:55 c791037a9be2: Pulling fs layer 11:13:55 ffd874e62e21: Pulling fs layer 11:13:55 4ebd0625c992: Waiting 11:13:55 207e8628e3a3: Waiting 11:13:55 c791037a9be2: Waiting 11:13:55 ffd874e62e21: Waiting 11:13:55 316046926c0a: Download complete 11:13:55 7186ed65a4f7: Verifying Checksum 11:13:55 7186ed65a4f7: Download complete 11:13:55 207e8628e3a3: Verifying Checksum 11:13:55 207e8628e3a3: Download complete 11:13:55 c791037a9be2: Verifying Checksum 11:13:55 c791037a9be2: Download complete 11:13:55 595b0fe564bb: Verifying Checksum 11:13:55 595b0fe564bb: Download complete 11:13:56 595b0fe564bb: Pull complete 11:13:56 7186ed65a4f7: Pull complete 11:13:56 316046926c0a: Pull complete 11:13:58 ffd874e62e21: Verifying Checksum 11:13:58 ffd874e62e21: Download complete 11:13:59 4ebd0625c992: Verifying Checksum 11:13:59 4ebd0625c992: Download complete 11:14:08 Running on prd-centos7-docker-4c-2g-3830 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws 11:14:08 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:14:09 4ebd0625c992: Pull complete 11:14:09 207e8628e3a3: Pull complete 11:14:10 c791037a9be2: Pull complete 11:14:12 using credential edgex-jenkins-ssh 11:14:12 Cloning the remote Git repository 11:14:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:14:12 > git init /w/workspace/device-rest-go/2 # timeout=10 11:14:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:14:12 > git --version # timeout=10 11:14:12 > git --version # 'git version 2.24.3' 11:14:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:14:13 ffd874e62e21: Pull complete 11:14:13 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 11:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:14:13 ---> cfc18b08335c 11:14:13 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:14:14 Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 11:14:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:14:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:14:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:14:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:14:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:14:14 > git config core.sparsecheckout # timeout=10 11:14:14 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 11:14:14 Merge succeeded, producing bac95a71dbb54aaeebad77c1ad39641e411707a6 11:14:14 Checking out Revision bac95a71dbb54aaeebad77c1ad39641e411707a6 (PR-85) 11:14:14 > git remote # timeout=10 11:14:14 > git config --get remote.origin.url # timeout=10 11:14:14 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:14 > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 11:14:14 > git rev-parse HEAD^{commit} # timeout=10 11:14:14 > git config core.sparsecheckout # timeout=10 11:14:14 > git checkout -f bac95a71dbb54aaeebad77c1ad39641e411707a6 # timeout=10 11:14:16 ---> Running in 3e9e708b8d3c 11:14:17 Removing intermediate container 3e9e708b8d3c 11:14:17 ---> 731ddfa2b9a5 11:14:17 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:14:17 ---> Running in 213c9ca15032 11:14:17 Removing intermediate container 213c9ca15032 11:14:17 ---> 4f7064fb61ec 11:14:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:14:18 ---> Running in a96a390aa5a1 11:14:18 Commit message: "Merge commit 'f67542ccb051b13986f5f41838b922d5b9b125ad' into HEAD" 11:14:18 > git rev-list --no-walk 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 11:14:18 Removing intermediate container a96a390aa5a1 11:14:18 ---> f87dc007c84b 11:14:18 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:14:18 ---> Running in 513f67610ac4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:14:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:14:20 + sudo service docker restart 11:14:20 + true 11:14:20 Redirecting to /bin/systemctl restart docker.service 11:14:21 Removing intermediate container 513f67610ac4 11:14:21 ---> a6754765e693 11:14:21 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:21 ---> Running in 84a0b221998d [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:14:21 provisioning config files... 11:14:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3123849326458476957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:22 ---> docker-login.sh 11:14:22 nexus3.edgexfoundry.org:10001 11:14:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:14:23 Configure a credential helper to remove this warning. See 11:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:14:23 11:14:23 Login Succeeded 11:14:23 nexus3.edgexfoundry.org:10002 11:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:14:23 Configure a credential helper to remove this warning. See 11:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:14:23 11:14:23 Login Succeeded 11:14:23 nexus3.edgexfoundry.org:10003 11:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:14:23 Configure a credential helper to remove this warning. See 11:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:14:23 11:14:23 Login Succeeded 11:14:23 nexus3.edgexfoundry.org:10004 11:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:14:23 Configure a credential helper to remove this warning. See 11:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:14:23 11:14:23 Login Succeeded 11:14:23 docker.io 11:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:14:24 Configure a credential helper to remove this warning. See 11:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:14:24 11:14:24 Login Succeeded 11:14:24 ---> docker-login.sh ends [Pipeline] } 11:14:24 Deleting 1 temporary files 11:14:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:14:24 ========================================================= 11:14:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:14:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:14:24 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 11:14:24 Sending build context to Docker daemon 93.18kB 11:14:24 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 11:14:24 Step 2/10 : FROM ${BASE} 11:14:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:14:24 540db60ca938: Pulling fs layer 11:14:24 adcc1eea9eea: Pulling fs layer 11:14:24 4c4ab2625f07: Pulling fs layer 11:14:24 0510c868ecb4: Pulling fs layer 11:14:24 afea3b2eda06: Pulling fs layer 11:14:24 7809a108b3ef: Pulling fs layer 11:14:24 f706445af74f: Pulling fs layer 11:14:24 0510c868ecb4: Waiting 11:14:24 afea3b2eda06: Waiting 11:14:24 7809a108b3ef: Waiting 11:14:24 f706445af74f: Waiting 11:14:24 4c4ab2625f07: Verifying Checksum 11:14:24 4c4ab2625f07: Download complete 11:14:24 adcc1eea9eea: Verifying Checksum 11:14:24 adcc1eea9eea: Download complete 11:14:24 afea3b2eda06: Verifying Checksum 11:14:24 afea3b2eda06: Download complete 11:14:24 7809a108b3ef: Verifying Checksum 11:14:24 7809a108b3ef: Download complete 11:14:25 (1/9) Installing libc-dev (0.7.2-r3) 11:14:25 540db60ca938: Verifying Checksum 11:14:25 540db60ca938: Download complete 11:14:25 (2/9) Installing libsodium (1.0.18-r0) 11:14:25 (3/9) Installing pkgconf (1.7.3-r0) 11:14:25 (4/9) Installing libsodium-dev (1.0.18-r0) 11:14:25 540db60ca938: Pull complete 11:14:25 adcc1eea9eea: Pull complete 11:14:25 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:14:26 4c4ab2625f07: Pull complete 11:14:26 (6/9) Installing libedit (20191231.3.1-r1) 11:14:26 (7/9) Installing openssh-client (8.4_p1-r3) 11:14:28 f706445af74f: Verifying Checksum 11:14:28 f706445af74f: Download complete 11:14:28 (8/9) Installing libzmq (4.3.3-r1) 11:14:28 (9/9) Installing zeromq-dev (4.3.3-r1) 11:14:28 Executing busybox-1.32.1-r6.trigger 11:14:28 OK: 144 MiB in 49 packages 11:14:29 0510c868ecb4: Verifying Checksum 11:14:29 0510c868ecb4: Download complete 11:14:30 Removing intermediate container 84a0b221998d 11:14:30 ---> c8b5d5c26f80 11:14:30 Step 8/10 : WORKDIR /device-rest-go 11:14:30 ---> Running in 95f56df576f6 11:14:30 Removing intermediate container 95f56df576f6 11:14:30 ---> 631edffd4edb 11:14:30 Step 9/10 : COPY . . 11:14:31 ---> c50f540cbdbe 11:14:31 Step 10/10 : RUN go mod download 11:14:31 ---> Running in 70c0bde4992a 11:14:35 0510c868ecb4: Pull complete 11:14:36 afea3b2eda06: Pull complete 11:14:36 7809a108b3ef: Pull complete 11:14:41 f706445af74f: Pull complete 11:14:41 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 11:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:14:41 ---> b068be0155e3 11:14:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:14:41 ---> Running in fe698493f8a4 11:14:41 Removing intermediate container fe698493f8a4 11:14:41 ---> 25b98acb58eb 11:14:41 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:14:41 ---> Running in 126e2453ea0a 11:14:41 Removing intermediate container 126e2453ea0a 11:14:41 ---> 9482a035b27a 11:14:41 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:14:41 ---> Running in 75312805e29a 11:14:41 Removing intermediate container 75312805e29a 11:14:41 ---> e808f32bd104 11:14:41 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:14:42 ---> Running in d61d1c057be8 11:14:44 Removing intermediate container d61d1c057be8 11:14:44 ---> 29ed2c52321f 11:14:44 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:44 ---> Running in f93e16bb49b0 11:14:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:14:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:14:48 (1/9) Installing libc-dev (0.7.2-r3) 11:14:48 (2/9) Installing libsodium (1.0.18-r0) 11:14:48 (3/9) Installing pkgconf (1.7.3-r0) 11:14:49 (4/9) Installing libsodium-dev (1.0.18-r0) 11:14:49 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:14:49 (6/9) Installing libedit (20191231.3.1-r1) 11:14:49 (7/9) Installing openssh-client (8.4_p1-r3) 11:14:51 (8/9) Installing libzmq (4.3.3-r1) 11:14:52 (9/9) Installing zeromq-dev (4.3.3-r1) 11:14:52 Executing busybox-1.32.1-r6.trigger 11:14:52 OK: 154 MiB in 49 packages 11:14:53 Removing intermediate container f93e16bb49b0 11:14:53 ---> 90c05fe9d811 11:14:53 Step 8/10 : WORKDIR /device-rest-go 11:14:53 ---> Running in dbdeb6259b20 11:14:53 Removing intermediate container dbdeb6259b20 11:14:53 ---> 811321a8e949 11:14:53 Step 9/10 : COPY . . 11:14:54 ---> 70093da5a694 11:14:54 Step 10/10 : RUN go mod download 11:14:54 ---> Running in d9fe55c448f2 11:14:58 Removing intermediate container 70c0bde4992a 11:14:58 ---> 6c8db5df1e04 11:14:58 Successfully built 6c8db5df1e04 11:14:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:14:59 + docker inspect -f . ci-base-image-arm64 11:14:59 . [Pipeline] withDockerContainer 11:14:59 prd-ubuntu18.04-docker-arm64-4c-16g-3828 does not seem to be running inside a container 11:14:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 11:15:01 $ docker top 93d9c8b9aad00d11a7c91e1f39bb28bde893236dfc5764b2d84b457c5cec5857 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:02 + go version 11:15:02 go version go1.16.3 linux/arm64 [Pipeline] } 11:15:02 $ docker stop --time=1 93d9c8b9aad00d11a7c91e1f39bb28bde893236dfc5764b2d84b457c5cec5857 11:15:04 $ docker rm -f 93d9c8b9aad00d11a7c91e1f39bb28bde893236dfc5764b2d84b457c5cec5857 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:15:04 + docker inspect -f . ci-base-image-arm64 11:15:04 . [Pipeline] withDockerContainer 11:15:05 prd-ubuntu18.04-docker-arm64-4c-16g-3828 does not seem to be running inside a container 11:15:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 11:15:07 $ docker top 2ad3bfdf6e309d44fde02d61a4b56ba5cdd7370e923ab78e1268a00090dac331 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:07 + go mod tidy [Pipeline] sh 11:15:09 + make test 11:15:09 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:15:10 ? github.com/edgexfoundry/device-rest-go [no test files] 11:15:21 Removing intermediate container d9fe55c448f2 11:15:21 ---> 222b59775964 11:15:21 Successfully built 222b59775964 11:15:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:15:21 + docker inspect -f . ci-base-image-x86_64 11:15:21 . [Pipeline] withDockerContainer 11:15:21 prd-centos7-docker-4c-2g-3830 does not seem to be running inside a container 11:15:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-x86_64 cat 11:15:22 $ docker top 2953157dcc8861c4e10f3455f9f3530c8817bcd02821f5e36d7308474f2f7278 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:23 + go version 11:15:23 go version go1.16.3 linux/amd64 [Pipeline] } 11:15:23 $ docker stop --time=1 2953157dcc8861c4e10f3455f9f3530c8817bcd02821f5e36d7308474f2f7278 11:15:25 $ docker rm -f 2953157dcc8861c4e10f3455f9f3530c8817bcd02821f5e36d7308474f2f7278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:15:26 + docker inspect -f . ci-base-image-x86_64 11:15:26 . [Pipeline] withDockerContainer 11:15:26 prd-centos7-docker-4c-2g-3830 does not seem to be running inside a container 11:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-x86_64 cat 11:15:26 $ docker top e4373cf31d704e8f99c3c3b7e56d8860df88a26970454796061b1c13e17b33e5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:27 + go mod tidy [Pipeline] sh 11:15:28 + make test 11:15:28 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:15:29 ? github.com/edgexfoundry/device-rest-go [no test files] 11:15:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:15:55 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 54.0% of statements 11:15:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:16:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:16:07 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements 11:16:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:16:14 gofmt -l . 11:16:14 [ "`gofmt -l .`" = "" ] 11:16:14 ./bin/test-go-mod-tidy.sh 11:16:14 ./bin/test-attribution-txt.sh [Pipeline] } 11:16:14 $ docker stop --time=1 e4373cf31d704e8f99c3c3b7e56d8860df88a26970454796061b1c13e17b33e5 11:16:16 $ docker rm -f e4373cf31d704e8f99c3c3b7e56d8860df88a26970454796061b1c13e17b33e5 [Pipeline] // withDockerContainer [Pipeline] sh 11:16:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:16:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:16:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:16:21 + ls -al . 11:16:21 total 104 11:16:21 drwxrwxr-x. 8 jenkins jenkins 4096 May 9 11:16 . 11:16:21 drwxrwxr-x. 4 jenkins jenkins 28 May 9 11:14 .. 11:16:21 -rw-rw-r--. 1 jenkins jenkins 6792 May 9 11:14 Attribution.txt 11:16:21 drwxrwxr-x. 2 jenkins jenkins 64 May 9 11:14 bin 11:16:21 drwxrwxr-x. 3 jenkins jenkins 32 May 9 11:14 cmd 11:16:21 -rw-r--r--. 1 jenkins jenkins 8513 May 9 11:15 coverage.out 11:16:21 -rw-rw-r--. 1 jenkins jenkins 1602 May 9 11:14 Dockerfile 11:16:21 -rw-rw-r--. 1 jenkins jenkins 1087 May 9 11:14 Dockerfile.build 11:16:21 -rw-rw-r--. 1 jenkins jenkins 151 May 9 11:14 .dockerignore 11:16:21 drwxrwxr-x. 2 jenkins jenkins 76 May 9 11:14 driver 11:16:21 drwxrwxr-x. 8 jenkins jenkins 179 May 9 11:14 .git 11:16:21 drwxrwxr-x. 2 jenkins jenkins 103 May 9 11:14 .github 11:16:21 -rw-rw-r--. 1 jenkins jenkins 339 May 9 11:14 .gitignore 11:16:21 -rw-r--r--. 1 jenkins jenkins 285 May 9 11:16 go.mod 11:16:21 -rw-r--r--. 1 jenkins jenkins 21331 May 9 11:15 go.sum 11:16:21 -rw-rw-r--. 1 jenkins jenkins 680 May 9 11:14 Jenkinsfile 11:16:21 -rw-rw-r--. 1 jenkins jenkins 11340 May 9 11:14 LICENSE 11:16:21 -rw-rw-r--. 1 jenkins jenkins 976 May 9 11:14 Makefile 11:16:21 -rw-rw-r--. 1 jenkins jenkins 7667 May 9 11:14 README.md 11:16:21 drwxrwxr-x. 4 jenkins jenkins 71 May 9 11:14 snap 11:16:21 -rw-rw-r--. 1 jenkins jenkins 5 May 9 11:10 VERSION 11:16:21 -rw-rw-r--. 1 jenkins jenkins 713 May 9 11:14 version.go [Pipeline] isUnix [Pipeline] sh 11:16:21 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7daf06878b1861d1fe11ae13c28bceaff0b70a18 --label arch=amd64 --label version=0.0.0 . 11:16:21 Sending build context to Docker daemon 102.9kB 11:16:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 11:16:21 Step 2/24 : FROM ${BASE} AS builder 11:16:21 ---> 222b59775964 11:16:21 Step 3/24 : ARG MAKE='make build' 11:16:22 ---> Running in 3c21c1fcf94c 11:16:22 Removing intermediate container 3c21c1fcf94c 11:16:22 ---> 627e22755a8a 11:16:22 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:16:22 ---> Running in efbe681578ed 11:16:22 Removing intermediate container efbe681578ed 11:16:22 ---> 26ef41966456 11:16:22 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:16:22 ---> Running in eea9d6469960 11:16:22 Removing intermediate container eea9d6469960 11:16:22 ---> d968871a5629 11:16:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:16:22 ---> Running in b9fd2fba799d 11:16:25 Removing intermediate container b9fd2fba799d 11:16:25 ---> f07c8c471f68 11:16:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:16:25 ---> Running in f0c6bea0e953 11:16:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:16:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:16:35 OK: 154 MiB in 49 packages 11:16:36 Removing intermediate container f0c6bea0e953 11:16:36 ---> 08a8ca5285bb 11:16:36 Step 8/24 : WORKDIR /device-rest-go 11:16:36 ---> Running in 3bcc9aed0d42 11:16:36 Removing intermediate container 3bcc9aed0d42 11:16:36 ---> 6a5fde34e26b 11:16:36 Step 9/24 : COPY . . 11:16:37 ---> d323a869b4ac 11:16:37 Step 10/24 : RUN make update 11:16:37 ---> Running in afaf0ec2dc92 11:16:38 CGO_ENABLED=0 GO111MODULE=on go mod download 11:16:39 Removing intermediate container afaf0ec2dc92 11:16:39 ---> 63f6d6be4225 11:16:39 Step 11/24 : RUN $MAKE 11:16:39 ---> Running in 96483d0ed5c0 11:16:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 11:16:40 gofmt -l . 11:16:40 [ "`gofmt -l .`" = "" ] 11:16:40 ./bin/test-go-mod-tidy.sh 11:16:40 ./bin/test-attribution-txt.sh [Pipeline] } 11:16:40 $ docker stop --time=1 2ad3bfdf6e309d44fde02d61a4b56ba5cdd7370e923ab78e1268a00090dac331 11:16:42 $ docker rm -f 2ad3bfdf6e309d44fde02d61a4b56ba5cdd7370e923ab78e1268a00090dac331 [Pipeline] // withDockerContainer [Pipeline] sh 11:16:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:16:43 Warning: overwriting stash ‘coverage-report’ 11:16:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:16:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:16:45 + ls -al . 11:16:45 total 132 11:16:45 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:16 . 11:16:45 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:13 .. 11:16:45 -rw-rw-r-- 1 jenkins jenkins 151 May 9 11:13 .dockerignore 11:16:45 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:13 .git 11:16:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:13 .github 11:16:45 -rw-rw-r-- 1 jenkins jenkins 339 May 9 11:13 .gitignore 11:16:45 -rw-rw-r-- 1 jenkins jenkins 6792 May 9 11:13 Attribution.txt 11:16:45 -rw-rw-r-- 1 jenkins jenkins 1602 May 9 11:13 Dockerfile 11:16:45 -rw-rw-r-- 1 jenkins jenkins 1087 May 9 11:13 Dockerfile.build 11:16:45 -rw-rw-r-- 1 jenkins jenkins 680 May 9 11:13 Jenkinsfile 11:16:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:13 LICENSE 11:16:45 -rw-rw-r-- 1 jenkins jenkins 976 May 9 11:13 Makefile 11:16:45 -rw-rw-r-- 1 jenkins jenkins 7667 May 9 11:13 README.md 11:16:45 -rw-rw-r-- 1 jenkins jenkins 5 May 9 11:10 VERSION 11:16:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:13 bin 11:16:45 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:13 cmd 11:16:45 -rw-r--r-- 1 jenkins jenkins 8513 May 9 11:16 coverage.out 11:16:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:13 driver 11:16:45 -rw-r--r-- 1 jenkins jenkins 285 May 9 11:16 go.mod 11:16:45 -rw-r--r-- 1 jenkins jenkins 21331 May 9 11:15 go.sum 11:16:45 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:13 snap 11:16:45 -rw-rw-r-- 1 jenkins jenkins 713 May 9 11:13 version.go [Pipeline] isUnix [Pipeline] sh 11:16:45 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7daf06878b1861d1fe11ae13c28bceaff0b70a18 --label arch=arm64 --label version=0.0.0 . 11:16:45 Sending build context to Docker daemon 102.9kB 11:16:45 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 11:16:45 Step 2/24 : FROM ${BASE} AS builder 11:16:45 ---> 6c8db5df1e04 11:16:45 Step 3/24 : ARG MAKE='make build' 11:16:46 ---> Running in 2e67a5b922db 11:16:46 Removing intermediate container 2e67a5b922db 11:16:46 ---> cfa471dd3f65 11:16:46 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:16:46 ---> Running in 608d0c1e0277 11:16:47 Removing intermediate container 608d0c1e0277 11:16:47 ---> 601966b9e896 11:16:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:16:47 ---> Running in b83c0ebdb510 11:16:47 Removing intermediate container b83c0ebdb510 11:16:47 ---> 3a112423cace 11:16:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:16:47 ---> Running in 972697f5a885 11:16:50 Removing intermediate container 972697f5a885 11:16:50 ---> 9deac4887e6e 11:16:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:16:50 ---> Running in e0af8c6f95cc 11:16:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:16:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:16:54 OK: 144 MiB in 49 packages 11:16:55 Removing intermediate container e0af8c6f95cc 11:16:55 ---> c22461962bc1 11:16:55 Step 8/24 : WORKDIR /device-rest-go 11:16:55 ---> Running in de1c11a65ba3 11:16:56 Removing intermediate container de1c11a65ba3 11:16:56 ---> 8071cc16f98d 11:16:56 Step 9/24 : COPY . . 11:16:56 ---> b61159f0688c 11:16:56 Step 10/24 : RUN make update 11:16:57 ---> Running in 6172fd41fdb3 11:16:58 CGO_ENABLED=0 GO111MODULE=on go mod download 11:16:58 Removing intermediate container 96483d0ed5c0 11:16:58 ---> 8adbba6f3b6c 11:16:58 Step 12/24 : FROM alpine:3.12 11:16:58 3.12: Pulling from library/alpine 11:16:58 339de151aab4: Pulling fs layer 11:16:58 339de151aab4: Verifying Checksum 11:16:58 339de151aab4: Download complete 11:16:58 339de151aab4: Pull complete 11:16:58 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:16:58 Status: Downloaded newer image for alpine:3.12 11:16:58 ---> 13621d1b12d4 11:16:58 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:16:58 ---> Running in 7b0a2e52baf1 11:16:58 Removing intermediate container 7b0a2e52baf1 11:16:58 ---> c741987a9429 11:16:58 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:16:58 ---> Running in c491b9de8d47 11:16:59 Removing intermediate container c491b9de8d47 11:16:59 ---> ffcd2b0e9a5f 11:16:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:16:59 ---> Running in 2ae9cfeaccda 11:16:59 Removing intermediate container 6172fd41fdb3 11:16:59 ---> 51035b3bd2d1 11:16:59 Step 11/24 : RUN $MAKE 11:16:59 ---> Running in c87b7c2cb512 11:16:59 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:16:59 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:17:00 (1/6) Installing dumb-init (1.2.2-r1) 11:17:00 (2/6) Installing libgcc (9.3.0-r2) 11:17:00 (3/6) Installing libsodium (1.0.18-r0) 11:17:00 (4/6) Installing libstdc++ (9.3.0-r2) 11:17:00 (5/6) Installing libzmq (4.3.3-r0) 11:17:00 (6/6) Installing zeromq (4.3.3-r0) 11:17:00 Executing busybox-1.31.1-r20.trigger 11:17:00 OK: 8 MiB in 20 packages 11:17:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 11:17:00 Removing intermediate container 2ae9cfeaccda 11:17:00 ---> 00f803598284 11:17:00 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:17:01 ---> dbadeeb6800f 11:17:01 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:17:01 ---> 6904b8b5f234 11:17:01 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:17:02 ---> 7df6c56a24d0 11:17:02 Step 19/24 : EXPOSE 49986 11:17:02 ---> Running in 06ae569358a4 11:17:02 Removing intermediate container 06ae569358a4 11:17:02 ---> 580559fbb04d 11:17:02 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 11:17:02 ---> Running in be8aa3ed4a36 11:17:03 Removing intermediate container be8aa3ed4a36 11:17:03 ---> 8725a9b76775 11:17:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:17:03 ---> Running in 42a866580d1e 11:17:03 Removing intermediate container 42a866580d1e 11:17:03 ---> 97f4ba11d57f 11:17:03 Step 22/24 : LABEL arch=amd64 11:17:03 ---> Running in 0e2d6e3fb9df 11:17:03 Removing intermediate container 0e2d6e3fb9df 11:17:03 ---> 7344125eeaad 11:17:03 Step 23/24 : LABEL git_sha=7daf06878b1861d1fe11ae13c28bceaff0b70a18 11:17:03 ---> Running in c70eddd8430a 11:17:04 Removing intermediate container c70eddd8430a 11:17:04 ---> 1d1d7922ad0e 11:17:04 Step 24/24 : LABEL version=0.0.0 11:17:04 ---> Running in ed7ae0d74c2c 11:17:04 Removing intermediate container ed7ae0d74c2c 11:17:04 ---> 451677c8868b 11:17:04 [Warning] One or more build-args [ARCH] were not consumed 11:17:04 Successfully built 451677c8868b 11:17:04 Successfully tagged docker-device-rest-go:latest [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] libraryResource [Pipeline] sh 11:17:05 ---> job-cost.sh 11:17:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-l08h 11:17:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:17:39 Removing intermediate container c87b7c2cb512 11:17:39 ---> fee7c14cd65a 11:17:39 Step 12/24 : FROM alpine:3.12 11:17:39 3.12: Pulling from library/alpine 11:17:39 d2f70382dc9a: Pulling fs layer 11:17:39 d2f70382dc9a: Download complete 11:17:39 d2f70382dc9a: Pull complete 11:17:39 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:17:39 Status: Downloaded newer image for alpine:3.12 11:17:39 ---> 9852663dfa18 11:17:39 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:17:39 ---> Running in b81981ca4087 11:17:39 Removing intermediate container b81981ca4087 11:17:39 ---> 08c65a8bbc61 11:17:39 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:17:39 ---> Running in 3bdad006e3c1 11:17:40 Removing intermediate container 3bdad006e3c1 11:17:40 ---> 933dc6e340ed 11:17:40 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:17:40 ---> Running in 445446391dcf 11:17:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:17:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:17:42 (1/6) Installing dumb-init (1.2.2-r1) 11:17:42 (2/6) Installing libgcc (9.3.0-r2) 11:17:42 (3/6) Installing libsodium (1.0.18-r0) 11:17:42 (4/6) Installing libstdc++ (9.3.0-r2) 11:17:42 (5/6) Installing libzmq (4.3.3-r0) 11:17:42 (6/6) Installing zeromq (4.3.3-r0) 11:17:42 Executing busybox-1.31.1-r20.trigger 11:17:42 OK: 8 MiB in 20 packages 11:17:43 Removing intermediate container 445446391dcf 11:17:43 ---> 81de37bf3fa7 11:17:43 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:17:45 ---> c1877c39c237 11:17:45 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:17:45 ---> 670b1844ba72 11:17:45 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:17:46 ---> 16f903f751b0 11:17:46 Step 19/24 : EXPOSE 49986 11:17:46 ---> Running in a47c7892f294 11:17:46 Removing intermediate container a47c7892f294 11:17:46 ---> e37054897d67 11:17:46 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 11:17:47 ---> Running in e9afbb28676f 11:17:47 Removing intermediate container e9afbb28676f 11:17:47 ---> a7a11cb6e048 11:17:47 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:17:47 ---> Running in dd7682c15ed9 11:17:48 Removing intermediate container dd7682c15ed9 11:17:48 ---> 7a88061dcb0d 11:17:48 Step 22/24 : LABEL arch=arm64 11:17:48 ---> Running in b07c81e2ef5a 11:17:48 Removing intermediate container b07c81e2ef5a 11:17:48 ---> f3f37f677b89 11:17:48 Step 23/24 : LABEL git_sha=7daf06878b1861d1fe11ae13c28bceaff0b70a18 11:17:48 ---> Running in 496b87171da0 11:17:49 Removing intermediate container 496b87171da0 11:17:49 ---> 25c5e58cda2a 11:17:49 Step 24/24 : LABEL version=0.0.0 11:17:49 ---> Running in 733f4bfae978 11:17:49 Removing intermediate container 733f4bfae978 11:17:49 ---> cc2dbb25aa9f 11:17:49 [Warning] One or more build-args [ARCH] were not consumed 11:17:49 Successfully built cc2dbb25aa9f 11:17:49 Successfully tagged docker-device-rest-go-arm64:latest [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] libraryResource [Pipeline] sh 11:17:50 ---> job-cost.sh 11:17:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aGm6 11:17:55 lf-activate-venv(): INFO: Adding /tmp/venv-l08h/bin to PATH 11:17:55 INFO: No Stack... 11:17:55 INFO: Retrieving Pricing Info for: v1-standard-2 11:17:55 INFO: Archiving Costs [Pipeline] sh 11:17:55 + cat /w/workspace/device-rest-go/2/archives/cost.csv 11:17:55 + cut -d, -f6 [Pipeline] lock 11:17:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] 11:17:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] did not exist. Created. 11:17:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:56 + echo total: 0.029999999329447746 [Pipeline] stash 11:17:56 Stashed 1 file(s) [Pipeline] } 11:17:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:18:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:20:14 lf-activate-venv(): INFO: Adding /tmp/venv-aGm6/bin to PATH 11:20:14 INFO: No Stack... 11:20:14 INFO: Retrieving Pricing Info for: lf-standard-4 11:20:14 INFO: Archiving Costs [Pipeline] sh 11:20:14 + cut -d, -f6 11:20:14 + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 11:20:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] 11:20:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] did not exist. Created. 11:20:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:20:14 /w/workspace/device-rest-go/2@tmp/durable-c72dbb97/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-c72dbb97/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:20:15 + echo total: 0.20999999344348907 [Pipeline] stash 11:20:15 Warning: overwriting stash ‘stack-cost’ 11:20:15 Stashed 1 file(s) [Pipeline] } 11:20:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-2-stack-cost] [Pipeline] // lock [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] wrap 11:20:16 provisioning config files... 11:20:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config3383769249306894892tmp [Pipeline] { [Pipeline] sh 11:20:16 + set +x 11:20:16 + curl -s https://codecov.io/bash 11:20:16 + bash -s -- 11:20:17 11:20:17 _____ _ 11:20:17 / ____| | | 11:20:17 | | ___ __| | ___ ___ _____ __ 11:20:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:20:17 | |___| (_) | (_| | __/ (_| (_) \ V / 11:20:17 \_____\___/ \__,_|\___|\___\___/ \_/ 11:20:17 Bash-1.0.2 11:20:17 11:20:17 11:20:17 ==> git version 2.24.3 found 11:20:17 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 11:20:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:20:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:20:17 ==> Jenkins CI detected. 11:20:17 project root: . 11:20:17 --> token set from env 11:20:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:20:17 ==> Running gcov in . (disable via -X gcov) 11:20:17 ==> Python coveragepy not found 11:20:17 ==> Searching for coverage reports in: 11:20:17 + . 11:20:17 -> Found 1 reports 11:20:17 ==> Detecting git/mercurial file structure 11:20:17 ==> Reading reports 11:20:17 + ./coverage.out bytes=8513 11:20:17 ==> Appending adjustments 11:20:17 https://docs.codecov.io/docs/fixing-reports 11:20:17 + Found adjustments 11:20:17 ==> Gzipping contents 11:20:17 4.0K /tmp/codecov.bmg4FE.gz 11:20:17 ==> Uploading reports 11:20:17 url: https://codecov.io 11:20:17 query: branch=PR-85&commit=7daf06878b1861d1fe11ae13c28bceaff0b70a18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= 11:20:17 -> Pinging Codecov 11:20:17 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-85&commit=7daf06878b1861d1fe11ae13c28bceaff0b70a18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= 11:20:18 -> Uploading to 11:20:18 https://storage.googleapis.com/codecov/v4/raw/2021-05-09/4E5D53B4F1F92C436F7061BF334D961C/7daf06878b1861d1fe11ae13c28bceaff0b70a18/6dd07e47-efe5-4245-a225-29b31cbe3cca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T112018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8444aca11a410b3b1502bf0bfec72eaebdb0c3d629d173b2625f013330a090d 11:20:18 % Total % Received % Xferd Average Speed Time Time Time Current 11:20:18 Dload Upload Total Spent Left Speed 11:20:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3184 --:--:-- --:--:-- --:--:-- 3190 11:20:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7daf06878b1861d1fe11ae13c28bceaff0b70a18 [Pipeline] } 11:20:19 Deleting 1 temporary files [Pipeline] // wrap [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 11:20:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:20:21 ---> package-listing.sh 11:20:21 ++ facter osfamily 11:20:21 ++ tr '[:upper:]' '[:lower:]' 11:20:21 + OS_FAMILY=redhat 11:20:21 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-85 11:20:21 + START_PACKAGES=/tmp/packages_start.txt 11:20:21 + END_PACKAGES=/tmp/packages_end.txt 11:20:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:20:21 + PACKAGES=/tmp/packages_start.txt 11:20:21 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' 11:20:21 + PACKAGES=/tmp/packages_end.txt 11:20:21 + case "${OS_FAMILY}" in 11:20:21 + rpm -qa 11:20:21 + sort 11:20:27 + '[' -f /tmp/packages_start.txt ']' 11:20:27 + '[' -f /tmp/packages_end.txt ']' 11:20:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:20:27 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' 11:20:27 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ 11:20:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ [Pipeline] echo 11:20:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:20:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:20:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:20:28 11:20:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:20:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:20:29 alpine: Pulling from edgex-lftools-log-publisher 11:20:29 df20fa9351a1: Pulling fs layer 11:20:29 36b3adc4ff6f: Pulling fs layer 11:20:29 8ad3a11d3b57: Pulling fs layer 11:20:29 46f8f816bc3b: Pulling fs layer 11:20:29 93b61091891f: Pulling fs layer 11:20:29 93b9cdb0e59b: Pulling fs layer 11:20:29 5e14af77c1be: Pulling fs layer 11:20:29 01666e4c0597: Pulling fs layer 11:20:29 aa168da1d23b: Pulling fs layer 11:20:29 46f8f816bc3b: Waiting 11:20:29 93b61091891f: Waiting 11:20:29 5e14af77c1be: Waiting 11:20:29 01666e4c0597: Waiting 11:20:29 aa168da1d23b: Waiting 11:20:29 93b9cdb0e59b: Waiting 11:20:29 36b3adc4ff6f: Verifying Checksum 11:20:29 36b3adc4ff6f: Download complete 11:20:29 46f8f816bc3b: Verifying Checksum 11:20:29 46f8f816bc3b: Download complete 11:20:29 df20fa9351a1: Verifying Checksum 11:20:29 df20fa9351a1: Download complete 11:20:29 93b9cdb0e59b: Verifying Checksum 11:20:29 93b9cdb0e59b: Download complete 11:20:29 5e14af77c1be: Verifying Checksum 11:20:29 5e14af77c1be: Download complete 11:20:29 93b61091891f: Verifying Checksum 11:20:29 93b61091891f: Download complete 11:20:29 01666e4c0597: Verifying Checksum 11:20:29 01666e4c0597: Download complete 11:20:30 8ad3a11d3b57: Verifying Checksum 11:20:30 8ad3a11d3b57: Download complete 11:20:30 df20fa9351a1: Pull complete 11:20:30 36b3adc4ff6f: Pull complete 11:20:32 8ad3a11d3b57: Pull complete 11:20:32 46f8f816bc3b: Pull complete 11:20:33 93b61091891f: Pull complete 11:20:34 93b9cdb0e59b: Pull complete 11:20:34 5e14af77c1be: Pull complete 11:20:34 01666e4c0597: Pull complete 11:20:35 aa168da1d23b: Verifying Checksum 11:20:35 aa168da1d23b: Download complete 11:20:55 aa168da1d23b: Pull complete 11:20:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:20:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:20:55 prd-centos7-docker-4c-2g-3824 does not seem to be running inside a container 11:20:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:21:00 $ docker top 257285f538cd841fc3e107008e1c4a2cb1f1ea94346b895fcde31dd7e6248ced -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:00 + touch /tmp/pre-build-complete [Pipeline] sh 11:21:01 + mkdir -p /var/log/sa [Pipeline] sh 11:21:01 + ls /var/log/sa-host 11:21:01 + sadf -c /var/log/sa-host/sa09 11:21:01 file_magic: OK 11:21:01 HZ: Using current value: 100 11:21:01 file_header: OK 11:21:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 11:21:01 Statistics: 11:21:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:21:01 File successfully converted to sysstat format version 12.2.1 11:21:01 + sadf -c /var/log/sa-host/sa23 11:21:01 file_magic: OK 11:21:01 HZ: Using current value: 100 11:21:01 file_header: OK 11:21:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 11:21:01 Statistics: 11:21:01 Hnuu...uuuununununu... 11:21:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:21:02 provisioning config files... 11:21:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config3065263985513732010tmp [Pipeline] { [Pipeline] echo 11:21:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:21:02 ---> create-netrc.sh [Pipeline] } 11:21:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:21:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:21:03 ---> python-tools-install.sh [Pipeline] echo 11:21:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:21:04 ---> sudo-logs.sh 11:21:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:21:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:21:05 ---> job-cost.sh 11:21:05 lf-activate-venv: SKIPPING 11:21:05 DEBUG: total: 0.20999999344348907 11:21:05 INFO: Retrieving Stack Cost... 11:21:06 INFO: Retrieving Pricing Info for: v1-standard-2 11:21:07 INFO: Archiving Costs [Pipeline] echo 11:21:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:21:07 ---> logs-deploy.sh 11:21:07 lf-activate-venv: SKIPPING 11:21:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-85/2 11:21:07 INFO: archiving workspace using pattern(s): 11:21:10 Archives upload complete. 11:21:10 INFO: archiving logs to Nexus