Pull request #432 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 IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than bebfb58a60935c02025b0ac25953906c73e16448 Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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-2348 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [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 > git init /w/workspace/dgexfoundry_device-sdk-go_PR-432 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +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/432/head:refs/remotes/origin/PR-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit bebfb58a60935c02025b0ac25953906c73e16448 Merge succeeded, producing bebfb58a60935c02025b0ac25953906c73e16448 Checking out Revision bebfb58a60935c02025b0ac25953906c73e16448 (PR-432) > git config core.sparsecheckout # timeout=10 > git checkout -f bebfb58a60935c02025b0ac25953906c73e16448 # 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 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bebfb58a60935c02025b0ac25953906c73e16448 # timeout=10 Commit message: "Refactoring" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:37:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk db181d74d0f33ce61b4265d7b2d762f63055a0ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:37:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:37:57 03:37:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:37:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:37:57 latest: Pulling from edgex-devops/git-semver 03:37:57 9123ac7c32f7: Pulling fs layer 03:37:57 b8cc5d1170e3: Pulling fs layer 03:37:57 2924cbbf6a41: Pulling fs layer 03:37:57 93b08a4f1073: Pulling fs layer 03:37:57 93b08a4f1073: Waiting 03:37:57 b8cc5d1170e3: Download complete 03:37:57 9123ac7c32f7: Verifying Checksum 03:37:57 9123ac7c32f7: Download complete 03:37:57 93b08a4f1073: Verifying Checksum 03:37:57 93b08a4f1073: Download complete 03:37:57 2924cbbf6a41: Download complete 03:37:58 9123ac7c32f7: Pull complete 03:37:58 b8cc5d1170e3: Pull complete 03:37:58 2924cbbf6a41: Pull complete 03:37:58 93b08a4f1073: Pull complete 03:37:58 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:37:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:37:59 prd-centos7-docker-4c-2g-2348 does not seem to be running inside a container 03:37:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 03:37:59 $ docker top ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:00 [ssh-agent] Looking for ssh-agent implementation... 03:38:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:00 $ docker exec ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 ssh-agent 03:38:00 SSH_AUTH_SOCK=/tmp/ssh-cqLp28BUnQiY/agent.14 03:38:00 SSH_AGENT_PID=21 03:38:00 Running ssh-add (command line suppressed) 03:38:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5507595852181210162.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5507595852181210162.key) 03:38:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:00 + git describe --exact-match --tags HEAD 03:38:00 fatal: No names found, cannot describe anything. [Pipeline] } 03:38:00 $ docker exec --env ******** --env ******** ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 ssh-agent -k 03:38:01 unset SSH_AUTH_SOCK; 03:38:01 unset SSH_AGENT_PID; 03:38:01 echo Agent pid 21 killed; 03:38:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:38:01 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:38:01 This usually means this commit has not been tagged. [Pipeline] sshagent 03:38:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:01 [ssh-agent] Looking for ssh-agent implementation... 03:38:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:01 $ docker exec ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 ssh-agent 03:38:01 SSH_AUTH_SOCK=/tmp/ssh-GH5o4E1TD0ZB/agent.56 03:38:01 SSH_AGENT_PID=63 03:38:01 Running ssh-add (command line suppressed) 03:38:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3082662508927147540.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3082662508927147540.key) 03:38:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:02 + git semver init 03:38:02 # -> Open(): unable to determine branch for HEAD 03:38:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 03:38:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 03:38:02 # $SEMVER_REMOTE_NAME = origin 03:38:02 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 03:38:02 # $SEMVER_USER_NAME = jenkins 03:38:02 # $SEMVER_BRANCH = PR-432 03:38:02 # $SEMVER_TEMP = /tmp/semver-912608943 03:38:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:38:02 # '/tmp/semver-912608943' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 03:38:02 # -> Force: false 03:38:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 03:38:02 $ docker exec --env ******** --env ******** ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 ssh-agent -k 03:38:02 unset SSH_AUTH_SOCK; 03:38:02 unset SSH_AGENT_PID; 03:38:02 echo Agent pid 63 killed; 03:38:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:03 + git semver [Pipeline] } 03:38:03 $ docker stop --time=1 ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 03:38:04 $ docker rm -f ae6fc03bb74c5dd3e0025986d1d89404dd435c6761c9e100a08faf22c58fdff7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:38:05 Stashed 35 file(s) [Pipeline] echo 03:38:05 [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 03:38:20 Still waiting to schedule task 03:38:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:38:20 Still waiting to schedule task 03:38:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:40:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2349 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 03:40:08 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 03:40:14 using credential edgex-jenkins-ssh 03:40:14 Cloning the remote Git repository 03:40:14 Cloning with configured refspecs honoured and without tags 03:40:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:40:14 > git init /w/workspace/device-sdk-go/13 # timeout=10 03:40:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:40:14 > git --version # timeout=10 03:40:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:40:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:40:16 Fetching without tags 03:40:16 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit bebfb58a60935c02025b0ac25953906c73e16448 03:40:16 Merge succeeded, producing bebfb58a60935c02025b0ac25953906c73e16448 03:40:16 Checking out Revision bebfb58a60935c02025b0ac25953906c73e16448 (PR-432) 03:40:16 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 03:40:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:40:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:40:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:40:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:40:16 > git config core.sparsecheckout # timeout=10 03:40:16 > git checkout -f bebfb58a60935c02025b0ac25953906c73e16448 # timeout=10 03:40:16 > git remote # timeout=10 03:40:16 > git config --get remote.origin.url # timeout=10 03:40:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:16 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 03:40:16 > git rev-parse HEAD^{commit} # timeout=10 03:40:16 > git config core.sparsecheckout # timeout=10 03:40:17 > git checkout -f bebfb58a60935c02025b0ac25953906c73e16448 # timeout=10 03:40:21 Commit message: "Refactoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:40:22 ========================================================= 03:40:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:40:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:40:23 + 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 . 03:40:24 Sending build context to Docker daemon 2.775MB 03:40:24 Step 1/8 : ARG BASE=golang:1.13-alpine 03:40:24 Step 2/8 : FROM ${BASE} 03:40:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:40:25 cde5963f3b93: Pulling fs layer 03:40:25 2a23fa8c16f7: Pulling fs layer 03:40:25 777b28850792: Pulling fs layer 03:40:25 8a11ddd9e578: Pulling fs layer 03:40:25 4cf88f913ddb: Pulling fs layer 03:40:25 1df406cf5192: Pulling fs layer 03:40:25 cd6300453558: Pulling fs layer 03:40:25 b9c365052c96: Pulling fs layer 03:40:25 a2d8cc88f415: Pulling fs layer 03:40:25 ea1d1ca13537: Pulling fs layer 03:40:25 3750a50a1c5e: Pulling fs layer 03:40:25 8a11ddd9e578: Waiting 03:40:25 4cf88f913ddb: Waiting 03:40:25 1df406cf5192: Waiting 03:40:25 cd6300453558: Waiting 03:40:25 b9c365052c96: Waiting 03:40:25 a2d8cc88f415: Waiting 03:40:25 ea1d1ca13537: Waiting 03:40:25 3750a50a1c5e: Waiting 03:40:25 777b28850792: Verifying Checksum 03:40:25 777b28850792: Download complete 03:40:25 2a23fa8c16f7: Download complete 03:40:25 4cf88f913ddb: Verifying Checksum 03:40:25 4cf88f913ddb: Download complete 03:40:25 1df406cf5192: Verifying Checksum 03:40:25 1df406cf5192: Download complete 03:40:25 cde5963f3b93: Verifying Checksum 03:40:26 cde5963f3b93: Pull complete 03:40:26 2a23fa8c16f7: Pull complete 03:40:27 777b28850792: Pull complete 03:40:29 cd6300453558: Verifying Checksum 03:40:29 cd6300453558: Download complete 03:40:29 a2d8cc88f415: Verifying Checksum 03:40:29 a2d8cc88f415: Download complete 03:40:32 ea1d1ca13537: Verifying Checksum 03:40:32 ea1d1ca13537: Download complete 03:40:32 3750a50a1c5e: Verifying Checksum 03:40:32 3750a50a1c5e: Download complete 03:40:35 b9c365052c96: Verifying Checksum 03:40:35 b9c365052c96: Download complete 03:40:36 8a11ddd9e578: Verifying Checksum 03:40:36 8a11ddd9e578: Download complete 03:40:48 8a11ddd9e578: Pull complete 03:40:48 4cf88f913ddb: Pull complete 03:40:48 1df406cf5192: Pull complete 03:40:53 cd6300453558: Pull complete 03:40:57 b9c365052c96: Pull complete 03:40:57 a2d8cc88f415: Pull complete 03:41:00 ea1d1ca13537: Pull complete 03:41:00 3750a50a1c5e: Pull complete 03:41:00 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:41:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:41:00 ---> 78745c68409d 03:41:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:03 Running on prd-centos7-docker-4c-2g-2350 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 03:41:03 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 03:41:04 ---> Running in be8a94fc9d9e 03:41:04 Removing intermediate container be8a94fc9d9e 03:41:04 ---> d14127c02404 03:41:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:04 ---> Running in ebc7f7f4be64 03:41:07 Removing intermediate container ebc7f7f4be64 03:41:07 ---> 3dd760421a3e 03:41:07 Step 5/8 : RUN apk add --no-cache make git 03:41:07 ---> Running in 82d4078ab8e0 03:41:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:41:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:41:09 OK: 125 MiB in 39 packages 03:41:10 Removing intermediate container 82d4078ab8e0 03:41:10 ---> 50ac88252e96 03:41:10 Step 6/8 : WORKDIR /device-sdk-go 03:41:10 ---> Running in 9808c99aad99 03:41:10 Removing intermediate container 9808c99aad99 03:41:10 ---> 2064c9cce616 03:41:10 Step 7/8 : COPY . . 03:41:11 using credential edgex-jenkins-ssh 03:41:11 Cloning the remote Git repository 03:41:11 Cloning with configured refspecs honoured and without tags 03:41:11 ---> bc96d34371b0 03:41:11 Step 8/8 : RUN go mod download 03:41:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:41:11 > git init /w/workspace/device-sdk-go/13 # timeout=10 03:41:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:41:11 > git --version # timeout=10 03:41:11 using GIT_SSH to set credentials SSH Credentials for GitHub 03:41:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:41:12 ---> Running in 56cc8365314d 03:41:12 Fetching without tags 03:41:13 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit bebfb58a60935c02025b0ac25953906c73e16448 03:41:13 Merge succeeded, producing bebfb58a60935c02025b0ac25953906c73e16448 03:41:13 Checking out Revision bebfb58a60935c02025b0ac25953906c73e16448 (PR-432) 03:41:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:41:12 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 03:41:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:41:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:41:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:41:12 using GIT_SSH to set credentials SSH Credentials for GitHub 03:41:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:41:13 > git config core.sparsecheckout # timeout=10 03:41:13 > git checkout -f bebfb58a60935c02025b0ac25953906c73e16448 # timeout=10 03:41:13 > git remote # timeout=10 03:41:13 > git config --get remote.origin.url # timeout=10 03:41:13 using GIT_SSH to set credentials SSH Credentials for GitHub 03:41:13 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 03:41:13 > git rev-parse HEAD^{commit} # timeout=10 03:41:13 > git config core.sparsecheckout # timeout=10 03:41:13 > git checkout -f bebfb58a60935c02025b0ac25953906c73e16448 # timeout=10 03:41:14 go: finding github.com/BurntSushi/toml v0.3.1 03:41:14 go: finding github.com/OneOfOne/xxhash v1.2.6 03:41:14 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:41:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:41:14 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:41:14 go: finding github.com/bgentry/speakeasy v0.1.0 03:41:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:41:14 go: finding github.com/davecgh/go-spew v1.1.1 03:41:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 03:41:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:41:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 03:41:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:41:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:41:14 go: finding github.com/fatih/color v1.7.0 03:41:14 go: finding github.com/go-kit/kit v0.8.0 03:41:14 go: finding github.com/go-logfmt/logfmt v0.4.0 03:41:14 go: finding github.com/go-stack/stack v1.8.0 03:41:14 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:41:14 go: finding github.com/google/uuid v1.1.0 03:41:14 go: finding github.com/gorilla/mux v1.7.1 03:41:14 go: finding github.com/hashicorp/consul/api v1.1.0 03:41:14 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:41:14 go: finding github.com/hashicorp/errwrap v1.0.0 03:41:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:41:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:41:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:41:14 go: finding github.com/hashicorp/go-multierror v1.0.0 03:41:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:41:14 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:41:14 go: finding github.com/hashicorp/go-syslog v1.0.0 03:41:14 go: finding github.com/hashicorp/go-uuid v1.0.1 03:41:14 go: finding github.com/hashicorp/go.net v0.0.1 03:41:14 go: finding github.com/hashicorp/golang-lru v0.5.0 03:41:14 go: finding github.com/hashicorp/logutils v1.0.0 03:41:14 go: finding github.com/hashicorp/mdns v1.0.0 03:41:14 go: finding github.com/hashicorp/memberlist v0.1.3 03:41:14 go: finding github.com/hashicorp/serf v0.8.2 03:41:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:41:14 go: finding github.com/mattn/go-colorable v0.0.9 03:41:14 go: finding github.com/mattn/go-isatty v0.0.3 03:41:14 go: finding github.com/miekg/dns v1.0.14 03:41:14 go: finding github.com/mitchellh/cli v1.0.0 03:41:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:41:14 go: finding github.com/mitchellh/copystructure v1.0.0 03:41:14 go: finding github.com/mitchellh/go-homedir v1.0.0 03:41:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:41:14 go: finding github.com/mitchellh/gox v0.4.0 03:41:14 go: finding github.com/mitchellh/iochan v1.0.0 03:41:14 go: finding github.com/mitchellh/mapstructure v1.1.2 03:41:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:41:14 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:41:14 go: finding github.com/pelletier/go-toml v1.2.0 03:41:14 go: finding github.com/pkg/errors v0.8.1 03:41:14 go: finding github.com/pmezard/go-difflib v1.0.0 03:41:14 go: finding github.com/posener/complete v1.1.1 03:41:14 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:41:14 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:41:14 go: finding github.com/stretchr/objx v0.1.0 03:41:14 go: finding github.com/stretchr/testify v1.5.1 03:41:14 go: finding github.com/ugorji/go v1.1.4 03:41:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:41:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:41:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:41:14 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:41:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:41:14 go: finding gopkg.in/yaml.v2 v2.2.8 03:41:17 Commit message: "Refactoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:41:18 ========================================================= 03:41:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:41:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:41:20 + 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 . 03:41:21 Sending build context to Docker daemon 2.771MB 03:41:21 Step 1/8 : ARG BASE=golang:1.13-alpine 03:41:21 Step 2/8 : FROM ${BASE} 03:41:21 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:41:21 e6b0cf9c0882: Pulling fs layer 03:41:21 2848faf0eed1: Pulling fs layer 03:41:21 0f37312ad70f: Pulling fs layer 03:41:21 5788d62ee057: Pulling fs layer 03:41:21 0e6b1d234666: Pulling fs layer 03:41:21 bf5d7aec512f: Pulling fs layer 03:41:21 34c802a77dc8: Pulling fs layer 03:41:21 9eb99e56ec68: Pulling fs layer 03:41:21 27c7a5d97fbd: Pulling fs layer 03:41:21 5c102a31e300: Pulling fs layer 03:41:21 dcfb455df0a1: Pulling fs layer 03:41:21 34c802a77dc8: Waiting 03:41:21 9eb99e56ec68: Waiting 03:41:21 27c7a5d97fbd: Waiting 03:41:21 dcfb455df0a1: Waiting 03:41:21 5788d62ee057: Waiting 03:41:21 5c102a31e300: Waiting 03:41:21 bf5d7aec512f: Waiting 03:41:21 0e6b1d234666: Waiting 03:41:21 0f37312ad70f: Verifying Checksum 03:41:21 0f37312ad70f: Download complete 03:41:21 2848faf0eed1: Download complete 03:41:21 0e6b1d234666: Verifying Checksum 03:41:21 0e6b1d234666: Download complete 03:41:21 bf5d7aec512f: Verifying Checksum 03:41:21 bf5d7aec512f: Download complete 03:41:21 e6b0cf9c0882: Verifying Checksum 03:41:21 e6b0cf9c0882: Download complete 03:41:21 e6b0cf9c0882: Pull complete 03:41:21 2848faf0eed1: Pull complete 03:41:22 0f37312ad70f: Pull complete 03:41:22 34c802a77dc8: Verifying Checksum 03:41:22 34c802a77dc8: Download complete 03:41:22 27c7a5d97fbd: Verifying Checksum 03:41:22 27c7a5d97fbd: Download complete 03:41:24 5c102a31e300: Verifying Checksum 03:41:24 5c102a31e300: Download complete 03:41:24 5788d62ee057: Download complete 03:41:24 dcfb455df0a1: Verifying Checksum 03:41:24 dcfb455df0a1: Download complete 03:41:25 Removing intermediate container 56cc8365314d 03:41:25 ---> e2b38978ab04 03:41:25 Successfully built e2b38978ab04 03:41:25 Successfully tagged ci-base-image-arm64:latest 03:41:25 9eb99e56ec68: Verifying Checksum 03:41:25 9eb99e56ec68: Download complete [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:41:25 + docker inspect -f . ci-base-image-arm64 03:41:26 . [Pipeline] withDockerContainer 03:41:26 prd-ubuntu18.04-docker-arm64-4c-16g-2349 does not seem to be running inside a container 03:41:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 03:41:28 $ docker top c3bd79262d074d806da64b8f4ef676c789b2e81ca75b8820833d905b60582f7f -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:29 + go version 03:41:29 go version go1.13.5 linux/arm64 [Pipeline] sh 03:41:29 + make test 03:41:29 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:41:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:41:35 5788d62ee057: Pull complete 03:41:35 0e6b1d234666: Pull complete 03:41:35 bf5d7aec512f: Pull complete 03:41:42 34c802a77dc8: Pull complete 03:41:46 9eb99e56ec68: Pull complete 03:41:46 27c7a5d97fbd: Pull complete 03:41:48 5c102a31e300: Pull complete 03:41:48 dcfb455df0a1: Pull complete 03:41:48 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:41:48 ---> 7c70fe431013 03:41:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:48 ---> Running in 55b78d26eaa1 03:41:48 Removing intermediate container 55b78d26eaa1 03:41:48 ---> 95fe9c67d992 03:41:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:48 ---> Running in 678a0da7f772 03:41:49 Removing intermediate container 678a0da7f772 03:41:49 ---> 44e6b50aca83 03:41:49 Step 5/8 : RUN apk add --no-cache make git 03:41:50 ---> Running in bd77286f53d2 03:41:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:41:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:41:51 OK: 143 MiB in 39 packages 03:41:52 Removing intermediate container bd77286f53d2 03:41:52 ---> 7417d0a532de 03:41:52 Step 6/8 : WORKDIR /device-sdk-go 03:41:52 ---> Running in abd7ab420569 03:41:53 Removing intermediate container abd7ab420569 03:41:53 ---> 25fa896fa591 03:41:53 Step 7/8 : COPY . . 03:41:54 ---> f3fbeffe57e6 03:41:54 Step 8/8 : RUN go mod download 03:41:54 ---> Running in c64d27b939fb 03:41:57 go: finding github.com/BurntSushi/toml v0.3.1 03:41:57 go: finding github.com/OneOfOne/xxhash v1.2.6 03:41:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:41:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:41:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:41:57 go: finding github.com/bgentry/speakeasy v0.1.0 03:41:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:41:57 go: finding github.com/davecgh/go-spew v1.1.1 03:41:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 03:41:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:41:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 03:41:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:41:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:41:57 go: finding github.com/fatih/color v1.7.0 03:41:57 go: finding github.com/go-kit/kit v0.8.0 03:41:57 go: finding github.com/go-logfmt/logfmt v0.4.0 03:41:57 go: finding github.com/go-stack/stack v1.8.0 03:41:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:41:57 go: finding github.com/google/uuid v1.1.0 03:41:57 go: finding github.com/gorilla/mux v1.7.1 03:41:58 go: finding github.com/hashicorp/consul/api v1.1.0 03:41:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:41:58 go: finding github.com/hashicorp/errwrap v1.0.0 03:41:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:41:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:41:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:41:58 go: finding github.com/hashicorp/go-multierror v1.0.0 03:41:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:41:58 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:41:58 go: finding github.com/hashicorp/go-syslog v1.0.0 03:41:58 go: finding github.com/hashicorp/go-uuid v1.0.1 03:41:58 go: finding github.com/hashicorp/go.net v0.0.1 03:41:58 go: finding github.com/hashicorp/golang-lru v0.5.0 03:41:58 go: finding github.com/hashicorp/logutils v1.0.0 03:41:58 go: finding github.com/hashicorp/mdns v1.0.0 03:41:58 go: finding github.com/hashicorp/memberlist v0.1.3 03:41:58 go: finding github.com/hashicorp/serf v0.8.2 03:41:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:41:58 go: finding github.com/mattn/go-colorable v0.0.9 03:41:58 go: finding github.com/mattn/go-isatty v0.0.3 03:41:58 go: finding github.com/miekg/dns v1.0.14 03:41:58 go: finding github.com/mitchellh/cli v1.0.0 03:41:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:41:58 go: finding github.com/mitchellh/copystructure v1.0.0 03:41:58 go: finding github.com/mitchellh/go-homedir v1.0.0 03:41:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:41:58 go: finding github.com/mitchellh/gox v0.4.0 03:41:58 go: finding github.com/mitchellh/iochan v1.0.0 03:41:58 go: finding github.com/mitchellh/mapstructure v1.1.2 03:41:58 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:41:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:41:59 go: finding github.com/pelletier/go-toml v1.2.0 03:41:59 go: finding github.com/pkg/errors v0.8.1 03:41:59 go: finding github.com/pmezard/go-difflib v1.0.0 03:41:59 go: finding github.com/posener/complete v1.1.1 03:41:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:41:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:41:59 go: finding github.com/stretchr/objx v0.1.0 03:41:59 go: finding github.com/stretchr/testify v1.5.1 03:41:59 go: finding github.com/ugorji/go v1.1.4 03:41:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:41:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:41:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:41:59 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:41:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:41:59 go: finding gopkg.in/yaml.v2 v2.2.8 03:42:06 Removing intermediate container c64d27b939fb 03:42:06 ---> 541525df0b9b 03:42:06 Successfully built 541525df0b9b 03:42:06 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 03:42:07 + docker inspect -f . ci-base-image-x86_64 03:42:07 . [Pipeline] withDockerContainer 03:42:08 prd-centos7-docker-4c-2g-2350 does not seem to be running inside a container 03:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 03:42:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:42:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:42:10 $ docker top 91a33546b9a20469c9795efb23e70c75070ab79c17b22bc2f83fc6f9643c78c1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.023s coverage: 22.6% of statements 03:42:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.156s coverage: 95.8% of statements 03:42:11 + go version 03:42:11 go version go1.13.5 linux/amd64 [Pipeline] sh 03:42:11 + make test 03:42:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:42:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:42:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:42:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:42:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.089s coverage: 7.9% of statements 03:42:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.028s coverage: 21.7% of statements 03:42:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:42:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.137s coverage: 38.5% of statements 03:42:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:42:43 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:42:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.618s coverage: 79.9% of statements 03:42:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:42:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:42:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:42:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.055s coverage: 52.6% of statements 03:42:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 76.1% of statements 03:42:43 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:42:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:42:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:42:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.011s coverage: 22.6% of statements 03:42:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.062s coverage: 95.8% of statements 03:42:47 gofmt -l . 03:42:47 [ "`gofmt -l .`" = "" ] 03:42:47 ./bin/test-attribution-txt.sh 03:42:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:42:48 Stashed 1 file(s) [Pipeline] } 03:42:48 $ docker stop --time=1 c3bd79262d074d806da64b8f4ef676c789b2e81ca75b8820833d905b60582f7f 03:42:51 $ docker rm -f c3bd79262d074d806da64b8f4ef676c789b2e81ca75b8820833d905b60582f7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:42:53 + ls -al . 03:42:53 total 200 03:42:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:42 . 03:42:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:40 .. 03:42:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:40 .dockerignore 03:42:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:40 .git 03:42:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:40 .github 03:42:53 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 03:40 .gitignore 03:42:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:40 .semver 03:42:53 -rw-rw-r-- 1 jenkins jenkins 936 Apr 6 03:40 Dockerfile.build 03:42:53 -rw-rw-r-- 1 jenkins jenkins 808 Apr 6 03:40 Jenkinsfile 03:42:53 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 03:40 LICENSE 03:42:53 -rw-rw-r-- 1 jenkins jenkins 892 Apr 6 03:40 Makefile 03:42:53 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 6 03:40 README.md 03:42:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 03:38 VERSION 03:42:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:40 api 03:42:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:40 bin 03:42:53 -rw-r--r-- 1 jenkins jenkins 94985 Apr 6 03:42 coverage.out 03:42:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:40 example 03:42:53 -rw-r--r-- 1 jenkins jenkins 438 Apr 6 03:42 go.mod 03:42:53 -rw-r--r-- 1 jenkins jenkins 11812 Apr 6 03:42 go.sum 03:42:53 drwxrwxr-x 13 jenkins jenkins 4096 Apr 6 03:40 internal 03:42:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 03:40 pkg 03:42:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:40 snap 03:42:53 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 03:40 version.go [Pipeline] isUnix [Pipeline] sh 03:42:53 + 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=bebfb58a60935c02025b0ac25953906c73e16448 --label arch=arm64 --label version=0.0.0 . 03:42:54 Sending build context to Docker daemon 2.891MB 03:42:54 Step 1/20 : ARG BASE=golang:1.13-alpine 03:42:54 Step 2/20 : FROM ${BASE} AS builder 03:42:54 ---> e2b38978ab04 03:42:54 Step 3/20 : ARG MAKE='make build' 03:42:54 ---> Running in 4bf73274f36a 03:42:54 Removing intermediate container 4bf73274f36a 03:42:54 ---> 7b8bb608a043 03:42:54 Step 4/20 : WORKDIR /device-sdk-go 03:42:54 ---> Running in 95cf312d8cdc 03:42:55 Removing intermediate container 95cf312d8cdc 03:42:55 ---> 5bb9e40d7f23 03:42:55 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:42:55 ---> Running in 58fa2243e459 03:42:55 Removing intermediate container 58fa2243e459 03:42:55 ---> c2fbf34c15a4 03:42:55 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:55 ---> Running in 45650b0fe6d9 03:42:57 Removing intermediate container 45650b0fe6d9 03:42:57 ---> fa314394317f 03:42:57 Step 7/20 : RUN apk add --update --no-cache make git 03:42:57 ---> Running in 77d8cc14d644 03:42:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:42:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:42:59 OK: 125 MiB in 39 packages 03:43:01 Removing intermediate container 77d8cc14d644 03:43:01 ---> 940ea5561e07 03:43:01 Step 8/20 : COPY . . 03:43:02 ---> 2f835f8144c7 03:43:02 Step 9/20 : RUN ${MAKE} 03:43:02 ---> Running in 7eafd0f6bd80 03:43:02 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 03:43:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.044s coverage: 7.9% of statements 03:43:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.010s coverage: 21.7% of statements 03:43:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:43:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.275s coverage: 38.5% of statements 03:43:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:43:16 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:43:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.055s coverage: 79.9% of statements 03:43:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:43:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:43:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:43:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.021s coverage: 52.6% of statements 03:43:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 76.1% of statements 03:43:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:43:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:43:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:43:18 gofmt -l . 03:43:18 [ "`gofmt -l .`" = "" ] 03:43:18 ./bin/test-attribution-txt.sh 03:43:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:43:19 Warning: overwriting stash ‘coverage-report’ 03:43:21 Stashed 1 file(s) [Pipeline] } 03:43:21 $ docker stop --time=1 91a33546b9a20469c9795efb23e70c75070ab79c17b22bc2f83fc6f9643c78c1 03:43:22 $ docker rm -f 91a33546b9a20469c9795efb23e70c75070ab79c17b22bc2f83fc6f9643c78c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:43:24 + ls -al . 03:43:24 total 160 03:43:24 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 6 03:43 . 03:43:24 drwxrwxr-x. 4 jenkins jenkins 30 Apr 6 03:41 .. 03:43:24 drwxrwxr-x. 3 jenkins jenkins 20 Apr 6 03:41 api 03:43:24 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 03:41 bin 03:43:24 -rw-r--r--. 1 jenkins jenkins 94985 Apr 6 03:43 coverage.out 03:43:24 -rw-rw-r--. 1 jenkins jenkins 936 Apr 6 03:41 Dockerfile.build 03:43:24 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 03:41 .dockerignore 03:43:24 drwxrwxr-x. 4 jenkins jenkins 31 Apr 6 03:41 example 03:43:24 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 03:41 .git 03:43:24 drwxrwxr-x. 2 jenkins jenkins 38 Apr 6 03:41 .github 03:43:24 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 03:41 .gitignore 03:43:24 -rw-r--r--. 1 jenkins jenkins 438 Apr 6 03:43 go.mod 03:43:24 -rw-r--r--. 1 jenkins jenkins 11812 Apr 6 03:43 go.sum 03:43:24 drwxrwxr-x. 13 jenkins jenkins 179 Apr 6 03:41 internal 03:43:24 -rw-rw-r--. 1 jenkins jenkins 808 Apr 6 03:41 Jenkinsfile 03:43:24 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 03:41 LICENSE 03:43:24 -rw-rw-r--. 1 jenkins jenkins 892 Apr 6 03:41 Makefile 03:43:24 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 03:41 pkg 03:43:24 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 6 03:41 README.md 03:43:24 drwxrwxr-x. 3 jenkins jenkins 58 Apr 6 03:41 .semver 03:43:24 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 03:41 snap 03:43:24 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 03:38 VERSION 03:43:24 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 03:41 version.go [Pipeline] isUnix [Pipeline] sh 03:43:24 + 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=bebfb58a60935c02025b0ac25953906c73e16448 --label arch=amd64 --label version=0.0.0 . 03:43:24 Sending build context to Docker daemon 2.888MB 03:43:24 Step 1/20 : ARG BASE=golang:1.13-alpine 03:43:24 Step 2/20 : FROM ${BASE} AS builder 03:43:24 ---> 541525df0b9b 03:43:24 Step 3/20 : ARG MAKE='make build' 03:43:25 ---> Running in deacb4318554 03:43:25 Removing intermediate container deacb4318554 03:43:25 ---> e14d95add76d 03:43:25 Step 4/20 : WORKDIR /device-sdk-go 03:43:25 ---> Running in af7e57da6731 03:43:25 Removing intermediate container af7e57da6731 03:43:25 ---> 38de8a05576e 03:43:25 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:25 ---> Running in 6ce3b9dbc95e 03:43:25 Removing intermediate container 6ce3b9dbc95e 03:43:25 ---> 5d4ae241b7b3 03:43:25 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:25 ---> Running in 9e8791dc1cb1 03:43:27 Removing intermediate container 9e8791dc1cb1 03:43:27 ---> f20e046023dd 03:43:27 Step 7/20 : RUN apk add --update --no-cache make git 03:43:27 ---> Running in 5fd332623fb1 03:43:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:43:27 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:43:28 OK: 143 MiB in 39 packages 03:43:29 Removing intermediate container 5fd332623fb1 03:43:29 ---> c7ecac214f89 03:43:29 Step 8/20 : COPY . . 03:43:29 ---> ca6dd2df76ba 03:43:29 Step 9/20 : RUN ${MAKE} 03:43:29 ---> Running in b0372b450a1f 03:43:29 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 03:43:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:43:41 Removing intermediate container 7eafd0f6bd80 03:43:41 ---> 1052f15da8bb 03:43:41 Step 10/20 : FROM scratch 03:43:41 ---> 03:43:41 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:41 ---> Running in e6b1a561f115 03:43:41 Removing intermediate container e6b1a561f115 03:43:41 ---> 88f70950e9e0 03:43:41 Step 12/20 : ENV APP_PORT=49990 03:43:41 ---> Running in cd6bdcc225ad 03:43:42 Removing intermediate container cd6bdcc225ad 03:43:42 ---> 60a394ffe5b7 03:43:42 Step 13/20 : EXPOSE $APP_PORT 03:43:42 ---> Running in db6fd2ddcf55 03:43:42 Removing intermediate container db6fd2ddcf55 03:43:42 ---> cedea620b15a 03:43:42 Step 14/20 : WORKDIR / 03:43:42 ---> Running in 3c030a1a12ca 03:43:42 Removing intermediate container 3c030a1a12ca 03:43:42 ---> 5bdd3a191024 03:43:42 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:43:44 ---> 74b58a6b7145 03:43:44 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 03:43:44 ---> 9a7e51622054 03:43:44 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 03:43:44 ---> Running in 60f8b39ea4f0 03:43:45 Removing intermediate container 60f8b39ea4f0 03:43:45 ---> 364eff620dd0 03:43:45 Step 18/20 : LABEL arch=arm64 03:43:45 ---> Running in 5772aae9d8fd 03:43:45 Removing intermediate container 5772aae9d8fd 03:43:45 ---> 38b109382275 03:43:45 Step 19/20 : LABEL git_sha=bebfb58a60935c02025b0ac25953906c73e16448 03:43:45 ---> Running in 229e45057730 03:43:46 Removing intermediate container 229e45057730 03:43:46 ---> 30d09ba37ba9 03:43:46 Step 20/20 : LABEL version=0.0.0 03:43:46 ---> Running in 2523a07893a7 03:43:46 Removing intermediate container 2523a07893a7 03:43:46 ---> 59ef9edc1efa 03:43:46 [Warning] One or more build-args [ARCH] were not consumed 03:43:46 Successfully built 59ef9edc1efa 03:43:46 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] } 03:43:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:43:52 Removing intermediate container b0372b450a1f 03:43:52 ---> b8186f67100d 03:43:52 Step 10/20 : FROM scratch 03:43:52 ---> 03:43:52 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:52 ---> Running in f46390a2bcca 03:43:52 Removing intermediate container f46390a2bcca 03:43:52 ---> f3f12d676292 03:43:52 Step 12/20 : ENV APP_PORT=49990 03:43:52 ---> Running in 427730c58dd2 03:43:52 Removing intermediate container 427730c58dd2 03:43:52 ---> f6dc2d03ddf7 03:43:52 Step 13/20 : EXPOSE $APP_PORT 03:43:52 ---> Running in e006fda94811 03:43:53 Removing intermediate container e006fda94811 03:43:53 ---> 994dbbff14a2 03:43:53 Step 14/20 : WORKDIR / 03:43:53 ---> Running in ed388fa654f9 03:43:53 Removing intermediate container ed388fa654f9 03:43:53 ---> 1ebead183d3f 03:43:53 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:43:53 ---> 8800898964cc 03:43:53 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 03:43:54 ---> 8a1e013fed84 03:43:54 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 03:43:54 ---> Running in 3e1f7fa8960a 03:43:54 Removing intermediate container 3e1f7fa8960a 03:43:54 ---> 022e24643c9d 03:43:54 Step 18/20 : LABEL arch=amd64 03:43:54 ---> Running in 708916da1340 03:43:54 Removing intermediate container 708916da1340 03:43:54 ---> 70544b3e6282 03:43:54 Step 19/20 : LABEL git_sha=bebfb58a60935c02025b0ac25953906c73e16448 03:43:54 ---> Running in 156722a9a747 03:43:54 Removing intermediate container 156722a9a747 03:43:54 ---> 78e2a2588275 03:43:54 Step 20/20 : LABEL version=0.0.0 03:43:54 ---> Running in 0876769f15c4 03:43:55 Removing intermediate container 0876769f15c4 03:43:55 ---> aab503141de2 03:43:55 [Warning] One or more build-args [ARCH] were not consumed 03:43:55 Successfully built aab503141de2 03:43:55 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 03:43:56 provisioning config files... 03:43:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config1903085134899625621tmp [Pipeline] { [Pipeline] sh 03:43:56 + curl -s https://codecov.io/bash 03:43:56 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config1903085134899625621tmp 03:43:57 03:43:57 _____ _ 03:43:57 / ____| | | 03:43:57 | | ___ __| | ___ ___ _____ __ 03:43:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:43:57 | |___| (_) | (_| | __/ (_| (_) \ V / 03:43:57 \_____\___/ \__,_|\___|\___\___/ \_/ 03:43:57 Bash-tbd 03:43:57 03:43:57 03:43:57 ==> Jenkins CI detected. 03:43:57 project root: . 03:43:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:43:57 ==> Running gcov in . (disable via -X gcov) 03:43:57 ==> Python coveragepy not found 03:43:57 ==> Searching for coverage reports in: 03:43:57 + . 03:43:57 -> Found 1 reports 03:43:57 ==> Detecting git/mercurial file structure 03:43:57 ==> Reading reports 03:43:57 + ./coverage.out bytes=94985 03:43:57 ==> Appending adjustments 03:43:57 http://docs.codecov.io/docs/fixing-reports 03:43:57 + Found adjustments 03:43:57 ==> Gzipping contents 03:43:57 ==> Uploading reports 03:43:57 url: https://codecov.io 03:43:57 query: branch=PR-432&commit=bebfb58a60935c02025b0ac25953906c73e16448&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 03:43:57 -> Pinging Codecov 03:43:57 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=bebfb58a60935c02025b0ac25953906c73e16448&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 03:43:58 -> Uploading 03:43:58 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bebfb58a60935c02025b0ac25953906c73e16448 [Pipeline] } 03:43:58 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 03:43:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:43:59 ---> package-listing.sh 03:43:59 ++ facter osfamily 03:43:59 ++ tr '[:upper:]' '[:lower:]' 03:43:59 + OS_FAMILY=redhat 03:43:59 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 03:43:59 + START_PACKAGES=/tmp/packages_start.txt 03:43:59 + END_PACKAGES=/tmp/packages_end.txt 03:43:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:43:59 + PACKAGES=/tmp/packages_start.txt 03:43:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 03:43:59 + PACKAGES=/tmp/packages_end.txt 03:43:59 + case "${OS_FAMILY}" in 03:43:59 + rpm -qa 03:43:59 + sort 03:44:04 + '[' -f /tmp/packages_start.txt ']' 03:44:04 + '[' -f /tmp/packages_end.txt ']' 03:44:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 03:44:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 03:44:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh 03:44:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:44:04 03:44:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:44:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:44:04 alpine: Pulling from edgex-lftools-log-publisher 03:44:04 c9b1b535fdd9: Pulling fs layer 03:44:04 2cc5ad85d9ab: Pulling fs layer 03:44:04 756a868c4378: Pulling fs layer 03:44:04 444b2fc9a129: Pulling fs layer 03:44:04 ea15f1150254: Pulling fs layer 03:44:04 41b27a9f41bf: Pulling fs layer 03:44:04 28c525ee5125: Pulling fs layer 03:44:04 094b1ea09ed8: Pulling fs layer 03:44:04 138eaada9080: Pulling fs layer 03:44:04 0622d0fa9048: Pulling fs layer 03:44:04 444b2fc9a129: Waiting 03:44:04 ea15f1150254: Waiting 03:44:04 41b27a9f41bf: Waiting 03:44:04 138eaada9080: Waiting 03:44:04 28c525ee5125: Waiting 03:44:04 094b1ea09ed8: Waiting 03:44:04 0622d0fa9048: Waiting 03:44:04 2cc5ad85d9ab: Verifying Checksum 03:44:04 2cc5ad85d9ab: Download complete 03:44:04 444b2fc9a129: Verifying Checksum 03:44:04 444b2fc9a129: Download complete 03:44:04 c9b1b535fdd9: Download complete 03:44:05 ea15f1150254: Verifying Checksum 03:44:05 ea15f1150254: Download complete 03:44:05 28c525ee5125: Download complete 03:44:05 c9b1b535fdd9: Pull complete 03:44:05 756a868c4378: Verifying Checksum 03:44:05 756a868c4378: Download complete 03:44:05 138eaada9080: Verifying Checksum 03:44:05 138eaada9080: Download complete 03:44:05 0622d0fa9048: Download complete 03:44:05 2cc5ad85d9ab: Pull complete 03:44:05 094b1ea09ed8: Verifying Checksum 03:44:05 094b1ea09ed8: Download complete 03:44:05 41b27a9f41bf: Verifying Checksum 03:44:05 41b27a9f41bf: Download complete 03:44:07 756a868c4378: Pull complete 03:44:07 444b2fc9a129: Pull complete 03:44:08 ea15f1150254: Pull complete 03:44:11 41b27a9f41bf: Pull complete 03:44:11 28c525ee5125: Pull complete 03:44:13 094b1ea09ed8: Pull complete 03:44:13 138eaada9080: Pull complete 03:44:13 0622d0fa9048: Pull complete 03:44:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:44:14 prd-centos7-docker-4c-2g-2348 does not seem to be running inside a container 03:44:14 $ 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-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 03:44:14 $ docker top 47225cd48fa4aa812c50251ca813c72b7521b6e26a892b0abd9e4f344971d316 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:44:15 provisioning config files... 03:44:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config8521974798744898959tmp [Pipeline] { [Pipeline] echo 03:44:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:44:15 ---> create-netrc.sh [Pipeline] echo 03:44:15 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:44:15 ---> logs-deploy.sh 03:44:15 + ARCHIVE_ARTIFACTS= 03:44:15 + LOGS_SERVER=https://logs.edgexfoundry.org 03:44:15 + '[' https://logs.edgexfoundry.org == None ']' 03:44:15 + NEXUS_URL=https://nexus.edgexfoundry.org 03:44:15 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/13 03:44:15 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/13/ 03:44:15 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/13 /w/workspace/dgexfoundry_device-sdk-go_PR-432 03:44:17 Archives upload complete. 03:44:17 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/13/ 03:44:17 ---> uname -a: 03:44:17 Linux 47225cd48fa4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 03:44:17 03:44:17 03:44:17 ---> lscpu: 03:44:17 Architecture: x86_64 03:44:17 CPU op-mode(s): 32-bit, 64-bit 03:44:17 Byte Order: Little Endian 03:44:17 Address sizes: 40 bits physical, 48 bits virtual 03:44:17 CPU(s): 4 03:44:17 On-line CPU(s) list: 0-3 03:44:17 Thread(s) per core: 1 03:44:17 Core(s) per socket: 1 03:44:17 Socket(s): 4 03:44:17 NUMA node(s): 1 03:44:17 Vendor ID: GenuineIntel 03:44:17 CPU family: 6 03:44:17 Model: 44 03:44:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:44:17 Stepping: 1 03:44:17 CPU MHz: 2933.438 03:44:17 BogoMIPS: 5866.87 03:44:17 Virtualization: VT-x 03:44:17 Hypervisor vendor: KVM 03:44:17 Virtualization type: full 03:44:17 L1d cache: 128 KiB 03:44:17 L1i cache: 128 KiB 03:44:17 L2 cache: 16 MiB 03:44:17 L3 cache: 64 MiB 03:44:17 NUMA node0 CPU(s): 0-3 03:44:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 03:44:17 Vulnerability Meltdown: Mitigation; PTI 03:44:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:44:17 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 03:44:17 Vulnerability Spectre v2: Mitigation; Full retpoline 03:44:17 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 03:44:17 03:44:17 03:44:17 ---> nproc: 03:44:17 4 03:44:17 03:44:17 03:44:17 ---> df -h: 03:44:17 Filesystem Size Used Available Use% Mounted on 03:44:17 overlay 50.0G 6.4G 43.6G 13% / 03:44:17 tmpfs 64.0M 0 64.0M 0% /dev 03:44:17 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 03:44:17 shm 64.0M 0 64.0M 0% /dev/shm 03:44:17 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 03:44:17 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 03:44:17 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 03:44:17 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 03:44:17 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 03:44:17 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 03:44:17 03:44:17 03:44:17 ---> free -m: 03:44:17 total used free shared buff/cache available 03:44:17 Mem: 1838 622 65 0 1150 1110 03:44:17 Swap: 1023 0 1023 03:44:17 03:44:17 03:44:17 ---> ip addr: 03:44:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:44:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:44:17 inet 127.0.0.1/8 scope host lo 03:44:17 valid_lft forever preferred_lft forever 03:44:17 6: eth0@if7: mtu 1458 qdisc noqueue state UP 03:44:17 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 03:44:17 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 03:44:17 valid_lft forever preferred_lft forever 03:44:17 03:44:17 03:44:17 ---> sar -b -r -n DEV: 03:44:17 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/06/20 _x86_64_ (4 CPU) 03:44:17 03:44:17 03:37:14 LINUX RESTART 03:44:17 03:44:17 03:38:01 tps rtps wtps bread/s bwrtn/s 03:44:17 03:39:01 11.59 1.42 10.17 82.60 2155.50 03:44:17 03:40:01 2.12 0.00 2.12 0.00 73.47 03:44:17 03:41:01 0.27 0.00 0.27 0.00 3.61 03:44:17 03:42:01 0.70 0.00 0.70 0.00 8.13 03:44:17 03:43:01 0.55 0.00 0.55 0.00 6.09 03:44:17 03:44:01 33.38 32.94 0.43 2075.02 6.53 03:44:17 Average: 8.10 5.73 2.37 359.59 375.61 03:44:17 03:44:17 03:38:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:44:17 03:39:01 112520 1769784 94.02 2620 1211772 931864 31.79 466024 1145352 12 03:44:17 03:40:01 119496 1762808 93.65 2620 1211780 903424 30.82 460844 1144956 16 03:44:17 03:41:01 118244 1764060 93.72 2620 1211784 903704 30.83 462248 1144952 8 03:44:17 03:42:01 118392 1763912 93.71 2620 1211784 903632 30.83 461780 1144952 8 03:44:17 03:43:01 119048 1763256 93.68 2620 1211796 903560 30.83 461532 1144952 8 03:44:17 03:44:01 66288 1816016 96.48 2620 1243864 931564 31.78 475208 1177164 184 03:44:17 Average: 108998 1773306 94.21 2620 1217130 912958 31.15 464606 1150388 39 03:44:17 03:44:17 03:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 03:44:17 03:39:01 eth0 26.21 22.03 30.26 34.64 0.00 0.00 0.00 03:44:17 03:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:39:01 docker0 6.66 4.71 0.89 15.47 0.00 0.00 0.00 03:44:17 03:40:01 eth0 0.93 0.07 0.09 0.01 0.00 0.00 0.00 03:44:17 03:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:41:01 eth0 1.22 0.43 0.58 0.18 0.00 0.00 0.00 03:44:17 03:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:42:01 eth0 0.42 0.30 0.26 0.23 0.00 0.00 0.00 03:44:17 03:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:43:01 eth0 0.28 0.22 0.14 0.07 0.00 0.00 0.00 03:44:17 03:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:44:01 eth0 7.96 5.28 8.08 3.05 0.00 0.00 0.00 03:44:17 03:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 Average: eth0 6.17 4.72 6.57 6.36 0.00 0.00 0.00 03:44:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:17 Average: docker0 1.11 0.79 0.15 2.58 0.00 0.00 0.00 03:44:17 03:44:17 03:44:17 ---> sar -P ALL: 03:44:17 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/06/20 _x86_64_ (4 CPU) 03:44:17 03:44:17 03:37:14 LINUX RESTART 03:44:17 03:44:17 03:38:01 CPU %user %nice %system %iowait %steal %idle 03:44:17 03:39:01 all 1.28 0.00 0.45 0.02 0.00 98.25 03:44:17 03:39:01 0 1.10 0.00 0.48 0.00 0.00 98.41 03:44:17 03:39:01 1 1.55 0.00 0.43 0.03 0.00 97.98 03:44:17 03:39:01 2 1.30 0.00 0.35 0.00 0.00 98.35 03:44:17 03:39:01 3 1.20 0.00 0.52 0.03 0.00 98.25 03:44:17 03:40:01 all 0.19 0.00 0.05 0.00 0.00 99.76 03:44:17 03:40:01 0 0.07 0.00 0.07 0.00 0.00 99.87 03:44:17 03:40:01 1 0.40 0.00 0.05 0.00 0.02 99.53 03:44:17 03:40:01 2 0.23 0.00 0.05 0.00 0.00 99.72 03:44:17 03:40:01 3 0.05 0.00 0.05 0.00 0.00 99.90 03:44:17 03:41:01 all 0.20 0.00 0.05 0.00 0.00 99.75 03:44:17 03:41:01 0 0.05 0.00 0.03 0.00 0.00 99.92 03:44:17 03:41:01 1 0.08 0.00 0.05 0.00 0.00 99.87 03:44:17 03:41:01 2 0.60 0.00 0.05 0.00 0.02 99.33 03:44:17 03:41:01 3 0.07 0.00 0.05 0.00 0.00 99.88 03:44:17 03:42:01 all 0.18 0.00 0.05 0.00 0.00 99.77 03:44:17 03:42:01 0 0.07 0.00 0.07 0.00 0.00 99.87 03:44:17 03:42:01 1 0.07 0.00 0.05 0.00 0.00 99.88 03:44:17 03:42:01 2 0.55 0.00 0.03 0.00 0.00 99.42 03:44:17 03:42:01 3 0.03 0.00 0.03 0.00 0.00 99.93 03:44:17 03:43:01 all 0.18 0.00 0.05 0.00 0.00 99.77 03:44:17 03:43:01 0 0.07 0.00 0.07 0.00 0.00 99.87 03:44:17 03:43:01 1 0.05 0.00 0.03 0.00 0.00 99.92 03:44:17 03:43:01 2 0.55 0.00 0.07 0.00 0.00 99.38 03:44:17 03:43:01 3 0.05 0.00 0.03 0.00 0.00 99.92 03:44:17 03:44:01 all 0.64 0.00 0.45 0.76 0.00 98.14 03:44:17 03:44:01 0 0.48 0.00 0.62 0.83 0.02 98.05 03:44:17 03:44:01 1 1.27 0.00 0.65 1.85 0.00 96.23 03:44:17 03:44:01 2 0.43 0.00 0.28 0.32 0.00 98.97 03:44:17 03:44:01 3 0.37 0.00 0.27 0.05 0.02 99.30 03:44:17 Average: all 0.45 0.00 0.18 0.13 0.00 99.24 03:44:17 Average: 0 0.31 0.00 0.22 0.14 0.00 99.33 03:44:17 Average: 1 0.57 0.00 0.21 0.31 0.00 98.90 03:44:17 Average: 2 0.61 0.00 0.14 0.05 0.00 99.19 03:44:17 Average: 3 0.29 0.00 0.16 0.01 0.00 99.53 03:44:17 03:44:17 03:44:17