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 216cade7f2e553cd85bebefedf8dad939aae0897 rather than c45f45678c666654042318529fadbb6207b03dd5 Obtained Jenkinsfile from 216cade7f2e553cd85bebefedf8dad939aae0897 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 Running on prd-centos7-docker-4c-2g-1551 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 > 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 Fetching without tags Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit c45f45678c666654042318529fadbb6207b03dd5 Merge succeeded, producing c45f45678c666654042318529fadbb6207b03dd5 Checking out Revision c45f45678c666654042318529fadbb6207b03dd5 (PR-432) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # 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 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 Commit message: "Refactor to use common go-mod-bootstrap package" > git rev-list --no-walk b439722c8813fcf44523c1cfde4841f096db4de5 # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:30:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:38 09:30:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:30:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:38 latest: Pulling from edgex-devops/git-semver 09:30:38 9123ac7c32f7: Pulling fs layer 09:30:38 b8cc5d1170e3: Pulling fs layer 09:30:38 2924cbbf6a41: Pulling fs layer 09:30:38 93b08a4f1073: Pulling fs layer 09:30:38 93b08a4f1073: Waiting 09:30:38 b8cc5d1170e3: Verifying Checksum 09:30:38 b8cc5d1170e3: Download complete 09:30:38 9123ac7c32f7: Verifying Checksum 09:30:38 9123ac7c32f7: Download complete 09:30:39 93b08a4f1073: Verifying Checksum 09:30:39 93b08a4f1073: Download complete 09:30:39 2924cbbf6a41: Verifying Checksum 09:30:39 2924cbbf6a41: Download complete 09:30:39 9123ac7c32f7: Pull complete 09:30:39 b8cc5d1170e3: Pull complete 09:30:41 2924cbbf6a41: Pull complete 09:30:41 93b08a4f1073: Pull complete 09:30:41 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:30:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:30:42 prd-centos7-docker-4c-2g-1551 does not seem to be running inside a container 09:30:42 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:30:43 $ docker top 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:43 [ssh-agent] Looking for ssh-agent implementation... 09:30:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:44 $ docker exec 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 ssh-agent 09:30:44 SSH_AUTH_SOCK=/tmp/ssh-kjfeCtum6mb5/agent.15 09:30:44 SSH_AGENT_PID=22 09:30:44 Running ssh-add (command line suppressed) 09:30:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3246551249567446926.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3246551249567446926.key) 09:30:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:45 + git describe --exact-match --tags HEAD 09:30:45 fatal: No names found, cannot describe anything. [Pipeline] } 09:30:45 $ docker exec --env ******** --env ******** 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 ssh-agent -k 09:30:45 unset SSH_AUTH_SOCK; 09:30:45 unset SSH_AGENT_PID; 09:30:45 echo Agent pid 22 killed; 09:30:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:30:45 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:30:45 This usually means this commit has not been tagged. [Pipeline] sshagent 09:30:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:45 [ssh-agent] Looking for ssh-agent implementation... 09:30:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:46 $ docker exec 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 ssh-agent 09:30:46 SSH_AUTH_SOCK=/tmp/ssh-E0TaR2vz37se/agent.57 09:30:46 SSH_AGENT_PID=64 09:30:46 Running ssh-add (command line suppressed) 09:30:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3426243937516703952.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_3426243937516703952.key) 09:30:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:47 + git semver init 09:30:47 # -> Open(): unable to determine branch for HEAD 09:30:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 09:30:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 09:30:47 # $SEMVER_REMOTE_NAME = origin 09:30:47 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 09:30:47 # $SEMVER_USER_NAME = jenkins 09:30:47 # $SEMVER_BRANCH = PR-432 09:30:47 # $SEMVER_TEMP = /tmp/semver-035417161 09:30:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:30:48 # '/tmp/semver-035417161' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 09:30:48 # -> Force: false 09:30:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 09:30:48 $ docker exec --env ******** --env ******** 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 ssh-agent -k 09:30:48 unset SSH_AUTH_SOCK; 09:30:48 unset SSH_AGENT_PID; 09:30:48 echo Agent pid 64 killed; 09:30:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:49 + git semver [Pipeline] } 09:30:49 $ docker stop --time=1 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 09:30:51 $ docker rm -f 2b2b1235f51f63169cdfaa5494660e322a00b0ebfaa3f4edaeb0f7cce6987625 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:30:53 Stashed 34 file(s) [Pipeline] echo 09:30:53 [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 09:31:09 Still waiting to schedule task 09:31:09 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1551’ 09:31:09 Still waiting to schedule task 09:31:09 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:32:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1552 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 09:32:58 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 09:33:03 using credential edgex-jenkins-ssh 09:33:03 Cloning the remote Git repository 09:33:03 Cloning with configured refspecs honoured and without tags 09:33:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:33:04 > git init /w/workspace/device-sdk-go/8 # timeout=10 09:33:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:33:04 > git --version # timeout=10 09:33:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:04 > 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 09:33:05 Fetching without tags 09:33:05 Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit c45f45678c666654042318529fadbb6207b03dd5 09:33:06 Merge succeeded, producing c45f45678c666654042318529fadbb6207b03dd5 09:33:06 Checking out Revision c45f45678c666654042318529fadbb6207b03dd5 (PR-432) 09:33:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:33:05 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 09:33:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:33:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:33:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:33:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:05 > 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 09:33:05 > git config core.sparsecheckout # timeout=10 09:33:05 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 09:33:05 > git remote # timeout=10 09:33:05 > git config --get remote.origin.url # timeout=10 09:33:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:06 > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 09:33:06 > git rev-parse HEAD^{commit} # timeout=10 09:33:06 > git config core.sparsecheckout # timeout=10 09:33:06 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 09:33:10 Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:33:11 ========================================================= 09:33:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:33:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:33:12 + 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 . 09:33:13 Sending build context to Docker daemon 2.699MB 09:33:13 Step 1/8 : ARG BASE=golang:1.13-alpine 09:33:13 Step 2/8 : FROM ${BASE} 09:33:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:33:13 cde5963f3b93: Pulling fs layer 09:33:13 2a23fa8c16f7: Pulling fs layer 09:33:13 777b28850792: Pulling fs layer 09:33:13 8a11ddd9e578: Pulling fs layer 09:33:13 4cf88f913ddb: Pulling fs layer 09:33:13 1df406cf5192: Pulling fs layer 09:33:13 cd6300453558: Pulling fs layer 09:33:13 b9c365052c96: Pulling fs layer 09:33:13 a2d8cc88f415: Pulling fs layer 09:33:13 ea1d1ca13537: Pulling fs layer 09:33:13 3750a50a1c5e: Pulling fs layer 09:33:13 8a11ddd9e578: Waiting 09:33:13 4cf88f913ddb: Waiting 09:33:13 b9c365052c96: Waiting 09:33:13 a2d8cc88f415: Waiting 09:33:13 1df406cf5192: Waiting 09:33:13 cd6300453558: Waiting 09:33:13 ea1d1ca13537: Waiting 09:33:13 3750a50a1c5e: Waiting 09:33:13 777b28850792: Verifying Checksum 09:33:13 777b28850792: Download complete 09:33:13 2a23fa8c16f7: Verifying Checksum 09:33:13 2a23fa8c16f7: Download complete 09:33:14 4cf88f913ddb: Verifying Checksum 09:33:14 4cf88f913ddb: Download complete 09:33:14 1df406cf5192: Verifying Checksum 09:33:14 1df406cf5192: Download complete 09:33:14 cde5963f3b93: Verifying Checksum 09:33:15 cde5963f3b93: Pull complete 09:33:15 2a23fa8c16f7: Pull complete 09:33:16 777b28850792: Pull complete 09:33:18 cd6300453558: Verifying Checksum 09:33:18 cd6300453558: Download complete 09:33:18 a2d8cc88f415: Download complete 09:33:21 ea1d1ca13537: Verifying Checksum 09:33:21 ea1d1ca13537: Download complete 09:33:21 3750a50a1c5e: Verifying Checksum 09:33:21 3750a50a1c5e: Download complete 09:33:23 b9c365052c96: Verifying Checksum 09:33:23 b9c365052c96: Download complete 09:33:25 8a11ddd9e578: Verifying Checksum 09:33:35 8a11ddd9e578: Pull complete 09:33:36 4cf88f913ddb: Pull complete 09:33:36 1df406cf5192: Pull complete 09:33:40 cd6300453558: Pull complete 09:33:45 b9c365052c96: Pull complete 09:33:45 a2d8cc88f415: Pull complete 09:33:47 ea1d1ca13537: Pull complete 09:33:47 3750a50a1c5e: Pull complete 09:33:48 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:33:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:33:48 ---> 78745c68409d 09:33:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:33:48 Running on prd-centos7-docker-4c-2g-1553 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 09:33:48 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 09:33:52 ---> Running in f64674e99c5e 09:33:52 Removing intermediate container f64674e99c5e 09:33:52 ---> 73cf290f9f86 09:33:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:33:52 ---> Running in f370c69ede8f 09:33:55 Removing intermediate container f370c69ede8f 09:33:55 ---> d71783b975c2 09:33:55 Step 5/8 : RUN apk add --no-cache make git 09:33:55 ---> Running in 1f0d2a5767ce 09:33:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:33:56 using credential edgex-jenkins-ssh 09:33:56 Cloning the remote Git repository 09:33:56 Cloning with configured refspecs honoured and without tags 09:33:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:33:57 OK: 125 MiB in 39 packages 09:33:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:33:56 > git init /w/workspace/device-sdk-go/8 # timeout=10 09:33:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:33:56 > git --version # timeout=10 09:33:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:56 > 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 09:33:57 Fetching without tags 09:33:57 Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit c45f45678c666654042318529fadbb6207b03dd5 09:33:58 Merge succeeded, producing c45f45678c666654042318529fadbb6207b03dd5 09:33:58 Checking out Revision c45f45678c666654042318529fadbb6207b03dd5 (PR-432) 09:33:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:33:57 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 09:33:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:33:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:33:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:33:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:57 > 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 09:33:57 > git config core.sparsecheckout # timeout=10 09:33:57 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 09:33:57 > git remote # timeout=10 09:33:57 > git config --get remote.origin.url # timeout=10 09:33:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:58 > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 09:33:58 > git rev-parse HEAD^{commit} # timeout=10 09:33:58 > git config core.sparsecheckout # timeout=10 09:33:58 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 09:33:58 Removing intermediate container 1f0d2a5767ce 09:33:58 ---> 3696eb6056fe 09:33:58 Step 6/8 : WORKDIR /device-sdk-go 09:33:58 ---> Running in 86c17f83c27e 09:33:59 Removing intermediate container 86c17f83c27e 09:33:59 ---> 49af9ea977f4 09:33:59 Step 7/8 : COPY . . 09:34:00 ---> b5d3cf2eee9e 09:34:00 Step 8/8 : RUN go mod download 09:34:00 ---> Running in 213eeb8ca6d4 09:34:02 go: finding github.com/BurntSushi/toml v0.3.1 09:34:02 go: finding github.com/OneOfOne/xxhash v1.2.6 09:34:02 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:34:02 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:34:02 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:34:02 go: finding github.com/bgentry/speakeasy v0.1.0 09:34:02 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:34:02 go: finding github.com/davecgh/go-spew v1.1.1 09:34:02 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 09:34:02 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:34:02 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:34:02 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:34:02 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:34:02 go: finding github.com/fatih/color v1.7.0 09:34:02 go: finding github.com/go-kit/kit v0.8.0 09:34:02 go: finding github.com/go-logfmt/logfmt v0.4.0 09:34:02 go: finding github.com/go-stack/stack v1.8.0 09:34:02 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:34:02 go: finding github.com/google/uuid v1.1.0 09:34:02 go: finding github.com/gorilla/mux v1.7.1 09:34:02 go: finding github.com/hashicorp/consul/api v1.1.0 09:34:02 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:34:02 go: finding github.com/hashicorp/errwrap v1.0.0 09:34:02 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:34:02 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:34:02 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:34:02 go: finding github.com/hashicorp/go-multierror v1.0.0 09:34:02 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:34:02 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:34:02 go: finding github.com/hashicorp/go-syslog v1.0.0 09:34:02 go: finding github.com/hashicorp/go-uuid v1.0.1 09:34:02 go: finding github.com/hashicorp/go.net v0.0.1 09:34:02 go: finding github.com/hashicorp/golang-lru v0.5.0 09:34:02 go: finding github.com/hashicorp/logutils v1.0.0 09:34:02 go: finding github.com/hashicorp/mdns v1.0.0 09:34:02 go: finding github.com/hashicorp/memberlist v0.1.3 09:34:02 go: finding github.com/hashicorp/serf v0.8.2 09:34:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:34:02 go: finding github.com/mattn/go-colorable v0.0.9 09:34:02 go: finding github.com/mattn/go-isatty v0.0.3 09:34:02 go: finding github.com/miekg/dns v1.0.14 09:34:02 go: finding github.com/mitchellh/cli v1.0.0 09:34:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:34:02 go: finding github.com/mitchellh/copystructure v1.0.0 09:34:02 go: finding github.com/mitchellh/go-homedir v1.0.0 09:34:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:34:02 go: finding github.com/mitchellh/gox v0.4.0 09:34:02 Commit message: "Refactor to use common go-mod-bootstrap package" 09:34:02 go: finding github.com/mitchellh/iochan v1.0.0 09:34:02 go: finding github.com/mitchellh/mapstructure v1.1.2 09:34:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:34:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:34:02 go: finding github.com/pelletier/go-toml v1.2.0 09:34:02 go: finding github.com/pkg/errors v0.8.1 09:34:02 go: finding github.com/pmezard/go-difflib v1.0.0 09:34:02 go: finding github.com/posener/complete v1.1.1 09:34:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:34:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:34:02 go: finding github.com/stretchr/objx v0.1.0 09:34:02 go: finding github.com/stretchr/testify v1.5.1 09:34:02 go: finding github.com/ugorji/go v1.1.4 09:34:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:34:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:34:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:34:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:34:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:34:02 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:34:04 ========================================================= 09:34:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:34:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:34:06 + 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 . 09:34:06 Sending build context to Docker daemon 2.696MB 09:34:06 Step 1/8 : ARG BASE=golang:1.13-alpine 09:34:06 Step 2/8 : FROM ${BASE} 09:34:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:34:07 e6b0cf9c0882: Pulling fs layer 09:34:07 2848faf0eed1: Pulling fs layer 09:34:07 0f37312ad70f: Pulling fs layer 09:34:07 5788d62ee057: Pulling fs layer 09:34:07 0e6b1d234666: Pulling fs layer 09:34:07 bf5d7aec512f: Pulling fs layer 09:34:07 34c802a77dc8: Pulling fs layer 09:34:07 9eb99e56ec68: Pulling fs layer 09:34:07 27c7a5d97fbd: Pulling fs layer 09:34:07 5c102a31e300: Pulling fs layer 09:34:07 dcfb455df0a1: Pulling fs layer 09:34:07 34c802a77dc8: Waiting 09:34:07 9eb99e56ec68: Waiting 09:34:07 27c7a5d97fbd: Waiting 09:34:07 5c102a31e300: Waiting 09:34:07 5788d62ee057: Waiting 09:34:07 dcfb455df0a1: Waiting 09:34:07 0e6b1d234666: Waiting 09:34:07 bf5d7aec512f: Waiting 09:34:07 0f37312ad70f: Verifying Checksum 09:34:07 0f37312ad70f: Download complete 09:34:07 2848faf0eed1: Verifying Checksum 09:34:07 2848faf0eed1: Download complete 09:34:07 0e6b1d234666: Verifying Checksum 09:34:07 0e6b1d234666: Download complete 09:34:07 bf5d7aec512f: Verifying Checksum 09:34:07 bf5d7aec512f: Download complete 09:34:07 e6b0cf9c0882: Download complete 09:34:07 e6b0cf9c0882: Pull complete 09:34:08 2848faf0eed1: Pull complete 09:34:08 0f37312ad70f: Pull complete 09:34:12 34c802a77dc8: Verifying Checksum 09:34:12 34c802a77dc8: Download complete 09:34:12 27c7a5d97fbd: Verifying Checksum 09:34:12 27c7a5d97fbd: Download complete 09:34:12 Removing intermediate container 213eeb8ca6d4 09:34:12 ---> 7644d7f6b3b9 09:34:12 Successfully built 7644d7f6b3b9 09:34:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 09:34:13 5788d62ee057: Verifying Checksum 09:34:13 5788d62ee057: Download complete 09:34:13 dcfb455df0a1: Verifying Checksum 09:34:13 dcfb455df0a1: Download complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:34:13 + docker inspect -f . ci-base-image-arm64 09:34:13 . 09:34:13 5c102a31e300: Verifying Checksum 09:34:13 5c102a31e300: Download complete [Pipeline] withDockerContainer 09:34:14 9eb99e56ec68: Verifying Checksum 09:34:14 9eb99e56ec68: Download complete 09:34:14 prd-ubuntu18.04-docker-arm64-4c-16g-1552 does not seem to be running inside a container 09:34:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 09:34:15 $ docker top ddc8f430bf4c96ea38ec1cdfc1366412e43bec0ece78c1a81eb9a004a96062d9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:16 + go version 09:34:16 go version go1.13.5 linux/arm64 [Pipeline] sh 09:34:17 + make test 09:34:17 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:34:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:34:24 5788d62ee057: Pull complete 09:34:24 0e6b1d234666: Pull complete 09:34:24 bf5d7aec512f: Pull complete 09:34:29 34c802a77dc8: Pull complete 09:34:33 9eb99e56ec68: Pull complete 09:34:33 27c7a5d97fbd: Pull complete 09:34:34 5c102a31e300: Pull complete 09:34:35 dcfb455df0a1: Pull complete 09:34:35 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:34:35 ---> 7c70fe431013 09:34:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:34:35 ---> Running in 8a21eae699bd 09:34:35 Removing intermediate container 8a21eae699bd 09:34:35 ---> a2f9ff79e73b 09:34:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:35 ---> Running in c305e4f2b0c9 09:34:37 Removing intermediate container c305e4f2b0c9 09:34:37 ---> ec3520a61088 09:34:37 Step 5/8 : RUN apk add --no-cache make git 09:34:37 ---> Running in 1bdedb3e4e6c 09:34:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:34:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:34:39 OK: 143 MiB in 39 packages 09:34:40 Removing intermediate container 1bdedb3e4e6c 09:34:40 ---> 4c74738f4d3d 09:34:40 Step 6/8 : WORKDIR /device-sdk-go 09:34:40 ---> Running in 7f7455b2f01b 09:34:40 Removing intermediate container 7f7455b2f01b 09:34:40 ---> 04244e53fe7b 09:34:40 Step 7/8 : COPY . . 09:34:41 ---> 482634bd44f9 09:34:41 Step 8/8 : RUN go mod download 09:34:41 ---> Running in 80142aa6e9e9 09:34:44 go: finding github.com/BurntSushi/toml v0.3.1 09:34:44 go: finding github.com/OneOfOne/xxhash v1.2.6 09:34:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:34:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:34:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:34:44 go: finding github.com/bgentry/speakeasy v0.1.0 09:34:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:34:44 go: finding github.com/davecgh/go-spew v1.1.1 09:34:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 09:34:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:34:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:34:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:34:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:34:44 go: finding github.com/fatih/color v1.7.0 09:34:44 go: finding github.com/go-kit/kit v0.8.0 09:34:44 go: finding github.com/go-logfmt/logfmt v0.4.0 09:34:44 go: finding github.com/go-stack/stack v1.8.0 09:34:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:34:44 go: finding github.com/google/uuid v1.1.0 09:34:44 go: finding github.com/gorilla/mux v1.7.1 09:34:44 go: finding github.com/hashicorp/consul/api v1.1.0 09:34:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:34:44 go: finding github.com/hashicorp/errwrap v1.0.0 09:34:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:34:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:34:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:34:44 go: finding github.com/hashicorp/go-multierror v1.0.0 09:34:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:34:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:34:44 go: finding github.com/hashicorp/go-syslog v1.0.0 09:34:44 go: finding github.com/hashicorp/go-uuid v1.0.1 09:34:44 go: finding github.com/hashicorp/go.net v0.0.1 09:34:44 go: finding github.com/hashicorp/golang-lru v0.5.0 09:34:44 go: finding github.com/hashicorp/logutils v1.0.0 09:34:44 go: finding github.com/hashicorp/mdns v1.0.0 09:34:44 go: finding github.com/hashicorp/memberlist v0.1.3 09:34:44 go: finding github.com/hashicorp/serf v0.8.2 09:34:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:34:44 go: finding github.com/mattn/go-colorable v0.0.9 09:34:44 go: finding github.com/mattn/go-isatty v0.0.3 09:34:44 go: finding github.com/miekg/dns v1.0.14 09:34:44 go: finding github.com/mitchellh/cli v1.0.0 09:34:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:34:44 go: finding github.com/mitchellh/copystructure v1.0.0 09:34:44 go: finding github.com/mitchellh/go-homedir v1.0.0 09:34:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:34:44 go: finding github.com/mitchellh/gox v0.4.0 09:34:44 go: finding github.com/mitchellh/iochan v1.0.0 09:34:44 go: finding github.com/mitchellh/mapstructure v1.1.2 09:34:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:34:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:34:44 go: finding github.com/pelletier/go-toml v1.2.0 09:34:44 go: finding github.com/pkg/errors v0.8.1 09:34:44 go: finding github.com/pmezard/go-difflib v1.0.0 09:34:44 go: finding github.com/posener/complete v1.1.1 09:34:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:34:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:34:44 go: finding github.com/stretchr/objx v0.1.0 09:34:44 go: finding github.com/stretchr/testify v1.5.1 09:34:44 go: finding github.com/ugorji/go v1.1.4 09:34:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:34:44 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:34:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:34:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:34:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:34:44 go: finding gopkg.in/yaml.v2 v2.2.8 09:34:53 Removing intermediate container 80142aa6e9e9 09:34:53 ---> 3548b15f51f3 09:34:53 Successfully built 3548b15f51f3 09:34:53 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 09:34:54 + docker inspect -f . ci-base-image-x86_64 09:34:54 . [Pipeline] withDockerContainer 09:34:54 prd-centos7-docker-4c-2g-1553 does not seem to be running inside a container 09:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 09:34:56 $ docker top d96bbc572ae1ec90d0335fb8edf22246a461856ef437408b626e52dc62f5cd7d -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:57 + go version 09:34:57 go version go1.13.5 linux/amd64 [Pipeline] sh 09:34:58 + make test 09:34:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:34:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:35:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:35:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:35:05 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.067s coverage: 22.6% of statements 09:35:05 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.151s coverage: 95.8% of statements 09:35:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.066s coverage: 7.9% of statements 09:35:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 22.1% of statements 09:35:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:35:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.234s coverage: 38.5% of statements 09:35:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:35:05 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.775s coverage: 79.9% of statements 09:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:35:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:35:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.110s coverage: 52.6% of statements 09:35:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.363s coverage: 76.1% of statements 09:35:09 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:35:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:35:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:35:17 gofmt -l . 09:35:17 [ "`gofmt -l .`" = "" ] 09:35:17 ./bin/test-attribution-txt.sh 09:35:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:35:19 Stashed 1 file(s) [Pipeline] } 09:35:19 $ docker stop --time=1 ddc8f430bf4c96ea38ec1cdfc1366412e43bec0ece78c1a81eb9a004a96062d9 09:35:21 $ docker rm -f ddc8f430bf4c96ea38ec1cdfc1366412e43bec0ece78c1a81eb9a004a96062d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:23 + ls -al . 09:35:23 total 200 09:35:23 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 09:35 . 09:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 09:33 .. 09:35:23 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 09:33 .dockerignore 09:35:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 09:33 .git 09:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 09:33 .github 09:35:23 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 09:33 .gitignore 09:35:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 09:33 .semver 09:35:23 -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 09:33 Dockerfile.build 09:35:23 -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 09:33 Jenkinsfile 09:35:23 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 09:33 LICENSE 09:35:23 -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 09:33 Makefile 09:35:23 -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 09:33 README.md 09:35:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 09:30 VERSION 09:35:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 09:33 api 09:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 09:33 bin 09:35:23 -rw-r--r-- 1 jenkins jenkins 94825 Mar 31 09:35 coverage.out 09:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 09:33 example 09:35:23 -rw-r--r-- 1 jenkins jenkins 438 Mar 31 09:35 go.mod 09:35:23 -rw-r--r-- 1 jenkins jenkins 11812 Mar 31 09:35 go.sum 09:35:23 drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 09:33 internal 09:35:23 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 09:33 pkg 09:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 09:33 snap 09:35:23 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 09:33 version.go [Pipeline] isUnix [Pipeline] sh 09:35:23 + 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=c45f45678c666654042318529fadbb6207b03dd5 --label arch=arm64 --label version=0.0.0 . 09:35:24 Sending build context to Docker daemon 2.815MB 09:35:24 Step 1/20 : ARG BASE=golang:1.13-alpine 09:35:24 Step 2/20 : FROM ${BASE} AS builder 09:35:24 ---> 7644d7f6b3b9 09:35:24 Step 3/20 : ARG MAKE='make build' 09:35:24 ---> Running in d28a431dd81e 09:35:24 Removing intermediate container d28a431dd81e 09:35:24 ---> 9b0a1ee75edb 09:35:24 Step 4/20 : WORKDIR /device-sdk-go 09:35:24 ---> Running in b3f3da5889fb 09:35:25 Removing intermediate container b3f3da5889fb 09:35:25 ---> df82bf14fe49 09:35:25 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:35:25 ---> Running in c9d712357ae6 09:35:25 Removing intermediate container c9d712357ae6 09:35:25 ---> a44889013b74 09:35:25 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:25 ---> Running in 7077eb226ec5 09:35:27 Removing intermediate container 7077eb226ec5 09:35:27 ---> a0cb67539217 09:35:27 Step 7/20 : RUN apk add --update --no-cache make git 09:35:27 ---> Running in 06ed2d16ab23 09:35:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:35:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:35:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 22.6% of statements 09:35:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.096s coverage: 95.8% of statements 09:35:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:35:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:35:30 OK: 125 MiB in 39 packages 09:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.050s coverage: 7.9% of statements 09:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 22.1% of statements 09:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.102s coverage: 38.5% of statements 09:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.112s coverage: 79.9% of statements 09:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.021s coverage: 52.6% of statements 09:35:31 Removing intermediate container 06ed2d16ab23 09:35:31 ---> 76eefd52b78e 09:35:31 Step 8/20 : COPY . . 09:35:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.197s coverage: 76.1% of statements 09:35:31 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:35:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:35:32 ---> c87956bd35ed 09:35:32 Step 9/20 : RUN ${MAKE} 09:35:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:35:32 ---> Running in 70d29a028e15 09:35:33 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 09:35:37 gofmt -l . 09:35:37 [ "`gofmt -l .`" = "" ] 09:35:37 ./bin/test-attribution-txt.sh 09:35:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:35:38 Warning: overwriting stash ‘coverage-report’ 09:35:39 Stashed 1 file(s) [Pipeline] } 09:35:39 $ docker stop --time=1 d96bbc572ae1ec90d0335fb8edf22246a461856ef437408b626e52dc62f5cd7d 09:35:40 $ docker rm -f d96bbc572ae1ec90d0335fb8edf22246a461856ef437408b626e52dc62f5cd7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:41 + ls -al . 09:35:41 total 160 09:35:41 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 09:35 . 09:35:41 drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 09:33 .. 09:35:41 drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 09:33 api 09:35:41 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 09:33 bin 09:35:41 -rw-r--r--. 1 jenkins jenkins 94825 Mar 31 09:35 coverage.out 09:35:41 -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 09:33 Dockerfile.build 09:35:41 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 09:33 .dockerignore 09:35:41 drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 09:33 example 09:35:41 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 09:34 .git 09:35:41 drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 09:33 .github 09:35:41 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 09:33 .gitignore 09:35:41 -rw-r--r--. 1 jenkins jenkins 438 Mar 31 09:35 go.mod 09:35:41 -rw-r--r--. 1 jenkins jenkins 11812 Mar 31 09:35 go.sum 09:35:41 drwxrwxr-x. 13 jenkins jenkins 179 Mar 31 09:33 internal 09:35:41 -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 09:33 Jenkinsfile 09:35:41 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 09:33 LICENSE 09:35:41 -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 09:33 Makefile 09:35:41 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 09:33 pkg 09:35:41 -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 09:33 README.md 09:35:41 drwxrwxr-x. 3 jenkins jenkins 58 Mar 31 09:34 .semver 09:35:41 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 09:33 snap 09:35:41 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 09:30 VERSION 09:35:41 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 09:33 version.go [Pipeline] isUnix [Pipeline] sh 09:35:42 + 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=c45f45678c666654042318529fadbb6207b03dd5 --label arch=amd64 --label version=0.0.0 . 09:35:42 Sending build context to Docker daemon 2.812MB 09:35:42 Step 1/20 : ARG BASE=golang:1.13-alpine 09:35:42 Step 2/20 : FROM ${BASE} AS builder 09:35:42 ---> 3548b15f51f3 09:35:42 Step 3/20 : ARG MAKE='make build' 09:35:42 ---> Running in c6c5c65aa1b7 09:35:42 Removing intermediate container c6c5c65aa1b7 09:35:42 ---> 75b57296eb3d 09:35:42 Step 4/20 : WORKDIR /device-sdk-go 09:35:43 ---> Running in 432fa26bf79d 09:35:43 Removing intermediate container 432fa26bf79d 09:35:43 ---> 525bf6c3942e 09:35:43 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:35:43 ---> Running in dafdfee4757e 09:35:43 Removing intermediate container dafdfee4757e 09:35:43 ---> 6db436dd1288 09:35:43 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:43 ---> Running in 36034bc59f33 09:35:44 Removing intermediate container 36034bc59f33 09:35:44 ---> 6738b8661817 09:35:44 Step 7/20 : RUN apk add --update --no-cache make git 09:35:44 ---> Running in cf68c24fcf95 09:35:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:35:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:35:46 OK: 143 MiB in 39 packages 09:35:47 Removing intermediate container cf68c24fcf95 09:35:47 ---> 73da6d78926f 09:35:47 Step 8/20 : COPY . . 09:35:48 ---> cd4dcee11035 09:35:48 Step 9/20 : RUN ${MAKE} 09:35:48 ---> Running in 84e48c0ee09b 09:35:49 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 09:36:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:36:11 Removing intermediate container 84e48c0ee09b 09:36:11 ---> 21e469db8fa2 09:36:11 Step 10/20 : FROM scratch 09:36:11 ---> 09:36:11 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:11 ---> Running in 9edff61b08f2 09:36:11 Removing intermediate container 9edff61b08f2 09:36:11 ---> 2d45396fc10c 09:36:11 Step 12/20 : ENV APP_PORT=49990 09:36:11 ---> Running in ceaf0d2e4321 09:36:11 Removing intermediate container ceaf0d2e4321 09:36:11 ---> 9ffc060295fb 09:36:11 Step 13/20 : EXPOSE $APP_PORT 09:36:11 ---> Running in 54db177612c0 09:36:12 Removing intermediate container 54db177612c0 09:36:12 ---> fbb1fbcee1b1 09:36:12 Step 14/20 : WORKDIR / 09:36:12 ---> Running in 51a2aff0a165 09:36:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:36:12 Removing intermediate container 70d29a028e15 09:36:12 ---> 8602e325731c 09:36:12 Step 10/20 : FROM scratch 09:36:12 ---> 09:36:12 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:12 ---> Running in 94822eabcade 09:36:12 Removing intermediate container 94822eabcade 09:36:12 ---> 1b881e33951d 09:36:12 Step 12/20 : ENV APP_PORT=49990 09:36:12 ---> Running in c8cde44fc40c 09:36:12 Removing intermediate container c8cde44fc40c 09:36:12 ---> 0ac68b428337 09:36:12 Step 13/20 : EXPOSE $APP_PORT 09:36:12 ---> Running in 45dc38108647 09:36:12 Removing intermediate container 45dc38108647 09:36:12 ---> d2e329a5fa94 09:36:12 Step 14/20 : WORKDIR / 09:36:12 ---> Running in 3af48d2769fd 09:36:12 Removing intermediate container 3af48d2769fd 09:36:12 ---> b6299a639521 09:36:12 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:36:12 ---> 94cf3f77ac17 09:36:12 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:36:12 Removing intermediate container 51a2aff0a165 09:36:12 ---> 2e78643cffac 09:36:12 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:36:12 ---> f06017c468bb 09:36:12 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:36:12 ---> Running in 4013036c3410 09:36:13 Removing intermediate container 4013036c3410 09:36:13 ---> 308718fd94a6 09:36:13 Step 18/20 : LABEL arch=arm64 09:36:13 ---> Running in 6e38c7e5c08f 09:36:13 ---> 2f256f47e422 09:36:13 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:36:13 Removing intermediate container 6e38c7e5c08f 09:36:13 ---> 203c0421cebe 09:36:13 Step 19/20 : LABEL git_sha=c45f45678c666654042318529fadbb6207b03dd5 09:36:13 ---> Running in 06a7e4c43817 09:36:13 ---> 1fdbec2764c3 09:36:13 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:36:13 ---> Running in 877eda7b469a 09:36:14 Removing intermediate container 06a7e4c43817 09:36:14 ---> 05ea40a6fa91 09:36:14 Step 20/20 : LABEL version=0.0.0 09:36:14 ---> Running in 3a560d13d43b 09:36:14 Removing intermediate container 877eda7b469a 09:36:14 ---> 460e5fa5479d 09:36:14 Step 18/20 : LABEL arch=amd64 09:36:14 ---> Running in 7ea6ae2442c9 09:36:14 Removing intermediate container 7ea6ae2442c9 09:36:14 ---> 441337bb28fe 09:36:14 Step 19/20 : LABEL git_sha=c45f45678c666654042318529fadbb6207b03dd5 09:36:14 ---> Running in 7b2b8414276f 09:36:14 Removing intermediate container 3a560d13d43b 09:36:14 ---> 258e6fcbbc60 09:36:14 [Warning] One or more build-args [ARCH] were not consumed 09:36:14 Successfully built 258e6fcbbc60 09:36:14 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 09:36:15 Removing intermediate container 7b2b8414276f 09:36:15 ---> 992fcdc6ecc0 09:36:15 Step 20/20 : LABEL version=0.0.0 09:36:15 ---> Running in 9fa26176810e 09:36:15 Removing intermediate container 9fa26176810e 09:36:15 ---> 7bab92a27281 09:36:15 [Warning] One or more build-args [ARCH] were not consumed 09:36:15 Successfully built 7bab92a27281 09:36:15 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [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 09:36:16 provisioning config files... 09:36:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6722409490845033442tmp [Pipeline] { [Pipeline] sh 09:36:16 + curl -s https://codecov.io/bash 09:36:16 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6722409490845033442tmp 09:36:17 09:36:17 _____ _ 09:36:17 / ____| | | 09:36:17 | | ___ __| | ___ ___ _____ __ 09:36:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:36:17 | |___| (_) | (_| | __/ (_| (_) \ V / 09:36:17 \_____\___/ \__,_|\___|\___\___/ \_/ 09:36:17 Bash-tbd 09:36:17 09:36:17 09:36:17 ==> Jenkins CI detected. 09:36:17 project root: . 09:36:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:36:17 ==> Running gcov in . (disable via -X gcov) 09:36:17 ==> Python coveragepy not found 09:36:17 ==> Searching for coverage reports in: 09:36:17 + . 09:36:17 -> Found 1 reports 09:36:17 ==> Detecting git/mercurial file structure 09:36:17 ==> Reading reports 09:36:17 + ./coverage.out bytes=94825 09:36:17 ==> Appending adjustments 09:36:17 http://docs.codecov.io/docs/fixing-reports 09:36:17 + Found adjustments 09:36:17 ==> Gzipping contents 09:36:17 ==> Uploading reports 09:36:17 url: https://codecov.io 09:36:17 query: branch=PR-432&commit=c45f45678c666654042318529fadbb6207b03dd5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 09:36:17 -> Pinging Codecov 09:36:17 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=c45f45678c666654042318529fadbb6207b03dd5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 09:36:17 -> Uploading 09:36:18 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c45f45678c666654042318529fadbb6207b03dd5 [Pipeline] } 09:36:18 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 09:36:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:36:20 ---> package-listing.sh 09:36:20 ++ tr '[:upper:]' '[:lower:]' 09:36:20 ++ facter osfamily 09:36:20 + OS_FAMILY=redhat 09:36:20 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 09:36:20 + START_PACKAGES=/tmp/packages_start.txt 09:36:20 + END_PACKAGES=/tmp/packages_end.txt 09:36:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:36:20 + PACKAGES=/tmp/packages_start.txt 09:36:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 09:36:20 + PACKAGES=/tmp/packages_end.txt 09:36:20 + case "${OS_FAMILY}" in 09:36:20 + sort 09:36:20 + rpm -qa 09:36:25 + '[' -f /tmp/packages_start.txt ']' 09:36:25 + '[' -f /tmp/packages_end.txt ']' 09:36:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:36:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 09:36:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 09:36:25 + 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 09:36:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:36:25 09:36:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:36:26 alpine: Pulling from edgex-lftools-log-publisher 09:36:26 c9b1b535fdd9: Pulling fs layer 09:36:26 2cc5ad85d9ab: Pulling fs layer 09:36:26 756a868c4378: Pulling fs layer 09:36:26 444b2fc9a129: Pulling fs layer 09:36:26 ea15f1150254: Pulling fs layer 09:36:26 41b27a9f41bf: Pulling fs layer 09:36:26 28c525ee5125: Pulling fs layer 09:36:26 094b1ea09ed8: Pulling fs layer 09:36:26 138eaada9080: Pulling fs layer 09:36:26 0622d0fa9048: Pulling fs layer 09:36:26 444b2fc9a129: Waiting 09:36:26 ea15f1150254: Waiting 09:36:26 41b27a9f41bf: Waiting 09:36:26 28c525ee5125: Waiting 09:36:26 094b1ea09ed8: Waiting 09:36:26 0622d0fa9048: Waiting 09:36:26 138eaada9080: Waiting 09:36:26 2cc5ad85d9ab: Verifying Checksum 09:36:26 2cc5ad85d9ab: Download complete 09:36:26 444b2fc9a129: Download complete 09:36:26 c9b1b535fdd9: Verifying Checksum 09:36:26 c9b1b535fdd9: Download complete 09:36:26 ea15f1150254: Download complete 09:36:26 28c525ee5125: Verifying Checksum 09:36:26 28c525ee5125: Download complete 09:36:27 c9b1b535fdd9: Pull complete 09:36:27 2cc5ad85d9ab: Pull complete 09:36:27 756a868c4378: Verifying Checksum 09:36:27 756a868c4378: Download complete 09:36:28 138eaada9080: Download complete 09:36:28 0622d0fa9048: Verifying Checksum 09:36:28 0622d0fa9048: Download complete 09:36:29 094b1ea09ed8: Verifying Checksum 09:36:29 094b1ea09ed8: Download complete 09:36:30 756a868c4378: Pull complete 09:36:30 444b2fc9a129: Pull complete 09:36:30 41b27a9f41bf: Verifying Checksum 09:36:30 41b27a9f41bf: Download complete 09:36:31 ea15f1150254: Pull complete 09:36:36 41b27a9f41bf: Pull complete 09:36:36 28c525ee5125: Pull complete 09:36:38 094b1ea09ed8: Pull complete 09:36:39 138eaada9080: Pull complete 09:36:39 0622d0fa9048: Pull complete 09:36:39 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:36:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:36:39 prd-centos7-docker-4c-2g-1551 does not seem to be running inside a container 09:36:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:36:41 $ docker top 5d487510be974cbb1c1ff1722fdefe256366d96b858de8545e404761c409f504 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:36:41 provisioning config files... 09:36:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config7885995333422250782tmp [Pipeline] { [Pipeline] echo 09:36:41 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:36:42 ---> create-netrc.sh [Pipeline] echo 09:36:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:36:42 ---> logs-deploy.sh 09:36:42 + ARCHIVE_ARTIFACTS= 09:36:42 + LOGS_SERVER=https://logs.edgexfoundry.org 09:36:42 + '[' https://logs.edgexfoundry.org == None ']' 09:36:42 + NEXUS_URL=https://nexus.edgexfoundry.org 09:36:42 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/8 09:36:42 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/8/ 09:36:42 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/8 /w/workspace/dgexfoundry_device-sdk-go_PR-432 09:36:44 Archives upload complete. 09:36:44 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/8/ 09:36:46 ---> uname -a: 09:36:46 Linux 5d487510be97 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 09:36:46 09:36:46 09:36:46 ---> lscpu: 09:36:46 Architecture: x86_64 09:36:46 CPU op-mode(s): 32-bit, 64-bit 09:36:46 Byte Order: Little Endian 09:36:46 Address sizes: 40 bits physical, 48 bits virtual 09:36:46 CPU(s): 4 09:36:46 On-line CPU(s) list: 0-3 09:36:46 Thread(s) per core: 1 09:36:46 Core(s) per socket: 1 09:36:46 Socket(s): 4 09:36:46 NUMA node(s): 1 09:36:46 Vendor ID: GenuineIntel 09:36:46 CPU family: 6 09:36:46 Model: 44 09:36:46 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:36:46 Stepping: 1 09:36:46 CPU MHz: 2933.438 09:36:46 BogoMIPS: 5866.87 09:36:46 Virtualization: VT-x 09:36:46 Hypervisor vendor: KVM 09:36:46 Virtualization type: full 09:36:46 L1d cache: 128 KiB 09:36:46 L1i cache: 128 KiB 09:36:46 L2 cache: 16 MiB 09:36:46 L3 cache: 64 MiB 09:36:46 NUMA node0 CPU(s): 0-3 09:36:46 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 09:36:46 Vulnerability Meltdown: Mitigation; PTI 09:36:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:36:46 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 09:36:46 Vulnerability Spectre v2: Mitigation; Full retpoline 09:36:46 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 09:36:46 09:36:46 09:36:46 ---> nproc: 09:36:46 4 09:36:46 09:36:46 09:36:46 ---> df -h: 09:36:46 Filesystem Size Used Available Use% Mounted on 09:36:46 overlay 50.0G 6.3G 43.7G 13% / 09:36:46 tmpfs 64.0M 0 64.0M 0% /dev 09:36:46 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 09:36:46 shm 64.0M 0 64.0M 0% /dev/shm 09:36:46 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 09:36:46 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 09:36:46 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 09:36:46 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 09:36:46 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 09:36:46 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 09:36:46 09:36:46 09:36:46 ---> free -m: 09:36:46 total used free shared buff/cache available 09:36:46 Mem: 1838 592 74 0 1171 1141 09:36:46 Swap: 1023 0 1023 09:36:46 09:36:46 09:36:46 ---> ip addr: 09:36:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:36:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:36:46 inet 127.0.0.1/8 scope host lo 09:36:46 valid_lft forever preferred_lft forever 09:36:46 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:36:46 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:36:46 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:36:46 valid_lft forever preferred_lft forever 09:36:46 09:36:46 09:36:46 ---> sar -b -r -n DEV: 09:36:46 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/31/20 _x86_64_ (4 CPU) 09:36:46 09:36:46 09:29:42 LINUX RESTART 09:36:46 09:36:46 09:30:02 tps rtps wtps bread/s bwrtn/s 09:36:46 09:31:01 135.34 57.47 77.86 6031.24 37908.85 09:36:46 09:32:01 11.51 0.00 11.51 0.00 1806.69 09:36:46 09:33:01 2.80 0.00 2.80 0.00 85.17 09:36:46 09:34:01 0.63 0.00 0.63 0.00 9.04 09:36:46 09:35:01 0.23 0.00 0.23 0.00 3.60 09:36:46 09:36:01 0.37 0.00 0.37 0.00 5.04 09:36:46 Average: 24.84 9.45 15.39 991.42 6550.54 09:36:46 09:36:46 09:30:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:36:46 09:31:01 100432 1781872 94.66 2620 1258912 973044 33.20 427856 1194824 51492 09:36:46 09:32:01 111308 1770996 94.09 2620 1258920 893336 30.48 417916 1194776 12 09:36:46 09:33:01 109928 1772376 94.16 2620 1258928 893628 30.49 419352 1194756 8 09:36:46 09:34:01 108736 1773568 94.22 2620 1258928 893824 30.50 420512 1194756 12 09:36:46 09:35:01 110840 1771464 94.11 2620 1258936 893464 30.48 418460 1194756 16 09:36:46 09:36:01 110372 1771932 94.14 2620 1258964 893548 30.49 419012 1194760 12 09:36:46 Average: 108603 1773701 94.23 2620 1258931 906807 30.94 420518 1194771 8592 09:36:46 09:36:46 09:30:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 09:36:46 09:31:01 eth0 241.85 184.72 1030.52 98.14 0.00 0.00 0.00 09:36:46 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:31:01 docker0 6.31 4.84 0.87 15.62 0.00 0.00 0.00 09:36:46 09:32:01 eth0 0.63 0.08 0.04 0.01 0.00 0.00 0.00 09:36:46 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:33:01 eth0 0.68 0.33 0.29 0.17 0.00 0.00 0.00 09:36:46 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:34:01 eth0 1.42 0.97 2.20 0.27 0.00 0.00 0.00 09:36:46 09:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:35:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 09:36:46 09:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:36:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 09:36:46 09:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 09:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 Average: eth0 40.27 30.64 169.84 16.22 0.00 0.00 0.00 09:36:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:36:46 Average: docker0 1.04 0.80 0.14 2.57 0.00 0.00 0.00 09:36:46 09:36:46 09:36:46 ---> sar -P ALL: 09:36:46 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/31/20 _x86_64_ (4 CPU) 09:36:46 09:36:46 09:29:42 LINUX RESTART 09:36:46 09:36:46 09:30:02 CPU %user %nice %system %iowait %steal %idle 09:36:46 09:31:01 all 14.78 0.00 8.30 6.36 11.75 58.81 09:36:46 09:31:01 0 15.73 0.00 7.54 5.82 11.87 59.04 09:36:46 09:31:01 1 14.44 0.00 12.30 9.15 11.69 52.42 09:36:46 09:31:01 2 13.54 0.00 7.01 5.76 11.73 61.95 09:36:46 09:31:01 3 15.41 0.00 6.31 4.70 11.70 61.88 09:36:46 09:32:01 all 0.15 0.00 0.12 0.00 0.26 99.48 09:36:46 09:32:01 0 0.05 0.00 0.12 0.00 0.30 99.53 09:36:46 09:32:01 1 0.12 0.00 0.10 0.00 0.38 99.40 09:36:46 09:32:01 2 0.07 0.00 0.15 0.00 0.15 99.63 09:36:46 09:32:01 3 0.37 0.00 0.10 0.00 0.23 99.30 09:36:46 09:33:01 all 0.11 0.00 0.05 0.00 0.15 99.69 09:36:46 09:33:01 0 0.05 0.00 0.02 0.00 0.08 99.85 09:36:46 09:33:01 1 0.10 0.00 0.07 0.00 0.15 99.68 09:36:46 09:33:01 2 0.05 0.00 0.03 0.00 0.18 99.73 09:36:46 09:33:01 3 0.25 0.00 0.07 0.00 0.15 99.53 09:36:46 09:34:01 all 0.12 0.00 0.05 0.00 0.49 99.34 09:36:46 09:34:01 0 0.07 0.00 0.02 0.00 0.47 99.45 09:36:46 09:34:01 1 0.07 0.00 0.03 0.00 0.55 99.35 09:36:46 09:34:01 2 0.10 0.00 0.05 0.00 0.63 99.22 09:36:46 09:34:01 3 0.23 0.00 0.10 0.00 0.35 99.32 09:36:46 09:35:01 all 0.10 0.00 0.03 0.00 0.72 99.14 09:36:46 09:35:01 0 0.03 0.00 0.03 0.00 1.12 98.81 09:36:46 09:35:01 1 0.07 0.00 0.05 0.00 0.68 99.20 09:36:46 09:35:01 2 0.03 0.00 0.02 0.00 0.38 99.57 09:36:46 09:35:01 3 0.28 0.00 0.03 0.00 0.71 98.97 09:36:46 09:36:01 all 0.10 0.00 0.04 0.00 0.62 99.24 09:36:46 09:36:01 0 0.03 0.00 0.03 0.00 0.58 99.35 09:36:46 09:36:01 1 0.07 0.00 0.07 0.00 0.93 98.94 09:36:46 09:36:01 2 0.07 0.00 0.02 0.00 0.48 99.44 09:36:46 09:36:01 3 0.25 0.00 0.03 0.00 0.48 99.24 09:36:46 Average: all 2.50 0.00 1.40 1.03 2.29 92.79 09:36:46 Average: 0 2.57 0.00 1.25 0.94 2.34 92.91 09:36:46 Average: 1 2.42 0.00 2.06 1.49 2.36 91.68 09:36:46 Average: 2 2.26 0.00 1.19 0.94 2.22 93.38 09:36:46 Average: 3 2.74 0.00 1.08 0.76 2.23 93.19 09:36:46 09:36:46 09:36:46