Pull request #448 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b+40c90adbf9fac26db7d7745c142bac7f98eae2fe (cc24d342c1a2cd24cc352538651efe1eae36b06b) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4047 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-448 # 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/448/head:refs/remotes/origin/PR-448 +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/448/head:refs/remotes/origin/PR-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b Merge succeeded, producing d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b Checking out Revision d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b (PR-448) > git config core.sparsecheckout # timeout=10 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # 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 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 Commit message: "Update Requested changes in PR" First time build. Skipping changelog. > git rev-list --no-walk fa19cd8c6fb22d6db9d2c664d705f0413f4561ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:44:22 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 14:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:44:24 14:44:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:44:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:44:25 latest: Pulling from edgex-devops/git-semver 14:44:25 9123ac7c32f7: Pulling fs layer 14:44:25 b8cc5d1170e3: Pulling fs layer 14:44:25 2924cbbf6a41: Pulling fs layer 14:44:25 93b08a4f1073: Pulling fs layer 14:44:25 93b08a4f1073: Waiting 14:44:25 b8cc5d1170e3: Verifying Checksum 14:44:25 b8cc5d1170e3: Download complete 14:44:25 9123ac7c32f7: Verifying Checksum 14:44:25 9123ac7c32f7: Download complete 14:44:25 93b08a4f1073: Verifying Checksum 14:44:25 93b08a4f1073: Download complete 14:44:25 2924cbbf6a41: Verifying Checksum 14:44:25 2924cbbf6a41: Download complete 14:44:25 9123ac7c32f7: Pull complete 14:44:25 b8cc5d1170e3: Pull complete 14:44:26 2924cbbf6a41: Pull complete 14:44:26 93b08a4f1073: Pull complete 14:44:26 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:44:26 prd-centos7-docker-4c-2g-4047 does not seem to be running inside a container 14:44:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 14:44:27 $ docker top 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:44:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:44:27 [ssh-agent] Looking for ssh-agent implementation... 14:44:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:44:27 $ docker exec 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e ssh-agent 14:44:27 SSH_AUTH_SOCK=/tmp/ssh-9hppEKR5325Q/agent.15 14:44:27 SSH_AGENT_PID=21 14:44:27 Running ssh-add (command line suppressed) 14:44:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_5801742213935064028.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_5801742213935064028.key) 14:44:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:44:28 + git describe --exact-match --tags HEAD 14:44:28 fatal: No names found, cannot describe anything. [Pipeline] } 14:44:28 $ docker exec --env ******** --env ******** 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e ssh-agent -k 14:44:28 unset SSH_AUTH_SOCK; 14:44:28 unset SSH_AGENT_PID; 14:44:28 echo Agent pid 21 killed; 14:44:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:44:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:44:28 This usually means this commit has not been tagged. [Pipeline] sshagent 14:44:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:44:28 [ssh-agent] Looking for ssh-agent implementation... 14:44:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:44:29 $ docker exec 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e ssh-agent 14:44:29 SSH_AUTH_SOCK=/tmp/ssh-T35cNPsEH0kV/agent.55 14:44:29 SSH_AGENT_PID=62 14:44:29 Running ssh-add (command line suppressed) 14:44:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_2842339909789217338.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_2842339909789217338.key) 14:44:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:44:29 + git semver init 14:44:29 # -> Open(): unable to determine branch for HEAD 14:44:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git 14:44:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:44:29 # $SEMVER_REMOTE_NAME = origin 14:44:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:44:29 # $SEMVER_USER_NAME = edgex-jenkins 14:44:29 # $SEMVER_BRANCH = PR-448 14:44:29 # $SEMVER_TEMP = /tmp/semver-631838116 14:44:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:44:30 # '/tmp/semver-631838116' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' 14:44:30 # -> Force: false 14:44:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } 14:44:30 $ docker exec --env ******** --env ******** 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e ssh-agent -k 14:44:30 unset SSH_AUTH_SOCK; 14:44:30 unset SSH_AGENT_PID; 14:44:30 echo Agent pid 62 killed; 14:44:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:44:31 + git semver [Pipeline] } 14:44:31 $ docker stop --time=1 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e 14:44:32 $ docker rm -f 24c9d865212c5abf153705deba18a94535f663f6370dca56b2c501b2cd9a409e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:44:33 Stashed 43 file(s) [Pipeline] echo 14:44:33 [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 14:44:48 Still waiting to schedule task 14:44:48 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4047’ 14:44:48 Still waiting to schedule task 14:44:48 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline 14:46:04 Running on prd-centos7-docker-4c-2g-4050 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:46:04 Running in /w/workspace/device-sdk-go/28 [Pipeline] { [Pipeline] checkout 14:46:06 using credential edgex-jenkins-ssh 14:46:06 Cloning the remote Git repository 14:46:06 Cloning with configured refspecs honoured and without tags 14:46:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:46:05 > git init /w/workspace/device-sdk-go/28 # timeout=10 14:46:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:05 > git --version # timeout=10 14:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:07 Fetching without tags 14:46:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:06 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:46:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:07 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:46:07 Merge succeeded, producing d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:46:07 Checking out Revision d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b (PR-448) 14:46:07 > git config core.sparsecheckout # timeout=10 14:46:07 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 14:46:07 > git remote # timeout=10 14:46:07 > git config --get remote.origin.url # timeout=10 14:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:07 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 14:46:07 > git rev-parse HEAD^{commit} # timeout=10 14:46:07 > git config core.sparsecheckout # timeout=10 14:46:07 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 14:46:11 Commit message: "Update Requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:46:12 ========================================================= 14:46:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:46:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:12 + 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 . 14:46:13 Sending build context to Docker daemon 2.9MB 14:46:13 Step 1/8 : ARG BASE=golang:1.13-alpine 14:46:13 Step 2/8 : FROM ${BASE} 14:46:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:46:13 e6b0cf9c0882: Pulling fs layer 14:46:13 2848faf0eed1: Pulling fs layer 14:46:13 0f37312ad70f: Pulling fs layer 14:46:13 5788d62ee057: Pulling fs layer 14:46:13 0e6b1d234666: Pulling fs layer 14:46:13 bf5d7aec512f: Pulling fs layer 14:46:13 34c802a77dc8: Pulling fs layer 14:46:13 9eb99e56ec68: Pulling fs layer 14:46:13 27c7a5d97fbd: Pulling fs layer 14:46:13 5c102a31e300: Pulling fs layer 14:46:13 dcfb455df0a1: Pulling fs layer 14:46:13 5788d62ee057: Waiting 14:46:13 0e6b1d234666: Waiting 14:46:13 bf5d7aec512f: Waiting 14:46:13 27c7a5d97fbd: Waiting 14:46:13 34c802a77dc8: Waiting 14:46:13 5c102a31e300: Waiting 14:46:13 9eb99e56ec68: Waiting 14:46:13 dcfb455df0a1: Waiting 14:46:13 0f37312ad70f: Verifying Checksum 14:46:13 0f37312ad70f: Download complete 14:46:13 2848faf0eed1: Download complete 14:46:13 0e6b1d234666: Verifying Checksum 14:46:13 0e6b1d234666: Download complete 14:46:13 bf5d7aec512f: Verifying Checksum 14:46:13 bf5d7aec512f: Download complete 14:46:13 e6b0cf9c0882: Verifying Checksum 14:46:13 e6b0cf9c0882: Download complete 14:46:13 e6b0cf9c0882: Pull complete 14:46:14 34c802a77dc8: Verifying Checksum 14:46:14 34c802a77dc8: Download complete 14:46:14 27c7a5d97fbd: Verifying Checksum 14:46:14 27c7a5d97fbd: Download complete 14:46:14 5c102a31e300: Verifying Checksum 14:46:14 5c102a31e300: Download complete 14:46:14 dcfb455df0a1: Verifying Checksum 14:46:14 dcfb455df0a1: Download complete 14:46:15 9eb99e56ec68: Verifying Checksum 14:46:15 9eb99e56ec68: Download complete 14:46:15 5788d62ee057: Verifying Checksum 14:46:15 5788d62ee057: Download complete 14:46:16 2848faf0eed1: Pull complete 14:46:16 0f37312ad70f: Pull complete 14:46:22 5788d62ee057: Pull complete 14:46:22 0e6b1d234666: Pull complete 14:46:22 bf5d7aec512f: Pull complete 14:46:27 34c802a77dc8: Pull complete 14:46:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4049 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:46:29 Running in /w/workspace/device-sdk-go/28 [Pipeline] { [Pipeline] checkout 14:46:32 9eb99e56ec68: Pull complete 14:46:32 27c7a5d97fbd: Pull complete 14:46:32 5c102a31e300: Pull complete 14:46:32 dcfb455df0a1: Pull complete 14:46:32 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:46:32 ---> 7c70fe431013 14:46:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:46:32 ---> Running in eaa386a2be2c 14:46:32 Removing intermediate container eaa386a2be2c 14:46:32 ---> 001b16a15d92 14:46:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:46:32 ---> Running in 2e9eaacba44e 14:46:33 Removing intermediate container 2e9eaacba44e 14:46:33 ---> 7b85a5b83520 14:46:33 Step 5/8 : RUN apk add --no-cache make git 14:46:33 ---> Running in 889b104670c3 14:46:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:46:35 using credential edgex-jenkins-ssh 14:46:35 Cloning the remote Git repository 14:46:35 Cloning with configured refspecs honoured and without tags 14:46:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:46:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:46:35 > git init /w/workspace/device-sdk-go/28 # timeout=10 14:46:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:35 > git --version # timeout=10 14:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:35 OK: 143 MiB in 39 packages 14:46:36 Removing intermediate container 889b104670c3 14:46:36 ---> 3d913563523a 14:46:36 Step 6/8 : WORKDIR /device-sdk-go 14:46:36 ---> Running in f5eec7001504 14:46:36 Removing intermediate container f5eec7001504 14:46:36 ---> e91e2091c8e8 14:46:36 Step 7/8 : COPY . . 14:46:36 Fetching without tags 14:46:36 ---> b3070fff4065 14:46:36 Step 8/8 : RUN go mod download 14:46:36 ---> Running in bca043af0a98 14:46:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:36 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:46:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:37 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:46:37 Merge succeeded, producing d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:46:37 Checking out Revision d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b (PR-448) 14:46:37 > git config core.sparsecheckout # timeout=10 14:46:37 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 14:46:37 > git remote # timeout=10 14:46:37 > git config --get remote.origin.url # timeout=10 14:46:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:37 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 14:46:37 > git rev-parse HEAD^{commit} # timeout=10 14:46:37 > git config core.sparsecheckout # timeout=10 14:46:37 > git checkout -f d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b # timeout=10 14:46:38 go: finding github.com/BurntSushi/toml v0.3.1 14:46:38 go: finding github.com/OneOfOne/xxhash v1.2.6 14:46:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:46:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:46:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:46:38 go: finding github.com/bgentry/speakeasy v0.1.0 14:46:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:46:38 go: finding github.com/davecgh/go-spew v1.1.1 14:46:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:46:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:46:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:46:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:46:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:46:38 go: finding github.com/fatih/color v1.7.0 14:46:38 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:46:39 go: finding github.com/go-kit/kit v0.8.0 14:46:39 go: finding github.com/go-logfmt/logfmt v0.4.0 14:46:39 go: finding github.com/go-stack/stack v1.8.0 14:46:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:46:39 go: finding github.com/google/uuid v1.1.0 14:46:39 go: finding github.com/gorilla/mux v1.7.1 14:46:39 go: finding github.com/hashicorp/consul/api v1.1.0 14:46:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:46:39 go: finding github.com/hashicorp/errwrap v1.0.0 14:46:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:46:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:46:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:46:39 go: finding github.com/hashicorp/go-multierror v1.0.0 14:46:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:46:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:46:39 go: finding github.com/hashicorp/go-syslog v1.0.0 14:46:39 go: finding github.com/hashicorp/go-uuid v1.0.1 14:46:39 go: finding github.com/hashicorp/go.net v0.0.1 14:46:39 go: finding github.com/hashicorp/golang-lru v0.5.0 14:46:39 go: finding github.com/hashicorp/logutils v1.0.0 14:46:39 go: finding github.com/hashicorp/mdns v1.0.0 14:46:39 go: finding github.com/hashicorp/memberlist v0.1.3 14:46:39 go: finding github.com/hashicorp/serf v0.8.2 14:46:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:46:39 go: finding github.com/mattn/go-colorable v0.0.9 14:46:39 go: finding github.com/mattn/go-isatty v0.0.3 14:46:39 go: finding github.com/miekg/dns v1.0.14 14:46:39 go: finding github.com/mitchellh/cli v1.0.0 14:46:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:46:39 go: finding github.com/mitchellh/copystructure v1.0.0 14:46:39 go: finding github.com/mitchellh/go-homedir v1.0.0 14:46:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:46:39 go: finding github.com/mitchellh/gox v0.4.0 14:46:39 go: finding github.com/mitchellh/iochan v1.0.0 14:46:39 go: finding github.com/mitchellh/mapstructure v1.1.2 14:46:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:46:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:46:39 go: finding github.com/pelletier/go-toml v1.2.0 14:46:39 go: finding github.com/pkg/errors v0.8.1 14:46:39 go: finding github.com/pmezard/go-difflib v1.0.0 14:46:39 go: finding github.com/posener/complete v1.1.1 14:46:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:46:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:46:39 go: finding github.com/stretchr/objx v0.1.0 14:46:39 go: finding github.com/stretchr/testify v1.5.1 14:46:39 go: finding github.com/ugorji/go v1.1.4 14:46:39 go: finding github.com/x448/float16 v0.8.4 14:46:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:46:39 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:46:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:46:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:46:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:46:39 go: finding gopkg.in/yaml.v2 v2.2.8 14:46:42 Commit message: "Update Requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:46:43 ========================================================= 14:46:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:46:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:44 + 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 . 14:46:45 Removing intermediate container bca043af0a98 14:46:45 ---> 9669df1381cd 14:46:45 Successfully built 9669df1381cd 14:46:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 14:46:45 Sending build context to Docker daemon 2.9MB 14:46:45 Step 1/8 : ARG BASE=golang:1.13-alpine 14:46:45 Step 2/8 : FROM ${BASE} [Pipeline] isUnix [Pipeline] sh 14:46:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:46:45 cde5963f3b93: Pulling fs layer 14:46:45 2a23fa8c16f7: Pulling fs layer 14:46:45 777b28850792: Pulling fs layer 14:46:45 8a11ddd9e578: Pulling fs layer 14:46:45 4cf88f913ddb: Pulling fs layer 14:46:45 1df406cf5192: Pulling fs layer 14:46:45 cd6300453558: Pulling fs layer 14:46:45 b9c365052c96: Pulling fs layer 14:46:45 a2d8cc88f415: Pulling fs layer 14:46:45 ea1d1ca13537: Pulling fs layer 14:46:45 3750a50a1c5e: Pulling fs layer 14:46:45 8a11ddd9e578: Waiting 14:46:45 b9c365052c96: Waiting 14:46:45 4cf88f913ddb: Waiting 14:46:45 1df406cf5192: Waiting 14:46:45 cd6300453558: Waiting 14:46:45 a2d8cc88f415: Waiting 14:46:45 3750a50a1c5e: Waiting 14:46:45 ea1d1ca13537: Waiting 14:46:45 777b28850792: Verifying Checksum 14:46:45 777b28850792: Download complete 14:46:45 4cf88f913ddb: Download complete 14:46:45 1df406cf5192: Download complete 14:46:45 + docker inspect -f . ci-base-image-x86_64 14:46:45 . [Pipeline] withDockerContainer 14:46:45 cde5963f3b93: Download complete 14:46:45 prd-centos7-docker-4c-2g-4050 does not seem to be running inside a container 14:46:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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 ******** ci-base-image-x86_64 cat 14:46:46 cde5963f3b93: Pull complete 14:46:47 $ docker top 8d6bc3b48f167c7906cc6ef131fdb77b34fa7a5905724403900a6f59953c6396 -eo pid,comm 14:46:47 2a23fa8c16f7: Pull complete 14:46:47 777b28850792: Pull complete [Pipeline] { [Pipeline] sh 14:46:47 + go version 14:46:47 go version go1.13.5 linux/amd64 [Pipeline] sh 14:46:48 + make test 14:46:48 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:46:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:46:49 cd6300453558: Verifying Checksum 14:46:49 cd6300453558: Download complete 14:46:49 a2d8cc88f415: Download complete 14:46:52 ea1d1ca13537: Verifying Checksum 14:46:52 ea1d1ca13537: Download complete 14:46:52 3750a50a1c5e: Verifying Checksum 14:46:52 3750a50a1c5e: Download complete 14:46:55 b9c365052c96: Verifying Checksum 14:46:55 b9c365052c96: Download complete 14:46:56 8a11ddd9e578: Verifying Checksum 14:46:56 8a11ddd9e578: Download complete 14:46:58 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:46:58 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:46:58 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.009s coverage: 22.1% of statements 14:47:05 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.043s coverage: 95.8% of statements 14:47:08 8a11ddd9e578: Pull complete 14:47:08 4cf88f913ddb: Pull complete 14:47:08 1df406cf5192: Pull complete 14:47:14 cd6300453558: Pull complete 14:47:19 b9c365052c96: Pull complete 14:47:19 a2d8cc88f415: Pull complete 14:47:21 ea1d1ca13537: Pull complete 14:47:21 3750a50a1c5e: Pull complete 14:47:21 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:47:21 ---> 78745c68409d 14:47:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:25 ---> Running in 82b879e9a8d6 14:47:25 Removing intermediate container 82b879e9a8d6 14:47:25 ---> 992d5a50afe9 14:47:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:26 ---> Running in 49345b5f0917 14:47:28 Removing intermediate container 49345b5f0917 14:47:28 ---> dd4cbd39f8a5 14:47:28 Step 5/8 : RUN apk add --no-cache make git 14:47:28 ---> Running in b63191a10d99 14:47:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:47:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:47:30 OK: 125 MiB in 39 packages 14:47:31 Removing intermediate container b63191a10d99 14:47:31 ---> 71b2ac0e2e94 14:47:31 Step 6/8 : WORKDIR /device-sdk-go 14:47:31 ---> Running in 524aecaf525c 14:47:32 Removing intermediate container 524aecaf525c 14:47:32 ---> 7f83642b47cf 14:47:32 Step 7/8 : COPY . . 14:47:33 ---> b08527618f03 14:47:33 Step 8/8 : RUN go mod download 14:47:33 ---> Running in aee031af9ff9 14:47:35 go: finding github.com/BurntSushi/toml v0.3.1 14:47:35 go: finding github.com/OneOfOne/xxhash v1.2.6 14:47:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:47:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:47:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:47:35 go: finding github.com/bgentry/speakeasy v0.1.0 14:47:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:47:35 go: finding github.com/davecgh/go-spew v1.1.1 14:47:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:47:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:47:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:47:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:47:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:47:35 go: finding github.com/fatih/color v1.7.0 14:47:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:47:35 go: finding github.com/go-kit/kit v0.8.0 14:47:35 go: finding github.com/go-logfmt/logfmt v0.4.0 14:47:35 go: finding github.com/go-stack/stack v1.8.0 14:47:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:47:35 go: finding github.com/google/uuid v1.1.0 14:47:35 go: finding github.com/gorilla/mux v1.7.1 14:47:35 go: finding github.com/hashicorp/consul/api v1.1.0 14:47:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:47:35 go: finding github.com/hashicorp/errwrap v1.0.0 14:47:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:47:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:47:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:47:36 go: finding github.com/hashicorp/go-multierror v1.0.0 14:47:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:47:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:47:36 go: finding github.com/hashicorp/go-syslog v1.0.0 14:47:36 go: finding github.com/hashicorp/go-uuid v1.0.1 14:47:36 go: finding github.com/hashicorp/go.net v0.0.1 14:47:36 go: finding github.com/hashicorp/golang-lru v0.5.0 14:47:36 go: finding github.com/hashicorp/logutils v1.0.0 14:47:36 go: finding github.com/hashicorp/mdns v1.0.0 14:47:36 go: finding github.com/hashicorp/memberlist v0.1.3 14:47:36 go: finding github.com/hashicorp/serf v0.8.2 14:47:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:47:36 go: finding github.com/mattn/go-colorable v0.0.9 14:47:36 go: finding github.com/mattn/go-isatty v0.0.3 14:47:36 go: finding github.com/miekg/dns v1.0.14 14:47:36 go: finding github.com/mitchellh/cli v1.0.0 14:47:36 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:47:36 go: finding github.com/mitchellh/copystructure v1.0.0 14:47:36 go: finding github.com/mitchellh/go-homedir v1.0.0 14:47:36 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:47:36 go: finding github.com/mitchellh/gox v0.4.0 14:47:36 go: finding github.com/mitchellh/iochan v1.0.0 14:47:36 go: finding github.com/mitchellh/mapstructure v1.1.2 14:47:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:47:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:47:36 go: finding github.com/pelletier/go-toml v1.2.0 14:47:36 go: finding github.com/pkg/errors v0.8.1 14:47:36 go: finding github.com/pmezard/go-difflib v1.0.0 14:47:36 go: finding github.com/posener/complete v1.1.1 14:47:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:47:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:47:36 go: finding github.com/stretchr/objx v0.1.0 14:47:36 go: finding github.com/stretchr/testify v1.5.1 14:47:36 go: finding github.com/ugorji/go v1.1.4 14:47:36 go: finding github.com/x448/float16 v0.8.4 14:47:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:47:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:47:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:47:36 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:47:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:47:36 go: finding gopkg.in/yaml.v2 v2.2.8 14:47:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.019s coverage: 11.4% of statements 14:47:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:47:37 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.122s coverage: 36.9% of statements 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:47:37 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.480s coverage: 74.9% of statements 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:47:37 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements 14:47:37 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:47:37 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.096s coverage: 71.4% of statements 14:47:37 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:47:37 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:47:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:47:37 gofmt -l . 14:47:37 [ "`gofmt -l .`" = "" ] 14:47:37 ./bin/test-attribution-txt.sh 14:47:37 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:47:38 Stashed 1 file(s) [Pipeline] } 14:47:38 $ docker stop --time=1 8d6bc3b48f167c7906cc6ef131fdb77b34fa7a5905724403900a6f59953c6396 14:47:39 $ docker rm -f 8d6bc3b48f167c7906cc6ef131fdb77b34fa7a5905724403900a6f59953c6396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:47:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:47:41 + ls -al . 14:47:41 total 160 14:47:41 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 15 14:47 . 14:47:41 drwxrwxr-x. 4 jenkins jenkins 30 Apr 15 14:46 .. 14:47:41 drwxrwxr-x. 3 jenkins jenkins 20 Apr 15 14:46 api 14:47:41 drwxrwxr-x. 2 jenkins jenkins 64 Apr 15 14:46 bin 14:47:41 -rw-r--r--. 1 jenkins jenkins 97497 Apr 15 14:47 coverage.out 14:47:41 -rw-rw-r--. 1 jenkins jenkins 936 Apr 15 14:46 Dockerfile.build 14:47:41 -rw-rw-r--. 1 jenkins jenkins 140 Apr 15 14:46 .dockerignore 14:47:41 drwxrwxr-x. 4 jenkins jenkins 48 Apr 15 14:46 example 14:47:41 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 14:46 .git 14:47:41 drwxrwxr-x. 2 jenkins jenkins 38 Apr 15 14:46 .github 14:47:41 -rw-rw-r--. 1 jenkins jenkins 138 Apr 15 14:46 .gitignore 14:47:41 -rw-r--r--. 1 jenkins jenkins 446 Apr 15 14:47 go.mod 14:47:41 -rw-r--r--. 1 jenkins jenkins 12076 Apr 15 14:47 go.sum 14:47:41 drwxrwxr-x. 15 jenkins jenkins 217 Apr 15 14:46 internal 14:47:41 -rw-rw-r--. 1 jenkins jenkins 808 Apr 15 14:46 Jenkinsfile 14:47:41 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 15 14:46 LICENSE 14:47:41 -rw-rw-r--. 1 jenkins jenkins 892 Apr 15 14:46 Makefile 14:47:41 drwxrwxr-x. 5 jenkins jenkins 50 Apr 15 14:46 pkg 14:47:41 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 15 14:46 README.md 14:47:41 drwxrwxr-x. 3 jenkins jenkins 58 Apr 15 14:46 .semver 14:47:41 drwxrwxr-x. 4 jenkins jenkins 54 Apr 15 14:46 snap 14:47:41 -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 14:44 VERSION 14:47:41 -rw-rw-r--. 1 jenkins jenkins 222 Apr 15 14:46 version.go [Pipeline] isUnix [Pipeline] sh 14:47:41 + 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=d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b --label arch=amd64 --label version=0.0.0 . 14:47:42 Sending build context to Docker daemon 3.019MB 14:47:42 Step 1/21 : ARG BASE=golang:1.13-alpine 14:47:42 Step 2/21 : FROM ${BASE} AS builder 14:47:42 ---> 9669df1381cd 14:47:42 Step 3/21 : ARG MAKE='make build' 14:47:42 ---> Running in 56fe0ffc4b03 14:47:42 Removing intermediate container 56fe0ffc4b03 14:47:42 ---> 28714a5b3741 14:47:42 Step 4/21 : WORKDIR /device-sdk-go 14:47:42 ---> Running in 50dab790b2bf 14:47:42 Removing intermediate container 50dab790b2bf 14:47:42 ---> feafa9c51fab 14:47:42 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:42 ---> Running in 6794f9eb56d9 14:47:42 Removing intermediate container 6794f9eb56d9 14:47:42 ---> 05c2637187f7 14:47:42 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:42 ---> Running in 8e371cd23e8f 14:47:43 Removing intermediate container 8e371cd23e8f 14:47:43 ---> f918dbfc36d2 14:47:43 Step 7/21 : RUN apk add --update --no-cache make git 14:47:43 ---> Running in 33b0750347a4 14:47:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:47:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:47:44 OK: 143 MiB in 39 packages 14:47:45 Removing intermediate container 33b0750347a4 14:47:45 ---> 7db323385b48 14:47:45 Step 8/21 : COPY . . 14:47:45 ---> 168789324c30 14:47:45 Step 9/21 : RUN ${MAKE} 14:47:45 ---> Running in db4afe3ea712 14:47:45 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 14:47:46 Removing intermediate container aee031af9ff9 14:47:46 ---> b9e8c195e1cc 14:47:46 Successfully built b9e8c195e1cc 14:47:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:47:47 + docker inspect -f . ci-base-image-arm64 14:47:47 . [Pipeline] withDockerContainer 14:47:47 prd-ubuntu18.04-docker-arm64-4c-16g-4049 does not seem to be running inside a container 14:47:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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 14:47:48 $ docker top 1c29bb225d4313c04dd6596cccd4d5817f45286dc9341e6ea5ec518b308e2c5c -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:49 + go version 14:47:49 go version go1.13.5 linux/arm64 [Pipeline] sh 14:47:50 + make test 14:47:50 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:47:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:47:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:47:54 Removing intermediate container db4afe3ea712 14:47:54 ---> 3606c1b89a99 14:47:54 Step 10/21 : FROM scratch 14:47:54 ---> 14:47:54 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:54 ---> Running in c5bf7b5b59c1 14:47:54 Removing intermediate container c5bf7b5b59c1 14:47:54 ---> 7ea35e57d162 14:47:54 Step 12/21 : ENV APP_PORT=49990 14:47:54 ---> Running in f3ac5f7271ce 14:47:54 Removing intermediate container f3ac5f7271ce 14:47:54 ---> fc8560721459 14:47:54 Step 13/21 : EXPOSE $APP_PORT 14:47:54 ---> Running in bf7f6da44972 14:47:54 Removing intermediate container bf7f6da44972 14:47:54 ---> 18dfaed9cb3b 14:47:54 Step 14/21 : WORKDIR / 14:47:54 ---> Running in 1eb74518fce0 14:47:54 Removing intermediate container 1eb74518fce0 14:47:54 ---> 08cc607f1f67 14:47:54 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:47:55 ---> 5ce71decfa14 14:47:55 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:47:55 ---> 6fb7a8a4d2d3 14:47:55 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:47:55 ---> 9630a5a338d2 14:47:55 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:47:55 ---> Running in 5cfafb1dd837 14:47:55 Removing intermediate container 5cfafb1dd837 14:47:55 ---> 9308c771bb5c 14:47:55 Step 19/21 : LABEL arch=amd64 14:47:55 ---> Running in ce2a65152d94 14:47:55 Removing intermediate container ce2a65152d94 14:47:55 ---> e18f1201d5f5 14:47:55 Step 20/21 : LABEL git_sha=d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:47:55 ---> Running in df9263ac406f 14:47:56 Removing intermediate container df9263ac406f 14:47:56 ---> 13c40be2ee2c 14:47:56 Step 21/21 : LABEL version=0.0.0 14:47:56 ---> Running in 403db2fd756a 14:47:56 Removing intermediate container 403db2fd756a 14:47:56 ---> a417707c3f6b 14:47:56 [Warning] One or more build-args [ARCH] were not consumed 14:47:56 Successfully built a417707c3f6b 14:47:56 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:48:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:48:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:48:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:48:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 14:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.181s coverage: 95.8% of statements 14:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 11.4% of statements 14:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 22.1% of statements 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.125s coverage: 36.9% of statements 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.677s coverage: 74.9% of statements 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.038s coverage: 52.6% of statements 14:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:48:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 71.4% of statements 14:48:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:48:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:48:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:48:58 gofmt -l . 14:48:59 [ "`gofmt -l .`" = "" ] 14:48:59 ./bin/test-attribution-txt.sh 14:49:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:49:01 Warning: overwriting stash ‘coverage-report’ 14:49:01 Stashed 1 file(s) [Pipeline] } 14:49:01 $ docker stop --time=1 1c29bb225d4313c04dd6596cccd4d5817f45286dc9341e6ea5ec518b308e2c5c 14:49:03 $ docker rm -f 1c29bb225d4313c04dd6596cccd4d5817f45286dc9341e6ea5ec518b308e2c5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:49:05 + ls -al . 14:49:05 total 200 14:49:05 drwxrwxr-x 11 jenkins jenkins 4096 Apr 15 14:49 . 14:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 14:46 .. 14:49:05 -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 14:46 .dockerignore 14:49:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 14:46 .git 14:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 14:46 .github 14:49:05 -rw-rw-r-- 1 jenkins jenkins 138 Apr 15 14:46 .gitignore 14:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 14:46 .semver 14:49:05 -rw-rw-r-- 1 jenkins jenkins 936 Apr 15 14:46 Dockerfile.build 14:49:05 -rw-rw-r-- 1 jenkins jenkins 808 Apr 15 14:46 Jenkinsfile 14:49:05 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 14:46 LICENSE 14:49:05 -rw-rw-r-- 1 jenkins jenkins 892 Apr 15 14:46 Makefile 14:49:05 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 15 14:46 README.md 14:49:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 14:44 VERSION 14:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 14:46 api 14:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 14:46 bin 14:49:05 -rw-r--r-- 1 jenkins jenkins 97497 Apr 15 14:48 coverage.out 14:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 14:46 example 14:49:05 -rw-r--r-- 1 jenkins jenkins 446 Apr 15 14:49 go.mod 14:49:05 -rw-r--r-- 1 jenkins jenkins 12076 Apr 15 14:49 go.sum 14:49:05 drwxrwxr-x 15 jenkins jenkins 4096 Apr 15 14:46 internal 14:49:05 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 14:46 pkg 14:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 14:46 snap 14:49:05 -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 14:46 version.go [Pipeline] isUnix [Pipeline] sh 14:49:05 + 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=d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b --label arch=arm64 --label version=0.0.0 . 14:49:06 Sending build context to Docker daemon 3.019MB 14:49:06 Step 1/21 : ARG BASE=golang:1.13-alpine 14:49:06 Step 2/21 : FROM ${BASE} AS builder 14:49:06 ---> b9e8c195e1cc 14:49:06 Step 3/21 : ARG MAKE='make build' 14:49:06 ---> Running in 700bb5f0982f 14:49:06 Removing intermediate container 700bb5f0982f 14:49:06 ---> 5c1eb398951c 14:49:06 Step 4/21 : WORKDIR /device-sdk-go 14:49:06 ---> Running in fba10f7290f3 14:49:07 Removing intermediate container fba10f7290f3 14:49:07 ---> 63f505eb6910 14:49:07 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:49:07 ---> Running in 66cae8c350f0 14:49:07 Removing intermediate container 66cae8c350f0 14:49:07 ---> 4a6c202eff61 14:49:07 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:49:07 ---> Running in acf2208af93c 14:49:09 Removing intermediate container acf2208af93c 14:49:09 ---> ab648f117d28 14:49:09 Step 7/21 : RUN apk add --update --no-cache make git 14:49:09 ---> Running in a88a067820a7 14:49:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:49:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:49:11 OK: 125 MiB in 39 packages 14:49:13 Removing intermediate container a88a067820a7 14:49:13 ---> fee8158a6dfd 14:49:13 Step 8/21 : COPY . . 14:49:16 ---> ad21c4a5fa03 14:49:16 Step 9/21 : RUN ${MAKE} 14:49:16 ---> Running in 1f218e6c2ad2 14:49:16 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 14:49:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:49:42 Removing intermediate container 1f218e6c2ad2 14:49:42 ---> c11c03a00ed2 14:49:42 Step 10/21 : FROM scratch 14:49:42 ---> 14:49:42 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:49:42 ---> Running in 1030163f5168 14:49:42 Removing intermediate container 1030163f5168 14:49:42 ---> 7e5e790d0f08 14:49:42 Step 12/21 : ENV APP_PORT=49990 14:49:42 ---> Running in 3d00ea2710ed 14:49:42 Removing intermediate container 3d00ea2710ed 14:49:42 ---> 717ebbe71515 14:49:42 Step 13/21 : EXPOSE $APP_PORT 14:49:42 ---> Running in 2d5404e6e356 14:49:43 Removing intermediate container 2d5404e6e356 14:49:43 ---> 631cdd3b555c 14:49:43 Step 14/21 : WORKDIR / 14:49:43 ---> Running in ce6ef889a736 14:49:43 Removing intermediate container ce6ef889a736 14:49:43 ---> 0d891d99a0bf 14:49:43 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:49:44 ---> 89e593ff9fbb 14:49:44 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:49:44 ---> 24aef7fffdeb 14:49:44 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:49:45 ---> 41bb574b6ae0 14:49:45 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:49:45 ---> Running in e2ad0f7d4292 14:49:46 Removing intermediate container e2ad0f7d4292 14:49:46 ---> f077156b1ee2 14:49:46 Step 19/21 : LABEL arch=arm64 14:49:46 ---> Running in f23392bc368e 14:49:46 Removing intermediate container f23392bc368e 14:49:46 ---> 59f2c9ffcf59 14:49:46 Step 20/21 : LABEL git_sha=d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b 14:49:46 ---> Running in 1680e9055f33 14:49:46 Removing intermediate container 1680e9055f33 14:49:46 ---> 0f39f379981a 14:49:46 Step 21/21 : LABEL version=0.0.0 14:49:46 ---> Running in 0ba62315552a 14:49:47 Removing intermediate container 0ba62315552a 14:49:47 ---> fe7c64d00817 14:49:47 [Warning] One or more build-args [ARCH] were not consumed 14:49:47 Successfully built fe7c64d00817 14:49:47 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 14:49:48 provisioning config files... 14:49:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config591069474351006670tmp [Pipeline] { [Pipeline] sh 14:49:48 + curl -s https://codecov.io/bash 14:49:48 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config591069474351006670tmp 14:49:49 14:49:49 _____ _ 14:49:49 / ____| | | 14:49:49 | | ___ __| | ___ ___ _____ __ 14:49:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:49:49 | |___| (_) | (_| | __/ (_| (_) \ V / 14:49:49 \_____\___/ \__,_|\___|\___\___/ \_/ 14:49:49 Bash-20200410-0786dee 14:49:49 14:49:49 14:49:49 ==> Jenkins CI detected. 14:49:49 project root: . 14:49:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:49:49 ==> Running gcov in . (disable via -X gcov) 14:49:49 ==> Python coveragepy not found 14:49:49 ==> Searching for coverage reports in: 14:49:49 + . 14:49:49 -> Found 1 reports 14:49:49 ==> Detecting git/mercurial file structure 14:49:49 ==> Reading reports 14:49:49 + ./coverage.out bytes=97497 14:49:49 ==> Appending adjustments 14:49:49 http://docs.codecov.io/docs/fixing-reports 14:49:49 + Found adjustments 14:49:49 ==> Gzipping contents 14:49:49 ==> Uploading reports 14:49:49 url: https://codecov.io 14:49:49 query: branch=PR-448&commit=d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 14:49:49 -> Pinging Codecov 14:49:49 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-448&commit=d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 14:49:49 -> Uploading 14:49:50 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d3b2d2a537f2cfa9cd2a3829cacd9f5649d22e2b [Pipeline] } 14:49:50 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 14:49:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:49:52 ---> package-listing.sh 14:49:52 ++ facter osfamily 14:49:52 ++ tr '[:upper:]' '[:lower:]' 14:49:52 + OS_FAMILY=redhat 14:49:52 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 14:49:52 + START_PACKAGES=/tmp/packages_start.txt 14:49:52 + END_PACKAGES=/tmp/packages_end.txt 14:49:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:49:52 + PACKAGES=/tmp/packages_start.txt 14:49:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:49:52 + PACKAGES=/tmp/packages_end.txt 14:49:52 + case "${OS_FAMILY}" in 14:49:52 + rpm -qa 14:49:52 + sort 14:49:56 + '[' -f /tmp/packages_start.txt ']' 14:49:56 + '[' -f /tmp/packages_end.txt ']' 14:49:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:49:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:49:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ 14:49:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh 14:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:56 14:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:49:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:56 alpine: Pulling from edgex-lftools-log-publisher 14:49:56 c9b1b535fdd9: Pulling fs layer 14:49:56 2cc5ad85d9ab: Pulling fs layer 14:49:56 756a868c4378: Pulling fs layer 14:49:56 444b2fc9a129: Pulling fs layer 14:49:56 ea15f1150254: Pulling fs layer 14:49:56 41b27a9f41bf: Pulling fs layer 14:49:56 28c525ee5125: Pulling fs layer 14:49:56 094b1ea09ed8: Pulling fs layer 14:49:56 138eaada9080: Pulling fs layer 14:49:56 0622d0fa9048: Pulling fs layer 14:49:56 41b27a9f41bf: Waiting 14:49:56 28c525ee5125: Waiting 14:49:56 094b1ea09ed8: Waiting 14:49:56 138eaada9080: Waiting 14:49:56 0622d0fa9048: Waiting 14:49:56 ea15f1150254: Waiting 14:49:56 444b2fc9a129: Waiting 14:49:56 2cc5ad85d9ab: Verifying Checksum 14:49:56 2cc5ad85d9ab: Download complete 14:49:56 444b2fc9a129: Verifying Checksum 14:49:56 444b2fc9a129: Download complete 14:49:56 c9b1b535fdd9: Download complete 14:49:56 ea15f1150254: Verifying Checksum 14:49:56 ea15f1150254: Download complete 14:49:57 28c525ee5125: Verifying Checksum 14:49:57 28c525ee5125: Download complete 14:49:57 756a868c4378: Verifying Checksum 14:49:57 756a868c4378: Download complete 14:49:57 c9b1b535fdd9: Pull complete 14:49:57 138eaada9080: Verifying Checksum 14:49:57 138eaada9080: Download complete 14:49:57 094b1ea09ed8: Verifying Checksum 14:49:57 094b1ea09ed8: Download complete 14:49:57 0622d0fa9048: Verifying Checksum 14:49:57 0622d0fa9048: Download complete 14:49:57 2cc5ad85d9ab: Pull complete 14:49:58 41b27a9f41bf: Verifying Checksum 14:49:58 41b27a9f41bf: Download complete 14:49:58 756a868c4378: Pull complete 14:49:58 444b2fc9a129: Pull complete 14:49:59 ea15f1150254: Pull complete 14:50:02 41b27a9f41bf: Pull complete 14:50:02 28c525ee5125: Pull complete 14:50:04 094b1ea09ed8: Pull complete 14:50:05 138eaada9080: Pull complete 14:50:05 0622d0fa9048: Pull complete 14:50:05 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:50:05 prd-centos7-docker-4c-2g-4047 does not seem to be running inside a container 14:50:05 $ 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-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 14:50:06 $ docker top a57de630d6ac8babb3435ae6c6004a0757bed23c626fef614924e3e223afa100 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:50:06 provisioning config files... 14:50:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config7608109537212070677tmp [Pipeline] { [Pipeline] echo 14:50:06 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:50:07 ---> create-netrc.sh [Pipeline] echo 14:50:07 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:50:07 ---> logs-deploy.sh 14:50:07 + ARCHIVE_ARTIFACTS= 14:50:07 + LOGS_SERVER=https://logs.edgexfoundry.org 14:50:07 + '[' https://logs.edgexfoundry.org == None ']' 14:50:07 + NEXUS_URL=https://nexus.edgexfoundry.org 14:50:07 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/28 14:50:07 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/28/ 14:50:07 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/28 /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:50:08 Archives upload complete. 14:50:08 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/28 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/28/