Pull request #474 opened 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 hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at b92b1a498a210f23e11ab247bf48f6be566a37ca rather than 30534501e2b44c6ffc996b17bed373bef63225fa Obtained Jenkinsfile from b92b1a498a210f23e11ab247bf48f6be566a37ca Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-474/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # 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-2809 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [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-474 # timeout=10 Fetching without tags 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/474/head:refs/remotes/origin/PR-474 +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/474/head:refs/remotes/origin/PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 30534501e2b44c6ffc996b17bed373bef63225fa Merge succeeded, producing 30534501e2b44c6ffc996b17bed373bef63225fa Checking out Revision 30534501e2b44c6ffc996b17bed373bef63225fa (PR-474) > git config core.sparsecheckout # timeout=10 > git checkout -f 30534501e2b44c6ffc996b17bed373bef63225fa # 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 b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30534501e2b44c6ffc996b17bed373bef63225fa # timeout=10 Commit message: "Add new fields on Reading" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:41:03 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 07:41:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:06 07:41:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:41:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:06 latest: Pulling from edgex-devops/git-semver 07:41:06 9123ac7c32f7: Pulling fs layer 07:41:06 b8cc5d1170e3: Pulling fs layer 07:41:06 2924cbbf6a41: Pulling fs layer 07:41:06 93b08a4f1073: Pulling fs layer 07:41:06 93b08a4f1073: Waiting 07:41:06 b8cc5d1170e3: Verifying Checksum 07:41:06 b8cc5d1170e3: Download complete 07:41:06 9123ac7c32f7: Verifying Checksum 07:41:06 9123ac7c32f7: Download complete 07:41:06 93b08a4f1073: Verifying Checksum 07:41:06 93b08a4f1073: Download complete 07:41:06 2924cbbf6a41: Verifying Checksum 07:41:06 2924cbbf6a41: Download complete 07:41:06 9123ac7c32f7: Pull complete 07:41:06 b8cc5d1170e3: Pull complete 07:41:07 2924cbbf6a41: Pull complete 07:41:07 93b08a4f1073: Pull complete 07:41:07 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:41:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:41:07 prd-centos7-docker-4c-2g-2809 does not seem to be running inside a container 07:41:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:41:08 $ docker top a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:08 [ssh-agent] Looking for ssh-agent implementation... 07:41:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:09 $ docker exec a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 ssh-agent 07:41:09 SSH_AUTH_SOCK=/tmp/ssh-SmzktLbyL3tP/agent.15 07:41:09 SSH_AGENT_PID=23 07:41:09 Running ssh-add (command line suppressed) 07:41:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_6493721136004338426.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_6493721136004338426.key) 07:41:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:09 + git describe --exact-match --tags HEAD 07:41:09 fatal: No names found, cannot describe anything. [Pipeline] } 07:41:09 $ docker exec --env ******** --env ******** a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 ssh-agent -k 07:41:10 unset SSH_AUTH_SOCK; 07:41:10 unset SSH_AGENT_PID; 07:41:10 echo Agent pid 23 killed; 07:41:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:41:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:41:10 This usually means this commit has not been tagged. [Pipeline] sshagent 07:41:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:10 [ssh-agent] Looking for ssh-agent implementation... 07:41:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:10 $ docker exec a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 ssh-agent 07:41:10 SSH_AUTH_SOCK=/tmp/ssh-ogjE3A0flyrA/agent.59 07:41:10 SSH_AGENT_PID=66 07:41:10 Running ssh-add (command line suppressed) 07:41:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2476529813587263498.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2476529813587263498.key) 07:41:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:11 + git semver init 07:41:11 # -> Open(): unable to determine branch for HEAD 07:41:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git 07:41:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 07:41:11 # $SEMVER_REMOTE_NAME = origin 07:41:11 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 07:41:11 # $SEMVER_USER_NAME = jenkins 07:41:11 # $SEMVER_BRANCH = PR-474 07:41:11 # $SEMVER_TEMP = /tmp/semver-388853540 07:41:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:41:11 # '/tmp/semver-388853540' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' 07:41:11 # -> Force: false 07:41:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } 07:41:11 $ docker exec --env ******** --env ******** a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 ssh-agent -k 07:41:12 unset SSH_AUTH_SOCK; 07:41:12 unset SSH_AGENT_PID; 07:41:12 echo Agent pid 66 killed; 07:41:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:12 + git semver [Pipeline] } 07:41:12 $ docker stop --time=1 a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 07:41:13 $ docker rm -f a303592158254245c09709263863dd7c1c6431e7df3148c0e5616b9e9e5de246 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:41:14 Stashed 38 file(s) [Pipeline] echo 07:41:14 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:41:30 Still waiting to schedule task 07:41:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:41:30 Still waiting to schedule task 07:41:30 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:42:41 Running on prd-centos7-docker-4c-2g-2811 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 07:42:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:42:44 using credential edgex-jenkins-ssh 07:42:44 Cloning the remote Git repository 07:42:44 Cloning with configured refspecs honoured and without tags 07:42:45 Fetching without tags 07:42:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:42:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:42:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:42:44 > git --version # timeout=10 07:42:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:42:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:42:44 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 07:42:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:42:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:42:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:42:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:42:45 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 30534501e2b44c6ffc996b17bed373bef63225fa 07:42:45 Merge succeeded, producing 30534501e2b44c6ffc996b17bed373bef63225fa 07:42:45 Checking out Revision 30534501e2b44c6ffc996b17bed373bef63225fa (PR-474) 07:42:45 > git config core.sparsecheckout # timeout=10 07:42:45 > git checkout -f 30534501e2b44c6ffc996b17bed373bef63225fa # timeout=10 07:42:45 > git remote # timeout=10 07:42:45 > git config --get remote.origin.url # timeout=10 07:42:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:45 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 07:42:45 > git rev-parse HEAD^{commit} # timeout=10 07:42:45 > git config core.sparsecheckout # timeout=10 07:42:45 > git checkout -f 30534501e2b44c6ffc996b17bed373bef63225fa # timeout=10 07:42:49 Commit message: "Add new fields on Reading" 07:42:49 > git --version # timeout=10 07:42:49 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:42:50 ========================================================= 07:42:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:42:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:42:51 + 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 . 07:42:51 Sending build context to Docker daemon 2.836MB 07:42:51 Step 1/8 : ARG BASE=golang:1.13-alpine 07:42:51 Step 2/8 : FROM ${BASE} 07:42:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:42:51 e6b0cf9c0882: Pulling fs layer 07:42:51 2848faf0eed1: Pulling fs layer 07:42:51 0f37312ad70f: Pulling fs layer 07:42:51 5788d62ee057: Pulling fs layer 07:42:51 0e6b1d234666: Pulling fs layer 07:42:51 bf5d7aec512f: Pulling fs layer 07:42:51 34c802a77dc8: Pulling fs layer 07:42:51 9eb99e56ec68: Pulling fs layer 07:42:51 27c7a5d97fbd: Pulling fs layer 07:42:51 5c102a31e300: Pulling fs layer 07:42:51 dcfb455df0a1: Pulling fs layer 07:42:51 34c802a77dc8: Waiting 07:42:51 9eb99e56ec68: Waiting 07:42:51 27c7a5d97fbd: Waiting 07:42:51 5c102a31e300: Waiting 07:42:51 dcfb455df0a1: Waiting 07:42:51 5788d62ee057: Waiting 07:42:51 0e6b1d234666: Waiting 07:42:51 bf5d7aec512f: Waiting 07:42:51 0f37312ad70f: Verifying Checksum 07:42:51 0f37312ad70f: Download complete 07:42:51 2848faf0eed1: Verifying Checksum 07:42:51 2848faf0eed1: Download complete 07:42:51 0e6b1d234666: Verifying Checksum 07:42:51 0e6b1d234666: Download complete 07:42:51 bf5d7aec512f: Verifying Checksum 07:42:51 bf5d7aec512f: Download complete 07:42:51 e6b0cf9c0882: Verifying Checksum 07:42:52 e6b0cf9c0882: Pull complete 07:42:52 2848faf0eed1: Pull complete 07:42:53 34c802a77dc8: Verifying Checksum 07:42:53 34c802a77dc8: Download complete 07:42:53 27c7a5d97fbd: Verifying Checksum 07:42:53 27c7a5d97fbd: Download complete 07:42:53 5788d62ee057: Verifying Checksum 07:42:53 5788d62ee057: Download complete 07:42:53 dcfb455df0a1: Verifying Checksum 07:42:53 dcfb455df0a1: Download complete 07:42:53 9eb99e56ec68: Verifying Checksum 07:42:53 9eb99e56ec68: Download complete 07:42:53 5c102a31e300: Verifying Checksum 07:42:53 5c102a31e300: Download complete 07:42:54 0f37312ad70f: Pull complete 07:43:00 5788d62ee057: Pull complete 07:43:00 0e6b1d234666: Pull complete 07:43:00 bf5d7aec512f: Pull complete 07:43:08 34c802a77dc8: Pull complete 07:43:11 9eb99e56ec68: Pull complete 07:43:11 27c7a5d97fbd: Pull complete 07:43:12 5c102a31e300: Pull complete 07:43:12 dcfb455df0a1: Pull complete 07:43:12 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:43:12 ---> 7c70fe431013 07:43:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:43:12 ---> Running in aa3f972cd1e2 07:43:13 Removing intermediate container aa3f972cd1e2 07:43:13 ---> 29b189689e07 07:43:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:43:13 ---> Running in c9f4c059d75f 07:43:13 Removing intermediate container c9f4c059d75f 07:43:13 ---> c69668ac9623 07:43:13 Step 5/8 : RUN apk add --no-cache make git 07:43:13 ---> Running in df1ca42b2b9b 07:43:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:43:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:43:15 OK: 143 MiB in 39 packages 07:43:15 Removing intermediate container df1ca42b2b9b 07:43:15 ---> da2663d45727 07:43:15 Step 6/8 : WORKDIR /device-sdk-go 07:43:15 ---> Running in eb17d19e88b6 07:43:15 Removing intermediate container eb17d19e88b6 07:43:15 ---> 2aa68e349d55 07:43:15 Step 7/8 : COPY . . 07:43:16 ---> 9a1d8ebc126f 07:43:16 Step 8/8 : RUN go mod download 07:43:16 ---> Running in 136b05f56fa3 07:43:18 go: finding github.com/BurntSushi/toml v0.3.1 07:43:18 go: finding github.com/OneOfOne/xxhash v1.2.6 07:43:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:43:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:43:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:43:18 go: finding github.com/bgentry/speakeasy v0.1.0 07:43:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:43:18 go: finding github.com/davecgh/go-spew v1.1.1 07:43:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 07:43:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:43:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:43:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:43:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:43:18 go: finding github.com/fatih/color v1.7.0 07:43:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:43:18 go: finding github.com/go-kit/kit v0.8.0 07:43:18 go: finding github.com/go-logfmt/logfmt v0.4.0 07:43:18 go: finding github.com/go-stack/stack v1.8.0 07:43:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:43:18 go: finding github.com/google/uuid v1.1.0 07:43:18 go: finding github.com/gorilla/mux v1.7.1 07:43:18 go: finding github.com/hashicorp/consul/api v1.1.0 07:43:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:43:18 go: finding github.com/hashicorp/errwrap v1.0.0 07:43:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:43:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:43:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:43:18 go: finding github.com/hashicorp/go-multierror v1.0.0 07:43:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:43:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:43:18 go: finding github.com/hashicorp/go-syslog v1.0.0 07:43:18 go: finding github.com/hashicorp/go-uuid v1.0.1 07:43:18 go: finding github.com/hashicorp/go.net v0.0.1 07:43:18 go: finding github.com/hashicorp/golang-lru v0.5.0 07:43:18 go: finding github.com/hashicorp/logutils v1.0.0 07:43:18 go: finding github.com/hashicorp/mdns v1.0.0 07:43:18 go: finding github.com/hashicorp/memberlist v0.1.3 07:43:18 go: finding github.com/hashicorp/serf v0.8.2 07:43:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:43:18 go: finding github.com/mattn/go-colorable v0.0.9 07:43:18 go: finding github.com/mattn/go-isatty v0.0.3 07:43:18 go: finding github.com/miekg/dns v1.0.14 07:43:18 go: finding github.com/mitchellh/cli v1.0.0 07:43:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:43:18 go: finding github.com/mitchellh/copystructure v1.0.0 07:43:18 go: finding github.com/mitchellh/go-homedir v1.0.0 07:43:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:43:18 go: finding github.com/mitchellh/gox v0.4.0 07:43:18 go: finding github.com/mitchellh/iochan v1.0.0 07:43:18 go: finding github.com/mitchellh/mapstructure v1.1.2 07:43:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:43:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:43:18 go: finding github.com/pelletier/go-toml v1.2.0 07:43:18 go: finding github.com/pkg/errors v0.8.1 07:43:18 go: finding github.com/pmezard/go-difflib v1.0.0 07:43:18 go: finding github.com/posener/complete v1.1.1 07:43:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:43:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:43:18 go: finding github.com/stretchr/objx v0.1.0 07:43:18 go: finding github.com/stretchr/testify v1.5.1 07:43:18 go: finding github.com/ugorji/go v1.1.4 07:43:18 go: finding github.com/x448/float16 v0.8.4 07:43:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:43:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:43:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:43:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:43:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:43:18 go: finding gopkg.in/yaml.v2 v2.2.8 07:43:23 Removing intermediate container 136b05f56fa3 07:43:23 ---> 7c4bbf9e5886 07:43:23 Successfully built 7c4bbf9e5886 07:43:23 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 07:43:24 + docker inspect -f . ci-base-image-x86_64 07:43:24 . [Pipeline] withDockerContainer 07:43:24 prd-centos7-docker-4c-2g-2811 does not seem to be running inside a container 07:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 07:43:25 $ docker top 6a813421e140bd68b92c6732854e9c2e1f36cfdeaa0bb1fbb03e4a8542e5f71b -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:26 + go version 07:43:26 go version go1.13.5 linux/amd64 [Pipeline] sh 07:43:26 + make test 07:43:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:43:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:43:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:43:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:43:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 22.6% of statements 07:43:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements 07:44:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.026s coverage: 11.4% of statements 07:44:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:44:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.092s coverage: 38.5% of statements 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:44:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.525s coverage: 79.9% of statements 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:44:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements 07:44:12 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:44:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 71.4% of statements 07:44:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:44:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:44:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:44:12 gofmt -l . 07:44:12 [ "`gofmt -l .`" = "" ] 07:44:12 ./bin/test-attribution-txt.sh 07:44:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:44:13 Stashed 1 file(s) [Pipeline] } 07:44:13 $ docker stop --time=1 6a813421e140bd68b92c6732854e9c2e1f36cfdeaa0bb1fbb03e4a8542e5f71b 07:44:15 $ docker rm -f 6a813421e140bd68b92c6732854e9c2e1f36cfdeaa0bb1fbb03e4a8542e5f71b [Pipeline] // withDockerContainer [Pipeline] } 07:44:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2812 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] // script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] ws 07:44:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:17 + ls -al . 07:44:17 total 160 07:44:17 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 07:44 . 07:44:17 drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 07:42 .. 07:44:17 drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 07:42 api 07:44:17 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 07:42 bin 07:44:17 -rw-r--r--. 1 jenkins jenkins 95986 Apr 8 07:44 coverage.out 07:44:17 -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 07:42 Dockerfile.build 07:44:17 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 07:42 .dockerignore 07:44:17 drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 07:42 example 07:44:17 drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 07:42 .git 07:44:17 drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 07:42 .github 07:44:17 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 07:42 .gitignore 07:44:17 -rw-r--r--. 1 jenkins jenkins 446 Apr 8 07:44 go.mod 07:44:17 -rw-r--r--. 1 jenkins jenkins 12076 Apr 8 07:44 go.sum 07:44:17 drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 07:42 internal 07:44:17 -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 07:42 Jenkinsfile 07:44:17 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 07:42 LICENSE 07:44:17 -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 07:42 Makefile 07:44:17 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 07:42 pkg 07:44:17 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 07:42 README.md 07:44:17 drwxrwxr-x. 3 jenkins jenkins 58 Apr 8 07:42 .semver 07:44:17 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 07:42 snap 07:44:17 -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 07:41 VERSION 07:44:17 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 07:42 version.go [Pipeline] isUnix [Pipeline] sh 07:44:17 + 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=30534501e2b44c6ffc996b17bed373bef63225fa --label arch=amd64 --label version=0.0.0 . 07:44:17 Sending build context to Docker daemon 2.953MB 07:44:17 Step 1/20 : ARG BASE=golang:1.13-alpine 07:44:17 Step 2/20 : FROM ${BASE} AS builder 07:44:17 ---> 7c4bbf9e5886 07:44:17 Step 3/20 : ARG MAKE='make build' 07:44:18 ---> Running in 225039ff35fd 07:44:18 Removing intermediate container 225039ff35fd 07:44:18 ---> a9d9b1777aef 07:44:18 Step 4/20 : WORKDIR /device-sdk-go 07:44:18 ---> Running in 3f04a0ad3c2f 07:44:18 Removing intermediate container 3f04a0ad3c2f 07:44:18 ---> dc3899c7c34c 07:44:18 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:44:18 ---> Running in bfdb8b8a7cbc 07:44:18 Removing intermediate container bfdb8b8a7cbc 07:44:18 ---> bd54b9e04198 07:44:18 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:18 ---> Running in 0c5978687b5a 07:44:19 Removing intermediate container 0c5978687b5a 07:44:19 ---> e78ddbc1f203 07:44:19 Step 7/20 : RUN apk add --update --no-cache make git 07:44:19 ---> Running in 2d5490ad71f0 07:44:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:44:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:44:20 OK: 143 MiB in 39 packages 07:44:21 Removing intermediate container 2d5490ad71f0 07:44:21 ---> 5d95755b4fc2 07:44:21 Step 8/20 : COPY . . 07:44:21 ---> 13cb74d30c4a 07:44:21 Step 9/20 : RUN ${MAKE} 07:44:21 ---> Running in 60fda0683a36 07:44:21 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 07:44:22 using credential edgex-jenkins-ssh 07:44:22 Cloning the remote Git repository 07:44:22 Cloning with configured refspecs honoured and without tags 07:44:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:44:22 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:44:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:44:22 > git --version # timeout=10 07:44:24 Fetching without tags 07:44:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:44:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:44:23 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 07:44:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:44:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:44:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:44:24 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit 30534501e2b44c6ffc996b17bed373bef63225fa 07:44:24 Merge succeeded, producing 30534501e2b44c6ffc996b17bed373bef63225fa 07:44:24 Checking out Revision 30534501e2b44c6ffc996b17bed373bef63225fa (PR-474) 07:44:24 > git config core.sparsecheckout # timeout=10 07:44:24 > git checkout -f 30534501e2b44c6ffc996b17bed373bef63225fa # timeout=10 07:44:24 > git remote # timeout=10 07:44:24 > git config --get remote.origin.url # timeout=10 07:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:24 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 07:44:24 > git rev-parse HEAD^{commit} # timeout=10 07:44:24 > git config core.sparsecheckout # timeout=10 07:44:24 > git checkout -f 30534501e2b44c6ffc996b17bed373bef63225fa # timeout=10 07:44:29 Commit message: "Add new fields on Reading" 07:44:29 > git --version # timeout=10 07:44:29 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb 07:44:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 07:44:30 Removing intermediate container 60fda0683a36 07:44:30 ---> c25c5b87bdf3 07:44:30 Step 10/20 : FROM scratch 07:44:30 ---> 07:44:30 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] { [Pipeline] unstash 07:44:30 ---> Running in b405f77d58a7 07:44:30 Removing intermediate container b405f77d58a7 07:44:30 ---> 23ef1e32a428 07:44:30 Step 12/20 : ENV APP_PORT=49990 07:44:30 ---> Running in ba2730e64e08 07:44:30 Removing intermediate container ba2730e64e08 07:44:30 ---> a6bcd2e5b080 07:44:30 Step 13/20 : EXPOSE $APP_PORT 07:44:30 ---> Running in 26d7305e2e45 07:44:30 Removing intermediate container 26d7305e2e45 07:44:30 ---> 98660dc6ebe2 07:44:30 Step 14/20 : WORKDIR / [Pipeline] echo 07:44:31 ========================================================= 07:44:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:44:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:44:31 ---> Running in cea669355d49 07:44:31 Removing intermediate container cea669355d49 07:44:31 ---> 6c1b264cd422 07:44:31 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:44:31 ---> e1bb912c00c2 07:44:31 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:44:31 ---> 1fc0f92baa83 07:44:31 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:44:31 ---> Running in 4319c4cb3062 07:44:32 Removing intermediate container 4319c4cb3062 07:44:32 ---> c796c55192b1 07:44:32 Step 18/20 : LABEL arch=amd64 07:44:32 ---> Running in f718f915032e 07:44:32 Removing intermediate container f718f915032e 07:44:32 ---> 5c42484f57e7 07:44:32 Step 19/20 : LABEL git_sha=30534501e2b44c6ffc996b17bed373bef63225fa 07:44:32 + 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 . 07:44:32 ---> Running in 6f45c9d30b73 07:44:32 Removing intermediate container 6f45c9d30b73 07:44:32 ---> 932f185d3c55 07:44:32 Step 20/20 : LABEL version=0.0.0 07:44:32 ---> Running in 508eff073a63 07:44:32 Removing intermediate container 508eff073a63 07:44:32 ---> e8575048c1e3 07:44:32 [Warning] One or more build-args [ARCH] were not consumed 07:44:32 Successfully built e8575048c1e3 07:44:32 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] } 07:44:33 Sending build context to Docker daemon 2.836MB 07:44:33 Step 1/8 : ARG BASE=golang:1.13-alpine 07:44:33 Step 2/8 : FROM ${BASE} [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 07:44:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:44:33 cde5963f3b93: Pulling fs layer 07:44:33 2a23fa8c16f7: Pulling fs layer 07:44:33 777b28850792: Pulling fs layer 07:44:33 8a11ddd9e578: Pulling fs layer 07:44:33 4cf88f913ddb: Pulling fs layer 07:44:33 1df406cf5192: Pulling fs layer 07:44:33 cd6300453558: Pulling fs layer 07:44:33 b9c365052c96: Pulling fs layer 07:44:33 a2d8cc88f415: Pulling fs layer 07:44:33 ea1d1ca13537: Pulling fs layer 07:44:33 3750a50a1c5e: Pulling fs layer 07:44:33 b9c365052c96: Waiting 07:44:33 a2d8cc88f415: Waiting 07:44:33 3750a50a1c5e: Waiting 07:44:33 ea1d1ca13537: Waiting 07:44:33 8a11ddd9e578: Waiting 07:44:33 1df406cf5192: Waiting 07:44:33 cd6300453558: Waiting 07:44:33 777b28850792: Download complete 07:44:33 2a23fa8c16f7: Download complete 07:44:33 4cf88f913ddb: Verifying Checksum 07:44:33 4cf88f913ddb: Download complete 07:44:33 1df406cf5192: Verifying Checksum 07:44:33 1df406cf5192: Download complete [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:44:33 cde5963f3b93: Verifying Checksum 07:44:33 cde5963f3b93: Download complete 07:44:34 cde5963f3b93: Pull complete 07:44:34 2a23fa8c16f7: Pull complete 07:44:35 777b28850792: Pull complete 07:44:37 cd6300453558: Verifying Checksum 07:44:37 cd6300453558: Download complete 07:44:37 a2d8cc88f415: Verifying Checksum 07:44:37 a2d8cc88f415: Download complete 07:44:40 ea1d1ca13537: Verifying Checksum 07:44:40 ea1d1ca13537: Download complete 07:44:40 3750a50a1c5e: Download complete 07:44:42 b9c365052c96: Verifying Checksum 07:44:42 b9c365052c96: Download complete 07:44:44 8a11ddd9e578: Verifying Checksum 07:44:44 8a11ddd9e578: Download complete 07:44:57 8a11ddd9e578: Pull complete 07:44:57 4cf88f913ddb: Pull complete 07:44:57 1df406cf5192: Pull complete 07:45:00 cd6300453558: Pull complete 07:45:05 b9c365052c96: Pull complete 07:45:05 a2d8cc88f415: Pull complete 07:45:07 ea1d1ca13537: Pull complete 07:45:07 3750a50a1c5e: Pull complete 07:45:07 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:45:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:45:07 ---> 78745c68409d 07:45:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:45:13 ---> Running in cdc3ded9a929 07:45:13 Removing intermediate container cdc3ded9a929 07:45:13 ---> fbfd7c868445 07:45:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:13 ---> Running in 46327c48837d 07:45:15 Removing intermediate container 46327c48837d 07:45:15 ---> bdb9b2aca33c 07:45:15 Step 5/8 : RUN apk add --no-cache make git 07:45:15 ---> Running in ce2623d61f6f 07:45:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:45:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:45:17 OK: 125 MiB in 39 packages 07:45:18 Removing intermediate container ce2623d61f6f 07:45:18 ---> 0201cee8433e 07:45:18 Step 6/8 : WORKDIR /device-sdk-go 07:45:18 ---> Running in 2c59ec2b2038 07:45:18 Removing intermediate container 2c59ec2b2038 07:45:18 ---> 021d0b8ed6fc 07:45:18 Step 7/8 : COPY . . 07:45:20 ---> 54515ac65b5c 07:45:20 Step 8/8 : RUN go mod download 07:45:20 ---> Running in 143bf3af17c0 07:45:22 go: finding github.com/BurntSushi/toml v0.3.1 07:45:22 go: finding github.com/OneOfOne/xxhash v1.2.6 07:45:22 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:45:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:45:22 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:45:22 go: finding github.com/bgentry/speakeasy v0.1.0 07:45:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:45:22 go: finding github.com/davecgh/go-spew v1.1.1 07:45:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 07:45:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:45:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 07:45:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:45:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:45:22 go: finding github.com/fatih/color v1.7.0 07:45:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:45:22 go: finding github.com/go-kit/kit v0.8.0 07:45:22 go: finding github.com/go-logfmt/logfmt v0.4.0 07:45:22 go: finding github.com/go-stack/stack v1.8.0 07:45:22 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:45:22 go: finding github.com/google/uuid v1.1.0 07:45:22 go: finding github.com/gorilla/mux v1.7.1 07:45:22 go: finding github.com/hashicorp/consul/api v1.1.0 07:45:22 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:45:22 go: finding github.com/hashicorp/errwrap v1.0.0 07:45:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:45:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:45:23 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:45:23 go: finding github.com/hashicorp/go-multierror v1.0.0 07:45:23 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:45:23 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:45:23 go: finding github.com/hashicorp/go-syslog v1.0.0 07:45:23 go: finding github.com/hashicorp/go-uuid v1.0.1 07:45:23 go: finding github.com/hashicorp/go.net v0.0.1 07:45:23 go: finding github.com/hashicorp/golang-lru v0.5.0 07:45:23 go: finding github.com/hashicorp/logutils v1.0.0 07:45:23 go: finding github.com/hashicorp/mdns v1.0.0 07:45:23 go: finding github.com/hashicorp/memberlist v0.1.3 07:45:23 go: finding github.com/hashicorp/serf v0.8.2 07:45:23 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:45:23 go: finding github.com/mattn/go-colorable v0.0.9 07:45:23 go: finding github.com/mattn/go-isatty v0.0.3 07:45:23 go: finding github.com/miekg/dns v1.0.14 07:45:23 go: finding github.com/mitchellh/cli v1.0.0 07:45:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:45:23 go: finding github.com/mitchellh/copystructure v1.0.0 07:45:23 go: finding github.com/mitchellh/go-homedir v1.0.0 07:45:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:45:24 go: finding github.com/mitchellh/gox v0.4.0 07:45:24 go: finding github.com/mitchellh/iochan v1.0.0 07:45:24 go: finding github.com/mitchellh/mapstructure v1.1.2 07:45:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:45:24 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:45:24 go: finding github.com/pelletier/go-toml v1.2.0 07:45:24 go: finding github.com/pkg/errors v0.8.1 07:45:24 go: finding github.com/pmezard/go-difflib v1.0.0 07:45:24 go: finding github.com/posener/complete v1.1.1 07:45:24 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:45:24 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:45:24 go: finding github.com/stretchr/objx v0.1.0 07:45:24 go: finding github.com/stretchr/testify v1.5.1 07:45:24 go: finding github.com/ugorji/go v1.1.4 07:45:24 go: finding github.com/x448/float16 v0.8.4 07:45:24 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:45:24 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:45:24 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:45:24 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:45:24 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:45:24 go: finding gopkg.in/yaml.v2 v2.2.8 07:45:32 Removing intermediate container 143bf3af17c0 07:45:32 ---> 9c2764850f04 07:45:33 Successfully built 9c2764850f04 07:45:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:45:33 + docker inspect -f . ci-base-image-arm64 07:45:33 . [Pipeline] withDockerContainer 07:45:34 prd-ubuntu18.04-docker-arm64-4c-16g-2812 does not seem to be running inside a container 07:45:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 07:45:35 $ docker top d9b258ea3878ef64a7f9122f48808e5b829dd669e5709b5ed1ea9640472b2e32 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:36 + go version 07:45:36 go version go1.13.5 linux/arm64 [Pipeline] sh 07:45:37 + make test 07:45:37 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:45:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:46:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:46:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:46:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.048s coverage: 22.6% of statements 07:46:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.208s coverage: 95.8% of statements 07:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 11.4% of statements 07:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.134s coverage: 38.5% of statements 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.616s coverage: 79.9% of statements 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements 07:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 07:46:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 71.4% of statements 07:46:43 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:46:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:46:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:46:47 gofmt -l . 07:46:47 [ "`gofmt -l .`" = "" ] 07:46:47 ./bin/test-attribution-txt.sh 07:46:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:46:48 Warning: overwriting stash ‘coverage-report’ 07:46:49 Stashed 1 file(s) [Pipeline] } 07:46:49 $ docker stop --time=1 d9b258ea3878ef64a7f9122f48808e5b829dd669e5709b5ed1ea9640472b2e32 07:46:51 $ docker rm -f d9b258ea3878ef64a7f9122f48808e5b829dd669e5709b5ed1ea9640472b2e32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:52 + ls -al . 07:46:52 total 200 07:46:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 07:46 . 07:46:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:44 .. 07:46:52 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 07:44 .dockerignore 07:46:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 07:44 .git 07:46:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 07:44 .github 07:46:52 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 07:44 .gitignore 07:46:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 07:44 .semver 07:46:52 -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 07:44 Dockerfile.build 07:46:52 -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 07:44 Jenkinsfile 07:46:52 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 07:44 LICENSE 07:46:52 -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 07:44 Makefile 07:46:52 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 07:44 README.md 07:46:52 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 07:41 VERSION 07:46:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 07:44 api 07:46:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 07:44 bin 07:46:52 -rw-r--r-- 1 jenkins jenkins 95986 Apr 8 07:46 coverage.out 07:46:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:44 example 07:46:52 -rw-r--r-- 1 jenkins jenkins 446 Apr 8 07:46 go.mod 07:46:52 -rw-r--r-- 1 jenkins jenkins 12076 Apr 8 07:46 go.sum 07:46:52 drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 07:44 internal 07:46:52 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 07:44 pkg 07:46:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:44 snap 07:46:52 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 07:44 version.go [Pipeline] isUnix [Pipeline] sh 07:46: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=30534501e2b44c6ffc996b17bed373bef63225fa --label arch=arm64 --label version=0.0.0 . 07:46:53 Sending build context to Docker daemon 2.953MB 07:46:53 Step 1/20 : ARG BASE=golang:1.13-alpine 07:46:53 Step 2/20 : FROM ${BASE} AS builder 07:46:53 ---> 9c2764850f04 07:46:53 Step 3/20 : ARG MAKE='make build' 07:46:53 ---> Running in 6daa835876bc 07:46:54 Removing intermediate container 6daa835876bc 07:46:54 ---> bfa414d0dc67 07:46:54 Step 4/20 : WORKDIR /device-sdk-go 07:46:54 ---> Running in 597e1a58a00c 07:46:54 Removing intermediate container 597e1a58a00c 07:46:54 ---> 177348e19193 07:46:54 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:46:55 ---> Running in 9de28c2e25dc 07:46:55 Removing intermediate container 9de28c2e25dc 07:46:55 ---> e307cb354670 07:46:55 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:46:55 ---> Running in 2bd167b93870 07:46:57 Removing intermediate container 2bd167b93870 07:46:57 ---> 7e629a964410 07:46:57 Step 7/20 : RUN apk add --update --no-cache make git 07:46:57 ---> Running in fe893abedfcb 07:46:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:46:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:46:59 OK: 125 MiB in 39 packages 07:47:00 Removing intermediate container fe893abedfcb 07:47:00 ---> a457cf201e52 07:47:00 Step 8/20 : COPY . . 07:47:01 ---> 0eebf31c8396 07:47:01 Step 9/20 : RUN ${MAKE} 07:47:01 ---> Running in d33e4b8a0a30 07:47: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 07:47:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:47:27 Removing intermediate container d33e4b8a0a30 07:47:27 ---> fc81169dab56 07:47:27 Step 10/20 : FROM scratch 07:47:27 ---> 07:47:27 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:47:27 ---> Running in 44ca5f46500f 07:47:27 Removing intermediate container 44ca5f46500f 07:47:27 ---> 195ba9230108 07:47:27 Step 12/20 : ENV APP_PORT=49990 07:47:27 ---> Running in fc8b9d62f202 07:47:27 Removing intermediate container fc8b9d62f202 07:47:27 ---> 73b079d6cb3d 07:47:27 Step 13/20 : EXPOSE $APP_PORT 07:47:27 ---> Running in 7beaa90ae339 07:47:28 Removing intermediate container 7beaa90ae339 07:47:28 ---> 3ca276a4d3aa 07:47:28 Step 14/20 : WORKDIR / 07:47:28 ---> Running in b2d51122bcd0 07:47:28 Removing intermediate container b2d51122bcd0 07:47:28 ---> 062a45a69f24 07:47:28 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:47:29 ---> f3eb5808ffd3 07:47:29 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:47:30 ---> 6aa537bb48b0 07:47:30 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:47:30 ---> Running in 61a37c6b2e5d 07:47:30 Removing intermediate container 61a37c6b2e5d 07:47:30 ---> 7795ac8f75f0 07:47:30 Step 18/20 : LABEL arch=arm64 07:47:30 ---> Running in 0845acfd6272 07:47:30 Removing intermediate container 0845acfd6272 07:47:30 ---> d59f33c44abc 07:47:30 Step 19/20 : LABEL git_sha=30534501e2b44c6ffc996b17bed373bef63225fa 07:47:31 ---> Running in 232024ff8bd9 07:47:31 Removing intermediate container 232024ff8bd9 07:47:31 ---> 59a039acbe1c 07:47:31 Step 20/20 : LABEL version=0.0.0 07:47:31 ---> Running in 7e3ea659abbb 07:47:32 Removing intermediate container 7e3ea659abbb 07:47:32 ---> 42b4f3cbb15e 07:47:32 [Warning] One or more build-args [ARCH] were not consumed 07:47:32 Successfully built 42b4f3cbb15e 07:47:32 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:47:33 provisioning config files... 07:47:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config3795681340387864830tmp [Pipeline] { [Pipeline] sh 07:47:34 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config3795681340387864830tmp 07:47:34 + curl -s https://codecov.io/bash 07:47:34 07:47:34 _____ _ 07:47:34 / ____| | | 07:47:34 | | ___ __| | ___ ___ _____ __ 07:47:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:47:34 | |___| (_) | (_| | __/ (_| (_) \ V / 07:47:34 \_____\___/ \__,_|\___|\___\___/ \_/ 07:47:34 Bash-tbd 07:47:34 07:47:34 07:47:34 ==> Jenkins CI detected. 07:47:34 project root: . 07:47:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:47:34 ==> Running gcov in . (disable via -X gcov) 07:47:34 ==> Python coveragepy not found 07:47:34 ==> Searching for coverage reports in: 07:47:34 + . 07:47:34 -> Found 1 reports 07:47:34 ==> Detecting git/mercurial file structure 07:47:34 ==> Reading reports 07:47:34 + ./coverage.out bytes=95986 07:47:34 ==> Appending adjustments 07:47:34 http://docs.codecov.io/docs/fixing-reports 07:47:34 + Found adjustments 07:47:34 ==> Gzipping contents 07:47:34 ==> Uploading reports 07:47:34 url: https://codecov.io 07:47:34 query: branch=PR-474&commit=30534501e2b44c6ffc996b17bed373bef63225fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= 07:47:34 -> Pinging Codecov 07:47:34 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-474&commit=30534501e2b44c6ffc996b17bed373bef63225fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= 07:47:34 -> Uploading 07:47:35 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/30534501e2b44c6ffc996b17bed373bef63225fa [Pipeline] } 07:47:35 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 07:47:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:47:37 ---> package-listing.sh 07:47:37 ++ facter osfamily 07:47:37 ++ tr '[:upper:]' '[:lower:]' 07:47:37 + OS_FAMILY=redhat 07:47:37 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 07:47:37 + START_PACKAGES=/tmp/packages_start.txt 07:47:37 + END_PACKAGES=/tmp/packages_end.txt 07:47:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:47:37 + PACKAGES=/tmp/packages_start.txt 07:47:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' 07:47:37 + PACKAGES=/tmp/packages_end.txt 07:47:37 + case "${OS_FAMILY}" in 07:47:37 + rpm -qa 07:47:37 + sort 07:47:41 + '[' -f /tmp/packages_start.txt ']' 07:47:41 + '[' -f /tmp/packages_end.txt ']' 07:47:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:47:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' 07:47:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ 07:47:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh 07:47:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:47:42 07:47:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:47:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:47:42 alpine: Pulling from edgex-lftools-log-publisher 07:47:42 c9b1b535fdd9: Pulling fs layer 07:47:42 2cc5ad85d9ab: Pulling fs layer 07:47:42 756a868c4378: Pulling fs layer 07:47:42 444b2fc9a129: Pulling fs layer 07:47:42 ea15f1150254: Pulling fs layer 07:47:42 41b27a9f41bf: Pulling fs layer 07:47:42 28c525ee5125: Pulling fs layer 07:47:42 094b1ea09ed8: Pulling fs layer 07:47:42 138eaada9080: Pulling fs layer 07:47:42 0622d0fa9048: Pulling fs layer 07:47:42 444b2fc9a129: Waiting 07:47:42 ea15f1150254: Waiting 07:47:42 41b27a9f41bf: Waiting 07:47:42 28c525ee5125: Waiting 07:47:42 094b1ea09ed8: Waiting 07:47:42 138eaada9080: Waiting 07:47:42 0622d0fa9048: Waiting 07:47:42 2cc5ad85d9ab: Verifying Checksum 07:47:42 2cc5ad85d9ab: Download complete 07:47:42 444b2fc9a129: Download complete 07:47:42 c9b1b535fdd9: Verifying Checksum 07:47:42 c9b1b535fdd9: Download complete 07:47:42 ea15f1150254: Verifying Checksum 07:47:42 ea15f1150254: Download complete 07:47:42 28c525ee5125: Verifying Checksum 07:47:42 28c525ee5125: Download complete 07:47:42 c9b1b535fdd9: Pull complete 07:47:43 2cc5ad85d9ab: Pull complete 07:47:43 756a868c4378: Verifying Checksum 07:47:43 756a868c4378: Download complete 07:47:43 138eaada9080: Verifying Checksum 07:47:43 138eaada9080: Download complete 07:47:43 0622d0fa9048: Verifying Checksum 07:47:43 0622d0fa9048: Download complete 07:47:43 094b1ea09ed8: Verifying Checksum 07:47:43 094b1ea09ed8: Download complete 07:47:43 41b27a9f41bf: Verifying Checksum 07:47:43 41b27a9f41bf: Download complete 07:47:44 756a868c4378: Pull complete 07:47:44 444b2fc9a129: Pull complete 07:47:45 ea15f1150254: Pull complete 07:47:48 41b27a9f41bf: Pull complete 07:47:48 28c525ee5125: Pull complete 07:47:51 094b1ea09ed8: Pull complete 07:47:51 138eaada9080: Pull complete 07:47:52 0622d0fa9048: Pull complete 07:47:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:47:52 prd-centos7-docker-4c-2g-2809 does not seem to be running inside a container 07:47:52 $ 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-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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:10003/edgex-lftools-log-publisher:alpine cat 07:47:53 $ docker top 09692c8b4b86621f0a4a8a00d56c0be06407a04821e1edfd7db33a429248bcf9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:47:54 provisioning config files... 07:47:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config4662558171476931319tmp [Pipeline] { [Pipeline] echo 07:47:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:47:54 ---> create-netrc.sh [Pipeline] echo 07:47:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:47:54 ---> logs-deploy.sh 07:47:54 + ARCHIVE_ARTIFACTS= 07:47:54 + LOGS_SERVER=https://logs.edgexfoundry.org 07:47:54 + '[' https://logs.edgexfoundry.org == None ']' 07:47:54 + NEXUS_URL=https://nexus.edgexfoundry.org 07:47:54 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/1 07:47:54 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/1/ 07:47:54 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/1 /w/workspace/dgexfoundry_device-sdk-go_PR-474 07:47:56 Archives upload complete. 07:47:56 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/1/ 07:47:56 ---> uname -a: 07:47:56 Linux 09692c8b4b86 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 07:47:56 07:47:56 07:47:56 ---> lscpu: 07:47:56 Architecture: x86_64 07:47:56 CPU op-mode(s): 32-bit, 64-bit 07:47:56 Byte Order: Little Endian 07:47:56 Address sizes: 40 bits physical, 48 bits virtual 07:47:56 CPU(s): 4 07:47:56 On-line CPU(s) list: 0-3 07:47:56 Thread(s) per core: 1 07:47:56 Core(s) per socket: 1 07:47:56 Socket(s): 4 07:47:56 NUMA node(s): 1 07:47:56 Vendor ID: GenuineIntel 07:47:56 CPU family: 6 07:47:56 Model: 44 07:47:56 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:47:56 Stepping: 1 07:47:56 CPU MHz: 2933.396 07:47:56 BogoMIPS: 5866.79 07:47:56 Virtualization: VT-x 07:47:56 Hypervisor vendor: KVM 07:47:56 Virtualization type: full 07:47:56 L1d cache: 128 KiB 07:47:56 L1i cache: 128 KiB 07:47:56 L2 cache: 16 MiB 07:47:56 L3 cache: 64 MiB 07:47:56 NUMA node0 CPU(s): 0-3 07:47:56 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 07:47:56 Vulnerability Meltdown: Mitigation; PTI 07:47:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:47:56 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 07:47:56 Vulnerability Spectre v2: Mitigation; Full retpoline 07:47:56 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 07:47:56 07:47:56 07:47:56 ---> nproc: 07:47:56 4 07:47:56 07:47:56 07:47:56 ---> df -h: 07:47:56 Filesystem Size Used Available Use% Mounted on 07:47:56 overlay 50.0G 6.3G 43.7G 13% / 07:47:56 tmpfs 64.0M 0 64.0M 0% /dev 07:47:56 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 07:47:56 shm 64.0M 0 64.0M 0% /dev/shm 07:47:56 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 07:47:56 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 07:47:56 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 07:47:56 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp 07:47:56 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 07:47:56 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-474 07:47:56 07:47:56 07:47:56 ---> free -m: 07:47:56 total used free shared buff/cache available 07:47:56 Mem: 1838 633 74 0 1130 1099 07:47:56 Swap: 1023 1 1022 07:47:56 07:47:56 07:47:56 ---> ip addr: 07:47:56 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:47:56 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:47:56 inet 127.0.0.1/8 scope host lo 07:47:56 valid_lft forever preferred_lft forever 07:47:56 6: eth0@if7: mtu 1458 qdisc noqueue state UP 07:47:56 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 07:47:56 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 07:47:56 valid_lft forever preferred_lft forever 07:47:56 07:47:56 07:47:56 ---> sar -b -r -n DEV: 07:47:56 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/08/20 _x86_64_ (4 CPU) 07:47:56 07:47:56 07:40:24 LINUX RESTART 07:47:56 07:47:56 07:41:02 tps rtps wtps bread/s bwrtn/s 07:47:56 07:42:01 22.56 6.42 16.14 1929.89 2320.07 07:47:56 07:43:01 2.61 0.00 2.61 0.00 91.67 07:47:56 07:44:01 0.27 0.00 0.27 0.00 3.75 07:47:56 07:45:01 0.22 0.00 0.22 0.00 2.96 07:47:56 07:46:01 0.22 0.00 0.22 0.00 3.78 07:47:56 07:47:01 0.38 0.00 0.38 0.00 5.00 07:47:56 Average: 4.33 1.06 3.27 317.23 399.28 07:47:56 07:47:56 07:41:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:47:56 07:42:01 108688 1773616 94.23 2620 1208036 944984 32.24 456832 1158456 8 07:47:56 07:43:01 112452 1769852 94.03 2620 1208040 920668 31.41 454220 1158156 8 07:47:56 07:44:01 112296 1770008 94.03 2620 1208052 920740 31.42 454592 1158100 8 07:47:56 07:45:01 112188 1770116 94.04 2620 1208052 920716 31.41 454524 1158100 8 07:47:56 07:46:01 112868 1769436 94.00 2620 1208060 920644 31.41 454176 1158100 16 07:47:56 07:47:01 113392 1768912 93.98 2620 1208064 920548 31.41 453568 1158100 16 07:47:56 Average: 111981 1770323 94.05 2620 1208051 924717 31.55 454652 1158169 11 07:47:56 07:47:56 07:41:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 07:47:56 07:42:01 eth0 148.11 100.07 458.48 53.69 0.00 0.00 0.00 07:47:56 07:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:42:01 docker0 8.91 7.40 1.06 16.64 0.00 0.00 0.00 07:47:56 07:43:01 eth0 1.42 0.42 0.34 0.24 0.00 0.00 0.00 07:47:56 07:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:44:01 eth0 1.12 0.38 0.33 0.21 0.00 0.00 0.00 07:47:56 07:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:45:01 eth0 1.27 0.28 0.33 0.17 0.00 0.00 0.00 07:47:56 07:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:46:01 eth0 0.77 0.43 0.41 0.30 0.00 0.00 0.00 07:47:56 07:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:47:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 07:47:56 07:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 07:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 Average: eth0 25.13 16.72 75.60 8.98 0.00 0.00 0.00 07:47:56 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:47:56 Average: docker0 1.46 1.22 0.17 2.74 0.00 0.00 0.00 07:47:56 07:47:56 07:47:56 ---> sar -P ALL: 07:47:56 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/08/20 _x86_64_ (4 CPU) 07:47:56 07:47:56 07:40:24 LINUX RESTART 07:47:56 07:47:56 07:41:02 CPU %user %nice %system %iowait %steal %idle 07:47:56 07:42:01 all 3.16 0.00 1.30 0.25 0.01 95.29 07:47:56 07:42:01 0 3.40 0.00 1.75 0.15 0.00 94.70 07:47:56 07:42:01 1 3.64 0.00 1.16 0.10 0.02 95.09 07:47:56 07:42:01 2 2.85 0.00 1.04 0.03 0.00 96.07 07:47:56 07:42:01 3 2.72 0.00 1.24 0.70 0.02 95.33 07:47:56 07:43:01 all 0.17 0.00 0.05 0.00 0.00 99.78 07:47:56 07:43:01 0 0.07 0.00 0.03 0.00 0.02 99.88 07:47:56 07:43:01 1 0.32 0.00 0.05 0.00 0.00 99.63 07:47:56 07:43:01 2 0.05 0.00 0.07 0.00 0.02 99.87 07:47:56 07:43:01 3 0.27 0.00 0.05 0.00 0.00 99.68 07:47:56 07:44:01 all 0.17 0.00 0.04 0.00 0.01 99.78 07:47:56 07:44:01 0 0.07 0.00 0.03 0.00 0.00 99.90 07:47:56 07:44:01 1 0.03 0.00 0.03 0.00 0.02 99.92 07:47:56 07:44:01 2 0.07 0.00 0.05 0.00 0.00 99.88 07:47:56 07:44:01 3 0.50 0.00 0.03 0.00 0.02 99.45 07:47:56 07:45:01 all 0.18 0.00 0.04 0.00 0.00 99.79 07:47:56 07:45:01 0 0.03 0.00 0.03 0.00 0.00 99.93 07:47:56 07:45:01 1 0.07 0.00 0.05 0.00 0.00 99.88 07:47:56 07:45:01 2 0.43 0.00 0.05 0.00 0.00 99.52 07:47:56 07:45:01 3 0.17 0.00 0.03 0.00 0.00 99.80 07:47:56 07:46:01 all 0.18 0.00 0.04 0.00 0.00 99.78 07:47:56 07:46:01 0 0.03 0.00 0.02 0.00 0.00 99.95 07:47:56 07:46:01 1 0.07 0.00 0.07 0.00 0.00 99.87 07:47:56 07:46:01 2 0.57 0.00 0.03 0.00 0.00 99.40 07:47:56 07:46:01 3 0.05 0.00 0.02 0.00 0.00 99.93 07:47:56 07:47:01 all 0.15 0.00 0.04 0.00 0.00 99.81 07:47:56 07:47:01 0 0.03 0.00 0.03 0.00 0.00 99.93 07:47:56 07:47:01 1 0.07 0.00 0.05 0.00 0.00 99.88 07:47:56 07:47:01 2 0.05 0.00 0.03 0.00 0.00 99.92 07:47:56 07:47:01 3 0.45 0.00 0.05 0.00 0.00 99.50 07:47:56 Average: all 0.66 0.00 0.25 0.04 0.00 99.05 07:47:56 Average: 0 0.60 0.00 0.31 0.03 0.00 99.06 07:47:56 Average: 1 0.69 0.00 0.23 0.02 0.01 99.06 07:47:56 Average: 2 0.66 0.00 0.21 0.01 0.00 99.12 07:47:56 Average: 3 0.69 0.00 0.23 0.11 0.01 98.96 07:47:56 07:47:56 07:47:56