Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75f49688efec1912c312743df3f39e9b386dbea7+196bef76aa0a3d89dc26ac944eff062c8405d7e3 (289c0aef0a68259e93ab515c14f89c2b69299c5d) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5142 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [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-92 # 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 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 Merge succeeded, producing 6469de8a50d7d8225b9b39b8f6371d04de064bb5 Checking out Revision 6469de8a50d7d8225b9b39b8f6371d04de064bb5 (PR-92) > 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/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # 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 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6469de8a50d7d8225b9b39b8f6371d04de064bb5 # timeout=10 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" > git rev-list --no-walk 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:07:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:07:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:07:42 ========================================================= 11:07:42 EdgeX Global Pipelines Version Info 11:07:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:07:44 ------------------- 11:07:44 stable info: 11:07:44 ------------------- 11:07:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:07:44 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 11:07:44 Message: update stable to v1.0.192 11:07:44 ------------------- 11:07:44 experimental info: 11:07:44 ------------------- 11:07:44 Commited By: **** collab-it+edgex@linuxfoundation.org 11:07:44 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 11:07:44 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:07:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:07:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:07:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:07:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:07:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:07:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-92 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-92 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-92 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6469de8a50d7d8225b9b39b8f6371d04de064bb5 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6469de8 [Pipeline] echo 11:07:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:07:45 provisioning config files... 11:07:45 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config8587680178378522229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:46 ---> docker-login.sh 11:07:46 nexus3.edgexfoundry.org:10001 11:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:46 Configure a credential helper to remove this warning. See 11:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:46 11:07:46 Login Succeeded 11:07:46 nexus3.edgexfoundry.org:10002 11:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:46 Configure a credential helper to remove this warning. See 11:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:46 11:07:46 Login Succeeded 11:07:46 nexus3.edgexfoundry.org:10003 11:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:47 Configure a credential helper to remove this warning. See 11:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:47 11:07:47 Login Succeeded 11:07:47 nexus3.edgexfoundry.org:10004 11:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:47 Configure a credential helper to remove this warning. See 11:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:47 11:07:47 Login Succeeded 11:07:47 docker.io 11:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:47 Configure a credential helper to remove this warning. See 11:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:47 11:07:47 Login Succeeded 11:07:47 ---> docker-login.sh ends [Pipeline] } 11:07:47 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:07:48 + git log --format=format:%s -1 6469de8a50d7d8225b9b39b8f6371d04de064bb5 [Pipeline] echo 11:07:48 GIT_COMMIT: 6469de8a50d7d8225b9b39b8f6371d04de064bb5, Commit Message: Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD [Pipeline] echo 11:07:48 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:07:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:07:49 11:07:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:07:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:07:49 latest: Pulling from edgex-devops/git-semver 11:07:49 31603596830f: Pulling fs layer 11:07:49 54011a49482f: Pulling fs layer 11:07:49 a6820b24f6d8: Pulling fs layer 11:07:49 f581987b2513: Pulling fs layer 11:07:49 f581987b2513: Waiting 11:07:49 54011a49482f: Verifying Checksum 11:07:49 54011a49482f: Download complete 11:07:49 31603596830f: Verifying Checksum 11:07:49 31603596830f: Download complete 11:07:49 f581987b2513: Verifying Checksum 11:07:49 f581987b2513: Download complete 11:07:49 a6820b24f6d8: Verifying Checksum 11:07:49 a6820b24f6d8: Download complete 11:07:50 31603596830f: Pull complete 11:07:50 54011a49482f: Pull complete 11:07:51 a6820b24f6d8: Pull complete 11:07:51 f581987b2513: Pull complete 11:07:51 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 11:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:07:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:07:51 prd-centos7-docker-4c-2g-5142 does not seem to be running inside a container 11:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-92 -v /w/workspace/dgexfoundry_device-rest-go_PR-92:/w/workspace/dgexfoundry_device-rest-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-92@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:07:54 $ docker top f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:07:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:54 [ssh-agent] Looking for ssh-agent implementation... 11:07:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:54 $ docker exec f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent 11:07:55 SSH_AUTH_SOCK=/tmp/ssh-ckDcrk8AhGdG/agent.11 11:07:55 SSH_AGENT_PID=17 11:07:55 Running ssh-add (command line suppressed) 11:07:55 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_408023536594015840.key (/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_408023536594015840.key) 11:07:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:55 + git tag --points-at HEAD [Pipeline] } 11:07:55 $ docker exec --env ******** --env ******** f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent -k 11:07:55 unset SSH_AUTH_SOCK; 11:07:55 unset SSH_AGENT_PID; 11:07:55 echo Agent pid 17 killed; 11:07:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:07:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:55 [ssh-agent] Looking for ssh-agent implementation... 11:07:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:56 $ docker exec f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent 11:07:56 SSH_AUTH_SOCK=/tmp/ssh-7XmlnSsv32sR/agent.47 11:07:56 SSH_AGENT_PID=52 11:07:56 Running ssh-add (command line suppressed) 11:07:56 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_3571735571804762449.key (/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_3571735571804762449.key) 11:07:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:56 + git semver init 11:07:56 # -> Open(): unable to determine branch for HEAD 11:07:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-92/.git 11:07:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-92 11:07:56 # $SEMVER_REMOTE_NAME = origin 11:07:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:07:56 # $SEMVER_USER_NAME = edgex-jenkins 11:07:56 # $SEMVER_BRANCH = PR-92 11:07:56 # $SEMVER_TEMP = /tmp/semver-728083953 11:07:56 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:07:58 # '/tmp/semver-728083953' -> '/w/workspace/dgexfoundry_device-rest-go_PR-92/.semver' 11:07:58 # -> Force: false 11:07:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-92/.semver [Pipeline] } 11:07:58 $ docker exec --env ******** --env ******** f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 ssh-agent -k 11:07:58 unset SSH_AUTH_SOCK; 11:07:58 unset SSH_AGENT_PID; 11:07:58 echo Agent pid 52 killed; 11:07:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:07:58 + git semver [Pipeline] } 11:07:58 $ docker stop --time=1 f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 11:08:00 $ docker rm -f f6f217cdc74cb1ba991784130c575f754f05df36b0b8cbbc2bf5a7ce33d14667 [Pipeline] // withDockerContainer [Pipeline] sh 11:08:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:08:01 Stashed 1 file(s) [Pipeline] echo 11:08:01 [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:08:16 Still waiting to schedule task 11:08:16 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5142’ 11:08:16 Still waiting to schedule task 11:08:16 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 11:10:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5144 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [Pipeline] { [Pipeline] ws 11:10:04 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:10:10 using credential edgex-jenkins-ssh 11:10:10 Cloning the remote Git repository 11:10:10 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:10:10 > git init /w/workspace/device-rest-go/2 # timeout=10 11:10:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:10:10 > git --version # timeout=10 11:10:10 > git --version # 'git version 2.17.1' 11:10:10 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:13 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 11:10:13 Merge succeeded, producing 7549d6f0c9da156947994a63cba994dfca834fe0 11:10:13 Checking out Revision 7549d6f0c9da156947994a63cba994dfca834fe0 (PR-92) 11:10:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:10:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:10:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:10:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:10:13 > git config core.sparsecheckout # timeout=10 11:10:13 > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 11:10:13 > git remote # timeout=10 11:10:13 > git config --get remote.origin.url # timeout=10 11:10:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:13 > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 11:10:13 > git rev-parse HEAD^{commit} # timeout=10 11:10:13 > git config core.sparsecheckout # timeout=10 11:10:13 > git checkout -f 7549d6f0c9da156947994a63cba994dfca834fe0 # timeout=10 11:10:17 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" 11:10:17 > git rev-list --no-walk 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:18 Running on prd-centos7-docker-4c-2g-5145 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [Pipeline] { [Pipeline] ws 11:10:18 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:10:19 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:10:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:10:20 + true 11:10:20 + sudo service docker restart 11:10:21 using credential edgex-jenkins-ssh 11:10:21 Cloning the remote Git repository 11:10:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:10:21 > git init /w/workspace/device-rest-go/2 # timeout=10 11:10:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:10:21 > git --version # timeout=10 11:10:21 > git --version # 'git version 2.24.3' 11:10:21 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:10:22 provisioning config files... 11:10:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3575135021149197268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:23 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 11:10:23 ---> docker-login.sh 11:10:23 nexus3.edgexfoundry.org:10001 11:10:23 Merge succeeded, producing 2c9ac858759ddaa09c4f4fda33074c782cd62168 11:10:23 Checking out Revision 2c9ac858759ddaa09c4f4fda33074c782cd62168 (PR-92) 11:10:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:10:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:10:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:10:22 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:10:23 > git config core.sparsecheckout # timeout=10 11:10:23 > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 11:10:23 > git remote # timeout=10 11:10:23 > git config --get remote.origin.url # timeout=10 11:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:23 > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 11:10:23 > git rev-parse HEAD^{commit} # timeout=10 11:10:23 > git config core.sparsecheckout # timeout=10 11:10:23 > git checkout -f 2c9ac858759ddaa09c4f4fda33074c782cd62168 # timeout=10 11:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:24 Configure a credential helper to remove this warning. See 11:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:24 11:10:24 Login Succeeded 11:10:24 nexus3.edgexfoundry.org:10002 11:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:25 Configure a credential helper to remove this warning. See 11:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:25 11:10:25 Login Succeeded 11:10:25 nexus3.edgexfoundry.org:10003 11:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:25 Configure a credential helper to remove this warning. See 11:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:25 11:10:25 Login Succeeded 11:10:25 nexus3.edgexfoundry.org:10004 11:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:26 Configure a credential helper to remove this warning. See 11:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:26 11:10:26 Login Succeeded 11:10:26 docker.io 11:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:26 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" 11:10:26 > git rev-list --no-walk 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 11:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:27 Configure a credential helper to remove this warning. See 11:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:27 11:10:27 Login Succeeded 11:10:27 ---> docker-login.sh ends [Pipeline] } 11:10:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] echo 11:10:27 ========================================================= 11:10:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:10:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:10:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:10:28 + 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:10:28 Sending build context to Docker daemon 92.16kB 11:10:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:10:28 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 11:10:28 Step 2/10 : FROM ${BASE} 11:10:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:10:28 595b0fe564bb: Pulling fs layer 11:10:28 7186ed65a4f7: Pulling fs layer 11:10:28 316046926c0a: Pulling fs layer 11:10:28 4ebd0625c992: Pulling fs layer 11:10:28 207e8628e3a3: Pulling fs layer 11:10:28 c791037a9be2: Pulling fs layer 11:10:28 ffd874e62e21: Pulling fs layer 11:10:28 207e8628e3a3: Waiting 11:10:28 c791037a9be2: Waiting 11:10:28 ffd874e62e21: Waiting 11:10:28 4ebd0625c992: Waiting 11:10:28 316046926c0a: Verifying Checksum 11:10:28 316046926c0a: Download complete 11:10:28 7186ed65a4f7: Verifying Checksum 11:10:28 7186ed65a4f7: Download complete 11:10:28 207e8628e3a3: Verifying Checksum 11:10:28 207e8628e3a3: Download complete 11:10:28 595b0fe564bb: Verifying Checksum 11:10:28 c791037a9be2: Verifying Checksum 11:10:28 c791037a9be2: Download complete 11:10:28 + sudo service docker restart 11:10:28 + true 11:10:28 Redirecting to /bin/systemctl restart docker.service 11:10:29 595b0fe564bb: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:10:29 provisioning config files... 11:10:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3320465119388220470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:30 7186ed65a4f7: Pull complete 11:10:30 ---> docker-login.sh 11:10:30 nexus3.edgexfoundry.org:10001 11:10:30 316046926c0a: Pull complete 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 nexus3.edgexfoundry.org:10002 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 nexus3.edgexfoundry.org:10003 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 nexus3.edgexfoundry.org:10004 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:31 Configure a credential helper to remove this warning. See 11:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:31 11:10:31 Login Succeeded 11:10:31 docker.io 11:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:31 ffd874e62e21: Verifying Checksum 11:10:31 ffd874e62e21: Download complete 11:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:31 Configure a credential helper to remove this warning. See 11:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:31 11:10:31 Login Succeeded 11:10:31 ---> docker-login.sh ends [Pipeline] } 11:10:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:31 ========================================================= 11:10:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:10:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:10:32 + 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:10:32 Sending build context to Docker daemon 92.16kB 11:10:32 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 11:10:32 Step 2/10 : FROM ${BASE} 11:10:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:10:32 540db60ca938: Pulling fs layer 11:10:32 adcc1eea9eea: Pulling fs layer 11:10:32 4c4ab2625f07: Pulling fs layer 11:10:32 0510c868ecb4: Pulling fs layer 11:10:32 afea3b2eda06: Pulling fs layer 11:10:32 7809a108b3ef: Pulling fs layer 11:10:32 f706445af74f: Pulling fs layer 11:10:32 afea3b2eda06: Waiting 11:10:32 7809a108b3ef: Waiting 11:10:32 f706445af74f: Waiting 11:10:32 0510c868ecb4: Waiting 11:10:32 4c4ab2625f07: Verifying Checksum 11:10:32 4c4ab2625f07: Download complete 11:10:32 adcc1eea9eea: Download complete 11:10:32 afea3b2eda06: Verifying Checksum 11:10:32 afea3b2eda06: Download complete 11:10:32 7809a108b3ef: Download complete 11:10:32 540db60ca938: Verifying Checksum 11:10:32 540db60ca938: Download complete 11:10:32 540db60ca938: Pull complete 11:10:32 adcc1eea9eea: Pull complete 11:10:32 4c4ab2625f07: Pull complete 11:10:33 4ebd0625c992: Verifying Checksum 11:10:33 4ebd0625c992: Download complete 11:10:34 f706445af74f: Verifying Checksum 11:10:34 f706445af74f: Download complete 11:10:35 0510c868ecb4: Verifying Checksum 11:10:35 0510c868ecb4: Download complete 11:10:40 0510c868ecb4: Pull complete 11:10:40 afea3b2eda06: Pull complete 11:10:40 7809a108b3ef: Pull complete 11:10:43 4ebd0625c992: Pull complete 11:10:43 207e8628e3a3: Pull complete 11:10:43 c791037a9be2: Pull complete 11:10:47 ffd874e62e21: Pull complete 11:10:47 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 11:10:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:10:47 ---> cfc18b08335c 11:10:47 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:48 f706445af74f: Pull complete 11:10:48 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 11:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:10:48 ---> b068be0155e3 11:10:48 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:48 ---> Running in 0b6d80844bcc 11:10:48 Removing intermediate container 0b6d80844bcc 11:10:48 ---> 1d79890586d4 11:10:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:10:48 ---> Running in e3b5eeed0036 11:10:48 Removing intermediate container e3b5eeed0036 11:10:48 ---> 213bad6a6faf 11:10:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:10:48 ---> Running in eda4719ec981 11:10:48 Removing intermediate container eda4719ec981 11:10:48 ---> b1ddd49394a3 11:10:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:48 ---> Running in 68d7982b3b4a 11:10:49 ---> Running in d0f18a017280 11:10:49 Removing intermediate container 68d7982b3b4a 11:10:49 ---> 4930ccfc5cea 11:10:49 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:49 ---> Running in 013d6bbdffc2 11:10:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:10:50 Removing intermediate container d0f18a017280 11:10:50 ---> cb96a5b33ae4 11:10:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:10:50 ---> Running in 26fa32b0327c 11:10:50 Removing intermediate container 26fa32b0327c 11:10:50 ---> c3a6a9d2eaf4 11:10:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:10:50 ---> Running in 8342163ef7b0 11:10:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:10:51 Removing intermediate container 8342163ef7b0 11:10:51 ---> 1f13061504df 11:10:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:51 ---> Running in 8488a0d4b294 11:10:51 (1/9) Installing libc-dev (0.7.2-r3) 11:10:51 (2/9) Installing libsodium (1.0.18-r0) 11:10:51 (3/9) Installing pkgconf (1.7.3-r0) 11:10:51 (4/9) Installing libsodium-dev (1.0.18-r0) 11:10:52 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:10:52 (6/9) Installing libedit (20191231.3.1-r1) 11:10:52 (7/9) Installing openssh-client (8.4_p1-r3) 11:10:52 (8/9) Installing libzmq (4.3.3-r1) 11:10:52 (9/9) Installing zeromq-dev (4.3.3-r1) 11:10:52 Executing busybox-1.32.1-r6.trigger 11:10:52 OK: 154 MiB in 49 packages 11:10:53 Removing intermediate container 013d6bbdffc2 11:10:53 ---> 75907f43d77c 11:10:53 Step 8/10 : WORKDIR /device-rest-go 11:10:53 ---> Running in 1dcacbcdff4f 11:10:53 Removing intermediate container 1dcacbcdff4f 11:10:53 ---> 9c5baeecfc94 11:10:53 Step 9/10 : COPY . . 11:10:54 Removing intermediate container 8488a0d4b294 11:10:54 ---> 1e1ec89abb1b 11:10:54 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:54 ---> Running in ab3ac0e8d435 11:10:54 ---> 165167d2166a 11:10:54 Step 10/10 : RUN go mod download 11:10:54 ---> Running in 7e47eb76c5d8 11:10:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:10:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:10:57 (1/9) Installing libc-dev (0.7.2-r3) 11:10:57 (2/9) Installing libsodium (1.0.18-r0) 11:10:57 (3/9) Installing pkgconf (1.7.3-r0) 11:10:57 (4/9) Installing libsodium-dev (1.0.18-r0) 11:10:57 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:10:57 (6/9) Installing libedit (20191231.3.1-r1) 11:10:57 (7/9) Installing openssh-client (8.4_p1-r3) 11:10:57 (8/9) Installing libzmq (4.3.3-r1) 11:10:57 (9/9) Installing zeromq-dev (4.3.3-r1) 11:10:58 Executing busybox-1.32.1-r6.trigger 11:10:58 OK: 144 MiB in 49 packages 11:10:59 Removing intermediate container ab3ac0e8d435 11:10:59 ---> 4d384e25f057 11:10:59 Step 8/10 : WORKDIR /device-rest-go 11:10:59 ---> Running in 4f6b17f3e091 11:11:00 Removing intermediate container 4f6b17f3e091 11:11:00 ---> 9f0143ddc0f4 11:11:00 Step 9/10 : COPY . . 11:11:01 ---> 864be37ab9b6 11:11:01 Step 10/10 : RUN go mod download 11:11:01 ---> Running in 55de3b01ca4b 11:11:16 Removing intermediate container 7e47eb76c5d8 11:11:16 ---> 9512ed442d69 11:11:16 Successfully built 9512ed442d69 11:11:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:11:16 + docker inspect -f . ci-base-image-x86_64 11:11:16 . [Pipeline] withDockerContainer 11:11:17 prd-centos7-docker-4c-2g-5145 does not seem to be running inside a container 11:11:17 $ 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:11:18 $ docker top 752560bff6e3c1a18c698014da6625ff0c6b652e428374c618962fb5d8fd98a9 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:18 + go version 11:11:18 go version go1.16.3 linux/amd64 [Pipeline] } 11:11:18 $ docker stop --time=1 752560bff6e3c1a18c698014da6625ff0c6b652e428374c618962fb5d8fd98a9 11:11:20 $ docker rm -f 752560bff6e3c1a18c698014da6625ff0c6b652e428374c618962fb5d8fd98a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:11:20 + docker inspect -f . ci-base-image-x86_64 11:11:20 . [Pipeline] withDockerContainer 11:11:20 prd-centos7-docker-4c-2g-5145 does not seem to be running inside a container 11:11:20 $ 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:11:21 $ docker top 9e45e48af562c706155008ebe111828a5244a9f5921f66221d248a12836c6100 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:21 + go mod tidy [Pipeline] sh 11:11:22 + make test 11:11:22 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:11:23 ? github.com/edgexfoundry/device-rest-go [no test files] 11:11:28 Removing intermediate container 55de3b01ca4b 11:11:28 ---> 91fdc6d35daf 11:11:28 Successfully built 91fdc6d35daf 11:11:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:11:28 + docker inspect -f . ci-base-image-arm64 11:11:28 . [Pipeline] withDockerContainer 11:11:28 prd-ubuntu18.04-docker-arm64-4c-16g-5144 does not seem to be running inside a container 11:11:28 $ 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:11:30 $ docker top 515d09c0c6b7d7aee0a5075d871161fcb8f675d347de60828568899a6b438b9e -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:31 + go version 11:11:31 go version go1.16.3 linux/arm64 [Pipeline] } 11:11:31 $ docker stop --time=1 515d09c0c6b7d7aee0a5075d871161fcb8f675d347de60828568899a6b438b9e 11:11:33 $ docker rm -f 515d09c0c6b7d7aee0a5075d871161fcb8f675d347de60828568899a6b438b9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:11:34 + docker inspect -f . ci-base-image-arm64 11:11:34 . [Pipeline] withDockerContainer 11:11:34 prd-ubuntu18.04-docker-arm64-4c-16g-5144 does not seem to be running inside a container 11:11:34 $ 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:11:36 $ docker top efe49af71e83a818741c4c71d8e94c2640ca0a46192eab69853d925fcf18cc22 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:36 + go mod tidy [Pipeline] sh 11:11:38 + make test 11:11:38 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:11:39 ? github.com/edgexfoundry/device-rest-go [no test files] 11:11:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:11:42 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements 11:11:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:11:51 gofmt -l . 11:11:51 [ "`gofmt -l .`" = "" ] 11:11:51 ./bin/test-go-mod-tidy.sh 11:11:51 ./bin/test-attribution-txt.sh [Pipeline] } 11:11:52 $ docker stop --time=1 9e45e48af562c706155008ebe111828a5244a9f5921f66221d248a12836c6100 11:11:54 $ docker rm -f 9e45e48af562c706155008ebe111828a5244a9f5921f66221d248a12836c6100 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:57 + ls -al . 11:11:57 total 104 11:11:57 drwxrwxr-x. 8 jenkins jenkins 4096 May 13 11:11 . 11:11:57 drwxrwxr-x. 4 jenkins jenkins 28 May 13 11:10 .. 11:11:57 -rw-rw-r--. 1 jenkins jenkins 6792 May 13 11:10 Attribution.txt 11:11:57 drwxrwxr-x. 2 jenkins jenkins 64 May 13 11:10 bin 11:11:57 drwxrwxr-x. 3 jenkins jenkins 32 May 13 11:10 cmd 11:11:57 -rw-r--r--. 1 jenkins jenkins 8513 May 13 11:11 coverage.out 11:11:57 -rw-rw-r--. 1 jenkins jenkins 1602 May 13 11:10 Dockerfile 11:11:57 -rw-rw-r--. 1 jenkins jenkins 1087 May 13 11:10 Dockerfile.build 11:11:57 -rw-rw-r--. 1 jenkins jenkins 151 May 13 11:10 .dockerignore 11:11:57 drwxrwxr-x. 2 jenkins jenkins 76 May 13 11:10 driver 11:11:57 drwxrwxr-x. 8 jenkins jenkins 179 May 13 11:10 .git 11:11:57 drwxrwxr-x. 2 jenkins jenkins 103 May 13 11:10 .github 11:11:57 -rw-rw-r--. 1 jenkins jenkins 339 May 13 11:10 .gitignore 11:11:57 -rw-r--r--. 1 jenkins jenkins 285 May 13 11:11 go.mod 11:11:57 -rw-r--r--. 1 jenkins jenkins 21129 May 13 11:11 go.sum 11:11:57 -rw-rw-r--. 1 jenkins jenkins 680 May 13 11:10 Jenkinsfile 11:11:57 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 11:10 LICENSE 11:11:57 -rw-rw-r--. 1 jenkins jenkins 976 May 13 11:10 Makefile 11:11:57 -rw-rw-r--. 1 jenkins jenkins 7667 May 13 11:10 README.md 11:11:57 drwxrwxr-x. 4 jenkins jenkins 71 May 13 11:10 snap 11:11:57 -rw-rw-r--. 1 jenkins jenkins 5 May 13 11:08 VERSION 11:11:57 -rw-rw-r--. 1 jenkins jenkins 713 May 13 11:10 version.go [Pipeline] isUnix [Pipeline] sh 11:11:58 + 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=6469de8a50d7d8225b9b39b8f6371d04de064bb5 --label arch=amd64 --label version=0.0.0 . 11:11:58 Sending build context to Docker daemon 101.9kB 11:11:58 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 11:11:58 Step 2/24 : FROM ${BASE} AS builder 11:11:58 ---> 9512ed442d69 11:11:58 Step 3/24 : ARG MAKE='make build' 11:11:58 ---> Running in cf51cf973162 11:11:58 Removing intermediate container cf51cf973162 11:11:58 ---> 274c1ac02ba5 11:11:58 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:58 ---> Running in d011ea1791b1 11:11:58 Removing intermediate container d011ea1791b1 11:11:58 ---> 4cc86519c263 11:11:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:11:59 ---> Running in 1dc82e724a51 11:11:59 Removing intermediate container 1dc82e724a51 11:11:59 ---> adc07a495acc 11:11:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:59 ---> Running in a531657e3c3c 11:12:00 Removing intermediate container a531657e3c3c 11:12:00 ---> 8f9e56cac5a8 11:12:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:00 ---> Running in 87cde8bc232b 11:12:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:12:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:12:02 OK: 154 MiB in 49 packages 11:12:02 Removing intermediate container 87cde8bc232b 11:12:02 ---> 02d2de4302bb 11:12:02 Step 8/24 : WORKDIR /device-rest-go 11:12:02 ---> Running in 8fa9103f1ff6 11:12:02 Removing intermediate container 8fa9103f1ff6 11:12:02 ---> 53584fc508a5 11:12:02 Step 9/24 : COPY . . 11:12:03 ---> 9a0be141a92e 11:12:03 Step 10/24 : RUN make update 11:12:03 ---> Running in 5ac32ef911fd 11:12:03 CGO_ENABLED=0 GO111MODULE=on go mod download 11:12:04 Removing intermediate container 5ac32ef911fd 11:12:04 ---> 06246dbf7697 11:12:04 Step 11/24 : RUN $MAKE 11:12:04 ---> Running in a3f1fbfd7cae 11:12:04 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:12:19 Removing intermediate container a3f1fbfd7cae 11:12:19 ---> bd39ef09f308 11:12:19 Step 12/24 : FROM alpine:3.12 11:12:19 3.12: Pulling from library/alpine 11:12:19 339de151aab4: Pulling fs layer 11:12:19 339de151aab4: Download complete 11:12:19 339de151aab4: Pull complete 11:12:19 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:12:19 Status: Downloaded newer image for alpine:3.12 11:12:19 ---> 13621d1b12d4 11:12:19 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:12:19 ---> Running in b9d61a109852 11:12:19 Removing intermediate container b9d61a109852 11:12:19 ---> 6423d98f1cbf 11:12:19 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:12:19 ---> Running in 1d0b3f0dc370 11:12:19 Removing intermediate container 1d0b3f0dc370 11:12:19 ---> 458a6ed67937 11:12:19 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:12:19 ---> Running in 2c58df280b20 11:12:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:12:20 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:12:20 (1/6) Installing dumb-init (1.2.2-r1) 11:12:20 (2/6) Installing libgcc (9.3.0-r2) 11:12:20 (3/6) Installing libsodium (1.0.18-r0) 11:12:20 (4/6) Installing libstdc++ (9.3.0-r2) 11:12:20 (5/6) Installing libzmq (4.3.3-r0) 11:12:20 (6/6) Installing zeromq (4.3.3-r0) 11:12:20 Executing busybox-1.31.1-r20.trigger 11:12:20 OK: 8 MiB in 20 packages 11:12:21 Removing intermediate container 2c58df280b20 11:12:21 ---> 6bfe9dab6d3d 11:12:21 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:12:21 ---> 784177a67ebf 11:12:21 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:12:22 ---> 45236862e1dd 11:12:22 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:12:22 ---> 9e209b7f7611 11:12:22 Step 19/24 : EXPOSE 49986 11:12:22 ---> Running in 6fc3d0414d9b 11:12:22 Removing intermediate container 6fc3d0414d9b 11:12:22 ---> 9fc80d7db26c 11:12:22 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 11:12:22 ---> Running in efc69959d833 11:12:22 Removing intermediate container efc69959d833 11:12:22 ---> 5ef48732e16e 11:12:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:12:22 ---> Running in 913a9e93cc7c 11:12:22 Removing intermediate container 913a9e93cc7c 11:12:22 ---> 23355fc68810 11:12:22 Step 22/24 : LABEL arch=amd64 11:12:23 ---> Running in 05e0e2a13ad7 11:12:23 Removing intermediate container 05e0e2a13ad7 11:12:23 ---> 6ca94a6bff83 11:12:23 Step 23/24 : LABEL git_sha=6469de8a50d7d8225b9b39b8f6371d04de064bb5 11:12:23 ---> Running in d1cdfb1ddc98 11:12:23 Removing intermediate container d1cdfb1ddc98 11:12:23 ---> 549d91125a62 11:12:23 Step 24/24 : LABEL version=0.0.0 11:12:23 ---> Running in a6453cfcb9f8 11:12:23 Removing intermediate container a6453cfcb9f8 11:12:23 ---> 1c66d3c581f2 11:12:23 [Warning] One or more build-args [ARCH] were not consumed 11:12:23 Successfully built 1c66d3c581f2 11:12:23 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 11:12:24 ---> job-cost.sh 11:12:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TBvp 11:12:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:12:36 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements 11:12:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:12:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:12:58 gofmt -l . 11:12:58 [ "`gofmt -l .`" = "" ] 11:12:58 ./bin/test-go-mod-tidy.sh 11:12:58 ./bin/test-attribution-txt.sh [Pipeline] } 11:13:00 $ docker stop --time=1 efe49af71e83a818741c4c71d8e94c2640ca0a46192eab69853d925fcf18cc22 11:13:02 $ docker rm -f efe49af71e83a818741c4c71d8e94c2640ca0a46192eab69853d925fcf18cc22 [Pipeline] // withDockerContainer [Pipeline] sh 11:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:13:03 Warning: overwriting stash ‘coverage-report’ 11:13:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:13:05 + ls -al . 11:13:05 total 132 11:13:05 drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:13 . 11:13:05 drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:10 .. 11:13:05 -rw-rw-r-- 1 jenkins jenkins 151 May 13 11:10 .dockerignore 11:13:05 drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:10 .git 11:13:05 drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:10 .github 11:13:05 -rw-rw-r-- 1 jenkins jenkins 339 May 13 11:10 .gitignore 11:13:05 -rw-rw-r-- 1 jenkins jenkins 6792 May 13 11:10 Attribution.txt 11:13:05 -rw-rw-r-- 1 jenkins jenkins 1602 May 13 11:10 Dockerfile 11:13:05 -rw-rw-r-- 1 jenkins jenkins 1087 May 13 11:10 Dockerfile.build 11:13:05 -rw-rw-r-- 1 jenkins jenkins 680 May 13 11:10 Jenkinsfile 11:13:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 11:10 LICENSE 11:13:05 -rw-rw-r-- 1 jenkins jenkins 976 May 13 11:10 Makefile 11:13:05 -rw-rw-r-- 1 jenkins jenkins 7667 May 13 11:10 README.md 11:13:05 -rw-rw-r-- 1 jenkins jenkins 5 May 13 11:08 VERSION 11:13:05 drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:10 bin 11:13:05 drwxrwxr-x 3 jenkins jenkins 4096 May 13 11:10 cmd 11:13:05 -rw-r--r-- 1 jenkins jenkins 8513 May 13 11:12 coverage.out 11:13:05 drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:10 driver 11:13:05 -rw-r--r-- 1 jenkins jenkins 285 May 13 11:12 go.mod 11:13:05 -rw-r--r-- 1 jenkins jenkins 21129 May 13 11:11 go.sum 11:13:05 drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:10 snap 11:13:05 -rw-rw-r-- 1 jenkins jenkins 713 May 13 11:10 version.go [Pipeline] isUnix [Pipeline] sh 11:13:05 + 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=6469de8a50d7d8225b9b39b8f6371d04de064bb5 --label arch=arm64 --label version=0.0.0 . 11:13:05 Sending build context to Docker daemon 101.9kB 11:13:06 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 11:13:06 Step 2/24 : FROM ${BASE} AS builder 11:13:06 ---> 91fdc6d35daf 11:13:06 Step 3/24 : ARG MAKE='make build' 11:13:06 lf-activate-venv(): INFO: Adding /tmp/venv-TBvp/bin to PATH 11:13:06 INFO: No Stack... 11:13:06 ---> Running in 1175d4aded16 11:13:06 INFO: Retrieving Pricing Info for: v1-standard-2 11:13:06 Removing intermediate container 1175d4aded16 11:13:06 ---> 4bbbcd346830 11:13:06 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:13:06 ---> Running in 7958daf60855 11:13:07 INFO: Archiving Costs [Pipeline] sh 11:13:07 Removing intermediate container 7958daf60855 11:13:07 ---> c358793d0f0d 11:13:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:13:07 + cat /w/workspace/device-rest-go/2/archives/cost.csv 11:13:07 + cut -d, -f6 [Pipeline] lock 11:13:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] 11:13:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] did not exist. Created. 11:13:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:07 ---> Running in 61d8c85906e6 11:13:07 + echo total: 0.029999999329447746 [Pipeline] stash 11:13:08 Removing intermediate container 61d8c85906e6 11:13:08 ---> bd0f86f6b76d 11:13:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:08 Stashed 1 file(s) [Pipeline] } 11:13:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:13:08 ---> Running in f11f03562195 11:13:10 Removing intermediate container f11f03562195 11:13:10 ---> a4b36070bab2 11:13:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:13:10 ---> Running in 18a077117d3e 11:13:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:13:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:13:13 OK: 144 MiB in 49 packages 11:13:14 Removing intermediate container 18a077117d3e 11:13:14 ---> cb5f4251c181 11:13:14 Step 8/24 : WORKDIR /device-rest-go 11:13:14 ---> Running in c23080a2d361 11:13:15 Removing intermediate container c23080a2d361 11:13:15 ---> e6b9913f52a9 11:13:15 Step 9/24 : COPY . . 11:13:16 ---> c8be9f4bb640 11:13:16 Step 10/24 : RUN make update 11:13:16 ---> Running in 2e649348d299 11:13:17 CGO_ENABLED=0 GO111MODULE=on go mod download 11:13:18 Removing intermediate container 2e649348d299 11:13:18 ---> 143644ebe098 11:13:18 Step 11/24 : RUN $MAKE 11:13:18 ---> Running in 6423b265afbb 11:13:19 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:13:58 Removing intermediate container 6423b265afbb 11:13:58 ---> 968dd8329221 11:13:58 Step 12/24 : FROM alpine:3.12 11:13:58 3.12: Pulling from library/alpine 11:13:58 d2f70382dc9a: Pulling fs layer 11:13:58 d2f70382dc9a: Download complete 11:13:58 d2f70382dc9a: Pull complete 11:13:58 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:13:58 Status: Downloaded newer image for alpine:3.12 11:13:58 ---> 9852663dfa18 11:13:58 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:13:58 ---> Running in 53b7615c8493 11:13:58 Removing intermediate container 53b7615c8493 11:13:58 ---> 13472d9300db 11:13:58 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:13:58 ---> Running in 5027aebe74e9 11:13:58 Removing intermediate container 5027aebe74e9 11:13:58 ---> 4e575661fa20 11:13:58 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:13:58 ---> Running in 65693a547b94 11:13:59 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:13:59 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:13:59 (1/6) Installing dumb-init (1.2.2-r1) 11:13:59 (2/6) Installing libgcc (9.3.0-r2) 11:13:59 (3/6) Installing libsodium (1.0.18-r0) 11:13:59 (4/6) Installing libstdc++ (9.3.0-r2) 11:14:00 (5/6) Installing libzmq (4.3.3-r0) 11:14:00 (6/6) Installing zeromq (4.3.3-r0) 11:14:00 Executing busybox-1.31.1-r20.trigger 11:14:00 OK: 8 MiB in 20 packages 11:14:00 Removing intermediate container 65693a547b94 11:14:00 ---> 5925b6a72ad7 11:14:00 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:14:02 ---> ddb27f423b8f 11:14:02 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:14:03 ---> 08e20558a50b 11:14:03 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:14:03 ---> cd87aa3d9588 11:14:03 Step 19/24 : EXPOSE 49986 11:14:03 ---> Running in 164b7c31f630 11:14:04 Removing intermediate container 164b7c31f630 11:14:04 ---> f2a6d31c6288 11:14:04 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 11:14:04 ---> Running in d999c1dad59b 11:14:04 Removing intermediate container d999c1dad59b 11:14:04 ---> db2375db3335 11:14:04 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:14:04 ---> Running in 7ea553481254 11:14:05 Removing intermediate container 7ea553481254 11:14:05 ---> 856de54225f5 11:14:05 Step 22/24 : LABEL arch=arm64 11:14:05 ---> Running in 7700f86e6f94 11:14:06 Removing intermediate container 7700f86e6f94 11:14:06 ---> 5e2e76333073 11:14:06 Step 23/24 : LABEL git_sha=6469de8a50d7d8225b9b39b8f6371d04de064bb5 11:14:06 ---> Running in 967873da4517 11:14:06 Removing intermediate container 967873da4517 11:14:06 ---> 09e5b28ec487 11:14:06 Step 24/24 : LABEL version=0.0.0 11:14:06 ---> Running in 6967c0cf2b97 11:14:07 Removing intermediate container 6967c0cf2b97 11:14:07 ---> 948887cce8da 11:14:07 [Warning] One or more build-args [ARCH] were not consumed 11:14:07 Successfully built 948887cce8da 11:14:07 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 11:14:07 ---> job-cost.sh 11:14:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oYoA 11:14:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:16:08 lf-activate-venv(): INFO: Adding /tmp/venv-oYoA/bin to PATH 11:16:08 INFO: No Stack... 11:16:08 INFO: Retrieving Pricing Info for: lf-standard-4 11:16:08 INFO: Archiving Costs [Pipeline] sh 11:16:08 + cat /w/workspace/device-rest-go/2/archives/cost.csv 11:16:08 + cut -d, -f6 [Pipeline] lock 11:16:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] 11:16:08 Resource [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] did not exist. Created. 11:16:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-92-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:16:09 /w/workspace/device-rest-go/2@tmp/durable-53385bf0/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-53385bf0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:16:09 + echo total: 0.20999999344348907 [Pipeline] stash 11:16:09 Warning: overwriting stash ‘stack-cost’ 11:16:09 Stashed 1 file(s) [Pipeline] } 11:16:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-92-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:16:10 provisioning config files... 11:16:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config7152175818503148594tmp [Pipeline] { [Pipeline] sh 11:16:10 + set +x 11:16:10 + bash -s -- 11:16:10 + curl -s https://codecov.io/bash 11:16:11 11:16:11 _____ _ 11:16:11 / ____| | | 11:16:11 | | ___ __| | ___ ___ _____ __ 11:16:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:16:11 | |___| (_) | (_| | __/ (_| (_) \ V / 11:16:11 \_____\___/ \__,_|\___|\___\___/ \_/ 11:16:11 Bash-1.0.2 11:16:11 11:16:11 11:16:11 ==> git version 2.24.3 found 11:16:11 ==> 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:16:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:16:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:16:11 ==> Jenkins CI detected. 11:16:11 project root: . 11:16:11 --> token set from env 11:16:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:16:11 ==> Running gcov in . (disable via -X gcov) 11:16:11 ==> Python coveragepy not found 11:16:11 ==> Searching for coverage reports in: 11:16:11 + . 11:16:11 -> Found 1 reports 11:16:11 ==> Detecting git/mercurial file structure 11:16:11 ==> Reading reports 11:16:11 + ./coverage.out bytes=8513 11:16:11 ==> Appending adjustments 11:16:11 https://docs.codecov.io/docs/fixing-reports 11:16:11 + Found adjustments 11:16:11 ==> Gzipping contents 11:16:11 4.0K /tmp/codecov.SpFisA.gz 11:16:11 ==> Uploading reports 11:16:11 url: https://codecov.io 11:16:11 query: branch=PR-92&commit=6469de8a50d7d8225b9b39b8f6371d04de064bb5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-92%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=92&job=&cmd_args= 11:16:11 -> Pinging Codecov 11:16:11 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-92&commit=6469de8a50d7d8225b9b39b8f6371d04de064bb5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-92%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=92&job=&cmd_args= 11:16:11 -> Uploading to 11:16:11 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/4E5D53B4F1F92C436F7061BF334D961C/6469de8a50d7d8225b9b39b8f6371d04de064bb5/f920f857-b7f9-4c6f-bae1-c30074a7a1db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T111611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c1368cf020709717917496712d7946925fabc4155c69a94607e2f5ed8bbdc47 11:16:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:16:11 Dload Upload Total Spent Left Speed 11:16:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4210 --:--:-- --:--:-- --:--:-- 4217 11:16:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6469de8a50d7d8225b9b39b8f6371d04de064bb5 [Pipeline] } 11:16:12 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:16:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:16:13 ---> package-listing.sh 11:16:13 ++ facter osfamily 11:16:13 ++ tr '[:upper:]' '[:lower:]' 11:16:13 + OS_FAMILY=redhat 11:16:13 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-92 11:16:13 + START_PACKAGES=/tmp/packages_start.txt 11:16:13 + END_PACKAGES=/tmp/packages_end.txt 11:16:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:13 + PACKAGES=/tmp/packages_start.txt 11:16:13 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-92 ']' 11:16:13 + PACKAGES=/tmp/packages_end.txt 11:16:13 + case "${OS_FAMILY}" in 11:16:13 + rpm -qa 11:16:13 + sort 11:16:19 + '[' -f /tmp/packages_start.txt ']' 11:16:19 + '[' -f /tmp/packages_end.txt ']' 11:16:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:19 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-92 ']' 11:16:19 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-92/archives/ 11:16:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-92/archives/ [Pipeline] echo 11:16:19 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-92/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:16:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:16:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:16:19 11:16:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:16:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:16:20 alpine: Pulling from edgex-lftools-log-publisher 11:16:20 df20fa9351a1: Pulling fs layer 11:16:20 36b3adc4ff6f: Pulling fs layer 11:16:20 8ad3a11d3b57: Pulling fs layer 11:16:20 46f8f816bc3b: Pulling fs layer 11:16:20 93b61091891f: Pulling fs layer 11:16:20 93b9cdb0e59b: Pulling fs layer 11:16:20 5e14af77c1be: Pulling fs layer 11:16:20 01666e4c0597: Pulling fs layer 11:16:20 aa168da1d23b: Pulling fs layer 11:16:20 46f8f816bc3b: Waiting 11:16:20 93b61091891f: Waiting 11:16:20 93b9cdb0e59b: Waiting 11:16:20 aa168da1d23b: Waiting 11:16:20 36b3adc4ff6f: Verifying Checksum 11:16:20 36b3adc4ff6f: Download complete 11:16:20 46f8f816bc3b: Verifying Checksum 11:16:20 46f8f816bc3b: Download complete 11:16:20 df20fa9351a1: Verifying Checksum 11:16:20 df20fa9351a1: Download complete 11:16:20 93b9cdb0e59b: Verifying Checksum 11:16:20 93b9cdb0e59b: Download complete 11:16:20 93b61091891f: Download complete 11:16:20 5e14af77c1be: Verifying Checksum 11:16:20 5e14af77c1be: Download complete 11:16:20 01666e4c0597: Verifying Checksum 11:16:20 01666e4c0597: Download complete 11:16:20 8ad3a11d3b57: Verifying Checksum 11:16:20 8ad3a11d3b57: Download complete 11:16:20 df20fa9351a1: Pull complete 11:16:20 36b3adc4ff6f: Pull complete 11:16:21 8ad3a11d3b57: Pull complete 11:16:21 46f8f816bc3b: Pull complete 11:16:22 93b61091891f: Pull complete 11:16:22 93b9cdb0e59b: Pull complete 11:16:23 aa168da1d23b: Verifying Checksum 11:16:23 aa168da1d23b: Download complete 11:16:23 5e14af77c1be: Pull complete 11:16:23 01666e4c0597: Pull complete 11:16:30 aa168da1d23b: Pull complete 11:16:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:16:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:16:30 prd-centos7-docker-4c-2g-5142 does not seem to be running inside a container 11:16:30 $ 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-92/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-92 -v /w/workspace/dgexfoundry_device-rest-go_PR-92:/w/workspace/dgexfoundry_device-rest-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-92@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:16:34 $ docker top e9d69622f4897048bd50c9f04848617e062876b88d9f011b94fd96d45b6987fe -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:34 + touch /tmp/pre-build-complete [Pipeline] sh 11:16:35 + mkdir -p /var/log/sa [Pipeline] sh 11:16:35 + ls /var/log/sa-host 11:16:35 + sadf -c /var/log/sa-host/sa13 11:16:35 file_magic: OK 11:16:35 HZ: Using current value: 100 11:16:35 file_header: OK 11:16:35 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:16:35 Statistics: 11:16:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:16:35 File successfully converted to sysstat format version 12.2.1 11:16:35 + sadf -c /var/log/sa-host/sa23 11:16:35 file_magic: OK 11:16:35 HZ: Using current value: 100 11:16:35 file_header: OK 11:16:35 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:16:35 Statistics: 11:16:35 Hnuu...uuuununununu... 11:16:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:36 provisioning config files... 11:16:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config3779866923983019952tmp [Pipeline] { [Pipeline] echo 11:16:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:16:36 ---> create-netrc.sh [Pipeline] } 11:16:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:16:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:16:36 ---> python-tools-install.sh [Pipeline] echo 11:16:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:16:37 ---> sudo-logs.sh 11:16:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:16:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:16:37 ---> job-cost.sh 11:16:37 lf-activate-venv: SKIPPING 11:16:37 DEBUG: total: 0.20999999344348907 11:16:37 INFO: Retrieving Stack Cost... 11:16:38 INFO: Retrieving Pricing Info for: v1-standard-2 11:16:39 INFO: Archiving Costs [Pipeline] echo 11:16:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:16:39 ---> logs-deploy.sh 11:16:39 lf-activate-venv: SKIPPING 11:16:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-92/2 11:16:39 INFO: archiving workspace using pattern(s): 11:16:41 Archives upload complete. 11:16:41 INFO: archiving logs to Nexus