Push event to branch snap Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 272cbba74b5445e980adb416089d8b6fd8262e28 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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, goVersion:1.13] ========================================================= [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.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3594 in /w/workspace/edgexfoundry_device-rest-go_snap [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/edgexfoundry_device-rest-go_snap # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 Fetching without tags Checking out Revision 272cbba74b5445e980adb416089d8b6fd8262e28 (snap) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # 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/heads/snap:refs/remotes/origin/snap # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 Commit message: "squashed" First time build. Skipping changelog. > git rev-list --no-walk 0321eff746caf521aae414dfef1a132bb590057a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:16:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:16:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:16:14 ========================================================= 18:16:14 EdgeX Global Pipelines Version Info 18:16:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:16:16 ------------------- 18:16:16 stable info: 18:16:16 ------------------- 18:16:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:16:16 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:16:16 Message: update stable to v1.0.89 18:16:16 ------------------- 18:16:16 experimental info: 18:16:16 ------------------- 18:16:16 Commited By: **** collab-it+edgex@linuxfoundation.org 18:16:16 Commit SHA: 16c8cae96dc596cf5e922f0da0f924f9f59267c3 18:16:16 Message: update experimental to v0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:16:18 18:16:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:16:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:16:18 latest: Pulling from edgex-devops/git-semver 18:16:18 9123ac7c32f7: Pulling fs layer 18:16:18 b8cc5d1170e3: Pulling fs layer 18:16:18 2924cbbf6a41: Pulling fs layer 18:16:18 93b08a4f1073: Pulling fs layer 18:16:18 93b08a4f1073: Waiting 18:16:18 b8cc5d1170e3: Download complete 18:16:18 9123ac7c32f7: Verifying Checksum 18:16:18 9123ac7c32f7: Download complete 18:16:18 2924cbbf6a41: Verifying Checksum 18:16:18 2924cbbf6a41: Download complete 18:16:18 93b08a4f1073: Verifying Checksum 18:16:18 93b08a4f1073: Download complete 18:16:18 9123ac7c32f7: Pull complete 18:16:18 b8cc5d1170e3: Pull complete 18:16:19 2924cbbf6a41: Pull complete 18:16:20 93b08a4f1073: Pull complete 18:16:20 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:16:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:16:20 prd-centos7-docker-4c-2g-3594 does not seem to be running inside a container 18:16:20 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:16:22 $ docker top 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:16:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:22 [ssh-agent] Looking for ssh-agent implementation... 18:16:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:22 $ docker exec 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent 18:16:23 SSH_AUTH_SOCK=/tmp/ssh-sOTS1T1FhFTd/agent.12 18:16:23 SSH_AGENT_PID=17 18:16:23 Running ssh-add (command line suppressed) 18:16:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_3800269932359986693.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_3800269932359986693.key) 18:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:23 + git describe --exact-match --tags HEAD 18:16:23 fatal: No names found, cannot describe anything. [Pipeline] } 18:16:23 $ docker exec --env ******** --env ******** 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent -k 18:16:23 unset SSH_AUTH_SOCK; 18:16:23 unset SSH_AGENT_PID; 18:16:23 echo Agent pid 17 killed; 18:16:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:16:23 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:16:23 This usually means this commit has not been tagged. [Pipeline] sshagent 18:16:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:23 [ssh-agent] Looking for ssh-agent implementation... 18:16:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:23 $ docker exec 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent 18:16:24 SSH_AUTH_SOCK=/tmp/ssh-Guo8itBAOhZs/agent.47 18:16:24 SSH_AGENT_PID=52 18:16:24 Running ssh-add (command line suppressed) 18:16:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_1183510397640779066.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_1183510397640779066.key) 18:16:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:24 + git semver init 18:16:24 # -> Open(): unable to determine branch for HEAD 18:16:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.git 18:16:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_snap 18:16:24 # $SEMVER_REMOTE_NAME = origin 18:16:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:16:24 # $SEMVER_USER_NAME = edgex-jenkins 18:16:24 # $SEMVER_BRANCH = snap 18:16:24 # $SEMVER_TEMP = /tmp/semver-600318785 18:16:24 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:16:25 # '/tmp/semver-600318785' -> '/w/workspace/edgexfoundry_device-rest-go_snap/.semver' 18:16:25 # -> Force: false 18:16:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.semver [Pipeline] } 18:16:25 $ docker exec --env ******** --env ******** 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent -k 18:16:25 unset SSH_AUTH_SOCK; 18:16:25 unset SSH_AGENT_PID; 18:16:25 echo Agent pid 52 killed; 18:16:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:16:26 + git semver [Pipeline] } 18:16:26 $ docker stop --time=1 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 18:16:27 $ docker rm -f 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:16:29 Stashed 24 file(s) [Pipeline] echo 18:16:29 [edgeXSemver] initialized semver on version 0.0.0 [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 18:16:44 Still waiting to schedule task 18:16:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:16:44 Still waiting to schedule task 18:16:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:18:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3595 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws 18:18:20 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 18:18:25 using credential edgex-jenkins-ssh 18:18:25 Cloning the remote Git repository 18:18:25 Cloning with configured refspecs honoured and without tags 18:18:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:18:26 > git init /w/workspace/device-rest-go/3 # timeout=10 18:18:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:18:26 > git --version # timeout=10 18:18:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:18:27 Fetching without tags 18:18:28 Checking out Revision 272cbba74b5445e980adb416089d8b6fd8262e28 (snap) 18:18:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:18:27 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:18:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:18:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:18:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:18:28 > git config core.sparsecheckout # timeout=10 18:18:28 > git checkout -f 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 18:18:32 Commit message: "squashed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:18:34 ========================================================= 18:18:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:18:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:18:35 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 18:18:36 Sending build context to Docker daemon 8.029MB 18:18:36 Step 1/10 : ARG BASE=golang:1.13-alpine 18:18:36 Step 2/10 : FROM ${BASE} 18:18:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:18:37 cde5963f3b93: Pulling fs layer 18:18:37 2a23fa8c16f7: Pulling fs layer 18:18:37 777b28850792: Pulling fs layer 18:18:37 8a11ddd9e578: Pulling fs layer 18:18:37 4cf88f913ddb: Pulling fs layer 18:18:37 1df406cf5192: Pulling fs layer 18:18:37 cd6300453558: Pulling fs layer 18:18:37 b9c365052c96: Pulling fs layer 18:18:37 a2d8cc88f415: Pulling fs layer 18:18:37 ea1d1ca13537: Pulling fs layer 18:18:37 3750a50a1c5e: Pulling fs layer 18:18:37 8a11ddd9e578: Waiting 18:18:37 4cf88f913ddb: Waiting 18:18:37 1df406cf5192: Waiting 18:18:37 cd6300453558: Waiting 18:18:37 b9c365052c96: Waiting 18:18:37 a2d8cc88f415: Waiting 18:18:37 ea1d1ca13537: Waiting 18:18:37 3750a50a1c5e: Waiting 18:18:37 777b28850792: Download complete 18:18:37 2a23fa8c16f7: Download complete 18:18:37 4cf88f913ddb: Verifying Checksum 18:18:37 4cf88f913ddb: Download complete 18:18:37 1df406cf5192: Download complete 18:18:37 cde5963f3b93: Verifying Checksum 18:18:37 cde5963f3b93: Download complete 18:18:38 cde5963f3b93: Pull complete 18:18:38 2a23fa8c16f7: Pull complete 18:18:38 777b28850792: Pull complete 18:18:40 cd6300453558: Verifying Checksum 18:18:40 cd6300453558: Download complete 18:18:40 a2d8cc88f415: Verifying Checksum 18:18:40 a2d8cc88f415: Download complete 18:18:41 ea1d1ca13537: Verifying Checksum 18:18:41 ea1d1ca13537: Download complete 18:18:41 3750a50a1c5e: Download complete 18:18:42 b9c365052c96: Verifying Checksum 18:18:42 b9c365052c96: Download complete 18:18:42 8a11ddd9e578: Download complete 18:18:44 Running on prd-centos7-docker-4c-2g-3596 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws 18:18:44 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 18:18:47 using credential edgex-jenkins-ssh 18:18:47 Cloning the remote Git repository 18:18:47 Cloning with configured refspecs honoured and without tags 18:18:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:18:48 Fetching without tags 18:18:47 > git init /w/workspace/device-rest-go/3 # timeout=10 18:18:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:18:47 > git --version # timeout=10 18:18:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:18:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:18:48 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:18:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:18:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:18:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 18:18:48 Checking out Revision 272cbba74b5445e980adb416089d8b6fd8262e28 (snap) 18:18:48 > git config core.sparsecheckout # timeout=10 18:18:48 > git checkout -f 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 18:18:52 Commit message: "squashed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:18:53 ========================================================= 18:18:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:18:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:18:53 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 18:18:54 Sending build context to Docker daemon 8.029MB 18:18:54 Step 1/10 : ARG BASE=golang:1.13-alpine 18:18:54 Step 2/10 : FROM ${BASE} 18:18:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:18:54 e6b0cf9c0882: Pulling fs layer 18:18:54 2848faf0eed1: Pulling fs layer 18:18:54 0f37312ad70f: Pulling fs layer 18:18:54 5788d62ee057: Pulling fs layer 18:18:54 0e6b1d234666: Pulling fs layer 18:18:54 bf5d7aec512f: Pulling fs layer 18:18:54 34c802a77dc8: Pulling fs layer 18:18:54 9eb99e56ec68: Pulling fs layer 18:18:54 27c7a5d97fbd: Pulling fs layer 18:18:54 5c102a31e300: Pulling fs layer 18:18:54 dcfb455df0a1: Pulling fs layer 18:18:54 34c802a77dc8: Waiting 18:18:54 9eb99e56ec68: Waiting 18:18:54 27c7a5d97fbd: Waiting 18:18:54 5c102a31e300: Waiting 18:18:54 dcfb455df0a1: Waiting 18:18:54 0e6b1d234666: Waiting 18:18:54 bf5d7aec512f: Waiting 18:18:54 5788d62ee057: Waiting 18:18:54 0f37312ad70f: Download complete 18:18:54 2848faf0eed1: Verifying Checksum 18:18:54 2848faf0eed1: Download complete 18:18:54 0e6b1d234666: Download complete 18:18:54 bf5d7aec512f: Verifying Checksum 18:18:54 bf5d7aec512f: Download complete 18:18:54 e6b0cf9c0882: Verifying Checksum 18:18:54 e6b0cf9c0882: Download complete 18:18:54 e6b0cf9c0882: Pull complete 18:18:55 34c802a77dc8: Verifying Checksum 18:18:55 34c802a77dc8: Download complete 18:18:55 27c7a5d97fbd: Verifying Checksum 18:18:55 27c7a5d97fbd: Download complete 18:18:55 8a11ddd9e578: Pull complete 18:18:55 4cf88f913ddb: Pull complete 18:18:55 1df406cf5192: Pull complete 18:18:55 5788d62ee057: Verifying Checksum 18:18:55 5788d62ee057: Download complete 18:18:55 5c102a31e300: Verifying Checksum 18:18:55 5c102a31e300: Download complete 18:18:55 dcfb455df0a1: Verifying Checksum 18:18:55 dcfb455df0a1: Download complete 18:18:55 9eb99e56ec68: Verifying Checksum 18:18:55 9eb99e56ec68: Download complete 18:18:56 2848faf0eed1: Pull complete 18:18:56 0f37312ad70f: Pull complete 18:18:59 cd6300453558: Pull complete 18:19:02 5788d62ee057: Pull complete 18:19:02 0e6b1d234666: Pull complete 18:19:02 bf5d7aec512f: Pull complete 18:19:03 b9c365052c96: Pull complete 18:19:03 a2d8cc88f415: Pull complete 18:19:05 ea1d1ca13537: Pull complete 18:19:06 3750a50a1c5e: Pull complete 18:19:06 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:19:06 ---> 78745c68409d 18:19:06 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:19:10 34c802a77dc8: Pull complete 18:19:11 ---> Running in 6e03f68ca4e2 18:19:11 Removing intermediate container 6e03f68ca4e2 18:19:11 ---> dd7d48195d00 18:19:11 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:19:11 ---> Running in 26f9f902273d 18:19:11 Removing intermediate container 26f9f902273d 18:19:11 ---> 31c4b0515aab 18:19:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:19:11 ---> Running in 35df91a32d62 18:19:12 Removing intermediate container 35df91a32d62 18:19:12 ---> b6424153fc26 18:19:12 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:12 ---> Running in 34612a25633e 18:19:13 9eb99e56ec68: Pull complete 18:19:13 27c7a5d97fbd: Pull complete 18:19:14 5c102a31e300: Pull complete 18:19:14 dcfb455df0a1: Pull complete 18:19:14 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:19:14 ---> 7c70fe431013 18:19:14 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:19:15 Removing intermediate container 34612a25633e 18:19:15 ---> b1db369145e9 18:19:15 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:15 ---> Running in af3f0c3b078b 18:19:15 ---> Running in 594ae8405345 18:19:16 Removing intermediate container 594ae8405345 18:19:16 ---> 1b6c75475bb4 18:19:16 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:19:16 ---> Running in a46987c5f875 18:19:16 Removing intermediate container a46987c5f875 18:19:16 ---> dab1afdd2be4 18:19:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:19:16 ---> Running in 05d615b2253e 18:19:16 Removing intermediate container 05d615b2253e 18:19:16 ---> 8c82d1234499 18:19:16 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:16 ---> Running in bec3717925c8 18:19:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:19:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:19:17 Removing intermediate container bec3717925c8 18:19:17 ---> ae26b1c45136 18:19:17 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:17 ---> Running in b30dc89c3e32 18:19:17 OK: 125 MiB in 39 packages 18:19:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:19:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:19:19 Removing intermediate container af3f0c3b078b 18:19:19 ---> f9b35b164c26 18:19:19 Step 8/10 : WORKDIR /device-rest-go 18:19:19 ---> Running in 5840e7630e06 18:19:19 OK: 143 MiB in 39 packages 18:19:19 Removing intermediate container 5840e7630e06 18:19:19 ---> 4aac144c1088 18:19:19 Step 9/10 : COPY . . 18:19:19 Removing intermediate container b30dc89c3e32 18:19:19 ---> ffde29e94300 18:19:19 Step 8/10 : WORKDIR /device-rest-go 18:19:19 ---> Running in c8ad6c137a6d 18:19:19 Removing intermediate container c8ad6c137a6d 18:19:19 ---> 4d82273780c2 18:19:19 Step 9/10 : COPY . . 18:19:20 ---> 87cbca8bff56 18:19:20 Step 10/10 : RUN go mod download 18:19:20 ---> Running in 243e84244509 18:19:20 ---> 8fdcc90a43b7 18:19:20 Step 10/10 : RUN go mod download 18:19:20 ---> Running in 279391c2977f 18:19:22 go: finding github.com/BurntSushi/toml v0.3.1 18:19:22 go: finding github.com/OneOfOne/xxhash v1.2.6 18:19:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:19:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:19:23 go: finding github.com/BurntSushi/toml v0.3.1 18:19:23 go: finding github.com/OneOfOne/xxhash v1.2.6 18:19:23 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:19:23 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:19:23 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:19:23 go: finding github.com/bgentry/speakeasy v0.1.0 18:19:23 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:19:23 go: finding github.com/davecgh/go-spew v1.1.1 18:19:23 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:19:23 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:19:23 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:19:23 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:19:23 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:19:23 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:19:23 go: finding github.com/fatih/color v1.7.0 18:19:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:19:23 go: finding github.com/go-kit/kit v0.8.0 18:19:23 go: finding github.com/go-logfmt/logfmt v0.4.0 18:19:23 go: finding github.com/go-stack/stack v1.8.0 18:19:23 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:19:23 go: finding github.com/google/uuid v1.1.0 18:19:23 go: finding github.com/gorilla/mux v1.7.1 18:19:23 go: finding github.com/hashicorp/consul/api v1.1.0 18:19:23 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:19:23 go: finding github.com/hashicorp/errwrap v1.0.0 18:19:23 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:19:23 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:19:23 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:19:23 go: finding github.com/hashicorp/go-multierror v1.0.0 18:19:23 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:19:23 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:19:23 go: finding github.com/hashicorp/go-syslog v1.0.0 18:19:23 go: finding github.com/hashicorp/go-uuid v1.0.1 18:19:23 go: finding github.com/hashicorp/go.net v0.0.1 18:19:23 go: finding github.com/hashicorp/golang-lru v0.5.0 18:19:23 go: finding github.com/hashicorp/logutils v1.0.0 18:19:23 go: finding github.com/hashicorp/mdns v1.0.0 18:19:23 go: finding github.com/hashicorp/memberlist v0.1.3 18:19:23 go: finding github.com/hashicorp/serf v0.8.2 18:19:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:19:23 go: finding github.com/mattn/go-colorable v0.0.9 18:19:23 go: finding github.com/mattn/go-isatty v0.0.3 18:19:23 go: finding github.com/miekg/dns v1.0.14 18:19:23 go: finding github.com/mitchellh/cli v1.0.0 18:19:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:19:23 go: finding github.com/mitchellh/copystructure v1.0.0 18:19:23 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:19:23 go: finding github.com/bgentry/speakeasy v0.1.0 18:19:23 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:19:23 go: finding github.com/davecgh/go-spew v1.1.1 18:19:23 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:19:23 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:19:23 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:19:23 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:19:23 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:19:23 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:19:23 go: finding github.com/fatih/color v1.7.0 18:19:23 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:19:23 go: finding github.com/go-kit/kit v0.8.0 18:19:23 go: finding github.com/go-logfmt/logfmt v0.4.0 18:19:23 go: finding github.com/go-stack/stack v1.8.0 18:19:23 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:19:23 go: finding github.com/google/uuid v1.1.0 18:19:23 go: finding github.com/gorilla/mux v1.7.1 18:19:23 go: finding github.com/hashicorp/consul/api v1.1.0 18:19:23 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:19:23 go: finding github.com/hashicorp/errwrap v1.0.0 18:19:23 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:19:23 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:19:23 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:19:23 go: finding github.com/hashicorp/go-multierror v1.0.0 18:19:23 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:19:23 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:19:23 go: finding github.com/hashicorp/go-syslog v1.0.0 18:19:23 go: finding github.com/hashicorp/go-uuid v1.0.1 18:19:23 go: finding github.com/mitchellh/go-homedir v1.0.0 18:19:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:19:23 go: finding github.com/mitchellh/gox v0.4.0 18:19:23 go: finding github.com/mitchellh/iochan v1.0.0 18:19:23 go: finding github.com/mitchellh/mapstructure v1.1.2 18:19:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:19:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:19:23 go: finding github.com/pelletier/go-toml v1.2.0 18:19:23 go: finding github.com/pkg/errors v0.8.1 18:19:23 go: finding github.com/pmezard/go-difflib v1.0.0 18:19:23 go: finding github.com/posener/complete v1.1.1 18:19:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:19:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:19:23 go: finding github.com/spf13/cast v1.3.0 18:19:23 go: finding github.com/stretchr/objx v0.1.0 18:19:23 go: finding github.com/stretchr/testify v1.5.1 18:19:23 go: finding github.com/ugorji/go v1.1.4 18:19:23 go: finding github.com/x448/float16 v0.8.4 18:19:23 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:19:23 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:19:23 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:19:23 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:19:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:19:23 go: finding gopkg.in/yaml.v2 v2.2.8 18:19:23 go: finding github.com/hashicorp/go.net v0.0.1 18:19:23 go: finding github.com/hashicorp/golang-lru v0.5.0 18:19:23 go: finding github.com/hashicorp/logutils v1.0.0 18:19:23 go: finding github.com/hashicorp/mdns v1.0.0 18:19:23 go: finding github.com/hashicorp/memberlist v0.1.3 18:19:23 go: finding github.com/hashicorp/serf v0.8.2 18:19:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:19:23 go: finding github.com/mattn/go-colorable v0.0.9 18:19:23 go: finding github.com/mattn/go-isatty v0.0.3 18:19:23 go: finding github.com/miekg/dns v1.0.14 18:19:23 go: finding github.com/mitchellh/cli v1.0.0 18:19:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:19:23 go: finding github.com/mitchellh/copystructure v1.0.0 18:19:23 go: finding github.com/mitchellh/go-homedir v1.0.0 18:19:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:19:23 go: finding github.com/mitchellh/gox v0.4.0 18:19:23 go: finding github.com/mitchellh/iochan v1.0.0 18:19:23 go: finding github.com/mitchellh/mapstructure v1.1.2 18:19:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:19:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:19:23 go: finding github.com/pelletier/go-toml v1.2.0 18:19:23 go: finding github.com/pkg/errors v0.8.1 18:19:23 go: finding github.com/pmezard/go-difflib v1.0.0 18:19:23 go: finding github.com/posener/complete v1.1.1 18:19:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:19:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:19:23 go: finding github.com/spf13/cast v1.3.0 18:19:23 go: finding github.com/stretchr/objx v0.1.0 18:19:23 go: finding github.com/stretchr/testify v1.5.1 18:19:23 go: finding github.com/ugorji/go v1.1.4 18:19:23 go: finding github.com/x448/float16 v0.8.4 18:19:23 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:19:23 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:19:23 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:19:23 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:19:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:19:23 go: finding gopkg.in/yaml.v2 v2.2.8 18:19:31 Removing intermediate container 243e84244509 18:19:31 ---> 411f8da2f947 18:19:31 Successfully built 411f8da2f947 18:19:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:19:31 + docker inspect -f . ci-base-image-x86_64 18:19:31 . [Pipeline] withDockerContainer 18:19:32 prd-centos7-docker-4c-2g-3596 does not seem to be running inside a container 18:19:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat 18:19:33 $ docker top ad844a3e356c69a4e4dd00adc86e889032fc4ef900fdbe286afb6dba3cca143a -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:33 Removing intermediate container 279391c2977f 18:19:33 ---> e59034d91bbc 18:19:33 Successfully built e59034d91bbc 18:19:33 Successfully tagged ci-base-image-arm64:latest 18:19:33 + go version 18:19:33 go version go1.13.5 linux/amd64 [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:19:34 + make test 18:19:34 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:19:34 + docker inspect -f . ci-base-image-arm64 18:19:34 . [Pipeline] withDockerContainer 18:19:34 prd-ubuntu18.04-docker-arm64-4c-16g-3595 does not seem to be running inside a container 18:19:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat 18:19:35 ? github.com/edgexfoundry/device-rest-go [no test files] 18:19:36 $ docker top 2d2e23c6ea54fc351e3af4357dbfad3b1befa4ffe24c40c6ec095ff22bd6ef0e -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:38 + go version 18:19:38 go version go1.13.5 linux/arm64 [Pipeline] sh 18:19:39 + make test 18:19:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:19:40 ? github.com/edgexfoundry/device-rest-go [no test files] 18:19:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:19:45 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 56.3% of statements 18:19:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:19:46 gofmt -l . 18:19:46 [ "`gofmt -l .`" = "" ] 18:19:46 ./bin/test-go-mod-tidy.sh 18:19:46 ./bin/test-attribution-txt.sh [Pipeline] stash 18:19:47 Stashed 1 file(s) [Pipeline] } 18:19:47 $ docker stop --time=1 ad844a3e356c69a4e4dd00adc86e889032fc4ef900fdbe286afb6dba3cca143a 18:19:49 $ docker rm -f ad844a3e356c69a4e4dd00adc86e889032fc4ef900fdbe286afb6dba3cca143a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:19:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:19:51 + ls -al . 18:19:51 total 96 18:19:51 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 18 18:19 . 18:19:51 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 18:18 .. 18:19:51 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 18 18:18 Attribution.txt 18:19:51 drwxrwxr-x. 2 jenkins jenkins 64 Jun 18 18:18 bin 18:19:51 drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 18:18 cmd 18:19:51 -rw-r--r--. 1 jenkins jenkins 9369 Jun 18 18:19 coverage.out 18:19:51 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 18 18:18 Dockerfile 18:19:51 -rw-rw-r--. 1 jenkins jenkins 989 Jun 18 18:18 Dockerfile.build 18:19:51 -rw-rw-r--. 1 jenkins jenkins 151 Jun 18 18:18 .dockerignore 18:19:51 drwxrwxr-x. 2 jenkins jenkins 93 Jun 18 18:19 driver 18:19:51 drwxrwxr-x. 8 jenkins jenkins 162 Jun 18 18:18 .git 18:19:51 -rw-rw-r--. 1 jenkins jenkins 339 Jun 18 18:18 .gitignore 18:19:51 -rw-r--r--. 1 jenkins jenkins 266 Jun 18 18:19 go.mod 18:19:51 -rw-r--r--. 1 jenkins jenkins 12533 Jun 18 18:19 go.sum 18:19:51 -rw-rw-r--. 1 jenkins jenkins 702 Jun 18 18:18 Jenkinsfile 18:19:51 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 18:18 LICENSE 18:19:51 -rw-rw-r--. 1 jenkins jenkins 951 Jun 18 18:18 Makefile 18:19:51 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 18 18:18 README.md 18:19:51 drwxrwxr-x. 3 jenkins jenkins 44 Jun 18 18:18 .semver 18:19:51 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 18:16 VERSION 18:19:51 -rw-rw-r--. 1 jenkins jenkins 713 Jun 18 18:18 version.go [Pipeline] isUnix [Pipeline] sh 18:19:52 + 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=272cbba74b5445e980adb416089d8b6fd8262e28 --label arch=amd64 --label version=0.0.0 . 18:19:52 Sending build context to Docker daemon 8.04MB 18:19:52 Step 1/24 : ARG BASE=golang:1.13-alpine 18:19:52 Step 2/24 : FROM ${BASE} AS builder 18:19:52 ---> 411f8da2f947 18:19:52 Step 3/24 : ARG MAKE='make build' 18:19:52 ---> Running in 6f9963737ed7 18:19:52 Removing intermediate container 6f9963737ed7 18:19:52 ---> cf8b8a7b118e 18:19:52 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:19:52 ---> Running in 0c8e4bd020dd 18:19:52 Removing intermediate container 0c8e4bd020dd 18:19:52 ---> cd1b9a1560e4 18:19:52 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:19:52 ---> Running in 794e6b3d2d1f 18:19:52 Removing intermediate container 794e6b3d2d1f 18:19:52 ---> 1e570f58b43c 18:19:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:52 ---> Running in f299753de471 18:19:53 Removing intermediate container f299753de471 18:19:53 ---> cdf63db10d1a 18:19:53 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:53 ---> Running in ab30b91199a0 18:19:54 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:19:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:19:55 OK: 143 MiB in 39 packages 18:19:55 Removing intermediate container ab30b91199a0 18:19:55 ---> 54be48dadeee 18:19:55 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:19:55 ---> Running in 1673169fab00 18:19:55 Removing intermediate container 1673169fab00 18:19:55 ---> 955a506b0d0c 18:19:55 Step 9/24 : COPY go.mod . 18:19:55 ---> e70aa3dc2925 18:19:55 Step 10/24 : COPY Makefile . 18:19:55 ---> 544d102181eb 18:19:55 Step 11/24 : RUN make update 18:19:56 ---> Running in 0040c16acfdf 18:19:56 CGO_ENABLED=0 GO111MODULE=on go mod download 18:19:57 Removing intermediate container 0040c16acfdf 18:19:57 ---> 0e5371f798f4 18:19:57 Step 12/24 : COPY . . 18:19:57 ---> ef21c9b4d003 18:19:57 Step 13/24 : RUN $MAKE 18:19:57 ---> Running in 164fb9e08dbb 18:19:57 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 18:20:08 Removing intermediate container 164fb9e08dbb 18:20:08 ---> 562626abbf83 18:20:08 Step 14/24 : FROM alpine:latest 18:20:08 latest: Pulling from library/alpine 18:20:08 df20fa9351a1: Pulling fs layer 18:20:08 df20fa9351a1: Verifying Checksum 18:20:08 df20fa9351a1: Download complete 18:20:08 df20fa9351a1: Pull complete 18:20:08 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:20:08 Status: Downloaded newer image for alpine:latest 18:20:08 ---> a24bb4013296 18:20:08 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:20:08 ---> Running in 426f13f3cbd9 18:20:08 Removing intermediate container 426f13f3cbd9 18:20:08 ---> 1e8f62c8effa 18:20:08 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:20:08 ---> Running in 609ba2fec9c4 18:20:08 Removing intermediate container 609ba2fec9c4 18:20:08 ---> 7672cd6e6295 18:20:08 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:20:09 ---> 5430f25fd04e 18:20:09 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:20:09 ---> 6e20b819eb45 18:20:09 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:20:09 ---> b0d6b7560e41 18:20:09 Step 20/24 : EXPOSE 49986 18:20:09 ---> Running in c5b9f2a8d099 18:20:10 Removing intermediate container c5b9f2a8d099 18:20:10 ---> cd85b04ba19d 18:20:10 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:20:10 ---> Running in 72c54e44fdfe 18:20:10 Removing intermediate container 72c54e44fdfe 18:20:10 ---> 9a2039b78dff 18:20:10 Step 22/24 : LABEL arch=amd64 18:20:10 ---> Running in 9e8518de3b89 18:20:10 Removing intermediate container 9e8518de3b89 18:20:10 ---> a7eae4e3523a 18:20:10 Step 23/24 : LABEL git_sha=272cbba74b5445e980adb416089d8b6fd8262e28 18:20:10 ---> Running in 665c411f7b01 18:20:10 Removing intermediate container 665c411f7b01 18:20:10 ---> cd3848858ed7 18:20:10 Step 24/24 : LABEL version=0.0.0 18:20:10 ---> Running in a7ecbbac028d 18:20:10 Removing intermediate container a7ecbbac028d 18:20:10 ---> a06644a31402 18:20:10 [Warning] One or more build-args [ARCH] were not consumed 18:20:10 Successfully built a06644a31402 18:20:10 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] } 18:20:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:20:12 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements 18:20:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:20:15 gofmt -l . 18:20:15 [ "`gofmt -l .`" = "" ] 18:20:15 ./bin/test-go-mod-tidy.sh 18:20:16 ./bin/test-attribution-txt.sh [Pipeline] stash 18:20:16 Warning: overwriting stash ‘coverage-report’ 18:20:17 Stashed 1 file(s) [Pipeline] } 18:20:17 $ docker stop --time=1 2d2e23c6ea54fc351e3af4357dbfad3b1befa4ffe24c40c6ec095ff22bd6ef0e 18:20:19 $ docker rm -f 2d2e23c6ea54fc351e3af4357dbfad3b1befa4ffe24c40c6ec095ff22bd6ef0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:20:21 + ls -al . 18:20:21 total 120 18:20:21 drwxrwxr-x 7 jenkins jenkins 4096 Jun 18 18:20 . 18:20:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:18 .. 18:20:21 -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 18:18 .dockerignore 18:20:21 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:18 .git 18:20:21 -rw-rw-r-- 1 jenkins jenkins 339 Jun 18 18:18 .gitignore 18:20:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:18 .semver 18:20:21 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 18 18:18 Attribution.txt 18:20:21 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 18 18:18 Dockerfile 18:20:21 -rw-rw-r-- 1 jenkins jenkins 989 Jun 18 18:18 Dockerfile.build 18:20:21 -rw-rw-r-- 1 jenkins jenkins 702 Jun 18 18:18 Jenkinsfile 18:20:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 18:18 LICENSE 18:20:21 -rw-rw-r-- 1 jenkins jenkins 951 Jun 18 18:18 Makefile 18:20:21 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 18 18:18 README.md 18:20:21 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 18:16 VERSION 18:20:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:18 bin 18:20:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:18 cmd 18:20:21 -rw-r--r-- 1 jenkins jenkins 9369 Jun 18 18:20 coverage.out 18:20:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:20 driver 18:20:21 -rw-r--r-- 1 jenkins jenkins 266 Jun 18 18:20 go.mod 18:20:21 -rw-r--r-- 1 jenkins jenkins 12533 Jun 18 18:20 go.sum 18:20:21 -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 18:18 version.go [Pipeline] isUnix [Pipeline] sh 18:20:21 + 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=272cbba74b5445e980adb416089d8b6fd8262e28 --label arch=arm64 --label version=0.0.0 . 18:20:21 Sending build context to Docker daemon 8.04MB 18:20:22 Step 1/24 : ARG BASE=golang:1.13-alpine 18:20:22 Step 2/24 : FROM ${BASE} AS builder 18:20:22 ---> e59034d91bbc 18:20:22 Step 3/24 : ARG MAKE='make build' 18:20:22 ---> Running in b8451381c1d7 18:20:22 Removing intermediate container b8451381c1d7 18:20:22 ---> ec7acbc1e4e8 18:20:22 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:20:22 ---> Running in 867cf2819762 18:20:23 Removing intermediate container 867cf2819762 18:20:23 ---> 162d6ec64b0b 18:20:23 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:20:23 ---> Running in ac26e286edcf 18:20:23 Removing intermediate container ac26e286edcf 18:20:23 ---> eda30a51411e 18:20:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:20:23 ---> Running in 02351bffe76c 18:20:26 Removing intermediate container 02351bffe76c 18:20:26 ---> ff827001f8d5 18:20:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:20:26 ---> Running in 3bbd9b0cfb97 18:20:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:20:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:20:28 OK: 125 MiB in 39 packages 18:20:30 Removing intermediate container 3bbd9b0cfb97 18:20:30 ---> 60dee6c18560 18:20:30 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:20:30 ---> Running in ad759837161a 18:20:30 Removing intermediate container ad759837161a 18:20:30 ---> aae93fd5051e 18:20:30 Step 9/24 : COPY go.mod . 18:20:31 ---> 5405e8b3e879 18:20:31 Step 10/24 : COPY Makefile . 18:20:32 ---> 7522e6b2a90f 18:20:32 Step 11/24 : RUN make update 18:20:32 ---> Running in 0a18f68264dc 18:20:33 CGO_ENABLED=0 GO111MODULE=on go mod download 18:20:35 Removing intermediate container 0a18f68264dc 18:20:35 ---> e8f88a4f04d5 18:20:35 Step 12/24 : COPY . . 18:20:36 ---> 1baa48f261fb 18:20:36 Step 13/24 : RUN $MAKE 18:20:36 ---> Running in 76318a57aa56 18:20:37 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 18:21:04 Removing intermediate container 76318a57aa56 18:21:04 ---> 2860f3afedc1 18:21:04 Step 14/24 : FROM alpine:latest 18:21:04 latest: Pulling from library/alpine 18:21:04 b538f80385f9: Pulling fs layer 18:21:04 b538f80385f9: Download complete 18:21:05 b538f80385f9: Pull complete 18:21:05 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:21:05 Status: Downloaded newer image for alpine:latest 18:21:05 ---> 62ee0e9f8440 18:21:05 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:21:05 ---> Running in 4fc442fa1163 18:21:06 Removing intermediate container 4fc442fa1163 18:21:06 ---> 815e7cdd850b 18:21:06 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:21:06 ---> Running in 92e025b4062a 18:21:06 Removing intermediate container 92e025b4062a 18:21:06 ---> 62e6da93a8a1 18:21:06 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:21:07 ---> af78625f8d96 18:21:07 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:21:07 ---> cba4958644d4 18:21:07 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:21:09 ---> 2cc5e42a183d 18:21:09 Step 20/24 : EXPOSE 49986 18:21:09 ---> Running in 3493630a08ff 18:21:09 Removing intermediate container 3493630a08ff 18:21:09 ---> 8b1197e3789a 18:21:09 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:21:10 ---> Running in abeb38ab911c 18:21:10 Removing intermediate container abeb38ab911c 18:21:10 ---> f29be2e8fe49 18:21:10 Step 22/24 : LABEL arch=arm64 18:21:10 ---> Running in 916c8f8dd0e2 18:21:10 Removing intermediate container 916c8f8dd0e2 18:21:10 ---> ed96dbe7d1d7 18:21:10 Step 23/24 : LABEL git_sha=272cbba74b5445e980adb416089d8b6fd8262e28 18:21:11 ---> Running in c52341a7c2b8 18:21:11 Removing intermediate container c52341a7c2b8 18:21:11 ---> 1fcc473c163c 18:21:11 Step 24/24 : LABEL version=0.0.0 18:21:11 ---> Running in 07252eadcba7 18:21:12 Removing intermediate container 07252eadcba7 18:21:12 ---> 606f6b5e5110 18:21:12 [Warning] One or more build-args [ARCH] were not consumed 18:21:12 Successfully built 606f6b5e5110 18:21:12 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 18:21:12 provisioning config files... 18:21:12 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config6120544694492610490tmp [Pipeline] { [Pipeline] sh 18:21:13 + curl -s https://codecov.io/bash 18:21:13 + bash -s - -t @/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config6120544694492610490tmp 18:21:13 18:21:13 _____ _ 18:21:13 / ____| | | 18:21:13 | | ___ __| | ___ ___ _____ __ 18:21:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:21:13 | |___| (_) | (_| | __/ (_| (_) \ V / 18:21:13 \_____\___/ \__,_|\___|\___\___/ \_/ 18:21:13 Bash-20200602-f809a24 18:21:13 18:21:13 18:21:13 ==> Jenkins CI detected. 18:21:13 project root: . 18:21:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:21:13 ==> Running gcov in . (disable via -X gcov) 18:21:13 ==> Python coveragepy not found 18:21:13 ==> Searching for coverage reports in: 18:21:13 + . 18:21:13 -> Found 1 reports 18:21:13 ==> Detecting git/mercurial file structure 18:21:13 ==> Reading reports 18:21:13 + ./coverage.out bytes=9369 18:21:13 ==> Appending adjustments 18:21:13 https://docs.codecov.io/docs/fixing-reports 18:21:13 + Found adjustments 18:21:13 ==> Gzipping contents 18:21:13 ==> Uploading reports 18:21:13 url: https://codecov.io 18:21:13 query: branch=snap&commit=272cbba74b5445e980adb416089d8b6fd8262e28&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 18:21:13 -> Pinging Codecov 18:21:13 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=snap&commit=272cbba74b5445e980adb416089d8b6fd8262e28&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 18:21:13 -> Uploading 18:21:14 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/272cbba74b5445e980adb416089d8b6fd8262e28 [Pipeline] } 18:21:14 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:21:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:21:15 ---> package-listing.sh 18:21:15 ++ facter osfamily 18:21:15 ++ tr '[:upper:]' '[:lower:]' 18:21:15 + OS_FAMILY=redhat 18:21:15 + workspace=/w/workspace/edgexfoundry_device-rest-go_snap 18:21:15 + START_PACKAGES=/tmp/packages_start.txt 18:21:15 + END_PACKAGES=/tmp/packages_end.txt 18:21:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:21:15 + PACKAGES=/tmp/packages_start.txt 18:21:15 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 18:21:15 + PACKAGES=/tmp/packages_end.txt 18:21:15 + case "${OS_FAMILY}" in 18:21:15 + rpm -qa 18:21:15 + sort 18:21:19 + '[' -f /tmp/packages_start.txt ']' 18:21:19 + '[' -f /tmp/packages_end.txt ']' 18:21:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:21:19 + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' 18:21:19 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ 18:21:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [Pipeline] isUnix [Pipeline] sh 18:21:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:21:19 18:21:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:21:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:21:20 alpine: Pulling from edgex-lftools-log-publisher 18:21:20 c9b1b535fdd9: Pulling fs layer 18:21:20 2cc5ad85d9ab: Pulling fs layer 18:21:20 756a868c4378: Pulling fs layer 18:21:20 444b2fc9a129: Pulling fs layer 18:21:20 ea15f1150254: Pulling fs layer 18:21:20 41b27a9f41bf: Pulling fs layer 18:21:20 28c525ee5125: Pulling fs layer 18:21:20 094b1ea09ed8: Pulling fs layer 18:21:20 138eaada9080: Pulling fs layer 18:21:20 0622d0fa9048: Pulling fs layer 18:21:20 41b27a9f41bf: Waiting 18:21:20 28c525ee5125: Waiting 18:21:20 094b1ea09ed8: Waiting 18:21:20 138eaada9080: Waiting 18:21:20 444b2fc9a129: Waiting 18:21:20 0622d0fa9048: Waiting 18:21:20 ea15f1150254: Waiting 18:21:20 2cc5ad85d9ab: Verifying Checksum 18:21:20 2cc5ad85d9ab: Download complete 18:21:20 444b2fc9a129: Verifying Checksum 18:21:20 444b2fc9a129: Download complete 18:21:20 c9b1b535fdd9: Verifying Checksum 18:21:20 c9b1b535fdd9: Download complete 18:21:20 ea15f1150254: Verifying Checksum 18:21:20 ea15f1150254: Download complete 18:21:20 28c525ee5125: Verifying Checksum 18:21:20 28c525ee5125: Download complete 18:21:20 756a868c4378: Verifying Checksum 18:21:20 756a868c4378: Download complete 18:21:20 c9b1b535fdd9: Pull complete 18:21:20 138eaada9080: Verifying Checksum 18:21:20 138eaada9080: Download complete 18:21:21 0622d0fa9048: Verifying Checksum 18:21:21 0622d0fa9048: Download complete 18:21:21 094b1ea09ed8: Verifying Checksum 18:21:21 094b1ea09ed8: Download complete 18:21:21 2cc5ad85d9ab: Pull complete 18:21:21 41b27a9f41bf: Verifying Checksum 18:21:21 41b27a9f41bf: Download complete 18:21:22 756a868c4378: Pull complete 18:21:22 444b2fc9a129: Pull complete 18:21:23 ea15f1150254: Pull complete 18:21:27 41b27a9f41bf: Pull complete 18:21:27 28c525ee5125: Pull complete 18:21:29 094b1ea09ed8: Pull complete 18:21:30 138eaada9080: Pull complete 18:21:30 0622d0fa9048: Pull complete 18:21:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:21:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:21:30 prd-centos7-docker-4c-2g-3594 does not seem to be running inside a container 18:21:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:21:33 $ docker top de5cc1eeebe95f292a842b40a871191a1a0fbdcada269d2e16f040761c24cbf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:21:33 provisioning config files... 18:21:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config6912025492706474272tmp [Pipeline] { [Pipeline] echo 18:21:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:21:34 ---> create-netrc.sh [Pipeline] echo 18:21:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:21:34 ---> logs-deploy.sh 18:21:34 + ARCHIVE_ARTIFACTS= 18:21:34 + LOGS_SERVER=https://logs.edgexfoundry.org 18:21:34 + '[' https://logs.edgexfoundry.org == None ']' 18:21:34 + NEXUS_URL=https://nexus.edgexfoundry.org 18:21:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/3 18:21:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/3/ 18:21:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/3 /w/workspace/edgexfoundry_device-rest-go_snap 18:21:35 Archives upload complete. 18:21:35 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/3/ 18:21:36 ---> uname -a: 18:21:36 Linux de5cc1eeebe9 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 18:21:36 18:21:36 18:21:36 ---> lscpu: 18:21:36 Architecture: x86_64 18:21:36 CPU op-mode(s): 32-bit, 64-bit 18:21:36 Byte Order: Little Endian 18:21:36 Address sizes: 40 bits physical, 48 bits virtual 18:21:36 CPU(s): 4 18:21:36 On-line CPU(s) list: 0-3 18:21:36 Thread(s) per core: 1 18:21:36 Core(s) per socket: 1 18:21:36 Socket(s): 4 18:21:36 NUMA node(s): 1 18:21:36 Vendor ID: GenuineIntel 18:21:36 CPU family: 6 18:21:36 Model: 44 18:21:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:21:36 Stepping: 1 18:21:36 CPU MHz: 2933.436 18:21:36 BogoMIPS: 5866.87 18:21:36 Virtualization: VT-x 18:21:36 Hypervisor vendor: KVM 18:21:36 Virtualization type: full 18:21:36 L1d cache: 128 KiB 18:21:36 L1i cache: 128 KiB 18:21:36 L2 cache: 16 MiB 18:21:36 L3 cache: 64 MiB 18:21:36 NUMA node0 CPU(s): 0-3 18:21:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:21:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:21:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:21:36 Vulnerability Meltdown: Mitigation; PTI 18:21:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:21:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:21:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:21:36 Vulnerability Tsx async abort: Not affected 18:21:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 18:21:36 18:21:36 18:21:36 ---> nproc: 18:21:36 4 18:21:36 18:21:36 18:21:36 ---> df -h: 18:21:36 Filesystem Size Used Available Use% Mounted on 18:21:36 overlay 50.0G 7.2G 42.7G 14% / 18:21:36 tmpfs 64.0M 0 64.0M 0% /dev 18:21:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:21:36 shm 64.0M 0 64.0M 0% /dev/shm 18:21:36 /dev/vda1 50.0G 7.2G 42.7G 14% /etc/resolv.conf 18:21:36 /dev/vda1 50.0G 7.2G 42.7G 14% /etc/hostname 18:21:36 /dev/vda1 50.0G 7.2G 42.7G 14% /etc/hosts 18:21:36 /dev/vda1 50.0G 7.2G 42.7G 14% /w/workspace/edgexfoundry_device-rest-go_snap@tmp 18:21:36 /dev/vda1 50.0G 7.2G 42.7G 14% /var/log/sa 18:21:36 /dev/vda1 50.0G 7.2G 42.7G 14% /w/workspace/edgexfoundry_device-rest-go_snap 18:21:36 18:21:36 18:21:36 ---> free -m: 18:21:36 total used free shared buff/cache available 18:21:36 Mem: 1837 675 123 0 1038 1057 18:21:36 Swap: 1023 0 1023 18:21:36 18:21:36 18:21:36 ---> ip addr: 18:21:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:21:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:21:36 inet 127.0.0.1/8 scope host lo 18:21:36 valid_lft forever preferred_lft forever 18:21:36 6: eth0@if7: mtu 1458 qdisc noqueue state UP 18:21:36 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 18:21:36 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 18:21:36 valid_lft forever preferred_lft forever 18:21:36 18:21:36 18:21:36 ---> sar -b -r -n DEV: 18:21:36 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/18/20 _x86_64_ (4 CPU) 18:21:36 18:21:36 18:15:31 LINUX RESTART 18:21:36 18:21:36 18:16:01 tps rtps wtps bread/s bwrtn/s 18:21:36 18:17:01 58.69 15.43 43.26 5010.25 5471.40 18:21:36 18:18:01 0.40 0.00 0.40 0.00 6.58 18:21:36 18:19:01 0.27 0.00 0.27 0.00 3.15 18:21:36 18:20:01 0.32 0.00 0.32 0.00 3.51 18:21:36 18:21:01 0.22 0.00 0.22 0.00 2.27 18:21:36 Average: 11.98 3.09 8.90 1002.55 1097.93 18:21:36 18:21:36 18:16:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:21:36 18:17:01 157752 1723804 91.62 2620 1124516 1121800 38.29 448628 1114804 16 18:21:36 18:18:01 164184 1717372 91.27 2620 1124520 1074792 36.68 447656 1110924 16 18:21:36 18:19:01 163812 1717744 91.29 2620 1124528 1074888 36.68 448344 1110924 8 18:21:36 18:20:01 163412 1718144 91.32 2620 1124528 1074696 36.68 448812 1110340 8 18:21:36 18:21:01 163600 1717956 91.31 2620 1124532 1074696 36.68 464248 1095032 8 18:21:36 Average: 162552 1719004 91.36 2620 1124525 1084174 37.00 451538 1108405 11 18:21:36 18:21:36 18:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 18:21:36 18:17:01 eth0 455.44 303.66 1267.80 225.97 0.00 0.00 0.00 18:21:36 18:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:17:01 docker0 51.33 37.00 3.90 132.32 0.00 0.00 0.00 18:21:36 18:18:01 eth0 5.45 2.88 5.67 0.20 0.00 0.00 0.00 18:21:36 18:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:19:01 eth0 1.35 0.55 0.58 0.36 0.00 0.00 0.00 18:21:36 18:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:20:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 18:21:36 18:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:21:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 18:21:36 18:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 18:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 Average: eth0 92.53 61.48 254.94 45.34 0.00 0.00 0.00 18:21:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:21:36 Average: docker0 10.27 7.40 0.78 26.48 0.00 0.00 0.00 18:21:36 18:21:36 18:21:36 ---> sar -P ALL: 18:21:36 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 06/18/20 _x86_64_ (4 CPU) 18:21:36 18:21:36 18:15:31 LINUX RESTART 18:21:36 18:21:36 18:16:01 CPU %user %nice %system %iowait %steal %idle 18:21:36 18:17:01 all 10.53 0.00 3.81 1.93 0.73 83.00 18:21:36 18:17:01 0 9.78 0.00 4.32 2.73 0.70 82.47 18:21:36 18:17:01 1 11.41 0.00 3.81 3.67 0.71 80.40 18:21:36 18:17:01 2 10.34 0.00 4.30 0.85 0.71 83.80 18:21:36 18:17:01 3 10.59 0.00 2.77 0.49 0.78 85.37 18:21:36 18:18:01 all 0.17 0.00 0.04 0.00 0.01 99.78 18:21:36 18:18:01 0 0.38 0.00 0.03 0.00 0.02 99.57 18:21:36 18:18:01 1 0.07 0.00 0.07 0.00 0.03 99.83 18:21:36 18:18:01 2 0.05 0.00 0.05 0.00 0.02 99.88 18:21:36 18:18:01 3 0.17 0.00 0.03 0.00 0.00 99.80 18:21:36 18:19:01 all 0.14 0.00 0.04 0.00 0.01 99.82 18:21:36 18:19:01 0 0.02 0.00 0.03 0.00 0.00 99.95 18:21:36 18:19:01 1 0.05 0.00 0.02 0.00 0.02 99.92 18:21:36 18:19:01 2 0.02 0.00 0.03 0.00 0.02 99.93 18:21:36 18:19:01 3 0.47 0.00 0.05 0.00 0.02 99.47 18:21:36 18:20:01 all 0.04 0.00 0.03 0.00 0.02 99.91 18:21:36 18:20:01 0 0.02 0.00 0.03 0.00 0.00 99.95 18:21:36 18:20:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:21:36 18:20:01 2 0.02 0.00 0.03 0.00 0.02 99.93 18:21:36 18:20:01 3 0.12 0.00 0.08 0.00 0.03 99.77 18:21:36 18:21:01 all 0.14 0.00 0.03 0.00 0.00 99.83 18:21:36 18:21:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:21:36 18:21:01 1 0.03 0.00 0.05 0.00 0.00 99.92 18:21:36 18:21:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:21:36 18:21:01 3 0.52 0.00 0.02 0.00 0.02 99.45 18:21:36 Average: all 2.18 0.00 0.78 0.38 0.15 96.51 18:21:36 Average: 0 2.02 0.00 0.88 0.54 0.14 96.43 18:21:36 Average: 1 2.29 0.00 0.78 0.73 0.15 96.06 18:21:36 Average: 2 2.06 0.00 0.88 0.17 0.15 96.74 18:21:36 Average: 3 2.35 0.00 0.59 0.10 0.17 96.80 18:21:36 18:21:36 18:21:36