Pull request #42 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Loading trusted files from base branch master at 93ede67d7b538e9acd9cb68b0396d1389d21b332 rather than ba56079dcd965efb9fd8760ac183997e1f44e019 Obtained Jenkinsfile from 93ede67d7b538e9acd9cb68b0396d1389d21b332 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-795 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-42 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit ba56079dcd965efb9fd8760ac183997e1f44e019 Merge succeeded, producing df2cf370c29f261b31d0ac7aac0317f24a945643 Checking out Revision df2cf370c29f261b31d0ac7aac0317f24a945643 (PR-42) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba56079dcd965efb9fd8760ac183997e1f44e019 # 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 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df2cf370c29f261b31d0ac7aac0317f24a945643 # timeout=10 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:05:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:05:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:05:59 ========================================================= 06:05:59 EdgeX Global Pipelines Version Info 06:05:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:06:01 ------------------- 06:06:01 stable info: 06:06:01 ------------------- 06:06:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:06:01 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 06:06:01 Message: update stable to v1.0.122 06:06:02 ------------------- 06:06:02 experimental info: 06:06:02 ------------------- 06:06:02 Commited By: **** collab-it+edgex@linuxfoundation.org 06:06:02 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 06:06:02 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:06:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:06:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:06:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 06:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 06:06:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 06:06:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df2cf370c29f261b31d0ac7aac0317f24a945643 [Pipeline] echo 06:06:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df2cf37 [Pipeline] echo 06:06:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:05 + git log --format=format:%s -1 df2cf370c29f261b31d0ac7aac0317f24a945643 [Pipeline] echo 06:06:05 GIT_COMMIT: df2cf370c29f261b31d0ac7aac0317f24a945643, Commit Message: Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD [Pipeline] echo 06:06:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:06 06:06:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:06:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:07 latest: Pulling from edgex-devops/git-semver 06:06:07 31603596830f: Pulling fs layer 06:06:07 2a8b12db71e7: Pulling fs layer 06:06:07 6ca5941a6612: Pulling fs layer 06:06:07 ecc8261a40a4: Pulling fs layer 06:06:07 ecc8261a40a4: Waiting 06:06:07 2a8b12db71e7: Verifying Checksum 06:06:07 2a8b12db71e7: Download complete 06:06:07 31603596830f: Verifying Checksum 06:06:07 31603596830f: Download complete 06:06:07 ecc8261a40a4: Verifying Checksum 06:06:07 ecc8261a40a4: Download complete 06:06:07 6ca5941a6612: Verifying Checksum 06:06:07 6ca5941a6612: Download complete 06:06:07 31603596830f: Pull complete 06:06:07 2a8b12db71e7: Pull complete 06:06:08 6ca5941a6612: Pull complete 06:06:08 ecc8261a40a4: Pull complete 06:06:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:06:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:06:08 prd-centos7-docker-4c-2g-795 does not seem to be running inside a container 06:06:08 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:06:11 $ docker top ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:11 [ssh-agent] Looking for ssh-agent implementation... 06:06:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:11 $ docker exec ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent 06:06:12 SSH_AUTH_SOCK=/tmp/ssh-N9olWh6yC5aY/agent.12 06:06:12 SSH_AGENT_PID=17 06:06:12 Running ssh-add (command line suppressed) 06:06:12 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6476080224680723410.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_6476080224680723410.key) 06:06:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:12 + git describe --exact-match --tags HEAD 06:06:12 fatal: No names found, cannot describe anything. [Pipeline] } 06:06:12 $ docker exec --env ******** --env ******** ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent -k 06:06:12 unset SSH_AUTH_SOCK; 06:06:12 unset SSH_AGENT_PID; 06:06:12 echo Agent pid 17 killed; 06:06:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:06:12 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:06:12 This usually means this commit has not been tagged. [Pipeline] sshagent 06:06:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:13 [ssh-agent] Looking for ssh-agent implementation... 06:06:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:13 $ docker exec ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent 06:06:13 SSH_AUTH_SOCK=/tmp/ssh-qXgNs6oInGvH/agent.45 06:06:13 SSH_AGENT_PID=50 06:06:13 Running ssh-add (command line suppressed) 06:06:13 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3009713013842939080.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_3009713013842939080.key) 06:06:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:13 + git semver init 06:06:13 # -> Open(): unable to determine branch for HEAD 06:06:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git 06:06:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 06:06:13 # $SEMVER_REMOTE_NAME = origin 06:06:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:06:13 # $SEMVER_USER_NAME = edgex-jenkins 06:06:13 # $SEMVER_BRANCH = PR-42 06:06:13 # $SEMVER_TEMP = /tmp/semver-773751612 06:06:13 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:06:14 # '/tmp/semver-773751612' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' 06:06:14 # -> Force: false 06:06:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } 06:06:14 $ docker exec --env ******** --env ******** ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 ssh-agent -k 06:06:15 unset SSH_AUTH_SOCK; 06:06:15 unset SSH_AGENT_PID; 06:06:15 echo Agent pid 50 killed; 06:06:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:15 + git semver [Pipeline] } 06:06:15 $ docker stop --time=1 ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 06:06:17 $ docker rm -f ba9250d3f2a6fa7ea79c48da06e839baf91b31cb5a20a9bb76c448ccc7278d45 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:06:18 Stashed 23 file(s) [Pipeline] echo 06:06:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:06:18 Archived original 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 06:06:34 Still waiting to schedule task 06:06:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:06:34 Still waiting to schedule task 06:06:34 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-794’ 06:08:00 Running on prd-centos7-docker-4c-2g-797 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 06:08:00 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 06:08:03 using credential edgex-jenkins-ssh 06:08:03 Cloning the remote Git repository 06:08:03 Cloning with configured refspecs honoured and without tags 06:08:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:08:03 > git init /w/workspace/device-rest-go/7 # timeout=10 06:08:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:08:03 > git --version # timeout=10 06:08:03 > git --version # 'git version 2.16.5' 06:08:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:08:05 Fetching without tags 06:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:08:05 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 06:08:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:08:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:08:05 Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit ba56079dcd965efb9fd8760ac183997e1f44e019 06:08:05 Merge succeeded, producing c31387e1e5b207fc998692c0063374755eb4da2e 06:08:05 Checking out Revision c31387e1e5b207fc998692c0063374755eb4da2e (PR-42) 06:08:05 > git config core.sparsecheckout # timeout=10 06:08:05 > git checkout -f ba56079dcd965efb9fd8760ac183997e1f44e019 # timeout=10 06:08:05 > git remote # timeout=10 06:08:05 > git config --get remote.origin.url # timeout=10 06:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:05 > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 06:08:05 > git rev-parse HEAD^{commit} # timeout=10 06:08:05 > git config core.sparsecheckout # timeout=10 06:08:05 > git checkout -f c31387e1e5b207fc998692c0063374755eb4da2e # timeout=10 06:08:09 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" 06:08:09 First time build. Skipping changelog. 06:08:09 > git rev-list --no-walk d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:08:10 ========================================================= 06:08:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:08:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:08:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:08:11 Sending build context to Docker daemon 8.054MB 06:08:11 Step 1/10 : ARG BASE=golang:1.15-alpine 06:08:11 Step 2/10 : FROM ${BASE} 06:08:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:08:11 df20fa9351a1: Pulling fs layer 06:08:11 ed8968b2872e: Pulling fs layer 06:08:11 a92cc7c5fd73: Pulling fs layer 06:08:11 e871e8e8d7a9: Pulling fs layer 06:08:11 e73272ec9a57: Pulling fs layer 06:08:11 1e910a182e73: Pulling fs layer 06:08:11 4e634b169226: Pulling fs layer 06:08:11 e871e8e8d7a9: Waiting 06:08:11 e73272ec9a57: Waiting 06:08:11 1e910a182e73: Waiting 06:08:11 4e634b169226: Waiting 06:08:11 a92cc7c5fd73: Verifying Checksum 06:08:11 a92cc7c5fd73: Download complete 06:08:11 ed8968b2872e: Download complete 06:08:11 e73272ec9a57: Download complete 06:08:11 df20fa9351a1: Verifying Checksum 06:08:11 df20fa9351a1: Download complete 06:08:11 df20fa9351a1: Pull complete 06:08:12 ed8968b2872e: Pull complete 06:08:12 a92cc7c5fd73: Pull complete 06:08:13 4e634b169226: Verifying Checksum 06:08:13 4e634b169226: Download complete 06:08:14 e871e8e8d7a9: Verifying Checksum 06:08:14 e871e8e8d7a9: Download complete 06:08:19 e871e8e8d7a9: Pull complete 06:08:19 e73272ec9a57: Pull complete 06:08:19 1e910a182e73: Pull complete 06:08:25 4e634b169226: Pull complete 06:08:25 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:08:25 ---> f7629b54cfaa 06:08:25 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:08:25 ---> Running in 695aca5803fd 06:08:25 Removing intermediate container 695aca5803fd 06:08:25 ---> 7f842c51eb3f 06:08:25 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:08:25 ---> Running in e511dc27d013 06:08:25 Removing intermediate container e511dc27d013 06:08:25 ---> 7ee74157a66e 06:08:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:08:25 ---> Running in 78e2c8dd6a07 06:08:25 Removing intermediate container 78e2c8dd6a07 06:08:25 ---> 29e585ba0dad 06:08:25 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:25 ---> Running in 20397e1f496d 06:08:26 Removing intermediate container 20397e1f496d 06:08:26 ---> 2615b0674524 06:08:26 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:26 ---> Running in c412555a0c2a 06:08:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:08:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:08:28 OK: 166 MiB in 39 packages 06:08:28 Removing intermediate container c412555a0c2a 06:08:28 ---> 1f93673c7781 06:08:28 Step 8/10 : WORKDIR /device-rest-go 06:08:28 ---> Running in 29c41525c97e 06:08:28 Removing intermediate container 29c41525c97e 06:08:28 ---> 29699153098a 06:08:28 Step 9/10 : COPY . . 06:08:29 ---> b7dec60dc731 06:08:29 Step 10/10 : RUN go mod download 06:08:29 ---> Running in 3a86e33222dd 06:08:41 Removing intermediate container 3a86e33222dd 06:08:41 ---> 812a987b3e87 06:08:41 Successfully built 812a987b3e87 06:08:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:08:42 + docker inspect -f . ci-base-image-x86_64 06:08:42 . [Pipeline] withDockerContainer 06:08:42 prd-centos7-docker-4c-2g-797 does not seem to be running inside a container 06:08:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** ci-base-image-x86_64 cat 06:08:43 $ docker top ca1b55f16dbb267d887736c25013a25bb407cfc998e82ea518bffea06bde29e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:43 + go version 06:08:43 go version go1.15.2 linux/amd64 [Pipeline] } 06:08:44 $ docker stop --time=1 ca1b55f16dbb267d887736c25013a25bb407cfc998e82ea518bffea06bde29e9 06:08:45 $ docker rm -f ca1b55f16dbb267d887736c25013a25bb407cfc998e82ea518bffea06bde29e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:08:46 + docker inspect -f . ci-base-image-x86_64 06:08:46 . [Pipeline] withDockerContainer 06:08:46 prd-centos7-docker-4c-2g-797 does not seem to be running inside a container 06:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** ci-base-image-x86_64 cat 06:08:47 $ docker top 884336a698d7df1838e31c0e19bb0f450a6e7ed5e252ffba9d20e4dab005c9c8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:47 + make test 06:08:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:08:47 ? github.com/edgexfoundry/device-rest-go [no test files] 06:08:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:08:58 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements 06:08:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:08:58 gofmt -l . 06:08:59 [ "`gofmt -l .`" = "" ] 06:08:59 ./bin/test-go-mod-tidy.sh 06:08:59 ./bin/test-attribution-txt.sh [Pipeline] stash 06:08:59 Stashed 1 file(s) [Pipeline] } 06:08:59 $ docker stop --time=1 884336a698d7df1838e31c0e19bb0f450a6e7ed5e252ffba9d20e4dab005c9c8 06:09:01 $ docker rm -f 884336a698d7df1838e31c0e19bb0f450a6e7ed5e252ffba9d20e4dab005c9c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:03 + ls -al . 06:09:03 total 96 06:09:03 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 22 06:08 . 06:09:03 drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 06:08 .. 06:09:03 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 22 06:08 Attribution.txt 06:09:03 drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 06:08 bin 06:09:03 drwxrwxr-x. 3 jenkins jenkins 32 Sep 22 06:08 cmd 06:09:03 -rw-r--r--. 1 jenkins jenkins 9369 Sep 22 06:08 coverage.out 06:09:03 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 22 06:08 Dockerfile 06:09:03 -rw-rw-r--. 1 jenkins jenkins 989 Sep 22 06:08 Dockerfile.build 06:09:03 -rw-rw-r--. 1 jenkins jenkins 151 Sep 22 06:08 .dockerignore 06:09:03 drwxrwxr-x. 2 jenkins jenkins 93 Sep 22 06:08 driver 06:09:03 drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 06:08 .git 06:09:03 drwxrwxr-x. 2 jenkins jenkins 38 Sep 22 06:08 .github 06:09:03 -rw-rw-r--. 1 jenkins jenkins 339 Sep 22 06:08 .gitignore 06:09:03 -rw-r--r--. 1 jenkins jenkins 273 Sep 22 06:08 go.mod 06:09:03 -rw-r--r--. 1 jenkins jenkins 12547 Sep 22 06:08 go.sum 06:09:03 -rw-rw-r--. 1 jenkins jenkins 680 Sep 22 06:08 Jenkinsfile 06:09:03 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 22 06:08 LICENSE 06:09:03 -rw-rw-r--. 1 jenkins jenkins 951 Sep 22 06:08 Makefile 06:09:03 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 22 06:08 README.md 06:09:03 drwxrwxr-x. 3 jenkins jenkins 45 Sep 22 06:08 .semver 06:09:03 drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 06:08 snap 06:09:03 -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 06:06 VERSION 06:09:03 -rw-rw-r--. 1 jenkins jenkins 713 Sep 22 06:08 version.go [Pipeline] isUnix [Pipeline] sh 06:09:03 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=df2cf370c29f261b31d0ac7aac0317f24a945643 --label arch=amd64 --label version=0.0.0 . 06:09:03 Sending build context to Docker daemon 8.066MB 06:09:03 Step 1/25 : ARG BASE=golang:1.15-alpine 06:09:03 Step 2/25 : FROM ${BASE} AS builder 06:09:03 ---> 812a987b3e87 06:09:03 Step 3/25 : ARG MAKE='make build' 06:09:04 ---> Running in b42f1d219f78 06:09:04 Removing intermediate container b42f1d219f78 06:09:04 ---> 2913a854da8a 06:09:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:09:04 ---> Running in 7a7e929c89ee 06:09:04 Removing intermediate container 7a7e929c89ee 06:09:04 ---> 36b48b7ef697 06:09:04 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:09:04 ---> Running in 7c2b3f106666 06:09:04 Removing intermediate container 7c2b3f106666 06:09:04 ---> cc13d95b6e1e 06:09:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:09:04 ---> Running in 61a500b8e73c 06:09:05 Removing intermediate container 61a500b8e73c 06:09:05 ---> b31805e46ca7 06:09:05 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:05 ---> Running in 63086ce7862d 06:09:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:09:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:09:07 OK: 166 MiB in 39 packages 06:09:07 Removing intermediate container 63086ce7862d 06:09:07 ---> a31556042ee0 06:09:07 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:09:07 ---> Running in d86543838935 06:09:07 Removing intermediate container d86543838935 06:09:07 ---> aaaeec39a282 06:09:07 Step 9/25 : COPY go.mod . 06:09:08 ---> c78410954e68 06:09:08 Step 10/25 : COPY Makefile . 06:09:08 ---> fdc54487a88f 06:09:08 Step 11/25 : RUN make update 06:09:08 ---> Running in d476b251dc60 06:09:08 CGO_ENABLED=0 GO111MODULE=on go mod download 06:09:09 Removing intermediate container d476b251dc60 06:09:09 ---> 87ccb1e82787 06:09:09 Step 12/25 : COPY . . 06:09:09 ---> 0087a51d34b2 06:09:09 Step 13/25 : RUN $MAKE 06:09:09 ---> Running in c7cd8f2751b8 06:09:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:09:20 Removing intermediate container c7cd8f2751b8 06:09:20 ---> d2e34a0e963c 06:09:20 Step 14/25 : FROM alpine:latest 06:09:20 latest: Pulling from library/alpine 06:09:20 df20fa9351a1: Already exists 06:09:20 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:09:20 Status: Downloaded newer image for alpine:latest 06:09:20 ---> a24bb4013296 06:09:20 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:09:20 ---> Running in e6407d67bda1 06:09:20 Removing intermediate container e6407d67bda1 06:09:20 ---> 35ab1065951b 06:09:20 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 06:09:20 ---> Running in 0f4aba33a83a 06:09:20 Removing intermediate container 0f4aba33a83a 06:09:20 ---> 9d2456fcaa07 06:09:20 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:09:20 ---> cf1f2860c587 06:09:20 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:09:20 ---> b6a398d246a8 06:09:20 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:09:21 ---> c927aea70558 06:09:21 Step 20/25 : EXPOSE 49986 06:09:21 ---> Running in 5d6999774201 06:09:21 Removing intermediate container 5d6999774201 06:09:21 ---> a51941881b14 06:09:21 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 06:09:21 ---> Running in 85a53542e6cc 06:09:21 Removing intermediate container 85a53542e6cc 06:09:21 ---> 15da5eb4d30e 06:09:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:09:21 ---> Running in cfcd97b5a3cb 06:09:21 Removing intermediate container cfcd97b5a3cb 06:09:21 ---> 663e5d574ea3 06:09:21 Step 23/25 : LABEL arch=amd64 06:09:21 ---> Running in ed99fada0431 06:09:21 Removing intermediate container ed99fada0431 06:09:21 ---> 29f5b012496f 06:09:21 Step 24/25 : LABEL git_sha=df2cf370c29f261b31d0ac7aac0317f24a945643 06:09:21 ---> Running in f62de74285a5 06:09:22 Removing intermediate container f62de74285a5 06:09:22 ---> 40f058b36189 06:09:22 Step 25/25 : LABEL version=0.0.0 06:09:22 ---> Running in a07af3734ace 06:09:22 Removing intermediate container a07af3734ace 06:09:22 ---> 249b83b5d4ae 06:09:22 [Warning] One or more build-args [ARCH] were not consumed 06:09:22 Successfully built 249b83b5d4ae 06:09:22 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:09:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-798 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 06:09:32 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 06:09:37 using credential edgex-jenkins-ssh 06:09:37 Cloning the remote Git repository 06:09:37 Cloning with configured refspecs honoured and without tags 06:09:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:09:37 > git init /w/workspace/device-rest-go/7 # timeout=10 06:09:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:09:37 > git --version # timeout=10 06:09:37 > git --version # 'git version 2.17.1' 06:09:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:09:39 Fetching without tags 06:09:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:09:39 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 06:09:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:09:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:09:40 Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit ba56079dcd965efb9fd8760ac183997e1f44e019 06:09:40 Merge succeeded, producing 538fcc9f50517b1b1f37780ec2a5c58f7395f3fa 06:09:40 Checking out Revision 538fcc9f50517b1b1f37780ec2a5c58f7395f3fa (PR-42) 06:09:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:09:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:09:40 > git config core.sparsecheckout # timeout=10 06:09:40 > git checkout -f ba56079dcd965efb9fd8760ac183997e1f44e019 # timeout=10 06:09:40 > git remote # timeout=10 06:09:40 > git config --get remote.origin.url # timeout=10 06:09:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:40 > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 06:09:40 > git rev-parse HEAD^{commit} # timeout=10 06:09:40 > git config core.sparsecheckout # timeout=10 06:09:40 > git checkout -f 538fcc9f50517b1b1f37780ec2a5c58f7395f3fa # timeout=10 06:09:44 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" 06:09:45 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 06:09:44 > git rev-list --no-walk d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:09:47 ========================================================= 06:09:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:09:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:09:48 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:09:49 Sending build context to Docker daemon 8.054MB 06:09:49 Step 1/10 : ARG BASE=golang:1.15-alpine 06:09:49 Step 2/10 : FROM ${BASE} 06:09:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:09:49 b538f80385f9: Pulling fs layer 06:09:49 74f711af9a0d: Pulling fs layer 06:09:49 99f96fe45779: Pulling fs layer 06:09:49 8529a6b9a6be: Pulling fs layer 06:09:49 45590311c82a: Pulling fs layer 06:09:49 69ca0ff8b7b3: Pulling fs layer 06:09:49 209524e5b208: Pulling fs layer 06:09:49 8529a6b9a6be: Waiting 06:09:49 45590311c82a: Waiting 06:09:49 69ca0ff8b7b3: Waiting 06:09:49 209524e5b208: Waiting 06:09:49 99f96fe45779: Download complete 06:09:49 74f711af9a0d: Verifying Checksum 06:09:49 74f711af9a0d: Download complete 06:09:49 45590311c82a: Verifying Checksum 06:09:49 69ca0ff8b7b3: Verifying Checksum 06:09:49 69ca0ff8b7b3: Download complete 06:09:49 b538f80385f9: Verifying Checksum 06:09:49 b538f80385f9: Download complete 06:09:50 b538f80385f9: Pull complete 06:09:50 74f711af9a0d: Pull complete 06:09:51 99f96fe45779: Pull complete 06:09:52 209524e5b208: Verifying Checksum 06:09:52 209524e5b208: Download complete 06:09:53 8529a6b9a6be: Download complete 06:10:05 8529a6b9a6be: Pull complete 06:10:05 45590311c82a: Pull complete 06:10:05 69ca0ff8b7b3: Pull complete 06:10:08 209524e5b208: Pull complete 06:10:08 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:10:08 ---> 5bddaf1c2fca 06:10:08 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:10:10 ---> Running in 0e3f333f0f56 06:10:10 Removing intermediate container 0e3f333f0f56 06:10:10 ---> 7961792a4921 06:10:10 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:10:11 ---> Running in b998fd15980a 06:10:11 Removing intermediate container b998fd15980a 06:10:11 ---> 64fce383e74c 06:10:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:10:11 ---> Running in f2f0c6df91af 06:10:12 Removing intermediate container f2f0c6df91af 06:10:12 ---> 1a71a3b785f9 06:10:12 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:12 ---> Running in e22db89b168f 06:10:15 Removing intermediate container e22db89b168f 06:10:15 ---> 905805a6cf9f 06:10:15 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:15 ---> Running in 7e96e7739925 06:10:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:10:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:10:18 OK: 142 MiB in 39 packages 06:10:19 Removing intermediate container 7e96e7739925 06:10:19 ---> b3360545ee84 06:10:19 Step 8/10 : WORKDIR /device-rest-go 06:10:19 ---> Running in 38a5a70739c3 06:10:19 Removing intermediate container 38a5a70739c3 06:10:19 ---> 5edd3723a3cb 06:10:19 Step 9/10 : COPY . . 06:10:21 ---> 03b4e604a47c 06:10:21 Step 10/10 : RUN go mod download 06:10:21 ---> Running in e417688f596f 06:10:36 Removing intermediate container e417688f596f 06:10:36 ---> 15cad678a969 06:10:36 Successfully built 15cad678a969 06:10:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:10:36 + docker inspect -f . ci-base-image-arm64 06:10:36 . [Pipeline] withDockerContainer 06:10:36 prd-ubuntu18.04-docker-arm64-4c-16g-798 does not seem to be running inside a container 06:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** ci-base-image-arm64 cat 06:10:38 $ docker top b84373fcb12ee96259617372531528d4508f4acc1c804199e6db935ea19aee1e -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:40 + go version 06:10:40 go version go1.15.2 linux/arm64 [Pipeline] } 06:10:40 $ docker stop --time=1 b84373fcb12ee96259617372531528d4508f4acc1c804199e6db935ea19aee1e 06:10:42 $ docker rm -f b84373fcb12ee96259617372531528d4508f4acc1c804199e6db935ea19aee1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:10:43 + docker inspect -f . ci-base-image-arm64 06:10:43 . [Pipeline] withDockerContainer 06:10:43 prd-ubuntu18.04-docker-arm64-4c-16g-798 does not seem to be running inside a container 06:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** ci-base-image-arm64 cat 06:10:45 $ docker top 724d6267e5bc6666e20cfe93bc64b3100deca19a72d1efcedc570a731e0a73ea -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:47 + make test 06:10:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:10:48 ? github.com/edgexfoundry/device-rest-go [no test files] 06:11:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:11:20 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements 06:11:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:11:24 gofmt -l . 06:11:24 [ "`gofmt -l .`" = "" ] 06:11:24 ./bin/test-go-mod-tidy.sh 06:11:24 ./bin/test-attribution-txt.sh [Pipeline] stash 06:11:25 Warning: overwriting stash ‘coverage-report’ 06:11:26 Stashed 1 file(s) [Pipeline] } 06:11:26 $ docker stop --time=1 724d6267e5bc6666e20cfe93bc64b3100deca19a72d1efcedc570a731e0a73ea 06:11:28 $ docker rm -f 724d6267e5bc6666e20cfe93bc64b3100deca19a72d1efcedc570a731e0a73ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:30 + ls -al . 06:11:30 total 128 06:11:30 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 06:11 . 06:11:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:09 .. 06:11:30 -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 06:09 .dockerignore 06:11:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 06:09 .git 06:11:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:09 .github 06:11:30 -rw-rw-r-- 1 jenkins jenkins 339 Sep 22 06:09 .gitignore 06:11:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:09 .semver 06:11:30 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 22 06:09 Attribution.txt 06:11:30 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 22 06:09 Dockerfile 06:11:30 -rw-rw-r-- 1 jenkins jenkins 989 Sep 22 06:09 Dockerfile.build 06:11:30 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 06:09 Jenkinsfile 06:11:30 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 06:09 LICENSE 06:11:30 -rw-rw-r-- 1 jenkins jenkins 951 Sep 22 06:09 Makefile 06:11:30 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 22 06:09 README.md 06:11:30 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 06:06 VERSION 06:11:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:09 bin 06:11:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:09 cmd 06:11:30 -rw-r--r-- 1 jenkins jenkins 9369 Sep 22 06:11 coverage.out 06:11:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:11 driver 06:11:30 -rw-r--r-- 1 jenkins jenkins 273 Sep 22 06:11 go.mod 06:11:30 -rw-r--r-- 1 jenkins jenkins 12547 Sep 22 06:11 go.sum 06:11:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:09 snap 06:11:30 -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 06:09 version.go [Pipeline] isUnix [Pipeline] sh 06:11:30 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=df2cf370c29f261b31d0ac7aac0317f24a945643 --label arch=arm64 --label version=0.0.0 . 06:11:30 Sending build context to Docker daemon 8.066MB 06:11:30 Step 1/25 : ARG BASE=golang:1.15-alpine 06:11:30 Step 2/25 : FROM ${BASE} AS builder 06:11:30 ---> 15cad678a969 06:11:30 Step 3/25 : ARG MAKE='make build' 06:11:31 ---> Running in c8fef4d8abdf 06:11:31 Removing intermediate container c8fef4d8abdf 06:11:31 ---> fd5b6033f7c7 06:11:31 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:11:31 ---> Running in 34bb0c36a6e5 06:11:32 Removing intermediate container 34bb0c36a6e5 06:11:32 ---> 358395cd1367 06:11:32 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:11:32 ---> Running in 2a8713160c13 06:11:32 Removing intermediate container 2a8713160c13 06:11:32 ---> 7f9b45a37d2a 06:11:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:32 ---> Running in 558381f99f4e 06:11:35 Removing intermediate container 558381f99f4e 06:11:35 ---> 53ee58cc6396 06:11:35 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:35 ---> Running in 5d6c9bddb42f 06:11:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:11:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:11:38 OK: 142 MiB in 39 packages 06:11:39 Removing intermediate container 5d6c9bddb42f 06:11:39 ---> a6bb177abaf4 06:11:39 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:11:39 ---> Running in 3b37a261abd3 06:11:40 Removing intermediate container 3b37a261abd3 06:11:40 ---> 6d7def641197 06:11:40 Step 9/25 : COPY go.mod . 06:11:40 ---> 79b18a558282 06:11:40 Step 10/25 : COPY Makefile . 06:11:41 ---> a939050cc8c4 06:11:41 Step 11/25 : RUN make update 06:11:41 ---> Running in a5aee26ee335 06:11:43 CGO_ENABLED=0 GO111MODULE=on go mod download 06:11:44 Removing intermediate container a5aee26ee335 06:11:44 ---> e5d46494e4a4 06:11:44 Step 12/25 : COPY . . 06:11:45 ---> 176ae98c90a3 06:11:45 Step 13/25 : RUN $MAKE 06:11:45 ---> Running in 17f3867efe19 06:11:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:12:14 Removing intermediate container 17f3867efe19 06:12:14 ---> dd41f54239b5 06:12:14 Step 14/25 : FROM alpine:latest 06:12:14 latest: Pulling from library/alpine 06:12:14 b538f80385f9: Already exists 06:12:14 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:12:14 Status: Downloaded newer image for alpine:latest 06:12:14 ---> 62ee0e9f8440 06:12:14 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:12:14 ---> Running in de2335a02776 06:12:14 Removing intermediate container de2335a02776 06:12:14 ---> 5e5cbd1ad3fa 06:12:14 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 06:12:14 ---> Running in 38358e8627e3 06:12:14 Removing intermediate container 38358e8627e3 06:12:14 ---> 784c1c2511bb 06:12:14 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:12:14 ---> 949243b48c49 06:12:14 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:12:14 ---> 9ebc175cc97d 06:12:14 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:12:16 ---> 01d40d0ea739 06:12:16 Step 20/25 : EXPOSE 49986 06:12:16 ---> Running in afeb7b38ca97 06:12:16 Removing intermediate container afeb7b38ca97 06:12:16 ---> 9bd2c360dad6 06:12:16 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 06:12:17 ---> Running in 45f715382201 06:12:17 Removing intermediate container 45f715382201 06:12:17 ---> 9a8028802619 06:12:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:12:17 ---> Running in 27f67d1b4b9d 06:12:18 Removing intermediate container 27f67d1b4b9d 06:12:18 ---> e3c1e523bae3 06:12:18 Step 23/25 : LABEL arch=arm64 06:12:18 ---> Running in aa4e396055ac 06:12:18 Removing intermediate container aa4e396055ac 06:12:18 ---> 201e6d5765d4 06:12:18 Step 24/25 : LABEL git_sha=df2cf370c29f261b31d0ac7aac0317f24a945643 06:12:18 ---> Running in 7ca60d241c1f 06:12:19 Removing intermediate container 7ca60d241c1f 06:12:19 ---> 599a30ae1c6c 06:12:19 Step 25/25 : LABEL version=0.0.0 06:12:19 ---> Running in 7cf770b6fda7 06:12:20 Removing intermediate container 7cf770b6fda7 06:12:20 ---> 1cc3e6120d85 06:12:20 [Warning] One or more build-args [ARCH] were not consumed 06:12:20 Successfully built 1cc3e6120d85 06:12:20 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 06:12:24 provisioning config files... 06:12:24 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config6294850821889780016tmp [Pipeline] { [Pipeline] sh 06:12:24 + curl -s https://codecov.io/bash 06:12:24 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config6294850821889780016tmp [Pipeline] } 06:12:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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 06:12:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:28 ---> package-listing.sh 06:12:28 ++ facter osfamily 06:12:28 ++ tr '[:upper:]' '[:lower:]' 06:12:28 + OS_FAMILY=redhat 06:12:28 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 06:12:28 + START_PACKAGES=/tmp/packages_start.txt 06:12:28 + END_PACKAGES=/tmp/packages_end.txt 06:12:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:28 + PACKAGES=/tmp/packages_start.txt 06:12:28 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 06:12:28 + PACKAGES=/tmp/packages_end.txt 06:12:28 + case "${OS_FAMILY}" in 06:12:28 + rpm -qa 06:12:28 + sort 06:12:32 + '[' -f /tmp/packages_start.txt ']' 06:12:32 + '[' -f /tmp/packages_end.txt ']' 06:12:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:32 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 06:12:32 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ 06:12:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [Pipeline] isUnix [Pipeline] sh 06:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:12:33 06:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:12:33 alpine: Pulling from edgex-lftools-log-publisher 06:12:33 df20fa9351a1: Pulling fs layer 06:12:33 36b3adc4ff6f: Pulling fs layer 06:12:33 8ad3a11d3b57: Pulling fs layer 06:12:33 46f8f816bc3b: Pulling fs layer 06:12:33 0dadc02b9964: Pulling fs layer 06:12:33 ce6a7cf60c04: Pulling fs layer 06:12:33 7a184a31f384: Pulling fs layer 06:12:33 0879bd2ef858: Pulling fs layer 06:12:33 0dadc02b9964: Waiting 06:12:33 ce6a7cf60c04: Waiting 06:12:33 7a184a31f384: Waiting 06:12:33 0879bd2ef858: Waiting 06:12:33 36b3adc4ff6f: Verifying Checksum 06:12:33 36b3adc4ff6f: Download complete 06:12:33 46f8f816bc3b: Verifying Checksum 06:12:33 46f8f816bc3b: Download complete 06:12:33 df20fa9351a1: Download complete 06:12:34 ce6a7cf60c04: Verifying Checksum 06:12:34 ce6a7cf60c04: Download complete 06:12:34 7a184a31f384: Verifying Checksum 06:12:34 7a184a31f384: Download complete 06:12:34 0dadc02b9964: Verifying Checksum 06:12:34 0dadc02b9964: Download complete 06:12:34 8ad3a11d3b57: Verifying Checksum 06:12:34 8ad3a11d3b57: Download complete 06:12:34 df20fa9351a1: Pull complete 06:12:34 36b3adc4ff6f: Pull complete 06:12:34 0879bd2ef858: Verifying Checksum 06:12:34 0879bd2ef858: Download complete 06:12:34 8ad3a11d3b57: Pull complete 06:12:35 46f8f816bc3b: Pull complete 06:12:35 0dadc02b9964: Pull complete 06:12:35 ce6a7cf60c04: Pull complete 06:12:35 7a184a31f384: Pull complete 06:12:37 0879bd2ef858: Pull complete 06:12:37 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 06:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:12:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:12:37 prd-centos7-docker-4c-2g-795 does not seem to be running inside a container 06:12:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:12:43 $ docker top 6fe7eb806fa2f94918d1964fd95c769b05c5745647baf38fbaff129db7f8c345 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:43 + mkdir -p /var/log/sa [Pipeline] sh 06:12:44 + ls /var/log/sa-host 06:12:44 + sadf -c /var/log/sa-host/sa05 06:12:44 file_magic: OK 06:12:44 HZ: Using current value: 100 06:12:44 file_header: OK 06:12:44 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 06:12:44 Statistics: 06:12:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:12:44 File successfully converted to sysstat format version 12.2.1 06:12:44 + sadf -c /var/log/sa-host/sa22 06:12:44 file_magic: OK 06:12:44 HZ: Using current value: 100 06:12:44 file_header: OK 06:12:44 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 06:12:44 Statistics: 06:12:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:12:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:44 provisioning config files... 06:12:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config6227883347153309410tmp [Pipeline] { [Pipeline] echo 06:12:44 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:44 ---> create-netrc.sh [Pipeline] echo 06:12:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:44 ---> logs-deploy.sh 06:12:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/7 06:12:44 INFO: archiving workspace using pattern(s): 06:12:46 Archives upload complete. 06:12:46 INFO: archiving logs to Nexus