Pull request #464 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 58d8c2fbfe57be80d06d3bf091d22c686d74c453+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (92f3885d530668a6876b158ba2b1b023c6a61040) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-352 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [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-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 58d8c2fbfe57be80d06d3bf091d22c686d74c453 Merge succeeded, producing 58d8c2fbfe57be80d06d3bf091d22c686d74c453 Checking out Revision 58d8c2fbfe57be80d06d3bf091d22c686d74c453 (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f 58d8c2fbfe57be80d06d3bf091d22c686d74c453 # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58d8c2fbfe57be80d06d3bf091d22c686d74c453 # timeout=10 Commit message: "Fix the Content Header-related issue with CBOR." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:53:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk e1fa7ed149ab62745a0a8c3896f93db11035a5ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:53:03 15:53:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:53:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:53:04 latest: Pulling from edgex-devops/git-semver 15:53:04 9123ac7c32f7: Pulling fs layer 15:53:04 b8cc5d1170e3: Pulling fs layer 15:53:04 2924cbbf6a41: Pulling fs layer 15:53:04 93b08a4f1073: Pulling fs layer 15:53:04 93b08a4f1073: Waiting 15:53:04 b8cc5d1170e3: Verifying Checksum 15:53:04 b8cc5d1170e3: Download complete 15:53:05 9123ac7c32f7: Verifying Checksum 15:53:05 9123ac7c32f7: Download complete 15:53:05 9123ac7c32f7: Pull complete 15:53:05 b8cc5d1170e3: Pull complete 15:53:05 93b08a4f1073: Verifying Checksum 15:53:05 93b08a4f1073: Download complete 15:53:06 2924cbbf6a41: Download complete 15:53:07 2924cbbf6a41: Pull complete 15:53:07 93b08a4f1073: Pull complete 15:53:07 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:53:07 prd-centos7-docker-4c-2g-352 does not seem to be running inside a container 15:53:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:53:08 $ docker top 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:08 [ssh-agent] Looking for ssh-agent implementation... 15:53:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:09 $ docker exec 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 ssh-agent 15:53:09 SSH_AUTH_SOCK=/tmp/ssh-94Gjb2Dc73gC/agent.14 15:53:09 SSH_AGENT_PID=21 15:53:09 Running ssh-add (command line suppressed) 15:53:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_5043724954738055056.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_5043724954738055056.key) 15:53:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:09 + git describe --exact-match --tags HEAD 15:53:09 fatal: No names found, cannot describe anything. [Pipeline] } 15:53:09 $ docker exec --env ******** --env ******** 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 ssh-agent -k 15:53:10 unset SSH_AUTH_SOCK; 15:53:10 unset SSH_AGENT_PID; 15:53:10 echo Agent pid 21 killed; 15:53:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:53:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:53:10 This usually means this commit has not been tagged. [Pipeline] sshagent 15:53:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:10 [ssh-agent] Looking for ssh-agent implementation... 15:53:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:10 $ docker exec 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 ssh-agent 15:53:10 SSH_AUTH_SOCK=/tmp/ssh-eaPI32XERGV0/agent.55 15:53:10 SSH_AGENT_PID=62 15:53:10 Running ssh-add (command line suppressed) 15:53:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3489866275320800756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_3489866275320800756.key) 15:53:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:11 + git semver init 15:53:11 # -> Open(): unable to determine branch for HEAD 15:53:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git 15:53:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 15:53:11 # $SEMVER_REMOTE_NAME = origin 15:53:11 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 15:53:11 # $SEMVER_USER_NAME = jenkins 15:53:11 # $SEMVER_BRANCH = PR-464 15:53:11 # $SEMVER_TEMP = /tmp/semver-854569720 15:53:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:53:11 # '/tmp/semver-854569720' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' 15:53:11 # -> Force: false 15:53:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } 15:53:11 $ docker exec --env ******** --env ******** 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 ssh-agent -k 15:53:11 unset SSH_AUTH_SOCK; 15:53:11 unset SSH_AGENT_PID; 15:53:11 echo Agent pid 62 killed; 15:53:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:12 + git semver [Pipeline] } 15:53:12 $ docker stop --time=1 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 15:53:13 $ docker rm -f 5d7442b2d6fe1b6b5333d86025aed0fd6a1218ee51ef51a1dd72167f4225c471 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:53:14 Stashed 32 file(s) [Pipeline] echo 15:53:14 [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 15:53:29 Still waiting to schedule task 15:53:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:53:29 Still waiting to schedule task 15:53:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:54:17 Running on prd-centos7-docker-4c-2g-354 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 15:54:17 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:54:20 using credential edgex-jenkins-ssh 15:54:20 Cloning the remote Git repository 15:54:20 Cloning with configured refspecs honoured and without tags 15:54:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:54:19 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:54:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:54:19 > git --version # timeout=10 15:54:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:54:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:54:21 Fetching without tags 15:54:21 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 58d8c2fbfe57be80d06d3bf091d22c686d74c453 15:54:21 Merge succeeded, producing 58d8c2fbfe57be80d06d3bf091d22c686d74c453 15:54:21 Checking out Revision 58d8c2fbfe57be80d06d3bf091d22c686d74c453 (PR-464) 15:54:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:54:20 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 15:54:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:54:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:54:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:54:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:54:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:54:21 > git config core.sparsecheckout # timeout=10 15:54:21 > git checkout -f 58d8c2fbfe57be80d06d3bf091d22c686d74c453 # timeout=10 15:54:21 > git remote # timeout=10 15:54:21 > git config --get remote.origin.url # timeout=10 15:54:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:54:21 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 15:54:21 > git rev-parse HEAD^{commit} # timeout=10 15:54:21 > git config core.sparsecheckout # timeout=10 15:54:21 > git checkout -f 58d8c2fbfe57be80d06d3bf091d22c686d74c453 # timeout=10 15:54:26 Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:54:27 ========================================================= 15:54:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:54:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:54:28 + 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 . 15:54:28 Sending build context to Docker daemon 2.702MB 15:54:28 Step 1/8 : ARG BASE=golang:1.13-alpine 15:54:28 Step 2/8 : FROM ${BASE} 15:54:28 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:28 e6b0cf9c0882: Pulling fs layer 15:54:28 2848faf0eed1: Pulling fs layer 15:54:28 0f37312ad70f: Pulling fs layer 15:54:28 5788d62ee057: Pulling fs layer 15:54:28 0e6b1d234666: Pulling fs layer 15:54:28 bf5d7aec512f: Pulling fs layer 15:54:28 34c802a77dc8: Pulling fs layer 15:54:28 9eb99e56ec68: Pulling fs layer 15:54:28 27c7a5d97fbd: Pulling fs layer 15:54:28 5c102a31e300: Pulling fs layer 15:54:28 dcfb455df0a1: Pulling fs layer 15:54:28 5788d62ee057: Waiting 15:54:28 0e6b1d234666: Waiting 15:54:28 bf5d7aec512f: Waiting 15:54:28 34c802a77dc8: Waiting 15:54:28 9eb99e56ec68: Waiting 15:54:28 27c7a5d97fbd: Waiting 15:54:28 5c102a31e300: Waiting 15:54:28 dcfb455df0a1: Waiting 15:54:28 0f37312ad70f: Verifying Checksum 15:54:28 0f37312ad70f: Download complete 15:54:28 2848faf0eed1: Verifying Checksum 15:54:28 2848faf0eed1: Download complete 15:54:28 0e6b1d234666: Verifying Checksum 15:54:28 0e6b1d234666: Download complete 15:54:28 bf5d7aec512f: Verifying Checksum 15:54:28 bf5d7aec512f: Download complete 15:54:28 e6b0cf9c0882: Verifying Checksum 15:54:28 e6b0cf9c0882: Download complete 15:54:29 e6b0cf9c0882: Pull complete 15:54:29 2848faf0eed1: Pull complete 15:54:29 0f37312ad70f: Pull complete 15:54:29 34c802a77dc8: Verifying Checksum 15:54:29 34c802a77dc8: Download complete 15:54:29 27c7a5d97fbd: Verifying Checksum 15:54:29 27c7a5d97fbd: Download complete 15:54:30 5c102a31e300: Verifying Checksum 15:54:30 5c102a31e300: Download complete 15:54:30 dcfb455df0a1: Verifying Checksum 15:54:30 dcfb455df0a1: Download complete 15:54:30 9eb99e56ec68: Verifying Checksum 15:54:30 9eb99e56ec68: Download complete 15:54:31 5788d62ee057: Verifying Checksum 15:54:31 5788d62ee057: Download complete 15:54:39 5788d62ee057: Pull complete 15:54:39 0e6b1d234666: Pull complete 15:54:39 bf5d7aec512f: Pull complete 15:54:43 34c802a77dc8: Pull complete 15:54:46 9eb99e56ec68: Pull complete 15:54:46 27c7a5d97fbd: Pull complete 15:54:47 5c102a31e300: Pull complete 15:54:47 dcfb455df0a1: Pull complete 15:54:47 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:54:47 ---> 7c70fe431013 15:54:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:54:48 ---> Running in 067208e401ab 15:54:48 Removing intermediate container 067208e401ab 15:54:48 ---> 49890644914a 15:54:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:54:48 ---> Running in 62ede2b66de0 15:54:49 Removing intermediate container 62ede2b66de0 15:54:49 ---> 59ae94986eae 15:54:49 Step 5/8 : RUN apk add --no-cache make git 15:54:49 ---> Running in 6cf8512bb1f9 15:54:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:54:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:54:51 OK: 143 MiB in 39 packages 15:54:51 Removing intermediate container 6cf8512bb1f9 15:54:51 ---> 78b510783fe7 15:54:51 Step 6/8 : WORKDIR /device-sdk-go 15:54:51 ---> Running in c218ea6dae60 15:54:51 Removing intermediate container c218ea6dae60 15:54:51 ---> 92ee1091c1ba 15:54:51 Step 7/8 : COPY . . 15:54:52 ---> 1521bdc30a1c 15:54:52 Step 8/8 : RUN go mod download 15:54:52 ---> Running in b94a37f118ab 15:54:54 go: finding github.com/BurntSushi/toml v0.3.1 15:54:54 go: finding github.com/OneOfOne/xxhash v1.2.6 15:54:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:54:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:54:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:54:54 go: finding github.com/bgentry/speakeasy v0.1.0 15:54:54 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 15:54:54 go: finding github.com/davecgh/go-spew v1.1.1 15:54:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 15:54:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 15:54:54 go: finding github.com/fatih/color v1.7.0 15:54:54 go: finding github.com/go-kit/kit v0.8.0 15:54:54 go: finding github.com/go-logfmt/logfmt v0.4.0 15:54:54 go: finding github.com/go-stack/stack v1.8.0 15:54:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:54:54 go: finding github.com/google/uuid v1.1.0 15:54:54 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 15:54:54 go: finding github.com/gorilla/mux v1.6.2 15:54:54 go: finding github.com/hashicorp/consul v1.4.2 15:54:54 go: finding github.com/hashicorp/errwrap v1.0.0 15:54:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 15:54:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:54:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:54:54 go: finding github.com/hashicorp/go-multierror v1.0.0 15:54:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:54:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:54:54 go: finding github.com/hashicorp/go-syslog v1.0.0 15:54:54 go: finding github.com/hashicorp/go-uuid v1.0.1 15:54:54 go: finding github.com/hashicorp/go.net v0.0.1 15:54:54 go: finding github.com/hashicorp/golang-lru v0.5.0 15:54:54 go: finding github.com/hashicorp/logutils v1.0.0 15:54:54 go: finding github.com/hashicorp/mdns v1.0.0 15:54:54 go: finding github.com/hashicorp/memberlist v0.1.3 15:54:54 go: finding github.com/hashicorp/serf v0.8.2 15:54:54 go: finding github.com/jessevdk/go-flags v1.4.0 15:54:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:54:54 go: finding github.com/mattn/go-colorable v0.0.9 15:54:54 go: finding github.com/mattn/go-isatty v0.0.3 15:54:54 go: finding github.com/miekg/dns v1.0.14 15:54:54 go: finding github.com/mitchellh/cli v1.0.0 15:54:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:54:54 go: finding github.com/mitchellh/copystructure v1.0.0 15:54:54 go: finding github.com/mitchellh/go-homedir v1.0.0 15:54:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:54:54 go: finding github.com/mitchellh/gox v0.4.0 15:54:54 go: finding github.com/mitchellh/iochan v1.0.0 15:54:54 go: finding github.com/mitchellh/mapstructure v1.1.2 15:54:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:54:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:54:54 go: finding github.com/pelletier/go-toml v1.2.0 15:54:54 go: finding github.com/pkg/errors v0.8.1 15:54:54 go: finding github.com/pmezard/go-difflib v1.0.0 15:54:54 go: finding github.com/posener/complete v1.1.1 15:54:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:54:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:54:54 go: finding github.com/stretchr/objx v0.1.0 15:54:54 go: finding github.com/stretchr/testify v1.3.0 15:54:54 go: finding github.com/ugorji/go v1.1.4 15:54:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:54:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:54:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:54:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:54:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:54:54 go: finding gopkg.in/yaml.v2 v2.2.2 15:55:02 Removing intermediate container b94a37f118ab 15:55:02 ---> 1db1e1586d6a 15:55:02 Successfully built 1db1e1586d6a 15:55:02 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 15:55:03 + docker inspect -f . ci-base-image-x86_64 15:55:03 . [Pipeline] withDockerContainer 15:55:03 prd-centos7-docker-4c-2g-354 does not seem to be running inside a container 15:55:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:55:04 $ docker top b378ce12e6e037b90839136dc54cf1d3a74ea7cdf8ccbb3f57c9af707742b265 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:04 + go version 15:55:04 go version go1.13.5 linux/amd64 [Pipeline] sh 15:55:05 + make test 15:55:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:55:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-353 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 15:55:10 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:55:16 using credential edgex-jenkins-ssh 15:55:16 Cloning the remote Git repository 15:55:16 Cloning with configured refspecs honoured and without tags 15:55:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:55:16 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:55:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:55:17 > git --version # timeout=10 15:55:17 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:55:18 Fetching without tags 15:55:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:55:17 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 15:55:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:55:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:55:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:55:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:55:18 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 58d8c2fbfe57be80d06d3bf091d22c686d74c453 15:55:18 Merge succeeded, producing 58d8c2fbfe57be80d06d3bf091d22c686d74c453 15:55:18 Checking out Revision 58d8c2fbfe57be80d06d3bf091d22c686d74c453 (PR-464) 15:55:18 > git config core.sparsecheckout # timeout=10 15:55:18 > git checkout -f 58d8c2fbfe57be80d06d3bf091d22c686d74c453 # timeout=10 15:55:18 > git remote # timeout=10 15:55:18 > git config --get remote.origin.url # timeout=10 15:55:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:18 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 15:55:18 > git rev-parse HEAD^{commit} # timeout=10 15:55:18 > git config core.sparsecheckout # timeout=10 15:55:18 > git checkout -f 58d8c2fbfe57be80d06d3bf091d22c686d74c453 # timeout=10 15:55:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:55:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:55:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:55:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.009s coverage: 23.1% of statements 15:55:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 15:55:23 Commit message: "Fix the Content Header-related issue with CBOR." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:55:24 ========================================================= 15:55:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:55:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:55:25 + 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 . 15:55:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.029s coverage: 12.7% of statements 15:55:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.010s coverage: 20.5% of statements 15:55:26 Sending build context to Docker daemon 2.699MB 15:55:26 Step 1/8 : ARG BASE=golang:1.13-alpine 15:55:26 Step 2/8 : FROM ${BASE} 15:55:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:55:27 cde5963f3b93: Pulling fs layer 15:55:27 2a23fa8c16f7: Pulling fs layer 15:55:27 777b28850792: Pulling fs layer 15:55:27 8a11ddd9e578: Pulling fs layer 15:55:27 4cf88f913ddb: Pulling fs layer 15:55:27 1df406cf5192: Pulling fs layer 15:55:27 cd6300453558: Pulling fs layer 15:55:27 b9c365052c96: Pulling fs layer 15:55:27 a2d8cc88f415: Pulling fs layer 15:55:27 ea1d1ca13537: Pulling fs layer 15:55:27 3750a50a1c5e: Pulling fs layer 15:55:27 8a11ddd9e578: Waiting 15:55:27 b9c365052c96: Waiting 15:55:27 ea1d1ca13537: Waiting 15:55:27 3750a50a1c5e: Waiting 15:55:27 4cf88f913ddb: Waiting 15:55:27 a2d8cc88f415: Waiting 15:55:27 cd6300453558: Waiting 15:55:27 1df406cf5192: Waiting 15:55:27 777b28850792: Verifying Checksum 15:55:27 777b28850792: Download complete 15:55:27 2a23fa8c16f7: Download complete 15:55:27 4cf88f913ddb: Verifying Checksum 15:55:27 4cf88f913ddb: Download complete 15:55:27 1df406cf5192: Verifying Checksum 15:55:27 1df406cf5192: Download complete 15:55:27 cde5963f3b93: Download complete 15:55:28 cde5963f3b93: Pull complete 15:55:28 2a23fa8c16f7: Pull complete 15:55:29 777b28850792: Pull complete 15:55:31 cd6300453558: Verifying Checksum 15:55:31 cd6300453558: Download complete 15:55:31 a2d8cc88f415: Verifying Checksum 15:55:31 a2d8cc88f415: Download complete 15:55:34 ea1d1ca13537: Verifying Checksum 15:55:34 ea1d1ca13537: Download complete 15:55:34 3750a50a1c5e: Verifying Checksum 15:55:34 3750a50a1c5e: Download complete 15:55:37 b9c365052c96: Verifying Checksum 15:55:37 b9c365052c96: Download complete 15:55:38 8a11ddd9e578: Verifying Checksum 15:55:38 8a11ddd9e578: Download complete 15:55:51 8a11ddd9e578: Pull complete 15:55:51 4cf88f913ddb: Pull complete 15:55:51 1df406cf5192: Pull complete 15:55:55 cd6300453558: Pull complete 15:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.033s coverage: 30.0% of statements 15:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.284s coverage: 42.3% of statements 15:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 15:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.342s coverage: 79.4% of statements 15:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements 15:55:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.112s coverage: 76.1% of statements 15:55:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:55:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:55:58 gofmt -l . 15:55:58 [ "`gofmt -l .`" = "" ] 15:55:58 ./bin/test-attribution-txt.sh 15:55:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:56:00 Stashed 1 file(s) [Pipeline] } 15:56:00 $ docker stop --time=1 b378ce12e6e037b90839136dc54cf1d3a74ea7cdf8ccbb3f57c9af707742b265 15:56:00 b9c365052c96: Pull complete 15:56:00 a2d8cc88f415: Pull complete 15:56:01 $ docker rm -f b378ce12e6e037b90839136dc54cf1d3a74ea7cdf8ccbb3f57c9af707742b265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:02 ea1d1ca13537: Pull complete 15:56:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:56:03 3750a50a1c5e: Pull complete 15:56:03 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:56:03 ---> 78745c68409d 15:56:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:56:03 + ls -al . 15:56:03 total 200 15:56:03 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 12 15:55 . 15:56:03 drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 15:54 .. 15:56:03 drwxrwxr-x. 3 jenkins jenkins 20 Mar 12 15:54 api 15:56:03 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 12 15:54 async.go 15:56:03 drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 15:54 bin 15:56:03 -rw-r--r--. 1 jenkins jenkins 101826 Mar 12 15:55 coverage.out 15:56:03 -rw-rw-r--. 1 jenkins jenkins 936 Mar 12 15:54 Dockerfile.build 15:56:03 -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 15:54 .dockerignore 15:56:03 drwxrwxr-x. 4 jenkins jenkins 31 Mar 12 15:54 example 15:56:03 drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 15:54 .git 15:56:03 drwxrwxr-x. 2 jenkins jenkins 38 Mar 12 15:54 .github 15:56:03 -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 15:54 .gitignore 15:56:03 -rw-r--r--. 1 jenkins jenkins 536 Mar 12 15:55 go.mod 15:56:03 -rw-r--r--. 1 jenkins jenkins 11140 Mar 12 15:55 go.sum 15:56:03 drwxrwxr-x. 13 jenkins jenkins 176 Mar 12 15:54 internal 15:56:03 -rw-rw-r--. 1 jenkins jenkins 808 Mar 12 15:54 Jenkinsfile 15:56:03 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 15:54 LICENSE 15:56:03 -rw-rw-r--. 1 jenkins jenkins 892 Mar 12 15:54 Makefile 15:56:03 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 12 15:54 manageddevices.go 15:56:03 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 12 15:54 managedprofiles.go 15:56:03 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 12 15:54 managedwatchers.go 15:56:03 drwxrwxr-x. 4 jenkins jenkins 35 Mar 12 15:54 pkg 15:56:03 -rw-rw-r--. 1 jenkins jenkins 761 Mar 12 15:54 README.md 15:56:03 drwxrwxr-x. 3 jenkins jenkins 58 Mar 12 15:54 .semver 15:56:03 -rw-rw-r--. 1 jenkins jenkins 9817 Mar 12 15:54 service.go 15:56:03 drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 15:54 snap 15:56:03 -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 15:53 VERSION 15:56:03 -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 15:54 version.go [Pipeline] isUnix [Pipeline] sh 15:56:03 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=58d8c2fbfe57be80d06d3bf091d22c686d74c453 --label arch=amd64 --label version=0.0.0 . 15:56:03 Sending build context to Docker daemon 2.829MB 15:56:03 Step 1/20 : ARG BASE=golang:1.13-alpine 15:56:03 Step 2/20 : FROM ${BASE} AS builder 15:56:03 ---> 1db1e1586d6a 15:56:03 Step 3/20 : ARG MAKE='make build' 15:56:03 ---> Running in bf640f1d9bf7 15:56:04 Removing intermediate container bf640f1d9bf7 15:56:04 ---> 337560ff423f 15:56:04 Step 4/20 : WORKDIR /device-sdk-go 15:56:04 ---> Running in 6408381f2769 15:56:04 Removing intermediate container 6408381f2769 15:56:04 ---> b038ed506f74 15:56:04 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:56:04 ---> Running in 420871f81e99 15:56:04 Removing intermediate container 420871f81e99 15:56:04 ---> 60110d77efff 15:56:04 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:56:04 ---> Running in 9566c6a063e4 15:56:05 Removing intermediate container 9566c6a063e4 15:56:05 ---> 9d0bbd3fe315 15:56:05 Step 7/20 : RUN apk add --update --no-cache make git 15:56:05 ---> Running in 8b179e4a1dac 15:56:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:56:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:56:07 ---> Running in c97b23bccdf6 15:56:07 OK: 143 MiB in 39 packages 15:56:07 Removing intermediate container c97b23bccdf6 15:56:07 ---> 40e619b8bd5b 15:56:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:56:07 Removing intermediate container 8b179e4a1dac 15:56:07 ---> be762eca2baf 15:56:07 Step 8/20 : COPY . . 15:56:07 ---> Running in 16941703fa15 15:56:07 ---> 51f7216f7752 15:56:07 Step 9/20 : RUN ${MAKE} 15:56:08 ---> Running in b0cc9de1176f 15:56:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:56:09 Removing intermediate container 16941703fa15 15:56:09 ---> cc8a9a19018d 15:56:09 Step 5/8 : RUN apk add --no-cache make git 15:56:09 ---> Running in 65fbc6ab9d7d 15:56:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:56:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:56:12 OK: 125 MiB in 39 packages 15:56:13 Removing intermediate container 65fbc6ab9d7d 15:56:13 ---> b3e01ae616ce 15:56:13 Step 6/8 : WORKDIR /device-sdk-go 15:56:13 ---> Running in 60151a3c04da 15:56:14 Removing intermediate container 60151a3c04da 15:56:14 ---> 5317f5a3c802 15:56:14 Step 7/8 : COPY . . 15:56:15 ---> f2fcd1347d89 15:56:15 Step 8/8 : RUN go mod download 15:56:15 ---> Running in a9e7fb9a466f 15:56:17 go: finding github.com/BurntSushi/toml v0.3.1 15:56:17 go: finding github.com/OneOfOne/xxhash v1.2.6 15:56:17 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:56:17 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:56:17 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:56:17 go: finding github.com/bgentry/speakeasy v0.1.0 15:56:17 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 15:56:17 go: finding github.com/davecgh/go-spew v1.1.1 15:56:17 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 15:56:17 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 15:56:17 go: finding github.com/fatih/color v1.7.0 15:56:17 go: finding github.com/go-kit/kit v0.8.0 15:56:17 go: finding github.com/go-logfmt/logfmt v0.4.0 15:56:17 go: finding github.com/go-stack/stack v1.8.0 15:56:17 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:56:17 go: finding github.com/google/uuid v1.1.0 15:56:17 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 15:56:17 go: finding github.com/gorilla/mux v1.6.2 15:56:17 go: finding github.com/hashicorp/consul v1.4.2 15:56:17 go: finding github.com/hashicorp/errwrap v1.0.0 15:56:17 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 15:56:17 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:56:17 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:56:17 go: finding github.com/hashicorp/go-multierror v1.0.0 15:56:17 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:56:17 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:56:17 go: finding github.com/hashicorp/go-syslog v1.0.0 15:56:17 go: finding github.com/hashicorp/go-uuid v1.0.1 15:56:17 go: finding github.com/hashicorp/go.net v0.0.1 15:56:17 go: finding github.com/hashicorp/golang-lru v0.5.0 15:56:17 go: finding github.com/hashicorp/logutils v1.0.0 15:56:17 go: finding github.com/hashicorp/mdns v1.0.0 15:56:17 go: finding github.com/hashicorp/memberlist v0.1.3 15:56:17 go: finding github.com/hashicorp/serf v0.8.2 15:56:17 go: finding github.com/jessevdk/go-flags v1.4.0 15:56:17 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:56:17 go: finding github.com/mattn/go-colorable v0.0.9 15:56:17 go: finding github.com/mattn/go-isatty v0.0.3 15:56:17 go: finding github.com/miekg/dns v1.0.14 15:56:17 go: finding github.com/mitchellh/cli v1.0.0 15:56:17 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:56:17 go: finding github.com/mitchellh/copystructure v1.0.0 15:56:17 go: finding github.com/mitchellh/go-homedir v1.0.0 15:56:17 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:56:17 go: finding github.com/mitchellh/gox v0.4.0 15:56:17 go: finding github.com/mitchellh/iochan v1.0.0 15:56:17 go: finding github.com/mitchellh/mapstructure v1.1.2 15:56:17 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:56:17 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:56:17 go: finding github.com/pelletier/go-toml v1.2.0 15:56:17 go: finding github.com/pkg/errors v0.8.1 15:56:17 go: finding github.com/pmezard/go-difflib v1.0.0 15:56:17 go: finding github.com/posener/complete v1.1.1 15:56:17 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:56:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:56:17 go: finding github.com/stretchr/objx v0.1.0 15:56:17 go: finding github.com/stretchr/testify v1.3.0 15:56:17 go: finding github.com/ugorji/go v1.1.4 15:56:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:56:17 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:56:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:56:17 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:56:17 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:56:17 go: finding gopkg.in/yaml.v2 v2.2.2 15:56:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:56:28 Removing intermediate container b0cc9de1176f 15:56:28 ---> f8c7485ec2f5 15:56:28 Step 10/20 : FROM scratch 15:56:28 ---> 15:56:28 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:56:28 ---> Running in 671a2d812f36 15:56:28 Removing intermediate container 671a2d812f36 15:56:28 ---> e8689780a638 15:56:28 Step 12/20 : ENV APP_PORT=49990 15:56:28 ---> Running in 0ce1b916330e 15:56:28 Removing intermediate container 0ce1b916330e 15:56:28 ---> 65a1aace2e39 15:56:28 Step 13/20 : EXPOSE $APP_PORT 15:56:28 ---> Running in ba8853dc25ec 15:56:28 Removing intermediate container ba8853dc25ec 15:56:28 ---> b47a0ddec136 15:56:28 Step 14/20 : WORKDIR / 15:56:28 ---> Running in 567c907d4b81 15:56:29 Removing intermediate container 567c907d4b81 15:56:29 ---> 5c7cc173d9b0 15:56:29 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:56:29 ---> 891f171b9e28 15:56:29 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 15:56:29 ---> bde3ae60e525 15:56:29 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 15:56:29 ---> Running in a80f1408a0a0 15:56:29 Removing intermediate container a80f1408a0a0 15:56:29 ---> 7f01168b09a4 15:56:29 Step 18/20 : LABEL arch=amd64 15:56:29 ---> Running in 838dbe301172 15:56:29 Removing intermediate container 838dbe301172 15:56:29 ---> e62baefd5ae3 15:56:29 Step 19/20 : LABEL git_sha=58d8c2fbfe57be80d06d3bf091d22c686d74c453 15:56:30 ---> Running in e736bcc508b9 15:56:30 Removing intermediate container e736bcc508b9 15:56:30 ---> ad0cf3cd0b4f 15:56:30 Step 20/20 : LABEL version=0.0.0 15:56:30 ---> Running in 0a08a60be643 15:56:30 Removing intermediate container 0a08a60be643 15:56:30 ---> 9ca6d80ea35a 15:56:30 [Warning] One or more build-args [ARCH] were not consumed 15:56:30 Successfully built 9ca6d80ea35a 15:56:30 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:56:36 Removing intermediate container a9e7fb9a466f 15:56:36 ---> a87ef644ffad 15:56:36 Successfully built a87ef644ffad 15:56:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:56:36 + docker inspect -f . ci-base-image-arm64 15:56:36 . [Pipeline] withDockerContainer 15:56:37 prd-ubuntu18.04-docker-arm64-4c-16g-353 does not seem to be running inside a container 15:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:56:38 $ docker top 67b810ad418d77401a01c2ff4a2b4e64696d0b28f04bae9a25f3dc9928fe0d9b -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:40 + go version 15:56:40 go version go1.13.5 linux/arm64 [Pipeline] sh 15:56:40 + make test 15:56:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:57:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:57:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:57:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:57:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 23.1% of statements 15:57:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.202s coverage: 95.8% of statements 15:57:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.117s coverage: 12.7% of statements 15:57:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.024s coverage: 20.5% of statements 15:58:00 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.055s coverage: 30.0% of statements 15:58:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.349s coverage: 42.3% of statements 15:58:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:58:00 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 15:58:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.589s coverage: 79.4% of statements 15:58:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:58:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:58:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:58:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.055s coverage: 52.6% of statements 15:58:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.336s coverage: 76.1% of statements 15:58:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:58:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:58:08 gofmt -l . 15:58:08 [ "`gofmt -l .`" = "" ] 15:58:08 ./bin/test-attribution-txt.sh 15:58:09 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:58:10 Warning: overwriting stash ‘coverage-report’ 15:58:10 Stashed 1 file(s) [Pipeline] } 15:58:10 $ docker stop --time=1 67b810ad418d77401a01c2ff4a2b4e64696d0b28f04bae9a25f3dc9928fe0d9b 15:58:12 $ docker rm -f 67b810ad418d77401a01c2ff4a2b4e64696d0b28f04bae9a25f3dc9928fe0d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:58:14 + ls -al . 15:58:14 total 240 15:58:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 15:58 . 15:58:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 15:55 .. 15:58:14 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 15:55 .dockerignore 15:58:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 15:55 .git 15:58:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 15:55 .github 15:58:14 -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 15:55 .gitignore 15:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 15:55 .semver 15:58:14 -rw-rw-r-- 1 jenkins jenkins 936 Mar 12 15:55 Dockerfile.build 15:58:14 -rw-rw-r-- 1 jenkins jenkins 808 Mar 12 15:55 Jenkinsfile 15:58:14 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 15:55 LICENSE 15:58:14 -rw-rw-r-- 1 jenkins jenkins 892 Mar 12 15:55 Makefile 15:58:14 -rw-rw-r-- 1 jenkins jenkins 761 Mar 12 15:55 README.md 15:58:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 15:53 VERSION 15:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 15:55 api 15:58:14 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 12 15:55 async.go 15:58:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 15:55 bin 15:58:14 -rw-r--r-- 1 jenkins jenkins 101826 Mar 12 15:57 coverage.out 15:58:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 15:55 example 15:58:14 -rw-r--r-- 1 jenkins jenkins 536 Mar 12 15:58 go.mod 15:58:14 -rw-r--r-- 1 jenkins jenkins 11140 Mar 12 15:58 go.sum 15:58:14 drwxrwxr-x 13 jenkins jenkins 4096 Mar 12 15:55 internal 15:58:14 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 12 15:55 manageddevices.go 15:58:14 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 12 15:55 managedprofiles.go 15:58:14 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 12 15:55 managedwatchers.go 15:58:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 15:55 pkg 15:58:14 -rw-rw-r-- 1 jenkins jenkins 9817 Mar 12 15:55 service.go 15:58:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 15:55 snap 15:58:14 -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 15:55 version.go [Pipeline] isUnix [Pipeline] sh 15:58:15 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=58d8c2fbfe57be80d06d3bf091d22c686d74c453 --label arch=arm64 --label version=0.0.0 . 15:58:15 Sending build context to Docker daemon 2.827MB 15:58:15 Step 1/20 : ARG BASE=golang:1.13-alpine 15:58:15 Step 2/20 : FROM ${BASE} AS builder 15:58:15 ---> a87ef644ffad 15:58:15 Step 3/20 : ARG MAKE='make build' 15:58:15 ---> Running in a9a517b2476a 15:58:16 Removing intermediate container a9a517b2476a 15:58:16 ---> ab83fb886796 15:58:16 Step 4/20 : WORKDIR /device-sdk-go 15:58:16 ---> Running in aead3ccbb956 15:58:16 Removing intermediate container aead3ccbb956 15:58:16 ---> 0fac1bece4b6 15:58:16 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:58:16 ---> Running in b7e48fa295ae 15:58:17 Removing intermediate container b7e48fa295ae 15:58:17 ---> 82a9b51c39c2 15:58:17 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:58:17 ---> Running in 2ff846a061bd 15:58:19 Removing intermediate container 2ff846a061bd 15:58:19 ---> c0de695d8ceb 15:58:19 Step 7/20 : RUN apk add --update --no-cache make git 15:58:19 ---> Running in 62471a8c15e2 15:58:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:58:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:58:22 OK: 125 MiB in 39 packages 15:58:23 Removing intermediate container 62471a8c15e2 15:58:23 ---> a7ab68473879 15:58:23 Step 8/20 : COPY . . 15:58:24 ---> 18692789b684 15:58:24 Step 9/20 : RUN ${MAKE} 15:58:24 ---> Running in 96dc1185b240 15:58:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:59:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:59:19 Removing intermediate container 96dc1185b240 15:59:19 ---> 9ea75647886b 15:59:19 Step 10/20 : FROM scratch 15:59:19 ---> 15:59:19 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:59:19 ---> Running in 2bfcc3c7d790 15:59:19 Removing intermediate container 2bfcc3c7d790 15:59:19 ---> 59ba14fafdaa 15:59:19 Step 12/20 : ENV APP_PORT=49990 15:59:19 ---> Running in f5a2525bc6ef 15:59:19 Removing intermediate container f5a2525bc6ef 15:59:19 ---> e1fc86ed2009 15:59:19 Step 13/20 : EXPOSE $APP_PORT 15:59:19 ---> Running in 973cb2a94714 15:59:19 Removing intermediate container 973cb2a94714 15:59:19 ---> e2347aacf1da 15:59:19 Step 14/20 : WORKDIR / 15:59:19 ---> Running in cdb3c97184cf 15:59:19 Removing intermediate container cdb3c97184cf 15:59:19 ---> 380993b3d312 15:59:19 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:59:20 ---> 181b88cbdcb5 15:59:20 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 15:59:21 ---> d96154e620a2 15:59:21 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 15:59:21 ---> Running in b0ef054fae57 15:59:21 Removing intermediate container b0ef054fae57 15:59:21 ---> fcb29cdef3e2 15:59:21 Step 18/20 : LABEL arch=arm64 15:59:21 ---> Running in dfda32e265cc 15:59:21 Removing intermediate container dfda32e265cc 15:59:21 ---> 8510b6c1bd2b 15:59:21 Step 19/20 : LABEL git_sha=58d8c2fbfe57be80d06d3bf091d22c686d74c453 15:59:21 ---> Running in 37641fa0f344 15:59:22 Removing intermediate container 37641fa0f344 15:59:22 ---> 421bacf52de2 15:59:22 Step 20/20 : LABEL version=0.0.0 15:59:22 ---> Running in 9fb1acb5c282 15:59:22 Removing intermediate container 9fb1acb5c282 15:59:22 ---> 77921fb777c9 15:59:22 [Warning] One or more build-args [ARCH] were not consumed 15:59:22 Successfully built 77921fb777c9 15:59:22 Successfully tagged docker-device-sdk-simple-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] } [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 15:59:23 provisioning config files... 15:59:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config6961332309475406840tmp [Pipeline] { [Pipeline] sh 15:59:24 + curl -s https://codecov.io/bash 15:59:24 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config6961332309475406840tmp 15:59:30 15:59:30 _____ _ 15:59:30 / ____| | | 15:59:30 | | ___ __| | ___ ___ _____ __ 15:59:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:59:30 | |___| (_) | (_| | __/ (_| (_) \ V / 15:59:30 \_____\___/ \__,_|\___|\___\___/ \_/ 15:59:30 Bash-20200303-bc4d7e6 15:59:30 15:59:30 15:59:30 ==> Jenkins CI detected. 15:59:30 project root: . 15:59:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:59:30 ==> Running gcov in . (disable via -X gcov) 15:59:30 ==> Python coveragepy not found 15:59:30 ==> Searching for coverage reports in: 15:59:30 + . 15:59:30 -> Found 1 reports 15:59:30 ==> Detecting git/mercurial file structure 15:59:30 ==> Reading reports 15:59:30 + ./coverage.out bytes=101826 15:59:30 ==> Appending adjustments 15:59:30 http://docs.codecov.io/docs/fixing-reports 15:59:30 + Found adjustments 15:59:30 ==> Gzipping contents 15:59:30 ==> Uploading reports 15:59:30 url: https://codecov.io 15:59:30 query: branch=PR-464&commit=58d8c2fbfe57be80d06d3bf091d22c686d74c453&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 15:59:30 -> Pinging Codecov 15:59:30 https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-464&commit=58d8c2fbfe57be80d06d3bf091d22c686d74c453&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 15:59:30 -> Uploading 15:59:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/58d8c2fbfe57be80d06d3bf091d22c686d74c453 [Pipeline] } 15:59:31 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 15:59:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:59:32 ---> package-listing.sh 15:59:32 ++ facter osfamily 15:59:32 ++ tr '[:upper:]' '[:lower:]' 15:59:32 + OS_FAMILY=redhat 15:59:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 15:59:32 + START_PACKAGES=/tmp/packages_start.txt 15:59:32 + END_PACKAGES=/tmp/packages_end.txt 15:59:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:59:32 + PACKAGES=/tmp/packages_start.txt 15:59:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 15:59:32 + PACKAGES=/tmp/packages_end.txt 15:59:32 + case "${OS_FAMILY}" in 15:59:32 + rpm -qa 15:59:32 + sort 15:59:36 + '[' -f /tmp/packages_start.txt ']' 15:59:36 + '[' -f /tmp/packages_end.txt ']' 15:59:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:59:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 15:59:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ 15:59:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh 15:59:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:59:37 15:59:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:59:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:59:37 alpine: Pulling from edgex-lftools-log-publisher 15:59:37 c9b1b535fdd9: Pulling fs layer 15:59:37 2cc5ad85d9ab: Pulling fs layer 15:59:37 756a868c4378: Pulling fs layer 15:59:37 444b2fc9a129: Pulling fs layer 15:59:37 ea15f1150254: Pulling fs layer 15:59:37 41b27a9f41bf: Pulling fs layer 15:59:37 28c525ee5125: Pulling fs layer 15:59:37 094b1ea09ed8: Pulling fs layer 15:59:37 138eaada9080: Pulling fs layer 15:59:37 0622d0fa9048: Pulling fs layer 15:59:37 28c525ee5125: Waiting 15:59:37 094b1ea09ed8: Waiting 15:59:37 138eaada9080: Waiting 15:59:37 ea15f1150254: Waiting 15:59:37 41b27a9f41bf: Waiting 15:59:37 444b2fc9a129: Waiting 15:59:37 2cc5ad85d9ab: Download complete 15:59:37 444b2fc9a129: Verifying Checksum 15:59:37 444b2fc9a129: Download complete 15:59:38 ea15f1150254: Download complete 15:59:38 c9b1b535fdd9: Verifying Checksum 15:59:38 c9b1b535fdd9: Download complete 15:59:38 28c525ee5125: Verifying Checksum 15:59:38 28c525ee5125: Download complete 15:59:38 c9b1b535fdd9: Pull complete 15:59:38 2cc5ad85d9ab: Pull complete 15:59:43 094b1ea09ed8: Verifying Checksum 15:59:43 094b1ea09ed8: Download complete 15:59:43 756a868c4378: Verifying Checksum 15:59:43 756a868c4378: Download complete 15:59:43 0622d0fa9048: Verifying Checksum 15:59:43 0622d0fa9048: Download complete 15:59:43 138eaada9080: Verifying Checksum 15:59:43 138eaada9080: Download complete 15:59:43 41b27a9f41bf: Verifying Checksum 15:59:43 41b27a9f41bf: Download complete 15:59:44 756a868c4378: Pull complete 15:59:44 444b2fc9a129: Pull complete 15:59:45 ea15f1150254: Pull complete 15:59:48 41b27a9f41bf: Pull complete 15:59:48 28c525ee5125: Pull complete 15:59:50 094b1ea09ed8: Pull complete 15:59:50 138eaada9080: Pull complete 15:59:50 0622d0fa9048: Pull complete 15:59:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:59:50 prd-centos7-docker-4c-2g-352 does not seem to be running inside a container 15:59:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:59:51 $ docker top a14b31f3af55a19441945605dd9dbe35d38b6242feac115b07682dec6c202438 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:59:52 provisioning config files... 15:59:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config8010749626641192707tmp [Pipeline] { [Pipeline] echo 15:59:52 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:59:52 ---> create-netrc.sh [Pipeline] echo 15:59:52 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:59:52 ---> logs-deploy.sh 15:59:52 + ARCHIVE_ARTIFACTS= 15:59:52 + LOGS_SERVER=https://logs.edgexfoundry.org 15:59:52 + '[' https://logs.edgexfoundry.org == None ']' 15:59:52 + NEXUS_URL=https://nexus.edgexfoundry.org 15:59:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/3 15:59:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/3/ 15:59:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/3 /w/workspace/dgexfoundry_device-sdk-go_PR-464 15:59:54 Archives upload complete. 15:59:54 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/3/ 15:59:54 ---> uname -a: 15:59:54 Linux a14b31f3af55 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 15:59:54 15:59:54 15:59:54 ---> lscpu: 15:59:54 Architecture: x86_64 15:59:54 CPU op-mode(s): 32-bit, 64-bit 15:59:54 Byte Order: Little Endian 15:59:54 Address sizes: 40 bits physical, 48 bits virtual 15:59:54 CPU(s): 4 15:59:54 On-line CPU(s) list: 0-3 15:59:54 Thread(s) per core: 1 15:59:54 Core(s) per socket: 1 15:59:54 Socket(s): 4 15:59:54 NUMA node(s): 1 15:59:54 Vendor ID: GenuineIntel 15:59:54 CPU family: 6 15:59:54 Model: 44 15:59:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:59:54 Stepping: 1 15:59:54 CPU MHz: 2933.438 15:59:54 BogoMIPS: 5866.87 15:59:54 Virtualization: VT-x 15:59:54 Hypervisor vendor: KVM 15:59:54 Virtualization type: full 15:59:54 L1d cache: 128 KiB 15:59:54 L1i cache: 128 KiB 15:59:54 L2 cache: 16 MiB 15:59:54 L3 cache: 64 MiB 15:59:54 NUMA node0 CPU(s): 0-3 15:59:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 15:59:54 Vulnerability Meltdown: Mitigation; PTI 15:59:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:59:54 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 15:59:54 Vulnerability Spectre v2: Mitigation; Full retpoline 15:59:54 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 15:59:54 15:59:54 15:59:54 ---> nproc: 15:59:54 4 15:59:54 15:59:54 15:59:54 ---> df -h: 15:59:54 Filesystem Size Used Available Use% Mounted on 15:59:54 overlay 50.0G 6.4G 43.6G 13% / 15:59:54 tmpfs 64.0M 0 64.0M 0% /dev 15:59:54 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 15:59:54 shm 64.0M 0 64.0M 0% /dev/shm 15:59:54 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 15:59:54 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 15:59:54 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 15:59:54 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-464 15:59:54 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp 15:59:54 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 15:59:54 15:59:54 15:59:54 ---> free -m: 15:59:54 total used free shared buff/cache available 15:59:54 Mem: 1838 607 75 0 1155 1126 15:59:54 Swap: 1023 1 1022 15:59:54 15:59:54 15:59:54 ---> ip addr: 15:59:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:59:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:59:54 inet 127.0.0.1/8 scope host lo 15:59:54 valid_lft forever preferred_lft forever 15:59:54 6: eth0@if7: mtu 1458 qdisc noqueue state UP 15:59:54 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 15:59:54 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 15:59:54 valid_lft forever preferred_lft forever 15:59:54 15:59:54 15:59:54 ---> sar -b -r -n DEV: 15:59:54 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/12/20 _x86_64_ (4 CPU) 15:59:54 15:59:54 15:52:21 LINUX RESTART 15:59:54 15:59:54 15:53:01 tps rtps wtps bread/s bwrtn/s 15:59:54 15:54:01 22.55 6.21 16.34 1906.52 2104.16 15:59:54 15:55:01 2.43 0.00 2.43 0.00 84.53 15:59:54 15:56:01 0.28 0.00 0.28 0.00 3.48 15:59:54 15:57:01 0.32 0.00 0.32 0.00 3.65 15:59:54 15:58:01 0.23 0.00 0.23 0.00 3.55 15:59:54 15:59:01 0.35 0.00 0.35 0.00 4.70 15:59:54 Average: 4.36 1.04 3.33 317.91 367.52 15:59:54 15:59:54 15:53:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:59:54 15:54:01 107136 1775168 94.31 2620 1230640 942156 32.15 425532 1190432 12 15:59:54 15:55:01 113448 1768856 93.97 2620 1230648 910500 31.07 422512 1188248 12 15:59:54 15:56:01 114400 1767904 93.92 2620 1230652 906316 30.92 421944 1188092 8 15:59:54 15:57:01 115236 1767068 93.88 2620 1230652 899120 30.68 421272 1187956 12 15:59:54 15:58:01 115352 1766952 93.87 2620 1230664 899192 30.68 421692 1187956 12 15:59:54 15:59:01 115524 1766780 93.86 2620 1230668 899248 30.68 421468 1187952 12 15:59:54 Average: 113516 1768788 93.97 2620 1230654 909422 31.03 422403 1188439 11 15:59:54 15:59:54 15:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 15:59:54 15:54:01 eth0 272.17 199.30 456.31 56.35 0.00 0.00 0.00 15:59:54 15:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:54:01 docker0 8.51 6.62 1.00 15.74 0.00 0.00 0.00 15:59:54 15:55:01 eth0 1.40 0.68 0.91 0.19 0.00 0.00 0.00 15:59:54 15:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:56:01 eth0 0.53 0.38 0.27 0.23 0.00 0.00 0.00 15:59:54 15:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:57:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 15:59:54 15:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:58:01 eth0 0.32 0.28 0.14 0.08 0.00 0.00 0.00 15:59:54 15:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:59:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 15:59:54 15:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 15:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 Average: eth0 45.80 33.49 76.31 9.48 0.00 0.00 0.00 15:59:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:59:54 Average: docker0 1.42 1.10 0.17 2.62 0.00 0.00 0.00 15:59:54 15:59:54 15:59:54 ---> sar -P ALL: 15:59:54 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/12/20 _x86_64_ (4 CPU) 15:59:54 15:59:54 15:52:21 LINUX RESTART 15:59:54 15:59:54 15:53:01 CPU %user %nice %system %iowait %steal %idle 15:59:54 15:54:01 all 3.22 0.00 1.53 0.13 0.01 95.12 15:59:54 15:54:01 0 2.97 0.00 1.71 0.12 0.00 95.20 15:59:54 15:54:01 1 3.14 0.00 1.47 0.05 0.00 95.34 15:59:54 15:54:01 2 3.69 0.00 1.66 0.12 0.00 94.54 15:59:54 15:54:01 3 3.08 0.00 1.29 0.25 0.02 95.36 15:59:54 15:55:01 all 0.10 0.00 0.07 0.00 0.00 99.83 15:59:54 15:55:01 0 0.07 0.00 0.05 0.00 0.00 99.88 15:59:54 15:55:01 1 0.10 0.00 0.07 0.00 0.00 99.83 15:59:54 15:55:01 2 0.12 0.00 0.08 0.00 0.00 99.80 15:59:54 15:55:01 3 0.12 0.00 0.07 0.00 0.00 99.82 15:59:54 15:56:01 all 0.07 0.00 0.04 0.00 0.00 99.89 15:59:54 15:56:01 0 0.05 0.00 0.05 0.00 0.00 99.90 15:59:54 15:56:01 1 0.07 0.00 0.03 0.00 0.00 99.90 15:59:54 15:56:01 2 0.13 0.00 0.05 0.00 0.00 99.82 15:59:54 15:56:01 3 0.03 0.00 0.02 0.00 0.00 99.95 15:59:54 15:57:01 all 0.18 0.00 0.04 0.00 0.00 99.78 15:59:54 15:57:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:59:54 15:57:01 1 0.05 0.00 0.05 0.00 0.00 99.90 15:59:54 15:57:01 2 0.57 0.00 0.03 0.00 0.00 99.40 15:59:54 15:57:01 3 0.05 0.00 0.05 0.00 0.00 99.90 15:59:54 15:58:01 all 0.20 0.00 0.05 0.00 0.00 99.75 15:59:54 15:58:01 0 0.05 0.00 0.05 0.00 0.00 99.90 15:59:54 15:58:01 1 0.10 0.00 0.07 0.00 0.00 99.83 15:59:54 15:58:01 2 0.58 0.00 0.05 0.00 0.00 99.37 15:59:54 15:58:01 3 0.07 0.00 0.05 0.00 0.00 99.88 15:59:54 15:59:01 all 0.17 0.00 0.05 0.00 0.00 99.78 15:59:54 15:59:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:59:54 15:59:01 1 0.05 0.00 0.05 0.00 0.00 99.90 15:59:54 15:59:01 2 0.53 0.00 0.05 0.00 0.00 99.42 15:59:54 15:59:01 3 0.05 0.00 0.05 0.00 0.00 99.90 15:59:54 Average: all 0.65 0.00 0.29 0.02 0.00 99.03 15:59:54 Average: 0 0.53 0.00 0.32 0.02 0.00 99.13 15:59:54 Average: 1 0.58 0.00 0.29 0.01 0.00 99.12 15:59:54 Average: 2 0.94 0.00 0.32 0.02 0.00 98.73 15:59:54 Average: 3 0.56 0.00 0.25 0.04 0.00 99.14 15:59:54 15:59:54 15:59:54