Pull request #94 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 4f98354a1324b6971af40554b83b1d8fb938970d rather than 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c Obtained Jenkinsfile from 4f98354a1324b6971af40554b83b1d8fb938970d 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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: 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4614 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [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-94 # 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 > 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/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c Merge succeeded, producing 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c Checking out Revision 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # 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 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 Commit message: "fix(build): update Dockerfiles to use go 1.16" > git rev-list --no-walk 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:49:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:49:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:49:06 ========================================================= 22:49:06 EdgeX Global Pipelines Version Info 22:49:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:49:08 ------------------- 22:49:08 stable info: 22:49:08 ------------------- 22:49:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:49:08 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:49:08 Message: update stable to v1.0.192 22:49:09 ------------------- 22:49:09 experimental info: 22:49:09 ------------------- 22:49:09 Commited By: **** collab-it+edgex@linuxfoundation.org 22:49:09 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:49:09 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [Pipeline] echo 22:49:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9520ed6 [Pipeline] echo 22:49:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:49:10 provisioning config files... 22:49:10 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config7856604848297776062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:10 ---> docker-login.sh 22:49:10 nexus3.edgexfoundry.org:10001 22:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:10 Configure a credential helper to remove this warning. See 22:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:10 22:49:10 Login Succeeded 22:49:10 nexus3.edgexfoundry.org:10002 22:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:11 Configure a credential helper to remove this warning. See 22:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:11 22:49:11 Login Succeeded 22:49:11 nexus3.edgexfoundry.org:10003 22:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:11 Configure a credential helper to remove this warning. See 22:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:11 22:49:11 Login Succeeded 22:49:11 nexus3.edgexfoundry.org:10004 22:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:11 Configure a credential helper to remove this warning. See 22:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:11 22:49:11 Login Succeeded 22:49:11 docker.io 22:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:12 Configure a credential helper to remove this warning. See 22:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:12 22:49:12 Login Succeeded 22:49:12 ---> docker-login.sh ends [Pipeline] } 22:49: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 22:49:12 + git log --format=format:%s -1 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [Pipeline] echo 22:49:12 GIT_COMMIT: 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c, Commit Message: fix(build): update Dockerfiles to use go 1.16 [Pipeline] echo 22:49:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:49:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:49:13 22:49:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:49:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:49:13 latest: Pulling from edgex-devops/git-semver 22:49:13 31603596830f: Pulling fs layer 22:49:13 54011a49482f: Pulling fs layer 22:49:13 a6820b24f6d8: Pulling fs layer 22:49:13 f581987b2513: Pulling fs layer 22:49:13 f581987b2513: Waiting 22:49:13 54011a49482f: Verifying Checksum 22:49:13 54011a49482f: Download complete 22:49:13 31603596830f: Verifying Checksum 22:49:13 31603596830f: Download complete 22:49:13 a6820b24f6d8: Verifying Checksum 22:49:13 a6820b24f6d8: Download complete 22:49:13 f581987b2513: Verifying Checksum 22:49:13 f581987b2513: Download complete 22:49:14 31603596830f: Pull complete 22:49:14 54011a49482f: Pull complete 22:49:15 a6820b24f6d8: Pull complete 22:49:15 f581987b2513: Pull complete 22:49:15 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:49:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:49:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:49:15 prd-centos7-docker-4c-2g-4614 does not seem to be running inside a container 22:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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:10004/edgex-devops/git-semver:latest cat 22:49:17 $ docker top 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:49:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:49:17 [ssh-agent] Looking for ssh-agent implementation... 22:49:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:49:18 $ docker exec 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent 22:49:18 SSH_AUTH_SOCK=/tmp/ssh-2O0MZrhrBjw8/agent.11 22:49:18 SSH_AGENT_PID=17 22:49:18 Running ssh-add (command line suppressed) 22:49:18 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2348098813993913905.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2348098813993913905.key) 22:49:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:49:18 + git tag --points-at HEAD [Pipeline] } 22:49:18 $ docker exec --env ******** --env ******** 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent -k 22:49:18 unset SSH_AUTH_SOCK; 22:49:18 unset SSH_AGENT_PID; 22:49:18 echo Agent pid 17 killed; 22:49:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:49:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:49:18 [ssh-agent] Looking for ssh-agent implementation... 22:49:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:49:19 $ docker exec 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent 22:49:19 SSH_AUTH_SOCK=/tmp/ssh-wPgAQ0kH4vSo/agent.45 22:49:19 SSH_AGENT_PID=51 22:49:19 Running ssh-add (command line suppressed) 22:49:19 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2637485560718233801.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_2637485560718233801.key) 22:49:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:49:19 + git semver init 22:49:19 # -> Open(): unable to determine branch for HEAD 22:49:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.git 22:49:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-94 22:49:19 # $SEMVER_REMOTE_NAME = origin 22:49:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:49:19 # $SEMVER_USER_NAME = edgex-jenkins 22:49:19 # $SEMVER_BRANCH = PR-94 22:49:19 # $SEMVER_TEMP = /tmp/semver-932269653 22:49:19 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:49:21 # '/tmp/semver-932269653' -> '/w/workspace/dgexfoundry_device-rest-go_PR-94/.semver' 22:49:21 # -> Force: false 22:49:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.semver [Pipeline] } 22:49:21 $ docker exec --env ******** --env ******** 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e ssh-agent -k 22:49:21 unset SSH_AUTH_SOCK; 22:49:21 unset SSH_AGENT_PID; 22:49:21 echo Agent pid 51 killed; 22:49:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:49:21 + git semver [Pipeline] } 22:49:21 $ docker stop --time=1 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e 22:49:23 $ docker rm -f 80daeb51fe953adfe66b1a42971061f2a3695e097295fa4269eb693d4b75611e [Pipeline] // withDockerContainer [Pipeline] sh 22:49:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:49:24 Stashed 1 file(s) [Pipeline] echo 22:49:24 [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 22:49:39 Still waiting to schedule task 22:49:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:49:39 Still waiting to schedule task 22:49:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:51:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4615 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws 22:51:49 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 22:51:54 Running on prd-centos7-docker-4c-2g-4616 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws 22:51:54 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 22:51:55 using credential edgex-jenkins-ssh 22:51:55 Cloning the remote Git repository 22:51:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:51:55 > git init /w/workspace/device-rest-go/2 # timeout=10 22:51:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:51:56 > git --version # timeout=10 22:51:56 > git --version # 'git version 2.17.1' 22:51:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:57 using credential edgex-jenkins-ssh 22:51:57 Cloning the remote Git repository 22:51:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:51:57 > git init /w/workspace/device-rest-go/2 # timeout=10 22:51:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:51:57 > git --version # timeout=10 22:51:57 > git --version # 'git version 2.24.3' 22:51:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:58 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c 22:51:58 Merge succeeded, producing 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c 22:51:58 Checking out Revision 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c (PR-94) 22:51:58 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c 22:51:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:51:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:51:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:51:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:51:58 > git config core.sparsecheckout # timeout=10 22:51:58 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 22:51:58 > git remote # timeout=10 22:51:58 > git config --get remote.origin.url # timeout=10 22:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:58 > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 22:51:58 > git rev-parse HEAD^{commit} # timeout=10 22:51:58 > git config core.sparsecheckout # timeout=10 22:51:58 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 22:51:58 Merge succeeded, producing 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c 22:51:58 Checking out Revision 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c (PR-94) 22:51:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:51:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:51:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:51:58 > git config core.sparsecheckout # timeout=10 22:51:58 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 22:51:58 > git remote # timeout=10 22:51:58 > git config --get remote.origin.url # timeout=10 22:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:58 > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 22:51:58 > git rev-parse HEAD^{commit} # timeout=10 22:51:58 > git config core.sparsecheckout # timeout=10 22:51:58 > git checkout -f 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 22:52:02 Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 22:52:02 Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:52:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:52:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:52:04 + true 22:52:04 + sudo service docker restart 22:52:04 Redirecting to /bin/systemctl restart docker.service 22:52:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:52:05 + + sudo servicetrue docker 22:52:05 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:52:06 provisioning config files... 22:52:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config883686524988219439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:07 ---> docker-login.sh 22:52:07 nexus3.edgexfoundry.org:10001 22:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:07 Configure a credential helper to remove this warning. See 22:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:07 22:52:07 Login Succeeded 22:52:07 nexus3.edgexfoundry.org:10002 22:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:07 Configure a credential helper to remove this warning. See 22:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:07 22:52:07 Login Succeeded 22:52:07 nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:52:07 provisioning config files... 22:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:07 Configure a credential helper to remove this warning. See 22:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:07 22:52:07 Login Succeeded 22:52:07 nexus3.edgexfoundry.org:10004 22:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config203548365464132738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:08 Configure a credential helper to remove this warning. See 22:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:08 22:52:08 Login Succeeded 22:52:08 docker.io 22:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:08 ---> docker-login.sh 22:52:08 nexus3.edgexfoundry.org:10001 22:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:08 Configure a credential helper to remove this warning. See 22:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:08 22:52:08 Login Succeeded 22:52:08 ---> docker-login.sh ends [Pipeline] } 22:52:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:52:08 ========================================================= 22:52:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:52:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:08 + 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 . 22:52:08 Sending build context to Docker daemon 92.16kB 22:52:08 Step 1/10 : ARG BASE=golang:1.16-alpine3.13 22:52:08 Step 2/10 : FROM ${BASE} 22:52:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:52:08 540db60ca938: Pulling fs layer 22:52:08 adcc1eea9eea: Pulling fs layer 22:52:08 4c4ab2625f07: Pulling fs layer 22:52:08 0510c868ecb4: Pulling fs layer 22:52:08 afea3b2eda06: Pulling fs layer 22:52:08 7809a108b3ef: Pulling fs layer 22:52:08 f706445af74f: Pulling fs layer 22:52:08 afea3b2eda06: Waiting 22:52:08 7809a108b3ef: Waiting 22:52:08 f706445af74f: Waiting 22:52:08 0510c868ecb4: Waiting 22:52:09 4c4ab2625f07: Verifying Checksum 22:52:09 4c4ab2625f07: Download complete 22:52:09 adcc1eea9eea: Verifying Checksum 22:52:09 adcc1eea9eea: Download complete 22:52:09 afea3b2eda06: Download complete 22:52:09 7809a108b3ef: Download complete 22:52:09 540db60ca938: Verifying Checksum 22:52:09 540db60ca938: Download complete 22:52:09 540db60ca938: Pull complete 22:52:09 adcc1eea9eea: Pull complete 22:52:09 4c4ab2625f07: Pull complete 22:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:09 Configure a credential helper to remove this warning. See 22:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:09 22:52:09 Login Succeeded 22:52:09 nexus3.edgexfoundry.org:10002 22:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:10 Configure a credential helper to remove this warning. See 22:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:10 22:52:10 Login Succeeded 22:52:10 nexus3.edgexfoundry.org:10003 22:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:10 Configure a credential helper to remove this warning. See 22:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:10 22:52:10 Login Succeeded 22:52:10 nexus3.edgexfoundry.org:10004 22:52:11 f706445af74f: Verifying Checksum 22:52:11 f706445af74f: Download complete 22:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:11 Configure a credential helper to remove this warning. See 22:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:11 22:52:11 Login Succeeded 22:52:11 docker.io 22:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:11 0510c868ecb4: Download complete 22:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:12 Configure a credential helper to remove this warning. See 22:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:12 22:52:12 Login Succeeded 22:52:12 ---> docker-login.sh ends [Pipeline] } 22:52:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:52:12 ========================================================= 22:52:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:52:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:52:12 + 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 . 22:52:12 Sending build context to Docker daemon 92.16kB 22:52:13 Step 1/10 : ARG BASE=golang:1.16-alpine3.13 22:52:13 Step 2/10 : FROM ${BASE} 22:52:13 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:52:13 595b0fe564bb: Pulling fs layer 22:52:13 7186ed65a4f7: Pulling fs layer 22:52:13 316046926c0a: Pulling fs layer 22:52:13 4ebd0625c992: Pulling fs layer 22:52:13 207e8628e3a3: Pulling fs layer 22:52:13 c791037a9be2: Pulling fs layer 22:52:13 ffd874e62e21: Pulling fs layer 22:52:13 207e8628e3a3: Waiting 22:52:13 c791037a9be2: Waiting 22:52:13 ffd874e62e21: Waiting 22:52:13 4ebd0625c992: Waiting 22:52:13 316046926c0a: Download complete 22:52:13 7186ed65a4f7: Download complete 22:52:13 207e8628e3a3: Verifying Checksum 22:52:13 207e8628e3a3: Download complete 22:52:13 c791037a9be2: Verifying Checksum 22:52:13 c791037a9be2: Download complete 22:52:13 595b0fe564bb: Verifying Checksum 22:52:13 595b0fe564bb: Download complete 22:52:14 595b0fe564bb: Pull complete 22:52:14 7186ed65a4f7: Pull complete 22:52:15 316046926c0a: Pull complete 22:52:15 ffd874e62e21: Verifying Checksum 22:52:15 ffd874e62e21: Download complete 22:52:16 4ebd0625c992: Verifying Checksum 22:52:16 4ebd0625c992: Download complete 22:52:18 0510c868ecb4: Pull complete 22:52:18 afea3b2eda06: Pull complete 22:52:18 7809a108b3ef: Pull complete 22:52:22 f706445af74f: Pull complete 22:52:22 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:52:22 ---> b068be0155e3 22:52:22 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:52:23 ---> Running in 7375410f6f1f 22:52:23 Removing intermediate container 7375410f6f1f 22:52:23 ---> 88a8b3cdbcca 22:52:23 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:52:23 ---> Running in 7682c9dcf927 22:52:23 Removing intermediate container 7682c9dcf927 22:52:23 ---> 59735fedb851 22:52:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:52:23 ---> Running in 89fad881c90f 22:52:24 Removing intermediate container 89fad881c90f 22:52:24 ---> 7cfd841246b2 22:52:24 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:24 ---> Running in 2b3b414300c9 22:52:25 Removing intermediate container 2b3b414300c9 22:52:25 ---> ce23251cfc02 22:52:25 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:52:25 ---> Running in aed680e3dd20 22:52:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:52:26 4ebd0625c992: Pull complete 22:52:26 207e8628e3a3: Pull complete 22:52:26 c791037a9be2: Pull complete 22:52:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:52:27 (1/9) Installing libc-dev (0.7.2-r3) 22:52:27 (2/9) Installing libsodium (1.0.18-r0) 22:52:27 (3/9) Installing pkgconf (1.7.3-r0) 22:52:27 (4/9) Installing libsodium-dev (1.0.18-r0) 22:52:27 (5/9) Installing openssh-keygen (8.4_p1-r3) 22:52:27 (6/9) Installing libedit (20191231.3.1-r1) 22:52:28 (7/9) Installing openssh-client (8.4_p1-r3) 22:52:28 (8/9) Installing libzmq (4.3.3-r1) 22:52:28 (9/9) Installing zeromq-dev (4.3.3-r1) 22:52:28 Executing busybox-1.32.1-r6.trigger 22:52:28 OK: 154 MiB in 49 packages 22:52:29 Removing intermediate container aed680e3dd20 22:52:29 ---> 5b2665b5fe7f 22:52:29 Step 8/10 : WORKDIR /device-rest-go 22:52:29 ---> Running in 1717813db811 22:52:29 Removing intermediate container 1717813db811 22:52:29 ---> b284e2086252 22:52:29 Step 9/10 : COPY . . 22:52:29 ---> a5b5865ddaf0 22:52:29 Step 10/10 : RUN go mod download 22:52:30 ---> Running in a2e090dfdf76 22:52:31 ffd874e62e21: Pull complete 22:52:31 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:52:31 ---> cfc18b08335c 22:52:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:52:33 ---> Running in 515293fc2859 22:52:34 Removing intermediate container 515293fc2859 22:52:34 ---> fb6c8a768a1c 22:52:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:52:34 ---> Running in 0299d0f51860 22:52:34 Removing intermediate container 0299d0f51860 22:52:34 ---> cb697610a048 22:52:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:52:34 ---> Running in ede1a3480eb6 22:52:35 Removing intermediate container ede1a3480eb6 22:52:35 ---> 08bd1a912bf7 22:52:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:35 ---> Running in df2f4e20fec8 22:52:38 Removing intermediate container df2f4e20fec8 22:52:38 ---> a6b8e5ecd21c 22:52:38 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:52:38 ---> Running in 749c6e0be7b0 22:52:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:52:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:52:41 (1/9) Installing libc-dev (0.7.2-r3) 22:52:41 (2/9) Installing libsodium (1.0.18-r0) 22:52:41 (3/9) Installing pkgconf (1.7.3-r0) 22:52:41 (4/9) Installing libsodium-dev (1.0.18-r0) 22:52:41 (5/9) Installing openssh-keygen (8.4_p1-r3) 22:52:41 (6/9) Installing libedit (20191231.3.1-r1) 22:52:41 (7/9) Installing openssh-client (8.4_p1-r3) 22:52:41 (8/9) Installing libzmq (4.3.3-r1) 22:52:42 (9/9) Installing zeromq-dev (4.3.3-r1) 22:52:42 Executing busybox-1.32.1-r6.trigger 22:52:42 OK: 144 MiB in 49 packages 22:52:43 Removing intermediate container 749c6e0be7b0 22:52:43 ---> 7024fcd305bd 22:52:43 Step 8/10 : WORKDIR /device-rest-go 22:52:43 ---> Running in fabc6a09319b 22:52:44 Removing intermediate container fabc6a09319b 22:52:44 ---> b74ffce50a9a 22:52:44 Step 9/10 : COPY . . 22:52:45 ---> d3807400b563 22:52:45 Step 10/10 : RUN go mod download 22:52:45 ---> Running in d85c69290cc3 22:52:56 Removing intermediate container a2e090dfdf76 22:52:56 ---> 2c71ab389a51 22:52:56 Successfully built 2c71ab389a51 22:52:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:52:57 + docker inspect -f . ci-base-image-x86_64 22:52:57 . [Pipeline] withDockerContainer 22:52:57 prd-centos7-docker-4c-2g-4616 does not seem to be running inside a container 22:52:57 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:52:58 $ docker top e59f5bf6b930242983e2f57a5979367a54c97f049ac6e72c8105d110e9b77995 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:58 + go version 22:52:58 go version go1.16.3 linux/amd64 [Pipeline] } 22:52:58 $ docker stop --time=1 e59f5bf6b930242983e2f57a5979367a54c97f049ac6e72c8105d110e9b77995 22:53:00 $ docker rm -f e59f5bf6b930242983e2f57a5979367a54c97f049ac6e72c8105d110e9b77995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:53:00 + docker inspect -f . ci-base-image-x86_64 22:53:00 . [Pipeline] withDockerContainer 22:53:00 prd-centos7-docker-4c-2g-4616 does not seem to be running inside a container 22:53:00 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:53:01 $ docker top c963515fd11ee7a7cd9bd3a0301d9427b28cb6b5ed7acc4c7505d29fb4de744c -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:02 + go mod tidy [Pipeline] sh 22:53:03 + make test 22:53:03 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:53:03 ? github.com/edgexfoundry/device-rest-go [no test files] 22:53:11 Removing intermediate container d85c69290cc3 22:53:11 ---> da8f18e3500c 22:53:11 Successfully built da8f18e3500c 22:53:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:53:12 + docker inspect -f . ci-base-image-arm64 22:53:12 . [Pipeline] withDockerContainer 22:53:12 prd-ubuntu18.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container 22:53:12 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:53:14 $ docker top c1e3aaecde20cdedb64d606144d01ffcb1627ba01756fc299fbf5a3a848166c9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:15 + go version 22:53:15 go version go1.16.3 linux/arm64 [Pipeline] } 22:53:15 $ docker stop --time=1 c1e3aaecde20cdedb64d606144d01ffcb1627ba01756fc299fbf5a3a848166c9 22:53:17 $ docker rm -f c1e3aaecde20cdedb64d606144d01ffcb1627ba01756fc299fbf5a3a848166c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:53:17 + docker inspect -f . ci-base-image-arm64 22:53:17 . [Pipeline] withDockerContainer 22:53:18 prd-ubuntu18.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container 22:53:18 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:53:19 $ docker top dcaca3598fea9a107f6d9b92a6037c364f9e8760304bce60499189f4d3b78791 -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:20 + go mod tidy [Pipeline] sh 22:53:21 + make test 22:53:21 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:53:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:53:22 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 54.0% of statements 22:53:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:53:22 ? github.com/edgexfoundry/device-rest-go [no test files] 22:53:30 gofmt -l . 22:53:30 [ "`gofmt -l .`" = "" ] 22:53:30 ./bin/test-go-mod-tidy.sh 22:53:31 ./bin/test-attribution-txt.sh [Pipeline] } 22:53:31 $ docker stop --time=1 c963515fd11ee7a7cd9bd3a0301d9427b28cb6b5ed7acc4c7505d29fb4de744c 22:53:33 $ docker rm -f c963515fd11ee7a7cd9bd3a0301d9427b28cb6b5ed7acc4c7505d29fb4de744c [Pipeline] // withDockerContainer [Pipeline] sh 22:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:53:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:53:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:53:37 + ls -al . 22:53:37 total 104 22:53:37 drwxrwxr-x. 8 jenkins jenkins 4096 May 11 22:53 . 22:53:37 drwxrwxr-x. 4 jenkins jenkins 28 May 11 22:51 .. 22:53:37 -rw-rw-r--. 1 jenkins jenkins 6792 May 11 22:51 Attribution.txt 22:53:37 drwxrwxr-x. 2 jenkins jenkins 64 May 11 22:51 bin 22:53:37 drwxrwxr-x. 3 jenkins jenkins 32 May 11 22:51 cmd 22:53:37 -rw-r--r--. 1 jenkins jenkins 8513 May 11 22:53 coverage.out 22:53:37 -rw-rw-r--. 1 jenkins jenkins 1602 May 11 22:51 Dockerfile 22:53:37 -rw-rw-r--. 1 jenkins jenkins 1087 May 11 22:51 Dockerfile.build 22:53:37 -rw-rw-r--. 1 jenkins jenkins 151 May 11 22:51 .dockerignore 22:53:37 drwxrwxr-x. 2 jenkins jenkins 76 May 11 22:51 driver 22:53:37 drwxrwxr-x. 8 jenkins jenkins 179 May 11 22:52 .git 22:53:37 drwxrwxr-x. 2 jenkins jenkins 103 May 11 22:51 .github 22:53:37 -rw-rw-r--. 1 jenkins jenkins 339 May 11 22:51 .gitignore 22:53:37 -rw-r--r--. 1 jenkins jenkins 285 May 11 22:53 go.mod 22:53:37 -rw-r--r--. 1 jenkins jenkins 21011 May 11 22:53 go.sum 22:53:37 -rw-rw-r--. 1 jenkins jenkins 680 May 11 22:51 Jenkinsfile 22:53:37 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 22:51 LICENSE 22:53:37 -rw-rw-r--. 1 jenkins jenkins 976 May 11 22:51 Makefile 22:53:37 -rw-rw-r--. 1 jenkins jenkins 7667 May 11 22:51 README.md 22:53:37 drwxrwxr-x. 4 jenkins jenkins 71 May 11 22:51 snap 22:53:37 -rw-rw-r--. 1 jenkins jenkins 5 May 11 22:49 VERSION 22:53:37 -rw-rw-r--. 1 jenkins jenkins 713 May 11 22:51 version.go [Pipeline] isUnix [Pipeline] sh 22:53:37 + 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=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c --label arch=amd64 --label version=0.0.0 . 22:53:37 Sending build context to Docker daemon 101.9kB 22:53:37 Step 1/24 : ARG BASE=golang:1.16-alpine3.13 22:53:37 Step 2/24 : FROM ${BASE} AS builder 22:53:37 ---> 2c71ab389a51 22:53:37 Step 3/24 : ARG MAKE='make build' 22:53:37 ---> Running in bf8425586b1f 22:53:37 Removing intermediate container bf8425586b1f 22:53:37 ---> b876f30c341e 22:53:37 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:53:38 ---> Running in 605a3667efeb 22:53:38 Removing intermediate container 605a3667efeb 22:53:38 ---> 83b6ee67fc4d 22:53:38 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:53:38 ---> Running in a4bcb30bf814 22:53:38 Removing intermediate container a4bcb30bf814 22:53:38 ---> 66f3f5d3d284 22:53:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:38 ---> Running in f32a95c89d92 22:53:39 Removing intermediate container f32a95c89d92 22:53:39 ---> b03b0e5f9e0e 22:53:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:53:39 ---> Running in c7c20aff21c9 22:53:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:53:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:53:41 OK: 154 MiB in 49 packages 22:53:42 Removing intermediate container c7c20aff21c9 22:53:42 ---> d7123726e800 22:53:42 Step 8/24 : WORKDIR /device-rest-go 22:53:42 ---> Running in c0951101762d 22:53:42 Removing intermediate container c0951101762d 22:53:42 ---> f645a802d8b6 22:53:42 Step 9/24 : COPY . . 22:53:42 ---> e7fab5bbdbe6 22:53:42 Step 10/24 : RUN make update 22:53:42 ---> Running in a51605aab8a5 22:53:43 CGO_ENABLED=0 GO111MODULE=on go mod download 22:53:43 Removing intermediate container a51605aab8a5 22:53:43 ---> 1a612191e20e 22:53:43 Step 11/24 : RUN $MAKE 22:53:43 ---> Running in c7c8caaacd41 22:53:44 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 22:53:59 Removing intermediate container c7c8caaacd41 22:53:59 ---> 9b2f070d1b1a 22:53:59 Step 12/24 : FROM alpine:3.13 22:53:59 3.13: Pulling from library/alpine 22:53:59 540db60ca938: Already exists 22:53:59 Digest: sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f 22:53:59 Status: Downloaded newer image for alpine:3.13 22:53:59 ---> 6dbb9cc54074 22:53:59 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:53:59 ---> Running in 9dce66c843a9 22:53:59 Removing intermediate container 9dce66c843a9 22:53:59 ---> 21ac3b5735dd 22:53:59 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:53:59 ---> Running in 0040026ed605 22:53:59 Removing intermediate container 0040026ed605 22:53:59 ---> 980fdecdc0b3 22:53:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:53:59 ---> Running in 695772db5b3f 22:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:53:59 (1/6) Installing dumb-init (1.2.5-r0) 22:53:59 (2/6) Installing libgcc (10.2.1_pre1-r3) 22:53:59 (3/6) Installing libsodium (1.0.18-r0) 22:53:59 (4/6) Installing libstdc++ (10.2.1_pre1-r3) 22:53:59 (5/6) Installing libzmq (4.3.3-r1) 22:53:59 (6/6) Installing zeromq (4.3.3-r1) 22:53:59 Executing busybox-1.32.1-r6.trigger 22:53:59 OK: 8 MiB in 20 packages 22:54:00 Removing intermediate container 695772db5b3f 22:54:00 ---> 3a34faa7d71c 22:54:00 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:54:01 ---> 3388005576d5 22:54:01 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:54:01 ---> dc2e4ca37509 22:54:01 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:54:01 ---> 1ed39487c944 22:54:01 Step 19/24 : EXPOSE 49986 22:54:01 ---> Running in 532bbc53f6b2 22:54:01 Removing intermediate container 532bbc53f6b2 22:54:01 ---> b7512a3c0487 22:54:01 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 22:54:02 ---> Running in aacd21b124e6 22:54:02 Removing intermediate container aacd21b124e6 22:54:02 ---> c83dd1bb6115 22:54:02 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:54:02 ---> Running in ce4a40336adc 22:54:02 Removing intermediate container ce4a40336adc 22:54:02 ---> 1890e593dd06 22:54:02 Step 22/24 : LABEL arch=amd64 22:54:02 ---> Running in 09e2e3c350d3 22:54:02 Removing intermediate container 09e2e3c350d3 22:54:02 ---> a152e2582131 22:54:02 Step 23/24 : LABEL git_sha=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c 22:54:02 ---> Running in 44b4e2d9b023 22:54:03 Removing intermediate container 44b4e2d9b023 22:54:03 ---> 8ba04cc7a2ae 22:54:03 Step 24/24 : LABEL version=0.0.0 22:54:03 ---> Running in 0549a1099098 22:54:03 Removing intermediate container 0549a1099098 22:54:03 ---> b1d292cc5d1e 22:54:03 [Warning] One or more build-args [ARCH] were not consumed 22:54:03 Successfully built b1d292cc5d1e 22:54:03 Successfully tagged device-rest: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 22:54:03 ---> job-cost.sh 22:54:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OYYw 22:54:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:54:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:54:19 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements 22:54:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:54:41 gofmt -l . 22:54:41 [ "`gofmt -l .`" = "" ] 22:54:41 ./bin/test-go-mod-tidy.sh 22:54:42 ./bin/test-attribution-txt.sh [Pipeline] } 22:54:44 $ docker stop --time=1 dcaca3598fea9a107f6d9b92a6037c364f9e8760304bce60499189f4d3b78791 22:54:45 lf-activate-venv(): INFO: Adding /tmp/venv-OYYw/bin to PATH 22:54:45 INFO: No Stack... 22:54:46 INFO: Retrieving Pricing Info for: v1-standard-2 22:54:46 $ docker rm -f dcaca3598fea9a107f6d9b92a6037c364f9e8760304bce60499189f4d3b78791 [Pipeline] // withDockerContainer [Pipeline] sh 22:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:54:47 INFO: Archiving Costs 22:54:47 Warning: overwriting stash ‘coverage-report’ [Pipeline] sh 22:54:47 + cat /w/workspace/device-rest-go/2/archives/cost.csv 22:54:47 + cut -d, -f6 [Pipeline] lock 22:54:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] 22:54:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] did not exist. Created. 22:54:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:48 + echo total: 0.029999999329447746 [Pipeline] stash 22:54:48 Stashed 1 file(s) [Pipeline] } 22:54:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 22:54:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:54:49 + ls -al . 22:54:49 total 132 22:54:49 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:54 . 22:54:49 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 .. 22:54:49 -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:51 .dockerignore 22:54:49 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:52 .git 22:54:49 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 .github 22:54:49 -rw-rw-r-- 1 jenkins jenkins 339 May 11 22:51 .gitignore 22:54:49 -rw-rw-r-- 1 jenkins jenkins 6792 May 11 22:51 Attribution.txt 22:54:49 -rw-rw-r-- 1 jenkins jenkins 1602 May 11 22:51 Dockerfile 22:54:49 -rw-rw-r-- 1 jenkins jenkins 1087 May 11 22:51 Dockerfile.build 22:54:49 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:51 Jenkinsfile 22:54:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:51 LICENSE 22:54:49 -rw-rw-r-- 1 jenkins jenkins 976 May 11 22:51 Makefile 22:54:49 -rw-rw-r-- 1 jenkins jenkins 7667 May 11 22:51 README.md 22:54:49 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:49 VERSION 22:54:49 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 bin 22:54:49 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 cmd 22:54:49 -rw-r--r-- 1 jenkins jenkins 8513 May 11 22:54 coverage.out 22:54:49 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 driver 22:54:49 -rw-r--r-- 1 jenkins jenkins 285 May 11 22:54 go.mod 22:54:49 -rw-r--r-- 1 jenkins jenkins 21011 May 11 22:53 go.sum 22:54:49 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 snap 22:54:49 -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:51 version.go [Pipeline] isUnix [Pipeline] sh 22:54:49 + 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=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c --label arch=arm64 --label version=0.0.0 . 22:54:49 Sending build context to Docker daemon 101.9kB 22:54:49 Step 1/24 : ARG BASE=golang:1.16-alpine3.13 22:54:49 Step 2/24 : FROM ${BASE} AS builder 22:54:49 ---> da8f18e3500c 22:54:49 Step 3/24 : ARG MAKE='make build' 22:54:50 ---> Running in d55bff53b5b1 22:54:50 Removing intermediate container d55bff53b5b1 22:54:50 ---> f4362926ca7b 22:54:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:54:50 ---> Running in f8a9c45fa203 22:54:51 Removing intermediate container f8a9c45fa203 22:54:51 ---> 8c02eb54326a 22:54:51 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:54:51 ---> Running in 2bfd29b4d6a5 22:54:51 Removing intermediate container 2bfd29b4d6a5 22:54:51 ---> 73b026b9d28f 22:54:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:51 ---> Running in 782b6db0b711 22:54:53 Removing intermediate container 782b6db0b711 22:54:53 ---> 41842f9be165 22:54:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:54 ---> Running in c15d2416f973 22:54:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:54:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:54:57 OK: 144 MiB in 49 packages 22:54:58 Removing intermediate container c15d2416f973 22:54:58 ---> c3a67a2dd8b0 22:54:58 Step 8/24 : WORKDIR /device-rest-go 22:54:58 ---> Running in 58f91289bb4b 22:54:58 Removing intermediate container 58f91289bb4b 22:54:58 ---> e3bfff61a150 22:54:58 Step 9/24 : COPY . . 22:54:59 ---> f37689f2827f 22:54:59 Step 10/24 : RUN make update 22:54:59 ---> Running in b971807b8ad3 22:55:00 CGO_ENABLED=0 GO111MODULE=on go mod download 22:55:01 Removing intermediate container b971807b8ad3 22:55:01 ---> a07a6daa0ffa 22:55:01 Step 11/24 : RUN $MAKE 22:55:01 ---> Running in c52fec6a32f5 22:55:02 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 22:55:41 Removing intermediate container c52fec6a32f5 22:55:41 ---> ec91470a973e 22:55:41 Step 12/24 : FROM alpine:3.13 22:55:41 3.13: Pulling from library/alpine 22:55:41 595b0fe564bb: Already exists 22:55:41 Digest: sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145e7bddb55ccc04e13cf8f 22:55:41 Status: Downloaded newer image for alpine:3.13 22:55:41 ---> 3fcaaf3dc95c 22:55:41 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:55:41 ---> Running in c114b78a7db7 22:55:41 Removing intermediate container c114b78a7db7 22:55:41 ---> c09069d556da 22:55:41 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:55:41 ---> Running in 9b46e3a643f2 22:55:41 Removing intermediate container 9b46e3a643f2 22:55:41 ---> a993b17a5b5a 22:55:41 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:55:41 ---> Running in a7579e2af724 22:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:55:41 (1/6) Installing dumb-init (1.2.5-r0) 22:55:41 (2/6) Installing libgcc (10.2.1_pre1-r3) 22:55:41 (3/6) Installing libsodium (1.0.18-r0) 22:55:41 (4/6) Installing libstdc++ (10.2.1_pre1-r3) 22:55:41 (5/6) Installing libzmq (4.3.3-r1) 22:55:41 (6/6) Installing zeromq (4.3.3-r1) 22:55:41 Executing busybox-1.32.1-r6.trigger 22:55:41 OK: 8 MiB in 20 packages 22:55:42 Removing intermediate container a7579e2af724 22:55:42 ---> 349cc547a2e5 22:55:42 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:55:44 ---> bde4d2a87c69 22:55:44 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:55:44 ---> 6420379ba66b 22:55:44 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:55:45 ---> 98339f24d7af 22:55:45 Step 19/24 : EXPOSE 49986 22:55:45 ---> Running in f696d0cbff5c 22:55:46 Removing intermediate container f696d0cbff5c 22:55:46 ---> 88bbcfdfe31f 22:55:46 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 22:55:46 ---> Running in d122079e1541 22:55:46 Removing intermediate container d122079e1541 22:55:46 ---> be9ac8c473fe 22:55:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:55:46 ---> Running in 80a28145f3c1 22:55:47 Removing intermediate container 80a28145f3c1 22:55:47 ---> 195c14cb6da9 22:55:47 Step 22/24 : LABEL arch=arm64 22:55:47 ---> Running in 0abc9978619a 22:55:48 Removing intermediate container 0abc9978619a 22:55:48 ---> 236c5edf47fb 22:55:48 Step 23/24 : LABEL git_sha=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c 22:55:48 ---> Running in 802d7492bb02 22:55:48 Removing intermediate container 802d7492bb02 22:55:48 ---> f9bac2ea1c9a 22:55:48 Step 24/24 : LABEL version=0.0.0 22:55:48 ---> Running in 0bfac463e9ed 22:55:49 Removing intermediate container 0bfac463e9ed 22:55:49 ---> 539fc8b9d065 22:55:49 [Warning] One or more build-args [ARCH] were not consumed 22:55:49 Successfully built 539fc8b9d065 22:55:49 Successfully tagged device-rest-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 22:55:49 ---> job-cost.sh 22:55:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sYdp 22:56:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:57:50 lf-activate-venv(): INFO: Adding /tmp/venv-sYdp/bin to PATH 22:57:50 INFO: No Stack... 22:57:50 INFO: Retrieving Pricing Info for: lf-standard-4 22:57:50 INFO: Archiving Costs [Pipeline] sh 22:57:50 + + cat /w/workspace/device-rest-go/2/archives/cost.csv 22:57:50 cut -d, -f6 [Pipeline] lock 22:57:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] 22:57:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] did not exist. Created. 22:57:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:57:51 /w/workspace/device-rest-go/2@tmp/durable-4abd9964/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-4abd9964/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:57:51 + echo total: 0.20999999344348907 [Pipeline] stash 22:57:51 Warning: overwriting stash ‘stack-cost’ 22:57:52 Stashed 1 file(s) [Pipeline] } 22:57:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-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 22:57:52 provisioning config files... 22:57:52 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config2155328970074643176tmp [Pipeline] { [Pipeline] sh 22:57:53 + set +x 22:57:53 + curl -s https://codecov.io/bash 22:57:53 + bash -s -- 22:57:53 22:57:53 _____ _ 22:57:53 / ____| | | 22:57:53 | | ___ __| | ___ ___ _____ __ 22:57:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:57:53 | |___| (_) | (_| | __/ (_| (_) \ V / 22:57:53 \_____\___/ \__,_|\___|\___\___/ \_/ 22:57:53 Bash-1.0.2 22:57:53 22:57:53 22:57:53 ==> git version 2.24.3 found 22:57:53 ==> 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 22:57:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:57:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:57:53 ==> Jenkins CI detected. 22:57:53 project root: . 22:57:53 --> token set from env 22:57:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:57:53 ==> Running gcov in . (disable via -X gcov) 22:57:53 ==> Python coveragepy not found 22:57:53 ==> Searching for coverage reports in: 22:57:53 + . 22:57:53 -> Found 1 reports 22:57:53 ==> Detecting git/mercurial file structure 22:57:53 ==> Reading reports 22:57:53 + ./coverage.out bytes=8513 22:57:53 ==> Appending adjustments 22:57:53 https://docs.codecov.io/docs/fixing-reports 22:57:53 + Found adjustments 22:57:53 ==> Gzipping contents 22:57:53 4.0K /tmp/codecov.C5M5td.gz 22:57:53 ==> Uploading reports 22:57:53 url: https://codecov.io 22:57:53 query: branch=PR-94&commit=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= 22:57:53 -> Pinging Codecov 22:57:53 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= 22:57:54 -> Uploading to 22:57:54 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c/6cd51ba3-23df-4170-a786-7f9589bbf49c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T225754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3ca9bfdaa30c751a183dfaf431d74ba0a2b72acc0d0f2e78366f94cf4d5874d 22:57:54 % Total % Received % Xferd Average Speed Time Time Time Current 22:57:54 Dload Upload Total Spent Left Speed 22:57:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3996 --:--:-- --:--:-- --:--:-- 4004 22:57:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c [Pipeline] } 22:57:54 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 22:57:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:57:55 ---> package-listing.sh 22:57:55 ++ facter osfamily 22:57:55 ++ tr '[:upper:]' '[:lower:]' 22:57:55 + OS_FAMILY=redhat 22:57:55 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-94 22:57:55 + START_PACKAGES=/tmp/packages_start.txt 22:57:55 + END_PACKAGES=/tmp/packages_end.txt 22:57:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:57:55 + PACKAGES=/tmp/packages_start.txt 22:57:55 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' 22:57:55 + PACKAGES=/tmp/packages_end.txt 22:57:55 + case "${OS_FAMILY}" in 22:57:55 + rpm -qa 22:57:55 + sort 22:58:01 + '[' -f /tmp/packages_start.txt ']' 22:58:01 + '[' -f /tmp/packages_end.txt ']' 22:58:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:58:01 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' 22:58:01 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ 22:58:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [Pipeline] echo 22:58:01 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:58:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:58:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:58:01 22:58:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:58:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:58:02 alpine: Pulling from edgex-lftools-log-publisher 22:58:02 df20fa9351a1: Pulling fs layer 22:58:02 36b3adc4ff6f: Pulling fs layer 22:58:02 8ad3a11d3b57: Pulling fs layer 22:58:02 46f8f816bc3b: Pulling fs layer 22:58:02 93b61091891f: Pulling fs layer 22:58:02 93b9cdb0e59b: Pulling fs layer 22:58:02 5e14af77c1be: Pulling fs layer 22:58:02 01666e4c0597: Pulling fs layer 22:58:02 aa168da1d23b: Pulling fs layer 22:58:02 93b61091891f: Waiting 22:58:02 93b9cdb0e59b: Waiting 22:58:02 5e14af77c1be: Waiting 22:58:02 01666e4c0597: Waiting 22:58:02 aa168da1d23b: Waiting 22:58:02 46f8f816bc3b: Waiting 22:58:02 36b3adc4ff6f: Download complete 22:58:02 46f8f816bc3b: Verifying Checksum 22:58:02 46f8f816bc3b: Download complete 22:58:02 df20fa9351a1: Download complete 22:58:02 93b9cdb0e59b: Verifying Checksum 22:58:02 93b9cdb0e59b: Download complete 22:58:02 5e14af77c1be: Verifying Checksum 22:58:02 5e14af77c1be: Download complete 22:58:02 93b61091891f: Download complete 22:58:02 01666e4c0597: Verifying Checksum 22:58:02 01666e4c0597: Download complete 22:58:02 8ad3a11d3b57: Verifying Checksum 22:58:02 8ad3a11d3b57: Download complete 22:58:02 df20fa9351a1: Pull complete 22:58:03 36b3adc4ff6f: Pull complete 22:58:03 8ad3a11d3b57: Pull complete 22:58:03 46f8f816bc3b: Pull complete 22:58:04 93b61091891f: Pull complete 22:58:04 aa168da1d23b: Verifying Checksum 22:58:04 aa168da1d23b: Download complete 22:58:05 93b9cdb0e59b: Pull complete 22:58:05 5e14af77c1be: Pull complete 22:58:05 01666e4c0597: Pull complete 22:58:11 aa168da1d23b: Pull complete 22:58:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:58:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:58:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:58:12 prd-centos7-docker-4c-2g-4614 does not seem to be running inside a container 22:58:12 $ 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-94/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-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:58:16 $ docker top 1f161ef636611df986bc29d5582b1e4d22c751808bc5f26c4f0dbf2a0b751c45 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:16 + touch /tmp/pre-build-complete [Pipeline] sh 22:58:16 + mkdir -p /var/log/sa [Pipeline] sh 22:58:17 + ls /var/log/sa-host 22:58:17 + sadf -c /var/log/sa-host/sa11 22:58:17 file_magic: OK 22:58:17 HZ: Using current value: 100 22:58:17 file_header: OK 22:58:17 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 22:58:17 Statistics: 22:58:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:58:17 File successfully converted to sysstat format version 12.2.1 22:58:17 + sadf -c /var/log/sa-host/sa23 22:58:17 file_magic: OK 22:58:17 HZ: Using current value: 100 22:58:17 file_header: OK 22:58:17 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 22:58:17 Statistics: 22:58:17 Hnuu...uuuununununu... 22:58:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:17 provisioning config files... 22:58:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config3007476220200242703tmp [Pipeline] { [Pipeline] echo 22:58:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:58:17 ---> create-netrc.sh [Pipeline] } 22:58:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:58:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:58:18 ---> python-tools-install.sh [Pipeline] echo 22:58:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:58:18 ---> sudo-logs.sh 22:58:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:58:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:58:18 ---> job-cost.sh 22:58:18 lf-activate-venv: SKIPPING 22:58:18 DEBUG: total: 0.20999999344348907 22:58:18 INFO: Retrieving Stack Cost... 22:58:19 INFO: Retrieving Pricing Info for: v1-standard-2 22:58:20 INFO: Archiving Costs [Pipeline] echo 22:58:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:58:20 ---> logs-deploy.sh 22:58:20 lf-activate-venv: SKIPPING 22:58:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-94/2 22:58:20 INFO: archiving workspace using pattern(s): 22:58:22 Archives upload complete. 22:58:22 INFO: archiving logs to Nexus 22:58:23 ---> uname -a: 22:58:23 Linux prd-centos7-docker-4c-2g-4614.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:58:23 22:58:23