Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c9979804ccd04a40c7aa62bb85d5611f1e38dae2+1bb097ad4365b735bfef0648a55752ad7a9b68a1 (f20157f9cf1149309fa36b738f906c6be576295b) 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-3270 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 Merge succeeded, producing d79618ee95b0f1bb9e8c991ef47751f8294e739c Checking out Revision d79618ee95b0f1bb9e8c991ef47751f8294e739c (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # 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 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d79618ee95b0f1bb9e8c991ef47751f8294e739c # timeout=10 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" > git rev-list --no-walk c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:16 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:42:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:17 14:42:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:18 latest: Pulling from edgex-devops/git-semver 14:42:18 9123ac7c32f7: Pulling fs layer 14:42:18 b8cc5d1170e3: Pulling fs layer 14:42:18 2924cbbf6a41: Pulling fs layer 14:42:18 93b08a4f1073: Pulling fs layer 14:42:18 93b08a4f1073: Waiting 14:42:18 b8cc5d1170e3: Download complete 14:42:18 9123ac7c32f7: Verifying Checksum 14:42:18 9123ac7c32f7: Download complete 14:42:18 2924cbbf6a41: Verifying Checksum 14:42:18 2924cbbf6a41: Download complete 14:42:18 93b08a4f1073: Verifying Checksum 14:42:18 93b08a4f1073: Download complete 14:42:18 9123ac7c32f7: Pull complete 14:42:18 b8cc5d1170e3: Pull complete 14:42:19 2924cbbf6a41: Pull complete 14:42:19 93b08a4f1073: Pull complete 14:42:19 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:42:19 prd-centos7-docker-4c-2g-3270 does not seem to be running inside a container 14:42:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:42:20 $ docker top 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:20 [ssh-agent] Looking for ssh-agent implementation... 14:42:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:20 $ docker exec 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent 14:42:21 SSH_AUTH_SOCK=/tmp/ssh-aZozOEemOihU/agent.15 14:42:21 SSH_AGENT_PID=22 14:42:21 Running ssh-add (command line suppressed) 14:42:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6753120359607783260.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6753120359607783260.key) 14:42:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:21 + git describe --exact-match --tags HEAD 14:42:21 fatal: No names found, cannot describe anything. [Pipeline] } 14:42:21 $ docker exec --env ******** --env ******** 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent -k 14:42:21 unset SSH_AUTH_SOCK; 14:42:21 unset SSH_AGENT_PID; 14:42:21 echo Agent pid 22 killed; 14:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:42:21 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:42:21 This usually means this commit has not been tagged. [Pipeline] sshagent 14:42:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:22 [ssh-agent] Looking for ssh-agent implementation... 14:42:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:22 $ docker exec 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent 14:42:22 SSH_AUTH_SOCK=/tmp/ssh-9wXedxL1v61U/agent.57 14:42:22 SSH_AGENT_PID=64 14:42:22 Running ssh-add (command line suppressed) 14:42:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_1466081108525946128.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_1466081108525946128.key) 14:42:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:23 + git semver init 14:42:23 # -> Open(): unable to determine branch for HEAD 14:42:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git 14:42:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 14:42:23 # $SEMVER_REMOTE_NAME = origin 14:42:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:42:23 # $SEMVER_USER_NAME = edgex-jenkins 14:42:23 # $SEMVER_BRANCH = PR-464 14:42:23 # $SEMVER_TEMP = /tmp/semver-833722645 14:42:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:42:23 # '/tmp/semver-833722645' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' 14:42:23 # -> Force: false 14:42:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } 14:42:23 $ docker exec --env ******** --env ******** 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent -k 14:42:23 unset SSH_AUTH_SOCK; 14:42:23 unset SSH_AGENT_PID; 14:42:23 echo Agent pid 64 killed; 14:42:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:24 + git semver [Pipeline] } 14:42:24 $ docker stop --time=1 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b 14:42:25 $ docker rm -f 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:42:26 Stashed 40 file(s) [Pipeline] echo 14:42:26 [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:42:41 Still waiting to schedule task 14:42:41 ‘prd-centos7-blackbox-4c-2g-3263’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3272’ is offline 14:42:41 Still waiting to schedule task 14:42:41 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 14:43:46 Running on prd-centos7-docker-4c-2g-3274 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 14:43:46 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 14:43:48 using credential edgex-jenkins-ssh 14:43:48 Cloning the remote Git repository 14:43:48 Cloning with configured refspecs honoured and without tags 14:43:49 Fetching without tags 14:43:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:43:49 > git init /w/workspace/device-sdk-go/16 # timeout=10 14:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:43:49 > git --version # timeout=10 14:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:43:49 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 14:43:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:43:50 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 14:43:50 Merge succeeded, producing f1b4b86c75a9041462e1612c18eeef821ff2de20 14:43:50 Checking out Revision f1b4b86c75a9041462e1612c18eeef821ff2de20 (PR-464) 14:43:50 > git config core.sparsecheckout # timeout=10 14:43:50 > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 14:43:50 > git remote # timeout=10 14:43:50 > git config --get remote.origin.url # timeout=10 14:43:50 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:50 > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 14:43:50 > git rev-parse HEAD^{commit} # timeout=10 14:43:50 > git config core.sparsecheckout # timeout=10 14:43:50 > git checkout -f f1b4b86c75a9041462e1612c18eeef821ff2de20 # timeout=10 14:43:54 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" 14:43:54 > git rev-list --no-walk c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:43:54 ========================================================= 14:43:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:43:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:43:55 + 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:43:55 Sending build context to Docker daemon 2.876MB 14:43:55 Step 1/8 : ARG BASE=golang:1.13-alpine 14:43:55 Step 2/8 : FROM ${BASE} 14:43:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:43:55 e6b0cf9c0882: Pulling fs layer 14:43:55 2848faf0eed1: Pulling fs layer 14:43:55 0f37312ad70f: Pulling fs layer 14:43:55 5788d62ee057: Pulling fs layer 14:43:55 0e6b1d234666: Pulling fs layer 14:43:55 bf5d7aec512f: Pulling fs layer 14:43:55 34c802a77dc8: Pulling fs layer 14:43:55 9eb99e56ec68: Pulling fs layer 14:43:55 27c7a5d97fbd: Pulling fs layer 14:43:55 5c102a31e300: Pulling fs layer 14:43:55 dcfb455df0a1: Pulling fs layer 14:43:55 5788d62ee057: Waiting 14:43:55 0e6b1d234666: Waiting 14:43:55 bf5d7aec512f: Waiting 14:43:55 5c102a31e300: Waiting 14:43:55 34c802a77dc8: Waiting 14:43:55 dcfb455df0a1: Waiting 14:43:55 9eb99e56ec68: Waiting 14:43:55 27c7a5d97fbd: Waiting 14:43:55 0f37312ad70f: Verifying Checksum 14:43:55 0f37312ad70f: Download complete 14:43:55 2848faf0eed1: Download complete 14:43:55 0e6b1d234666: Verifying Checksum 14:43:55 0e6b1d234666: Download complete 14:43:55 bf5d7aec512f: Verifying Checksum 14:43:55 bf5d7aec512f: Download complete 14:43:56 e6b0cf9c0882: Verifying Checksum 14:43:56 e6b0cf9c0882: Pull complete 14:43:56 2848faf0eed1: Pull complete 14:43:56 34c802a77dc8: Verifying Checksum 14:43:56 34c802a77dc8: Download complete 14:43:56 27c7a5d97fbd: Verifying Checksum 14:43:56 27c7a5d97fbd: Download complete 14:43:57 5c102a31e300: Download complete 14:43:57 dcfb455df0a1: Verifying Checksum 14:43:57 dcfb455df0a1: Download complete 14:43:57 5788d62ee057: Verifying Checksum 14:43:57 5788d62ee057: Download complete 14:43:57 9eb99e56ec68: Verifying Checksum 14:43:57 9eb99e56ec68: Download complete 14:43:58 0f37312ad70f: Pull complete 14:44:05 5788d62ee057: Pull complete 14:44:05 0e6b1d234666: Pull complete 14:44:05 bf5d7aec512f: Pull complete 14:44:09 34c802a77dc8: Pull complete 14:44:12 9eb99e56ec68: Pull complete 14:44:13 27c7a5d97fbd: Pull complete 14:44:13 5c102a31e300: Pull complete 14:44:13 dcfb455df0a1: Pull complete 14:44:14 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:44:14 ---> 7c70fe431013 14:44:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:14 ---> Running in ea5b91d6ba19 14:44:14 Removing intermediate container ea5b91d6ba19 14:44:14 ---> a071a6207f20 14:44:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:14 ---> Running in 41a00f24d5fb 14:44:15 Removing intermediate container 41a00f24d5fb 14:44:15 ---> 55cc77c25c76 14:44:15 Step 5/8 : RUN apk add --no-cache make git 14:44:15 ---> Running in a5ec608d50e4 14:44:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:44:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:44:16 OK: 143 MiB in 39 packages 14:44:16 Removing intermediate container a5ec608d50e4 14:44:16 ---> 7571bb4eba3e 14:44:16 Step 6/8 : WORKDIR /device-sdk-go 14:44:17 ---> Running in 2c1af55eb082 14:44:17 Removing intermediate container 2c1af55eb082 14:44:17 ---> 7a58681caa46 14:44:17 Step 7/8 : COPY . . 14:44:17 ---> 1ffd6d8f7c7c 14:44:17 Step 8/8 : RUN go mod download 14:44:17 ---> Running in 5018797fe804 14:44:19 go: finding github.com/BurntSushi/toml v0.3.1 14:44:19 go: finding github.com/OneOfOne/xxhash v1.2.6 14:44:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:44:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:44:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:44:19 go: finding github.com/bgentry/speakeasy v0.1.0 14:44:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:44:19 go: finding github.com/davecgh/go-spew v1.1.1 14:44:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:44:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:44:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:44:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:44:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:44:19 go: finding github.com/fatih/color v1.7.0 14:44:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:44:19 go: finding github.com/go-kit/kit v0.8.0 14:44:19 go: finding github.com/go-logfmt/logfmt v0.4.0 14:44:19 go: finding github.com/go-stack/stack v1.8.0 14:44:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:44:19 go: finding github.com/google/uuid v1.1.0 14:44:19 go: finding github.com/gorilla/mux v1.7.1 14:44:19 go: finding github.com/hashicorp/consul/api v1.1.0 14:44:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:44:19 go: finding github.com/hashicorp/errwrap v1.0.0 14:44:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:44:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:44:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:44:19 go: finding github.com/hashicorp/go-multierror v1.0.0 14:44:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:44:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:44:19 go: finding github.com/hashicorp/go-syslog v1.0.0 14:44:19 go: finding github.com/hashicorp/go-uuid v1.0.1 14:44:19 go: finding github.com/hashicorp/go.net v0.0.1 14:44:19 go: finding github.com/hashicorp/golang-lru v0.5.0 14:44:19 go: finding github.com/hashicorp/logutils v1.0.0 14:44:19 go: finding github.com/hashicorp/mdns v1.0.0 14:44:19 go: finding github.com/hashicorp/memberlist v0.1.3 14:44:19 go: finding github.com/hashicorp/serf v0.8.2 14:44:20 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:44:20 go: finding github.com/mattn/go-colorable v0.0.9 14:44:20 go: finding github.com/mattn/go-isatty v0.0.3 14:44:20 go: finding github.com/miekg/dns v1.0.14 14:44:20 go: finding github.com/mitchellh/cli v1.0.0 14:44:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:44:20 go: finding github.com/mitchellh/copystructure v1.0.0 14:44:20 go: finding github.com/mitchellh/go-homedir v1.0.0 14:44:20 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:44:20 go: finding github.com/mitchellh/gox v0.4.0 14:44:20 go: finding github.com/mitchellh/iochan v1.0.0 14:44:20 go: finding github.com/mitchellh/mapstructure v1.1.2 14:44:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:44:20 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:44:20 go: finding github.com/pelletier/go-toml v1.2.0 14:44:20 go: finding github.com/pkg/errors v0.8.1 14:44:20 go: finding github.com/pmezard/go-difflib v1.0.0 14:44:20 go: finding github.com/posener/complete v1.1.1 14:44:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:44:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:44:20 go: finding github.com/stretchr/objx v0.1.0 14:44:20 go: finding github.com/stretchr/testify v1.5.1 14:44:20 go: finding github.com/ugorji/go v1.1.4 14:44:20 go: finding github.com/x448/float16 v0.8.4 14:44:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:44:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:44:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:44:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:44:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:44:20 go: finding gopkg.in/yaml.v2 v2.2.8 14:44:24 Removing intermediate container 5018797fe804 14:44:24 ---> 884f82684b05 14:44:24 Successfully built 884f82684b05 14:44:24 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 14:44:24 + docker inspect -f . ci-base-image-x86_64 14:44:24 . [Pipeline] withDockerContainer 14:44:24 prd-centos7-docker-4c-2g-3274 does not seem to be running inside a container 14:44:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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:44:25 $ docker top 5b5e3e4b3ba4534261a28c855bd62b67f8c0499322499f56f991545117027af4 -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:26 + go version 14:44:26 go version go1.13.5 linux/amd64 [Pipeline] sh 14:44:26 + make test 14:44:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:44:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:44:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:44:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:44:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 14:44:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements 14:45:17 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 11.4% of statements 14:45:17 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.7% of statements 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:45:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.098s coverage: 38.5% of statements 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:45:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.443s coverage: 76.5% of statements 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:45:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements 14:45:17 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:45:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 76.1% of statements 14:45:17 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:45:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:45:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:45:17 gofmt -l . 14:45:17 [ "`gofmt -l .`" = "" ] 14:45:17 ./bin/test-attribution-txt.sh 14:45:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:45:18 Stashed 1 file(s) [Pipeline] } 14:45:18 $ docker stop --time=1 5b5e3e4b3ba4534261a28c855bd62b67f8c0499322499f56f991545117027af4 14:45:20 $ docker rm -f 5b5e3e4b3ba4534261a28c855bd62b67f8c0499322499f56f991545117027af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:45:21 + ls -al . 14:45:21 total 160 14:45:21 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 14:45 . 14:45:21 drwxrwxr-x. 4 jenkins jenkins 30 Apr 10 14:43 .. 14:45:21 drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 14:43 api 14:45:21 drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 14:43 bin 14:45:21 -rw-r--r--. 1 jenkins jenkins 96083 Apr 10 14:45 coverage.out 14:45:21 -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 14:43 Dockerfile.build 14:45:21 -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 14:43 .dockerignore 14:45:21 drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 14:43 example 14:45:21 drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 14:43 .git 14:45:21 drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 14:43 .github 14:45:21 -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 14:43 .gitignore 14:45:21 -rw-r--r--. 1 jenkins jenkins 475 Apr 10 14:45 go.mod 14:45:21 -rw-r--r--. 1 jenkins jenkins 12152 Apr 10 14:45 go.sum 14:45:21 drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 14:43 internal 14:45:21 -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 14:43 Jenkinsfile 14:45:21 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 14:43 LICENSE 14:45:21 -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 14:43 Makefile 14:45:21 drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 14:43 pkg 14:45:21 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 14:43 README.md 14:45:21 drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 14:43 .semver 14:45:21 drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 14:43 snap 14:45:21 -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 14:42 VERSION 14:45:21 -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 14:43 version.go [Pipeline] isUnix [Pipeline] sh 14:45:22 + 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=d79618ee95b0f1bb9e8c991ef47751f8294e739c --label arch=amd64 --label version=0.0.0 . 14:45:22 Sending build context to Docker daemon 2.992MB 14:45:22 Step 1/21 : ARG BASE=golang:1.13-alpine 14:45:22 Step 2/21 : FROM ${BASE} AS builder 14:45:22 ---> 884f82684b05 14:45:22 Step 3/21 : ARG MAKE='make build' 14:45:22 ---> Running in 10e7aa04eac2 14:45:22 Removing intermediate container 10e7aa04eac2 14:45:22 ---> 3f950b402e1b 14:45:22 Step 4/21 : WORKDIR /device-sdk-go 14:45:22 ---> Running in 1d6a2c3b8495 14:45:22 Removing intermediate container 1d6a2c3b8495 14:45:22 ---> 323d159f288d 14:45:22 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:22 ---> Running in 23658efd84fa 14:45:22 Removing intermediate container 23658efd84fa 14:45:22 ---> 02a53f887d84 14:45:22 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:22 ---> Running in 6ffdba082c8d 14:45:23 Removing intermediate container 6ffdba082c8d 14:45:23 ---> 553c9cd0b785 14:45:23 Step 7/21 : RUN apk add --update --no-cache make git 14:45:23 ---> Running in 8f28071db157 14:45:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:45:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:45:25 OK: 143 MiB in 39 packages 14:45:25 Removing intermediate container 8f28071db157 14:45:25 ---> fa1d4c82aeff 14:45:25 Step 8/21 : COPY . . 14:45:25 ---> eee0608ef0a5 14:45:25 Step 9/21 : RUN ${MAKE} 14:45:25 ---> Running in 477ba644aef8 14:45:26 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:45:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:45:40 Removing intermediate container 477ba644aef8 14:45:40 ---> d5602ad6d2b5 14:45:40 Step 10/21 : FROM scratch 14:45:40 ---> 14:45:40 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:40 ---> Running in 05d47d840d41 14:45:40 Removing intermediate container 05d47d840d41 14:45:40 ---> dd83b0cc2c0c 14:45:40 Step 12/21 : ENV APP_PORT=49990 14:45:40 ---> Running in 1cd4ce8b66a7 14:45:40 Removing intermediate container 1cd4ce8b66a7 14:45:40 ---> 2acd887e023c 14:45:40 Step 13/21 : EXPOSE $APP_PORT 14:45:40 ---> Running in 722395e6877e 14:45:40 Removing intermediate container 722395e6877e 14:45:40 ---> dc473eedb6cc 14:45:40 Step 14/21 : WORKDIR / 14:45:40 ---> Running in b158472fadf5 14:45:41 Removing intermediate container b158472fadf5 14:45:41 ---> 44c87a6205ee 14:45:41 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:45:41 ---> 811b27f2cceb 14:45:41 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:45:41 ---> d1e396d4077c 14:45:41 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:45:41 ---> f50d7f45be5a 14:45:41 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:45:41 ---> Running in 95aff5b02986 14:45:42 Removing intermediate container 95aff5b02986 14:45:42 ---> e6c486e75741 14:45:42 Step 19/21 : LABEL arch=amd64 14:45:42 ---> Running in 486fa961f7f8 14:45:42 Removing intermediate container 486fa961f7f8 14:45:42 ---> 944f651cabbe 14:45:42 Step 20/21 : LABEL git_sha=d79618ee95b0f1bb9e8c991ef47751f8294e739c 14:45:42 ---> Running in e450b22c2449 14:45:42 Removing intermediate container e450b22c2449 14:45:42 ---> 70a74a17c9f3 14:45:42 Step 21/21 : LABEL version=0.0.0 14:45:42 ---> Running in 9d6e5a1a89db 14:45:42 Removing intermediate container 9d6e5a1a89db 14:45:42 ---> ecd133f9ab2b 14:45:42 [Warning] One or more build-args [ARCH] were not consumed 14:45:42 Successfully built ecd133f9ab2b 14:45:42 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:47:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3278 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws 14:47:29 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 14:47:36 using credential edgex-jenkins-ssh 14:47:36 Cloning the remote Git repository 14:47:36 Cloning with configured refspecs honoured and without tags 14:47:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:47:36 > git init /w/workspace/device-sdk-go/16 # timeout=10 14:47:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:47:36 > git --version # timeout=10 14:47:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:47:37 Fetching without tags 14:47:38 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 14:47:38 Merge succeeded, producing 80df1e3da3257774bc53f5ba96d53c8caab6918d 14:47:38 Checking out Revision 80df1e3da3257774bc53f5ba96d53c8caab6918d (PR-464) 14:47:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:47:37 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 14:47:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:47:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:47:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:47:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:47:38 > git config core.sparsecheckout # timeout=10 14:47:38 > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 14:47:38 > git remote # timeout=10 14:47:38 > git config --get remote.origin.url # timeout=10 14:47:38 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:38 > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 14:47:38 > git rev-parse HEAD^{commit} # timeout=10 14:47:38 > git config core.sparsecheckout # timeout=10 14:47:38 > git checkout -f 80df1e3da3257774bc53f5ba96d53c8caab6918d # timeout=10 14:47:43 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" 14:47:43 > git rev-list --no-walk c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:47:44 ========================================================= 14:47:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:47:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:47:45 + 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:47:46 Sending build context to Docker daemon 2.876MB 14:47:46 Step 1/8 : ARG BASE=golang:1.13-alpine 14:47:46 Step 2/8 : FROM ${BASE} 14:47:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:47:46 cde5963f3b93: Pulling fs layer 14:47:46 2a23fa8c16f7: Pulling fs layer 14:47:46 777b28850792: Pulling fs layer 14:47:46 8a11ddd9e578: Pulling fs layer 14:47:46 4cf88f913ddb: Pulling fs layer 14:47:46 1df406cf5192: Pulling fs layer 14:47:46 cd6300453558: Pulling fs layer 14:47:46 b9c365052c96: Pulling fs layer 14:47:46 a2d8cc88f415: Pulling fs layer 14:47:46 ea1d1ca13537: Pulling fs layer 14:47:46 3750a50a1c5e: Pulling fs layer 14:47:46 8a11ddd9e578: Waiting 14:47:46 4cf88f913ddb: Waiting 14:47:46 1df406cf5192: Waiting 14:47:46 cd6300453558: Waiting 14:47:46 a2d8cc88f415: Waiting 14:47:46 b9c365052c96: Waiting 14:47:46 ea1d1ca13537: Waiting 14:47:46 777b28850792: Download complete 14:47:46 2a23fa8c16f7: Verifying Checksum 14:47:46 2a23fa8c16f7: Download complete 14:47:46 4cf88f913ddb: Verifying Checksum 14:47:46 4cf88f913ddb: Download complete 14:47:47 cde5963f3b93: Download complete 14:47:48 cde5963f3b93: Pull complete 14:47:48 1df406cf5192: Download complete 14:47:48 2a23fa8c16f7: Pull complete 14:47:48 777b28850792: Pull complete 14:47:51 cd6300453558: Download complete 14:47:51 a2d8cc88f415: Download complete 14:47:54 ea1d1ca13537: Verifying Checksum 14:47:54 ea1d1ca13537: Download complete 14:47:54 3750a50a1c5e: Download complete 14:47:58 b9c365052c96: Download complete 14:47:59 8a11ddd9e578: Verifying Checksum 14:47:59 8a11ddd9e578: Download complete 14:48:11 8a11ddd9e578: Pull complete 14:48:11 4cf88f913ddb: Pull complete 14:48:11 1df406cf5192: Pull complete 14:48:16 cd6300453558: Pull complete 14:48:21 b9c365052c96: Pull complete 14:48:21 a2d8cc88f415: Pull complete 14:48:23 ea1d1ca13537: Pull complete 14:48:23 3750a50a1c5e: Pull complete 14:48:23 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:48:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:48:23 ---> 78745c68409d 14:48:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:48:29 ---> Running in 3515358869cc 14:48:29 Removing intermediate container 3515358869cc 14:48:29 ---> 2744a4efe9eb 14:48:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:48:29 ---> Running in dd885269883b 14:48:31 Removing intermediate container dd885269883b 14:48:31 ---> bca1fc8c64c6 14:48:31 Step 5/8 : RUN apk add --no-cache make git 14:48:31 ---> Running in 17ef0d765bb0 14:48:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:48:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:48:34 OK: 125 MiB in 39 packages 14:48:35 Removing intermediate container 17ef0d765bb0 14:48:35 ---> 7ee2140574bf 14:48:35 Step 6/8 : WORKDIR /device-sdk-go 14:48:35 ---> Running in 9b4d65090153 14:48:36 Removing intermediate container 9b4d65090153 14:48:36 ---> 7ffdb6a418dc 14:48:36 Step 7/8 : COPY . . 14:48:36 ---> 5442681e4c02 14:48:36 Step 8/8 : RUN go mod download 14:48:36 ---> Running in 5b6829e8654a 14:48:38 go: finding github.com/BurntSushi/toml v0.3.1 14:48:38 go: finding github.com/OneOfOne/xxhash v1.2.6 14:48:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:48:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:48:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:48:38 go: finding github.com/bgentry/speakeasy v0.1.0 14:48:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:48:38 go: finding github.com/davecgh/go-spew v1.1.1 14:48:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:48:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:48:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:48:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:48:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:48:39 go: finding github.com/fatih/color v1.7.0 14:48:39 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:48:39 go: finding github.com/go-kit/kit v0.8.0 14:48:39 go: finding github.com/go-logfmt/logfmt v0.4.0 14:48:39 go: finding github.com/go-stack/stack v1.8.0 14:48:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:48:39 go: finding github.com/google/uuid v1.1.0 14:48:39 go: finding github.com/gorilla/mux v1.7.1 14:48:39 go: finding github.com/hashicorp/consul/api v1.1.0 14:48:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:48:39 go: finding github.com/hashicorp/errwrap v1.0.0 14:48:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:48:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:48:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:48:39 go: finding github.com/hashicorp/go-multierror v1.0.0 14:48:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:48:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:48:39 go: finding github.com/hashicorp/go-syslog v1.0.0 14:48:39 go: finding github.com/hashicorp/go-uuid v1.0.1 14:48:39 go: finding github.com/hashicorp/go.net v0.0.1 14:48:39 go: finding github.com/hashicorp/golang-lru v0.5.0 14:48:39 go: finding github.com/hashicorp/logutils v1.0.0 14:48:39 go: finding github.com/hashicorp/mdns v1.0.0 14:48:39 go: finding github.com/hashicorp/memberlist v0.1.3 14:48:39 go: finding github.com/hashicorp/serf v0.8.2 14:48:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:48:39 go: finding github.com/mattn/go-colorable v0.0.9 14:48:39 go: finding github.com/mattn/go-isatty v0.0.3 14:48:39 go: finding github.com/miekg/dns v1.0.14 14:48:39 go: finding github.com/mitchellh/cli v1.0.0 14:48:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:48:39 go: finding github.com/mitchellh/copystructure v1.0.0 14:48:39 go: finding github.com/mitchellh/go-homedir v1.0.0 14:48:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:48:39 go: finding github.com/mitchellh/gox v0.4.0 14:48:39 go: finding github.com/mitchellh/iochan v1.0.0 14:48:39 go: finding github.com/mitchellh/mapstructure v1.1.2 14:48:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:48:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:48:39 go: finding github.com/pelletier/go-toml v1.2.0 14:48:39 go: finding github.com/pkg/errors v0.8.1 14:48:39 go: finding github.com/pmezard/go-difflib v1.0.0 14:48:39 go: finding github.com/posener/complete v1.1.1 14:48:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:48:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:48:39 go: finding github.com/stretchr/objx v0.1.0 14:48:39 go: finding github.com/stretchr/testify v1.5.1 14:48:39 go: finding github.com/ugorji/go v1.1.4 14:48:39 go: finding github.com/x448/float16 v0.8.4 14:48:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:48:39 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:48:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:48:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:48:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:48:39 go: finding gopkg.in/yaml.v2 v2.2.8 14:48:49 Removing intermediate container 5b6829e8654a 14:48:49 ---> b6cae6c7c7e0 14:48:49 Successfully built b6cae6c7c7e0 14:48:49 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:48:50 + docker inspect -f . ci-base-image-arm64 14:48:50 . [Pipeline] withDockerContainer 14:48:51 prd-ubuntu18.04-docker-arm64-4c-16g-3278 does not seem to be running inside a container 14:48:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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:48:52 $ docker top cdcc51d6999395a18d80983f083018c7314b70185c6c79478091f21f8b1cc574 -eo pid,comm [Pipeline] { [Pipeline] sh 14:48:53 + go version 14:48:53 go version go1.13.5 linux/arm64 [Pipeline] sh 14:48:54 + make test 14:48:54 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:48:55 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:49:42 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:49:42 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:49:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements 14:49:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.276s coverage: 95.8% of statements 14:50:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.190s coverage: 11.4% of statements 14:50:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 22.7% of statements 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:50:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.121s coverage: 38.5% of statements 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:50:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.537s coverage: 76.5% of statements 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:50:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.236s coverage: 52.6% of statements 14:50:00 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:50:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.336s coverage: 76.1% of statements 14:50:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:50:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:50:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:50:06 gofmt -l . 14:50:06 [ "`gofmt -l .`" = "" ] 14:50:06 ./bin/test-attribution-txt.sh 14:50:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:50:08 Warning: overwriting stash ‘coverage-report’ 14:50:08 Stashed 1 file(s) [Pipeline] } 14:50:08 $ docker stop --time=1 cdcc51d6999395a18d80983f083018c7314b70185c6c79478091f21f8b1cc574 14:50:11 $ docker rm -f cdcc51d6999395a18d80983f083018c7314b70185c6c79478091f21f8b1cc574 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:50:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:50:12 + ls -al . 14:50:12 total 200 14:50:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 14:50 . 14:50:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:47 .. 14:50:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 14:47 .dockerignore 14:50:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 14:47 .git 14:50:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 14:47 .github 14:50:12 -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 14:47 .gitignore 14:50:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 14:47 .semver 14:50:12 -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 14:47 Dockerfile.build 14:50:12 -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 14:47 Jenkinsfile 14:50:12 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 14:47 LICENSE 14:50:12 -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 14:47 Makefile 14:50:12 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 14:47 README.md 14:50:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 14:42 VERSION 14:50:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 14:47 api 14:50:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 14:47 bin 14:50:12 -rw-r--r-- 1 jenkins jenkins 96083 Apr 10 14:49 coverage.out 14:50:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:47 example 14:50:12 -rw-r--r-- 1 jenkins jenkins 475 Apr 10 14:50 go.mod 14:50:12 -rw-r--r-- 1 jenkins jenkins 12152 Apr 10 14:50 go.sum 14:50:12 drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 14:47 internal 14:50:12 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 14:47 pkg 14:50:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:47 snap 14:50:12 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 14:47 version.go [Pipeline] isUnix [Pipeline] sh 14:50:13 + 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=d79618ee95b0f1bb9e8c991ef47751f8294e739c --label arch=arm64 --label version=0.0.0 . 14:50:13 Sending build context to Docker daemon 2.992MB 14:50:13 Step 1/21 : ARG BASE=golang:1.13-alpine 14:50:13 Step 2/21 : FROM ${BASE} AS builder 14:50:13 ---> b6cae6c7c7e0 14:50:13 Step 3/21 : ARG MAKE='make build' 14:50:13 ---> Running in 84d6aad5821a 14:50:14 Removing intermediate container 84d6aad5821a 14:50:14 ---> f82de0e612b8 14:50:14 Step 4/21 : WORKDIR /device-sdk-go 14:50:14 ---> Running in 87443b3a5f4c 14:50:14 Removing intermediate container 87443b3a5f4c 14:50:14 ---> 167027c9222c 14:50:14 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:50:14 ---> Running in 081610b3e55d 14:50:15 Removing intermediate container 081610b3e55d 14:50:15 ---> 0dab050e429b 14:50:15 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:50:15 ---> Running in bbf8920279db 14:50:17 Removing intermediate container bbf8920279db 14:50:17 ---> 637b8de0be2d 14:50:17 Step 7/21 : RUN apk add --update --no-cache make git 14:50:17 ---> Running in bc12b13b4ae2 14:50:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:50:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:50:19 OK: 125 MiB in 39 packages 14:50:20 Removing intermediate container bc12b13b4ae2 14:50:20 ---> ec6515a86f53 14:50:20 Step 8/21 : COPY . . 14:50:21 ---> 1e469bb57f4a 14:50:21 Step 9/21 : RUN ${MAKE} 14:50:21 ---> Running in fb3bc25c2318 14:50:23 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:51:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:51:02 Removing intermediate container fb3bc25c2318 14:51:02 ---> 35c83f2e38ec 14:51:02 Step 10/21 : FROM scratch 14:51:02 ---> 14:51:02 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:51:02 ---> Running in ba2327421cef 14:51:02 Removing intermediate container ba2327421cef 14:51:02 ---> d0b3ad2d1e64 14:51:02 Step 12/21 : ENV APP_PORT=49990 14:51:02 ---> Running in dbf7381656ee 14:51:02 Removing intermediate container dbf7381656ee 14:51:02 ---> 387dba3625e7 14:51:02 Step 13/21 : EXPOSE $APP_PORT 14:51:02 ---> Running in c567a94ac432 14:51:02 Removing intermediate container c567a94ac432 14:51:02 ---> bb41d7e77131 14:51:02 Step 14/21 : WORKDIR / 14:51:02 ---> Running in 42d9b07feb2e 14:51:02 Removing intermediate container 42d9b07feb2e 14:51:02 ---> b4a0cc78abe0 14:51:02 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:51:03 ---> 9b0beade44fe 14:51:03 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:51:03 ---> b91bb7ca31b2 14:51:03 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:51:04 ---> 3fa21b635ec1 14:51:04 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:51:04 ---> Running in f3902d2533db 14:51:04 Removing intermediate container f3902d2533db 14:51:04 ---> af015dff3de9 14:51:04 Step 19/21 : LABEL arch=arm64 14:51:04 ---> Running in 5665a58e0382 14:51:05 Removing intermediate container 5665a58e0382 14:51:05 ---> 8a086d3da243 14:51:05 Step 20/21 : LABEL git_sha=d79618ee95b0f1bb9e8c991ef47751f8294e739c 14:51:05 ---> Running in 435012a16027 14:51:05 Removing intermediate container 435012a16027 14:51:05 ---> ccfdcaa37e52 14:51:05 Step 21/21 : LABEL version=0.0.0 14:51:05 ---> Running in 85be5e55d73b 14:51:06 Removing intermediate container 85be5e55d73b 14:51:06 ---> 030e4b1bb21d 14:51:06 [Warning] One or more build-args [ARCH] were not consumed 14:51:06 Successfully built 030e4b1bb21d 14:51:06 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:51:06 provisioning config files... 14:51:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config8253029185350955962tmp [Pipeline] { [Pipeline] sh 14:51:07 + curl -s https://codecov.io/bash 14:51:07 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config8253029185350955962tmp 14:51:07 14:51:07 _____ _ 14:51:07 / ____| | | 14:51:07 | | ___ __| | ___ ___ _____ __ 14:51:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:51:07 | |___| (_) | (_| | __/ (_| (_) \ V / 14:51:07 \_____\___/ \__,_|\___|\___\___/ \_/ 14:51:07 Bash-20200410-0786dee 14:51:07 14:51:07 14:51:07 ==> Jenkins CI detected. 14:51:07 project root: . 14:51:07 Fixing merge commit SHA 14:51:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:51:07 ==> Running gcov in . (disable via -X gcov) 14:51:07 ==> Python coveragepy not found 14:51:07 ==> Searching for coverage reports in: 14:51:07 + . 14:51:07 -> Found 1 reports 14:51:07 ==> Detecting git/mercurial file structure 14:51:07 ==> Reading reports 14:51:07 + ./coverage.out bytes=96083 14:51:07 ==> Appending adjustments 14:51:07 http://docs.codecov.io/docs/fixing-reports 14:51:07 + Found adjustments 14:51:07 ==> Gzipping contents 14:51:07 ==> Uploading reports 14:51:07 url: https://codecov.io 14:51:07 query: branch=PR-464&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 14:51:07 -> Pinging Codecov 14:51:07 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 14:51:08 -> Uploading 14:53:29 X> Failed to upload 14:53:29 -> Sleeping for 30s and trying again... 14:53:47 -> Pinging Codecov 14:53:47 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= 14:53:47 -> Uploading 14:53:47 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1bb097ad4365b735bfef0648a55752ad7a9b68a1 [Pipeline] } 14:53:47 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:53:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:53:49 ---> package-listing.sh 14:53:49 ++ facter osfamily 14:53:49 ++ tr '[:upper:]' '[:lower:]' 14:53:49 + OS_FAMILY=redhat 14:53:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 14:53:49 + START_PACKAGES=/tmp/packages_start.txt 14:53:49 + END_PACKAGES=/tmp/packages_end.txt 14:53:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:53:49 + PACKAGES=/tmp/packages_start.txt 14:53:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 14:53:49 + PACKAGES=/tmp/packages_end.txt 14:53:49 + case "${OS_FAMILY}" in 14:53:49 + rpm -qa 14:53:49 + sort 14:53:53 + '[' -f /tmp/packages_start.txt ']' 14:53:53 + '[' -f /tmp/packages_end.txt ']' 14:53:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:53:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' 14:53:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ 14:53:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh 14:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:53:53 14:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:53:54 alpine: Pulling from edgex-lftools-log-publisher 14:53:54 c9b1b535fdd9: Pulling fs layer 14:53:54 2cc5ad85d9ab: Pulling fs layer 14:53:54 756a868c4378: Pulling fs layer 14:53:54 444b2fc9a129: Pulling fs layer 14:53:54 ea15f1150254: Pulling fs layer 14:53:54 41b27a9f41bf: Pulling fs layer 14:53:54 28c525ee5125: Pulling fs layer 14:53:54 094b1ea09ed8: Pulling fs layer 14:53:54 138eaada9080: Pulling fs layer 14:53:54 0622d0fa9048: Pulling fs layer 14:53:54 444b2fc9a129: Waiting 14:53:54 ea15f1150254: Waiting 14:53:54 41b27a9f41bf: Waiting 14:53:54 28c525ee5125: Waiting 14:53:54 094b1ea09ed8: Waiting 14:53:54 138eaada9080: Waiting 14:53:54 0622d0fa9048: Waiting 14:53:54 2cc5ad85d9ab: Verifying Checksum 14:53:54 2cc5ad85d9ab: Download complete 14:53:54 444b2fc9a129: Verifying Checksum 14:53:54 444b2fc9a129: Download complete 14:53:54 c9b1b535fdd9: Verifying Checksum 14:53:54 c9b1b535fdd9: Download complete 14:53:54 ea15f1150254: Verifying Checksum 14:53:54 ea15f1150254: Download complete 14:53:54 28c525ee5125: Verifying Checksum 14:53:54 28c525ee5125: Download complete 14:53:54 c9b1b535fdd9: Pull complete 14:53:54 756a868c4378: Verifying Checksum 14:53:54 756a868c4378: Download complete 14:53:55 138eaada9080: Verifying Checksum 14:53:55 138eaada9080: Download complete 14:53:55 094b1ea09ed8: Verifying Checksum 14:53:55 094b1ea09ed8: Download complete 14:53:55 0622d0fa9048: Verifying Checksum 14:53:55 0622d0fa9048: Download complete 14:53:55 2cc5ad85d9ab: Pull complete 14:53:55 41b27a9f41bf: Verifying Checksum 14:53:55 41b27a9f41bf: Download complete 14:53:57 756a868c4378: Pull complete 14:53:57 444b2fc9a129: Pull complete 14:53:57 ea15f1150254: Pull complete 14:54:00 41b27a9f41bf: Pull complete 14:54:00 28c525ee5125: Pull complete 14:54:02 094b1ea09ed8: Pull complete 14:54:02 138eaada9080: Pull complete 14:54:02 0622d0fa9048: Pull complete 14:54:02 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:54:02 prd-centos7-docker-4c-2g-3270 does not seem to be running inside a container 14:54:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:54:03 $ docker top 7020f8532bd7ecdcf08beb58d7a1464a97fff53835311820863aaa073d731a0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:54:03 provisioning config files... 14:54:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2832826606406493320tmp [Pipeline] { [Pipeline] echo 14:54:03 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:54:04 ---> create-netrc.sh [Pipeline] echo 14:54:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:54:04 ---> logs-deploy.sh 14:54:04 + ARCHIVE_ARTIFACTS= 14:54:04 + LOGS_SERVER=https://logs.edgexfoundry.org 14:54:04 + '[' https://logs.edgexfoundry.org == None ']' 14:54:04 + NEXUS_URL=https://nexus.edgexfoundry.org 14:54:04 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/16 14:54:04 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/16/ 14:54:04 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/16 /w/workspace/dgexfoundry_device-sdk-go_PR-464 14:54:06 Archives upload complete. 14:54:06 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/16/ 14:54:06 ---> uname -a: 14:54:06 Linux 7020f8532bd7 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 14:54:06 14:54:06 14:54:06 ---> lscpu: 14:54:06 Architecture: x86_64 14:54:06 CPU op-mode(s): 32-bit, 64-bit 14:54:06 Byte Order: Little Endian 14:54:06 Address sizes: 40 bits physical, 48 bits virtual 14:54:06 CPU(s): 4 14:54:06 On-line CPU(s) list: 0-3 14:54:06 Thread(s) per core: 1 14:54:06 Core(s) per socket: 1 14:54:06 Socket(s): 4 14:54:06 NUMA node(s): 1 14:54:06 Vendor ID: GenuineIntel 14:54:06 CPU family: 6 14:54:06 Model: 44 14:54:06 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:54:06 Stepping: 1 14:54:06 CPU MHz: 2933.442 14:54:06 BogoMIPS: 5866.88 14:54:06 Virtualization: VT-x 14:54:06 Hypervisor vendor: KVM 14:54:06 Virtualization type: full 14:54:06 L1d cache: 128 KiB 14:54:06 L1i cache: 128 KiB 14:54:06 L2 cache: 16 MiB 14:54:06 L3 cache: 64 MiB 14:54:06 NUMA node0 CPU(s): 0-3 14:54:06 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 14:54:06 Vulnerability Meltdown: Mitigation; PTI 14:54:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:54:06 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 14:54:06 Vulnerability Spectre v2: Mitigation; Full retpoline 14:54:06 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 14:54:06 14:54:06 14:54:06 ---> nproc: 14:54:06 4 14:54:06 14:54:06 14:54:06 ---> df -h: 14:54:06 Filesystem Size Used Available Use% Mounted on 14:54:06 overlay 50.0G 6.4G 43.6G 13% / 14:54:06 tmpfs 64.0M 0 64.0M 0% /dev 14:54:06 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 14:54:06 shm 64.0M 0 64.0M 0% /dev/shm 14:54:06 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 14:54:06 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 14:54:06 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 14:54:06 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp 14:54:06 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 14:54:06 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-464 14:54:06 14:54:06 14:54:06 ---> free -m: 14:54:06 total used free shared buff/cache available 14:54:06 Mem: 1838 604 76 0 1157 1130 14:54:06 Swap: 1023 0 1023 14:54:06 14:54:06 14:54:06 ---> ip addr: 14:54:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:54:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:54:06 inet 127.0.0.1/8 scope host lo 14:54:06 valid_lft forever preferred_lft forever 14:54:06 6: eth0@if7: mtu 1458 qdisc noqueue state UP 14:54:06 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 14:54:06 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 14:54:06 valid_lft forever preferred_lft forever 14:54:06 14:54:06