Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d6897ad21f311d49f4974b8dbf2de077c7c0aba+196bef76aa0a3d89dc26ac944eff062c8405d7e3 (2041eeeebc893e341162af2462e4c74de0f31671) 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-5143 in /w/workspace/dgexfoundry_device-rest-go_PR-95 [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-95 # 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 2d6897ad21f311d49f4974b8dbf2de077c7c0aba > 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/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing c83f3facbea0e05b2abce4455565e3db68c0c6c1 Checking out Revision c83f3facbea0e05b2abce4455565e3db68c0c6c1 (PR-95) 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 c83f3facbea0e05b2abce4455565e3db68c0c6c1 # timeout=10 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" > git rev-list --no-walk 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:08:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:08:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:08:40 ========================================================= 11:08:40 EdgeX Global Pipelines Version Info 11:08:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:08:42 ------------------- 11:08:42 stable info: 11:08:42 ------------------- 11:08:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:08:42 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 11:08:42 Message: update stable to v1.0.192 11:08:43 ------------------- 11:08:43 experimental info: 11:08:43 ------------------- 11:08:43 Commited By: **** collab-it+edgex@linuxfoundation.org 11:08:43 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 11:08:43 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo 11:08:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo 11:08:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c83f3facbea0e05b2abce4455565e3db68c0c6c1 [Pipeline] echo 11:08:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c83f3fa [Pipeline] echo 11:08:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:08:44 provisioning config files... 11:08:44 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/config3000814906777350318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:44 ---> docker-login.sh 11:08:44 nexus3.edgexfoundry.org:10001 11:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:45 Configure a credential helper to remove this warning. See 11:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:45 11:08:45 Login Succeeded 11:08:45 nexus3.edgexfoundry.org:10002 11:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:45 Configure a credential helper to remove this warning. See 11:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:45 11:08:45 Login Succeeded 11:08:45 nexus3.edgexfoundry.org:10003 11:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:45 Configure a credential helper to remove this warning. See 11:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:45 11:08:45 Login Succeeded 11:08:45 nexus3.edgexfoundry.org:10004 11:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:45 Configure a credential helper to remove this warning. See 11:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:45 11:08:45 Login Succeeded 11:08:45 docker.io 11:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:45 Configure a credential helper to remove this warning. See 11:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:45 11:08:45 Login Succeeded 11:08:45 ---> docker-login.sh ends [Pipeline] } 11:08:45 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:08:46 + git log --format=format:%s -1 c83f3facbea0e05b2abce4455565e3db68c0c6c1 [Pipeline] echo 11:08:46 GIT_COMMIT: c83f3facbea0e05b2abce4455565e3db68c0c6c1, Commit Message: Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD [Pipeline] echo 11:08:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:08:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:08:47 11:08:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:08:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:08:47 latest: Pulling from edgex-devops/git-semver 11:08:47 31603596830f: Pulling fs layer 11:08:47 54011a49482f: Pulling fs layer 11:08:47 a6820b24f6d8: Pulling fs layer 11:08:47 f581987b2513: Pulling fs layer 11:08:47 f581987b2513: Waiting 11:08:47 54011a49482f: Verifying Checksum 11:08:47 54011a49482f: Download complete 11:08:47 31603596830f: Verifying Checksum 11:08:47 31603596830f: Download complete 11:08:47 f581987b2513: Verifying Checksum 11:08:47 f581987b2513: Download complete 11:08:47 a6820b24f6d8: Verifying Checksum 11:08:47 a6820b24f6d8: Download complete 11:08:47 31603596830f: Pull complete 11:08:48 54011a49482f: Pull complete 11:08:49 a6820b24f6d8: Pull complete 11:08:49 f581987b2513: Pull complete 11:08:49 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 11:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:08:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:08:49 prd-centos7-docker-4c-2g-5143 does not seem to be running inside a container 11:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-95 -v /w/workspace/dgexfoundry_device-rest-go_PR-95:/w/workspace/dgexfoundry_device-rest-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-95@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:08:51 $ docker top b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:08:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:08:51 [ssh-agent] Looking for ssh-agent implementation... 11:08:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:08:52 $ docker exec b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent 11:08:52 SSH_AUTH_SOCK=/tmp/ssh-cu2rSSf2Qxrk/agent.13 11:08:52 SSH_AGENT_PID=19 11:08:52 Running ssh-add (command line suppressed) 11:08:52 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_8843285044688029957.key (/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_8843285044688029957.key) 11:08:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:08:52 + git tag --points-at HEAD [Pipeline] } 11:08:52 $ docker exec --env ******** --env ******** b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent -k 11:08:52 unset SSH_AUTH_SOCK; 11:08:52 unset SSH_AGENT_PID; 11:08:52 echo Agent pid 19 killed; 11:08:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:08:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:08:53 [ssh-agent] Looking for ssh-agent implementation... 11:08:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:08:53 $ docker exec b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent 11:08:53 SSH_AUTH_SOCK=/tmp/ssh-yz2S1LfSdVqN/agent.48 11:08:53 SSH_AGENT_PID=53 11:08:53 Running ssh-add (command line suppressed) 11:08:53 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_4659461365702633520.key (/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_4659461365702633520.key) 11:08:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:08:53 + git semver init 11:08:53 # -> Open(): unable to determine branch for HEAD 11:08:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-95/.git 11:08:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-95 11:08:53 # $SEMVER_REMOTE_NAME = origin 11:08:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:08:53 # $SEMVER_USER_NAME = edgex-jenkins 11:08:53 # $SEMVER_BRANCH = PR-95 11:08:53 # $SEMVER_TEMP = /tmp/semver-617959774 11:08:53 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:08:55 # '/tmp/semver-617959774' -> '/w/workspace/dgexfoundry_device-rest-go_PR-95/.semver' 11:08:56 # -> Force: false 11:08:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-95/.semver [Pipeline] } 11:08:56 $ docker exec --env ******** --env ******** b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent -k 11:08:56 unset SSH_AUTH_SOCK; 11:08:56 unset SSH_AGENT_PID; 11:08:56 echo Agent pid 53 killed; 11:08:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:08:56 + git semver [Pipeline] } 11:08:56 $ docker stop --time=1 b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf 11:08:58 $ docker rm -f b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf [Pipeline] // withDockerContainer [Pipeline] sh 11:08:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:08:58 Stashed 1 file(s) [Pipeline] echo 11:08:58 [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:09:14 Still waiting to schedule task 11:09:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:09:14 Still waiting to schedule task 11:09:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 11:11:08 Running on prd-centos7-docker-4c-2g-5147 in /w/workspace/dgexfoundry_device-rest-go_PR-95 [Pipeline] { [Pipeline] ws 11:11:08 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:11:11 using credential edgex-jenkins-ssh 11:11:11 Cloning the remote Git repository 11:11:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:11:11 > git init /w/workspace/device-rest-go/2 # timeout=10 11:11:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:11:11 > git --version # timeout=10 11:11:11 > git --version # 'git version 2.24.3' 11:11:11 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:11:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:11:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:11:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:11:13 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 2d6897ad21f311d49f4974b8dbf2de077c7c0aba 11:11:13 Merge succeeded, producing 20729ba83d4085cc8594786e50b5c7cda808137e 11:11:13 Checking out Revision 20729ba83d4085cc8594786e50b5c7cda808137e (PR-95) 11:11:13 > git config core.sparsecheckout # timeout=10 11:11:13 > git checkout -f 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 11:11:13 > git remote # timeout=10 11:11:13 > git config --get remote.origin.url # timeout=10 11:11:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:13 > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 11:11:13 > git rev-parse HEAD^{commit} # timeout=10 11:11:13 > git config core.sparsecheckout # timeout=10 11:11:13 > git checkout -f 20729ba83d4085cc8594786e50b5c7cda808137e # timeout=10 11:11:16 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" 11:11:16 > git rev-list --no-walk 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:11:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:11:18 + sudo service docker restart 11:11:18 + true 11:11:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:11:19 provisioning config files... 11:11:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1499556297720328321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:20 ---> docker-login.sh 11:11:20 nexus3.edgexfoundry.org:10001 11:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:20 Configure a credential helper to remove this warning. See 11:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:20 11:11:20 Login Succeeded 11:11:20 nexus3.edgexfoundry.org:10002 11:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:20 Configure a credential helper to remove this warning. See 11:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:20 11:11:20 Login Succeeded 11:11:20 nexus3.edgexfoundry.org:10003 11:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:20 Configure a credential helper to remove this warning. See 11:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:20 11:11:20 Login Succeeded 11:11:20 nexus3.edgexfoundry.org:10004 11:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:21 Configure a credential helper to remove this warning. See 11:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:21 11:11:21 Login Succeeded 11:11:21 docker.io 11:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:11:21 Configure a credential helper to remove this warning. See 11:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:11:21 11:11:21 Login Succeeded 11:11:21 ---> docker-login.sh ends [Pipeline] } 11:11:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:11:21 ========================================================= 11:11:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:11:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:11:21 + 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:11:21 Sending build context to Docker daemon 92.16kB 11:11:21 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 11:11:21 Step 2/10 : FROM ${BASE} 11:11:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:11:21 540db60ca938: Pulling fs layer 11:11:21 adcc1eea9eea: Pulling fs layer 11:11:21 4c4ab2625f07: Pulling fs layer 11:11:21 0510c868ecb4: Pulling fs layer 11:11:21 afea3b2eda06: Pulling fs layer 11:11:21 7809a108b3ef: Pulling fs layer 11:11:21 f706445af74f: Pulling fs layer 11:11:21 0510c868ecb4: Waiting 11:11:21 afea3b2eda06: Waiting 11:11:21 7809a108b3ef: Waiting 11:11:21 f706445af74f: Waiting 11:11:22 4c4ab2625f07: Verifying Checksum 11:11:22 4c4ab2625f07: Download complete 11:11:22 adcc1eea9eea: Verifying Checksum 11:11:22 adcc1eea9eea: Download complete 11:11:22 afea3b2eda06: Verifying Checksum 11:11:22 afea3b2eda06: Download complete 11:11:22 540db60ca938: Verifying Checksum 11:11:22 540db60ca938: Download complete 11:11:22 7809a108b3ef: Verifying Checksum 11:11:22 7809a108b3ef: Download complete 11:11:22 540db60ca938: Pull complete 11:11:22 adcc1eea9eea: Pull complete 11:11:22 4c4ab2625f07: Pull complete 11:11:24 f706445af74f: Verifying Checksum 11:11:24 f706445af74f: Download complete 11:11:24 0510c868ecb4: Verifying Checksum 11:11:24 0510c868ecb4: Download complete 11:11:31 0510c868ecb4: Pull complete 11:11:31 afea3b2eda06: Pull complete 11:11:31 7809a108b3ef: Pull complete 11:11:34 f706445af74f: Pull complete 11:11:34 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 11:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:11:34 ---> b068be0155e3 11:11:34 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:35 ---> Running in ad161c5a048e 11:11:35 Removing intermediate container ad161c5a048e 11:11:35 ---> e0a84541c6ea 11:11:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:11:36 ---> Running in 87afe3f9da82 11:11:36 Removing intermediate container 87afe3f9da82 11:11:36 ---> ff6701a74321 11:11:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:11:36 ---> Running in a5f1f47209db 11:11:36 Removing intermediate container a5f1f47209db 11:11:36 ---> 97dfdb520a19 11:11:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:36 ---> Running in f32a3b7de9b8 11:11:37 Removing intermediate container f32a3b7de9b8 11:11:37 ---> fd6c25b63172 11:11:37 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:37 ---> Running in d4e17258b7b3 11:11:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:11:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:11:40 (1/9) Installing libc-dev (0.7.2-r3) 11:11:40 (2/9) Installing libsodium (1.0.18-r0) 11:11:40 (3/9) Installing pkgconf (1.7.3-r0) 11:11:40 (4/9) Installing libsodium-dev (1.0.18-r0) 11:11:40 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:11:40 (6/9) Installing libedit (20191231.3.1-r1) 11:11:40 (7/9) Installing openssh-client (8.4_p1-r3) 11:11:41 (8/9) Installing libzmq (4.3.3-r1) 11:11:41 (9/9) Installing zeromq-dev (4.3.3-r1) 11:11:41 Executing busybox-1.32.1-r6.trigger 11:11:41 OK: 154 MiB in 49 packages 11:11:42 Removing intermediate container d4e17258b7b3 11:11:42 ---> e9f76b35028f 11:11:42 Step 8/10 : WORKDIR /device-rest-go 11:11:42 ---> Running in 2e6a5711d774 11:11:42 Removing intermediate container 2e6a5711d774 11:11:42 ---> 36cc3d853cfa 11:11:42 Step 9/10 : COPY . . 11:11:42 ---> 6d99d1b290fb 11:11:42 Step 10/10 : RUN go mod download 11:11:42 ---> Running in 1b194bb85fe2 11:11:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5146 in /w/workspace/dgexfoundry_device-rest-go_PR-95 [Pipeline] { [Pipeline] ws 11:11:50 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 11:11:56 using credential edgex-jenkins-ssh 11:11:56 Cloning the remote Git repository 11:11:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:11:56 > git init /w/workspace/device-rest-go/2 # timeout=10 11:11:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:11:57 > git --version # timeout=10 11:11:57 > git --version # 'git version 2.17.1' 11:11:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:59 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 2d6897ad21f311d49f4974b8dbf2de077c7c0aba 11:11:59 Merge succeeded, producing c09d5e72c13119063f19e692723c03f058554732 11:11:59 Checking out Revision c09d5e72c13119063f19e692723c03f058554732 (PR-95) 11:11:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:11:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:11:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:11:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:11:58 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:11:59 > git config core.sparsecheckout # timeout=10 11:11:59 > git checkout -f 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 11:11:59 > git remote # timeout=10 11:11:59 > git config --get remote.origin.url # timeout=10 11:11:59 using GIT_SSH to set credentials SSH Credentials for GitHub 11:11:59 > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 11:11:59 > git rev-parse HEAD^{commit} # timeout=10 11:11:59 > git config core.sparsecheckout # timeout=10 11:11:59 > git checkout -f c09d5e72c13119063f19e692723c03f058554732 # timeout=10 11:12:03 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" 11:12:03 > git rev-list --no-walk 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:04 Removing intermediate container 1b194bb85fe2 11:12:04 ---> 3aded251f8f7 11:12:04 Successfully built 3aded251f8f7 11:12:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:12:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 11:12:05 + docker inspect -f . ci-base-image-x86_64 11:12:05 . [Pipeline] withDockerContainer 11:12:05 prd-centos7-docker-4c-2g-5147 does not seem to be running inside a container 11:12:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:12:06 $ docker top 627e85f2ce5d3aba8c137ac96789a475d754642f249a34d7030f276ff730d9ff -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 11:12:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:12:07 + go version 11:12:07 go version go1.16.3 linux/amd64 [Pipeline] } 11:12:07 $ docker stop --time=1 627e85f2ce5d3aba8c137ac96789a475d754642f249a34d7030f276ff730d9ff 11:12:07 + sudo service docker restart 11:12:07 + true 11:12:08 $ docker rm -f 627e85f2ce5d3aba8c137ac96789a475d754642f249a34d7030f276ff730d9ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:12:08 + docker inspect -f . ci-base-image-x86_64 11:12:08 . [Pipeline] withDockerContainer 11:12:09 prd-centos7-docker-4c-2g-5147 does not seem to be running inside a container 11:12:09 $ 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:12:09 $ docker top eb47c094d35ea3439bb0fe9b0654b9fe6934e14e1d3e9f9a4b24e778b8407048 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 11:12:10 provisioning config files... 11:12:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6590885630016194658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:10 + go mod tidy 11:12:10 ---> docker-login.sh 11:12:10 nexus3.edgexfoundry.org:10001 [Pipeline] sh 11:12:11 + make test 11:12:11 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:11 Configure a credential helper to remove this warning. See 11:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:11 11:12:11 Login Succeeded 11:12:11 nexus3.edgexfoundry.org:10002 11:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:12 Configure a credential helper to remove this warning. See 11:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:12 11:12:12 Login Succeeded 11:12:12 nexus3.edgexfoundry.org:10003 11:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:12 ? github.com/edgexfoundry/device-rest-go [no test files] 11:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:13 Configure a credential helper to remove this warning. See 11:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:13 11:12:13 Login Succeeded 11:12:13 nexus3.edgexfoundry.org:10004 11:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:13 Configure a credential helper to remove this warning. See 11:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:13 11:12:13 Login Succeeded 11:12:13 docker.io 11:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:12:14 Configure a credential helper to remove this warning. See 11:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:12:14 11:12:14 Login Succeeded 11:12:14 ---> docker-login.sh ends [Pipeline] } 11:12:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:12:14 ========================================================= 11:12:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:12:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:12:14 + 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:12:14 Sending build context to Docker daemon 92.16kB 11:12:15 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 11:12:15 Step 2/10 : FROM ${BASE} 11:12:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:12:15 595b0fe564bb: Pulling fs layer 11:12:15 7186ed65a4f7: Pulling fs layer 11:12:15 316046926c0a: Pulling fs layer 11:12:15 4ebd0625c992: Pulling fs layer 11:12:15 207e8628e3a3: Pulling fs layer 11:12:15 c791037a9be2: Pulling fs layer 11:12:15 ffd874e62e21: Pulling fs layer 11:12:15 207e8628e3a3: Waiting 11:12:15 c791037a9be2: Waiting 11:12:15 4ebd0625c992: Waiting 11:12:15 ffd874e62e21: Waiting 11:12:15 316046926c0a: Verifying Checksum 11:12:15 316046926c0a: Download complete 11:12:15 7186ed65a4f7: Verifying Checksum 11:12:15 7186ed65a4f7: Download complete 11:12:15 207e8628e3a3: Verifying Checksum 11:12:15 207e8628e3a3: Download complete 11:12:15 c791037a9be2: Verifying Checksum 11:12:15 c791037a9be2: Download complete 11:12:15 595b0fe564bb: Verifying Checksum 11:12:15 595b0fe564bb: Download complete 11:12:15 595b0fe564bb: Pull complete 11:12:16 7186ed65a4f7: Pull complete 11:12:17 316046926c0a: Pull complete 11:12:17 ffd874e62e21: Verifying Checksum 11:12:17 ffd874e62e21: Download complete 11:12:19 4ebd0625c992: Download complete 11:12:29 4ebd0625c992: Pull complete 11:12:29 207e8628e3a3: Pull complete 11:12:29 c791037a9be2: Pull complete 11:12:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:12:31 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements 11:12:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:12:33 ffd874e62e21: Pull complete 11:12:33 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 11:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:12:33 ---> cfc18b08335c 11:12:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:12:36 ---> Running in c0a90285270c 11:12:36 Removing intermediate container c0a90285270c 11:12:36 ---> 610093945f7a 11:12:36 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:12:36 ---> Running in 273395392bfb 11:12:37 Removing intermediate container 273395392bfb 11:12:37 ---> 172b4f7a6320 11:12:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:12:37 ---> Running in 58b74bdaa9f4 11:12:37 Removing intermediate container 58b74bdaa9f4 11:12:37 ---> 5812c26c64b1 11:12:37 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:37 ---> Running in aced1a50afa5 11:12:40 Removing intermediate container aced1a50afa5 11:12:40 ---> 8a53f95a2c6b 11:12:40 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:40 ---> Running in 6acb24a10937 11:12:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:12:41 gofmt -l . 11:12:41 [ "`gofmt -l .`" = "" ] 11:12:41 ./bin/test-go-mod-tidy.sh 11:12:41 ./bin/test-attribution-txt.sh [Pipeline] } 11:12:41 $ docker stop --time=1 eb47c094d35ea3439bb0fe9b0654b9fe6934e14e1d3e9f9a4b24e778b8407048 11:12:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:12:43 (1/9) Installing libc-dev (0.7.2-r3) 11:12:43 (2/9) Installing libsodium (1.0.18-r0) 11:12:43 (3/9) Installing pkgconf (1.7.3-r0) 11:12:43 (4/9) Installing libsodium-dev (1.0.18-r0) 11:12:43 (5/9) Installing openssh-keygen (8.4_p1-r3) 11:12:43 $ docker rm -f eb47c094d35ea3439bb0fe9b0654b9fe6934e14e1d3e9f9a4b24e778b8407048 11:12:43 (6/9) Installing libedit (20191231.3.1-r1) 11:12:43 (7/9) Installing openssh-client (8.4_p1-r3) [Pipeline] // withDockerContainer [Pipeline] sh 11:12:44 (8/9) Installing libzmq (4.3.3-r1) 11:12:44 (9/9) Installing zeromq-dev (4.3.3-r1) 11:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:44 Executing busybox-1.32.1-r6.trigger 11:12:44 OK: 144 MiB in 49 packages 11:12:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:45 Removing intermediate container 6acb24a10937 11:12:45 ---> f632649197c4 11:12:45 Step 8/10 : WORKDIR /device-rest-go 11:12:45 ---> Running in 2cdcd25082e9 11:12:46 + ls -al . 11:12:46 total 104 11:12:46 drwxrwxr-x. 8 jenkins jenkins 4096 May 13 11:12 . 11:12:46 drwxrwxr-x. 4 jenkins jenkins 28 May 13 11:11 .. 11:12:46 -rw-rw-r--. 1 jenkins jenkins 6792 May 13 11:11 Attribution.txt 11:12:46 drwxrwxr-x. 2 jenkins jenkins 64 May 13 11:11 bin 11:12:46 drwxrwxr-x. 3 jenkins jenkins 32 May 13 11:11 cmd 11:12:46 -rw-r--r--. 1 jenkins jenkins 8513 May 13 11:12 coverage.out 11:12:46 -rw-rw-r--. 1 jenkins jenkins 1602 May 13 11:11 Dockerfile 11:12:46 -rw-rw-r--. 1 jenkins jenkins 1087 May 13 11:11 Dockerfile.build 11:12:46 -rw-rw-r--. 1 jenkins jenkins 151 May 13 11:11 .dockerignore 11:12:46 drwxrwxr-x. 2 jenkins jenkins 76 May 13 11:11 driver 11:12:46 drwxrwxr-x. 8 jenkins jenkins 179 May 13 11:11 .git 11:12:46 drwxrwxr-x. 2 jenkins jenkins 103 May 13 11:11 .github 11:12:46 -rw-rw-r--. 1 jenkins jenkins 339 May 13 11:11 .gitignore 11:12:46 -rw-r--r--. 1 jenkins jenkins 285 May 13 11:12 go.mod 11:12:46 -rw-r--r--. 1 jenkins jenkins 20782 May 13 11:12 go.sum 11:12:46 -rw-rw-r--. 1 jenkins jenkins 680 May 13 11:11 Jenkinsfile 11:12:46 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 11:11 LICENSE 11:12:46 -rw-rw-r--. 1 jenkins jenkins 976 May 13 11:11 Makefile 11:12:46 -rw-rw-r--. 1 jenkins jenkins 7667 May 13 11:11 README.md 11:12:46 drwxrwxr-x. 4 jenkins jenkins 71 May 13 11:11 snap 11:12:46 -rw-rw-r--. 1 jenkins jenkins 5 May 13 11:08 VERSION 11:12:46 -rw-rw-r--. 1 jenkins jenkins 713 May 13 11:11 version.go [Pipeline] isUnix [Pipeline] sh 11:12:46 + 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=c83f3facbea0e05b2abce4455565e3db68c0c6c1 --label arch=amd64 --label version=0.0.0 . 11:12:46 Sending build context to Docker daemon 101.9kB 11:12:46 Removing intermediate container 2cdcd25082e9 11:12:46 ---> a8782edf4f76 11:12:46 Step 9/10 : COPY . . 11:12:46 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 11:12:46 Step 2/24 : FROM ${BASE} AS builder 11:12:46 ---> 3aded251f8f7 11:12:46 Step 3/24 : ARG MAKE='make build' 11:12:46 ---> Running in c428b51456c3 11:12:46 Removing intermediate container c428b51456c3 11:12:46 ---> 440abd7dddc5 11:12:46 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:12:46 ---> Running in d735680aec5e 11:12:47 ---> 586ba7bf1680 11:12:47 Step 10/10 : RUN go mod download 11:12:47 ---> Running in 54d9d7123d26 11:12:47 Removing intermediate container d735680aec5e 11:12:47 ---> 53c7a9f52224 11:12:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:12:47 ---> Running in 62b15f783a9e 11:12:47 Removing intermediate container 62b15f783a9e 11:12:47 ---> 54d08f52703e 11:12:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:47 ---> Running in 0ecac68a719a 11:12:48 Removing intermediate container 0ecac68a719a 11:12:48 ---> c284eac5f5d4 11:12:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:48 ---> Running in c2a682c9abbf 11:12:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:12:50 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:12:51 OK: 154 MiB in 49 packages 11:12:51 Removing intermediate container c2a682c9abbf 11:12:51 ---> 117f131c2745 11:12:51 Step 8/24 : WORKDIR /device-rest-go 11:12:51 ---> Running in 15c99e949ed4 11:12:51 Removing intermediate container 15c99e949ed4 11:12:51 ---> 9480cb7715d5 11:12:51 Step 9/24 : COPY . . 11:12:52 ---> 3c484b0a52db 11:12:52 Step 10/24 : RUN make update 11:12:52 ---> Running in fa62e259255c 11:12:52 CGO_ENABLED=0 GO111MODULE=on go mod download 11:12:53 Removing intermediate container fa62e259255c 11:12:53 ---> b41a41fad869 11:12:53 Step 11/24 : RUN $MAKE 11:12:53 ---> Running in c6164c640fbb 11:12:54 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:09 Removing intermediate container c6164c640fbb 11:13:09 ---> 6e37aecb5d3d 11:13:09 Step 12/24 : FROM alpine:3.12 11:13:09 3.12: Pulling from library/alpine 11:13:09 339de151aab4: Pulling fs layer 11:13:09 339de151aab4: Verifying Checksum 11:13:09 339de151aab4: Download complete 11:13:09 339de151aab4: Pull complete 11:13:09 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:13:09 Status: Downloaded newer image for alpine:3.12 11:13:09 ---> 13621d1b12d4 11:13:09 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:13:09 ---> Running in 148eb63e84bd 11:13:09 Removing intermediate container 148eb63e84bd 11:13:09 ---> 65cc34271c5f 11:13:09 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:13:09 ---> Running in 1a272b473692 11:13:09 Removing intermediate container 1a272b473692 11:13:09 ---> f5e9d878a28b 11:13:09 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:13:09 ---> Running in d106fdd7c2cc 11:13:09 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:13:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:13:10 (1/6) Installing dumb-init (1.2.2-r1) 11:13:10 (2/6) Installing libgcc (9.3.0-r2) 11:13:10 (3/6) Installing libsodium (1.0.18-r0) 11:13:10 (4/6) Installing libstdc++ (9.3.0-r2) 11:13:10 (5/6) Installing libzmq (4.3.3-r0) 11:13:10 (6/6) Installing zeromq (4.3.3-r0) 11:13:10 Executing busybox-1.31.1-r20.trigger 11:13:10 OK: 8 MiB in 20 packages 11:13:10 Removing intermediate container d106fdd7c2cc 11:13:10 ---> 505195da7e29 11:13:10 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:13:11 ---> 3aeca8ce3057 11:13:11 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:13:11 ---> 0645822fb75d 11:13:11 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:13:12 ---> 0c793a2d65d8 11:13:12 Step 19/24 : EXPOSE 49986 11:13:12 ---> Running in ede5ff2fdd5e 11:13:12 Removing intermediate container ede5ff2fdd5e 11:13:12 ---> b2ab8ac5e4d9 11:13:12 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 11:13:12 ---> Running in 15739106bd46 11:13:12 Removing intermediate container 15739106bd46 11:13:12 ---> 67a24d80722b 11:13:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:13:12 ---> Running in 18b83d640ff4 11:13:12 Removing intermediate container 18b83d640ff4 11:13:12 ---> bd14f7ad824a 11:13:12 Step 22/24 : LABEL arch=amd64 11:13:12 ---> Running in b8029d51be0e 11:13:13 Removing intermediate container b8029d51be0e 11:13:13 ---> e47a86dd81df 11:13:13 Step 23/24 : LABEL git_sha=c83f3facbea0e05b2abce4455565e3db68c0c6c1 11:13:13 ---> Running in b1c068dfa21e 11:13:13 Removing intermediate container b1c068dfa21e 11:13:13 ---> fef33d6f81cc 11:13:13 Step 24/24 : LABEL version=0.0.0 11:13:13 ---> Running in 3d30c98f695d 11:13:13 Removing intermediate container 3d30c98f695d 11:13:13 ---> 4efcdd740358 11:13:13 [Warning] One or more build-args [ARCH] were not consumed 11:13:13 Successfully built 4efcdd740358 11:13:13 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 11:13:13 Removing intermediate container 54d9d7123d26 11:13:13 ---> f895ce498df9 11:13:13 Successfully built f895ce498df9 11:13:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 11:13:14 ---> job-cost.sh 11:13:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tHuY 11:13:14 + docker inspect -f . ci-base-image-arm64 11:13:14 . [Pipeline] withDockerContainer 11:13:14 prd-ubuntu18.04-docker-arm64-4c-16g-5146 does not seem to be running inside a container 11:13:14 $ 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 ******** ci-base-image-arm64 cat 11:13:16 $ docker top c4dc293d71fc276cb9419dd749760543719de2ab48028750d57317397d679ffe -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:16 + go version 11:13:16 go version go1.16.3 linux/arm64 [Pipeline] } 11:13:16 $ docker stop --time=1 c4dc293d71fc276cb9419dd749760543719de2ab48028750d57317397d679ffe 11:13:18 $ docker rm -f c4dc293d71fc276cb9419dd749760543719de2ab48028750d57317397d679ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:13:19 + docker inspect -f . ci-base-image-arm64 11:13:19 . [Pipeline] withDockerContainer 11:13:19 prd-ubuntu18.04-docker-arm64-4c-16g-5146 does not seem to be running inside a container 11:13:19 $ 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 ******** ci-base-image-arm64 cat 11:13:21 $ docker top 17e3dbee4c222a47dc15d0c325dbd247604e131d533a57e577b46294de1f99c8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:22 + go mod tidy [Pipeline] sh 11:13:23 + make test 11:13:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:13:25 ? github.com/edgexfoundry/device-rest-go [no test files] 11:13:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:14:01 lf-activate-venv(): INFO: Adding /tmp/venv-tHuY/bin to PATH 11:14:01 INFO: No Stack... 11:14:01 INFO: Retrieving Pricing Info for: v1-standard-2 11:14:01 INFO: Archiving Costs [Pipeline] sh 11:14:01 + cat /w/workspace/device-rest-go/2/archives/cost.csv 11:14:01 + cut -d, -f6 [Pipeline] lock 11:14:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] 11:14:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] did not exist. Created. 11:14:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:02 + echo total: 0.029999999329447746 [Pipeline] stash 11:14:02 Stashed 1 file(s) [Pipeline] } 11:14:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:14:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:14:21 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements 11:14:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:14:44 gofmt -l . 11:14:44 [ "`gofmt -l .`" = "" ] 11:14:44 ./bin/test-go-mod-tidy.sh 11:14:44 ./bin/test-attribution-txt.sh [Pipeline] } 11:14:44 $ docker stop --time=1 17e3dbee4c222a47dc15d0c325dbd247604e131d533a57e577b46294de1f99c8 11:14:46 $ docker rm -f 17e3dbee4c222a47dc15d0c325dbd247604e131d533a57e577b46294de1f99c8 [Pipeline] // withDockerContainer [Pipeline] sh 11:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:14:47 Warning: overwriting stash ‘coverage-report’ 11:14:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:14:48 + ls -al . 11:14:48 total 132 11:14:48 drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:14 . 11:14:48 drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:11 .. 11:14:48 -rw-rw-r-- 1 jenkins jenkins 151 May 13 11:11 .dockerignore 11:14:48 drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:12 .git 11:14:48 drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:11 .github 11:14:48 -rw-rw-r-- 1 jenkins jenkins 339 May 13 11:11 .gitignore 11:14:48 -rw-rw-r-- 1 jenkins jenkins 6792 May 13 11:11 Attribution.txt 11:14:48 -rw-rw-r-- 1 jenkins jenkins 1602 May 13 11:11 Dockerfile 11:14:48 -rw-rw-r-- 1 jenkins jenkins 1087 May 13 11:11 Dockerfile.build 11:14:48 -rw-rw-r-- 1 jenkins jenkins 680 May 13 11:11 Jenkinsfile 11:14:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 11:11 LICENSE 11:14:48 -rw-rw-r-- 1 jenkins jenkins 976 May 13 11:11 Makefile 11:14:48 -rw-rw-r-- 1 jenkins jenkins 7667 May 13 11:11 README.md 11:14:48 -rw-rw-r-- 1 jenkins jenkins 5 May 13 11:08 VERSION 11:14:48 drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:11 bin 11:14:48 drwxrwxr-x 3 jenkins jenkins 4096 May 13 11:11 cmd 11:14:48 -rw-r--r-- 1 jenkins jenkins 8513 May 13 11:14 coverage.out 11:14:48 drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:11 driver 11:14:48 -rw-r--r-- 1 jenkins jenkins 285 May 13 11:14 go.mod 11:14:48 -rw-r--r-- 1 jenkins jenkins 20782 May 13 11:13 go.sum 11:14:48 drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:11 snap 11:14:48 -rw-rw-r-- 1 jenkins jenkins 713 May 13 11:11 version.go [Pipeline] isUnix [Pipeline] sh 11:14: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=c83f3facbea0e05b2abce4455565e3db68c0c6c1 --label arch=arm64 --label version=0.0.0 . 11:14:49 Sending build context to Docker daemon 101.9kB 11:14:49 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 11:14:49 Step 2/24 : FROM ${BASE} AS builder 11:14:49 ---> f895ce498df9 11:14:49 Step 3/24 : ARG MAKE='make build' 11:14:49 ---> Running in d5f1162deaa5 11:14:50 Removing intermediate container d5f1162deaa5 11:14:50 ---> 49e2bb6d3b21 11:14:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:14:50 ---> Running in b93278c0ed49 11:14:50 Removing intermediate container b93278c0ed49 11:14:50 ---> 78eb4c73069d 11:14:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:14:50 ---> Running in 58a33fe4dc91 11:14:51 Removing intermediate container 58a33fe4dc91 11:14:51 ---> 3c84946a7acf 11:14:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:14:51 ---> Running in 7860d79d7fe3 11:14:53 Removing intermediate container 7860d79d7fe3 11:14:53 ---> 9a56e88e98b9 11:14:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:53 ---> Running in 596eb483e0cd 11:14:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:14:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:14:56 OK: 144 MiB in 49 packages 11:14:57 Removing intermediate container 596eb483e0cd 11:14:57 ---> 7edf2be2a58c 11:14:57 Step 8/24 : WORKDIR /device-rest-go 11:14:57 ---> Running in 557698460d9c 11:14:58 Removing intermediate container 557698460d9c 11:14:58 ---> b02e774c81c4 11:14:58 Step 9/24 : COPY . . 11:14:59 ---> f9e4cacce770 11:14:59 Step 10/24 : RUN make update 11:14:59 ---> Running in e8028bca1682 11:15:00 CGO_ENABLED=0 GO111MODULE=on go mod download 11:15:01 Removing intermediate container e8028bca1682 11:15:01 ---> 33bb335be1f5 11:15:01 Step 11/24 : RUN $MAKE 11:15:01 ---> Running in 33498fe9078c 11:15: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 11:15:41 Removing intermediate container 33498fe9078c 11:15:41 ---> 994bef1e83c0 11:15:41 Step 12/24 : FROM alpine:3.12 11:15:41 3.12: Pulling from library/alpine 11:15:41 d2f70382dc9a: Pulling fs layer 11:15:41 d2f70382dc9a: Download complete 11:15:41 d2f70382dc9a: Pull complete 11:15:41 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:15:41 Status: Downloaded newer image for alpine:3.12 11:15:41 ---> 9852663dfa18 11:15:41 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:15:41 ---> Running in 5b1f9fd16de9 11:15:41 Removing intermediate container 5b1f9fd16de9 11:15:41 ---> d3a1f4942797 11:15:41 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 11:15:41 ---> Running in c280397d3113 11:15:41 Removing intermediate container c280397d3113 11:15:41 ---> 5e474648abba 11:15:41 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:15:41 ---> Running in 540f86886dbe 11:15:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:15:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:15:42 (1/6) Installing dumb-init (1.2.2-r1) 11:15:42 (2/6) Installing libgcc (9.3.0-r2) 11:15:42 (3/6) Installing libsodium (1.0.18-r0) 11:15:42 (4/6) Installing libstdc++ (9.3.0-r2) 11:15:42 (5/6) Installing libzmq (4.3.3-r0) 11:15:42 (6/6) Installing zeromq (4.3.3-r0) 11:15:42 Executing busybox-1.31.1-r20.trigger 11:15:42 OK: 8 MiB in 20 packages 11:15:43 Removing intermediate container 540f86886dbe 11:15:43 ---> c1a34f1512f7 11:15:43 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 11:15:44 ---> 3c224f9e5b23 11:15:44 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 11:15:45 ---> c341299b30f4 11:15:45 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 11:15:46 ---> f39c053632d9 11:15:46 Step 19/24 : EXPOSE 49986 11:15:46 ---> Running in 52f1f8ea3888 11:15:47 Removing intermediate container 52f1f8ea3888 11:15:47 ---> 52cdba1a679f 11:15:47 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 11:15:47 ---> Running in 8a8efa2ed6ba 11:15:47 Removing intermediate container 8a8efa2ed6ba 11:15:47 ---> 1f3a595478d1 11:15:47 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:15:47 ---> Running in 1367a64c552f 11:15:48 Removing intermediate container 1367a64c552f 11:15:48 ---> 494df70e1c61 11:15:48 Step 22/24 : LABEL arch=arm64 11:15:48 ---> Running in ecae5942054f 11:15:48 Removing intermediate container ecae5942054f 11:15:48 ---> 1374a01de63e 11:15:48 Step 23/24 : LABEL git_sha=c83f3facbea0e05b2abce4455565e3db68c0c6c1 11:15:48 ---> Running in 874bebaadad2 11:15:49 Removing intermediate container 874bebaadad2 11:15:49 ---> f996f7d5e9e9 11:15:49 Step 24/24 : LABEL version=0.0.0 11:15:49 ---> Running in 9165f9a15759 11:15:50 Removing intermediate container 9165f9a15759 11:15:50 ---> 26997c7af1d9 11:15:50 [Warning] One or more build-args [ARCH] were not consumed 11:15:50 Successfully built 26997c7af1d9 11:15:50 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:15:50 ---> job-cost.sh 11:15:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oJxY 11:16:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:17:51 lf-activate-venv(): INFO: Adding /tmp/venv-oJxY/bin to PATH 11:17:51 INFO: No Stack... 11:17:51 INFO: Retrieving Pricing Info for: lf-standard-4 11:17:52 INFO: Archiving Costs [Pipeline] sh 11:17:52 + + cut -d, -f6 11:17:52 cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 11:17:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] 11:17:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] did not exist. Created. 11:17:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:52 /w/workspace/device-rest-go/2@tmp/durable-a3eb6fd5/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-a3eb6fd5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:17:53 + echo total: 0.20999999344348907 [Pipeline] stash 11:17:53 Warning: overwriting stash ‘stack-cost’ 11:17:53 Stashed 1 file(s) [Pipeline] } 11:17:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-95-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:17:53 provisioning config files... 11:17:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/config7307083107074954608tmp [Pipeline] { [Pipeline] sh 11:17:54 + set +x 11:17:54 + curl -s https://codecov.io/bash 11:17:54 + bash -s -- 11:17:54 11:17:54 _____ _ 11:17:54 / ____| | | 11:17:54 | | ___ __| | ___ ___ _____ __ 11:17:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:17:54 | |___| (_) | (_| | __/ (_| (_) \ V / 11:17:54 \_____\___/ \__,_|\___|\___\___/ \_/ 11:17:54 Bash-1.0.2 11:17:54 11:17:54 11:17:54 ==> git version 2.24.3 found 11:17:54 ==> 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:17:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:17:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:17:54 ==> Jenkins CI detected. 11:17:54 project root: . 11:17:54 --> token set from env 11:17:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:17:54 ==> Running gcov in . (disable via -X gcov) 11:17:54 ==> Python coveragepy not found 11:17:54 ==> Searching for coverage reports in: 11:17:54 + . 11:17:54 -> Found 1 reports 11:17:54 ==> Detecting git/mercurial file structure 11:17:54 ==> Reading reports 11:17:54 + ./coverage.out bytes=8513 11:17:54 ==> Appending adjustments 11:17:54 https://docs.codecov.io/docs/fixing-reports 11:17:54 + Found adjustments 11:17:54 ==> Gzipping contents 11:17:54 4.0K /tmp/codecov.DqQIJs.gz 11:17:54 ==> Uploading reports 11:17:54 url: https://codecov.io 11:17:54 query: branch=PR-95&commit=c83f3facbea0e05b2abce4455565e3db68c0c6c1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=95&job=&cmd_args= 11:17:54 -> Pinging Codecov 11:17:54 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-95&commit=c83f3facbea0e05b2abce4455565e3db68c0c6c1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=95&job=&cmd_args= 11:17:55 -> Uploading to 11:17:55 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/4E5D53B4F1F92C436F7061BF334D961C/c83f3facbea0e05b2abce4455565e3db68c0c6c1/6dd56f3d-5dae-457c-8583-efa19790cff9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T111754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d25d95b6e0eeadd9bbe92a08f55c9208b69b592967498ba11a07a83d52117f3b 11:17:55 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:55 Dload Upload Total Spent Left Speed 11:17:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 2553 --:--:-- --:--:-- --:--:-- 2553 100 1611 0 0 100 1611 0 2552 --:--:-- --:--:-- --:--:-- 2549 11:17:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c83f3facbea0e05b2abce4455565e3db68c0c6c1 [Pipeline] } 11:17:55 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:17:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:17:57 ---> package-listing.sh 11:17:57 ++ facter osfamily 11:17:57 ++ tr '[:upper:]' '[:lower:]' 11:17:57 + OS_FAMILY=redhat 11:17:57 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-95 11:17:57 + START_PACKAGES=/tmp/packages_start.txt 11:17:57 + END_PACKAGES=/tmp/packages_end.txt 11:17:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:17:57 + PACKAGES=/tmp/packages_start.txt 11:17:57 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-95 ']' 11:17:57 + PACKAGES=/tmp/packages_end.txt 11:17:57 + case "${OS_FAMILY}" in 11:17:57 + rpm -qa 11:17:57 + sort 11:18:01 + '[' -f /tmp/packages_start.txt ']' 11:18:01 + '[' -f /tmp/packages_end.txt ']' 11:18:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:18:01 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-95 ']' 11:18:01 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-95/archives/ 11:18:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-95/archives/ [Pipeline] echo 11:18: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-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:18:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:18:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:18:02 11:18:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:18:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:18:02 alpine: Pulling from edgex-lftools-log-publisher 11:18:02 df20fa9351a1: Pulling fs layer 11:18:02 36b3adc4ff6f: Pulling fs layer 11:18:02 8ad3a11d3b57: Pulling fs layer 11:18:02 46f8f816bc3b: Pulling fs layer 11:18:02 93b61091891f: Pulling fs layer 11:18:02 93b9cdb0e59b: Pulling fs layer 11:18:02 5e14af77c1be: Pulling fs layer 11:18:02 01666e4c0597: Pulling fs layer 11:18:02 aa168da1d23b: Pulling fs layer 11:18:02 93b9cdb0e59b: Waiting 11:18:02 5e14af77c1be: Waiting 11:18:02 01666e4c0597: Waiting 11:18:02 93b61091891f: Waiting 11:18:02 36b3adc4ff6f: Verifying Checksum 11:18:02 36b3adc4ff6f: Download complete 11:18:02 46f8f816bc3b: Download complete 11:18:02 df20fa9351a1: Verifying Checksum 11:18:02 df20fa9351a1: Download complete 11:18:02 93b9cdb0e59b: Verifying Checksum 11:18:02 93b9cdb0e59b: Download complete 11:18:03 5e14af77c1be: Verifying Checksum 11:18:03 5e14af77c1be: Download complete 11:18:03 93b61091891f: Download complete 11:18:03 01666e4c0597: Verifying Checksum 11:18:03 01666e4c0597: Download complete 11:18:03 8ad3a11d3b57: Verifying Checksum 11:18:03 8ad3a11d3b57: Download complete 11:18:03 df20fa9351a1: Pull complete 11:18:03 36b3adc4ff6f: Pull complete 11:18:04 8ad3a11d3b57: Pull complete 11:18:04 46f8f816bc3b: Pull complete 11:18:05 aa168da1d23b: Verifying Checksum 11:18:05 aa168da1d23b: Download complete 11:18:05 93b61091891f: Pull complete 11:18:05 93b9cdb0e59b: Pull complete 11:18:05 5e14af77c1be: Pull complete 11:18:06 01666e4c0597: Pull complete 11:18:14 aa168da1d23b: Pull complete 11:18:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:18:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:18:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:18:14 prd-centos7-docker-4c-2g-5143 does not seem to be running inside a container 11:18:14 $ 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-95/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-95 -v /w/workspace/dgexfoundry_device-rest-go_PR-95:/w/workspace/dgexfoundry_device-rest-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-95@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:18:17 $ docker top 12819ec94c4d51fd01d7f49ed5534c4ad35ff5fadf9feba6b83ad2d867553655 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:18 + touch /tmp/pre-build-complete [Pipeline] sh 11:18:18 + mkdir -p /var/log/sa [Pipeline] sh 11:18:18 + ls /var/log/sa-host 11:18:18 + sadf -c /var/log/sa-host/sa13 11:18:18 file_magic: OK 11:18:18 HZ: Using current value: 100 11:18:18 file_header: OK 11:18:18 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:18:18 Statistics: 11:18:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:18:18 File successfully converted to sysstat format version 12.2.1 11:18:18 + sadf -c /var/log/sa-host/sa23 11:18:18 file_magic: OK 11:18:18 HZ: Using current value: 100 11:18:18 file_header: OK 11:18:18 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:18:18 Statistics: 11:18:18 Hnuu...uuuununununu... 11:18:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:19 provisioning config files... 11:18:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/config6874504820258705339tmp [Pipeline] { [Pipeline] echo 11:18:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:18:19 ---> create-netrc.sh [Pipeline] } 11:18:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:18:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:18:19 ---> python-tools-install.sh [Pipeline] echo 11:18:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:18:20 ---> sudo-logs.sh 11:18:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:18:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:18:20 ---> job-cost.sh 11:18:20 lf-activate-venv: SKIPPING 11:18:20 DEBUG: total: 0.20999999344348907 11:18:20 INFO: Retrieving Stack Cost... 11:18:21 INFO: Retrieving Pricing Info for: v1-standard-2 11:18:22 INFO: Archiving Costs [Pipeline] echo 11:18:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:18:22 ---> logs-deploy.sh 11:18:22 lf-activate-venv: SKIPPING 11:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-95/2 11:18:22 INFO: archiving workspace using pattern(s): 11:18:24 Archives upload complete. 11:18:24 INFO: archiving logs to Nexus