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 Loading trusted files from base branch master at 1a07617a55e4200b889676e00db141fb8b6dd4d0 rather than aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 Obtained Jenkinsfile from 1a07617a55e4200b889676e00db141fb8b6dd4d0 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-79 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 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 Fetching without tags Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 Merge succeeded, producing aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 Checking out Revision aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 (PR-448) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 Commit message: "Avoid updating duplicated device" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:03:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk e243a0be09b248537150e916e97b28b553ffc63a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:03:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:03:14 09:03:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:03:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:03:15 latest: Pulling from edgex-devops/git-semver 09:03:15 9123ac7c32f7: Pulling fs layer 09:03:15 b8cc5d1170e3: Pulling fs layer 09:03:15 2924cbbf6a41: Pulling fs layer 09:03:15 93b08a4f1073: Pulling fs layer 09:03:15 93b08a4f1073: Waiting 09:03:15 b8cc5d1170e3: Verifying Checksum 09:03:15 b8cc5d1170e3: Download complete 09:03:15 9123ac7c32f7: Verifying Checksum 09:03:15 9123ac7c32f7: Download complete 09:03:15 93b08a4f1073: Verifying Checksum 09:03:15 93b08a4f1073: Download complete 09:03:15 2924cbbf6a41: Verifying Checksum 09:03:15 2924cbbf6a41: Download complete 09:03:15 9123ac7c32f7: Pull complete 09:03:15 b8cc5d1170e3: Pull complete 09:03:16 2924cbbf6a41: Pull complete 09:03:17 93b08a4f1073: Pull complete 09:03:17 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:03:17 prd-centos7-docker-4c-2g-79 does not seem to be running inside a container 09:03:17 $ 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 09:03:17 $ docker top a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:03:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:18 [ssh-agent] Looking for ssh-agent implementation... 09:03:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:18 $ docker exec a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent 09:03:18 SSH_AUTH_SOCK=/tmp/ssh-7qXcPRmW4VSJ/agent.15 09:03:18 SSH_AGENT_PID=22 09:03:18 Running ssh-add (command line suppressed) 09:03:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_894515552027758158.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_894515552027758158.key) 09:03:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:19 + git describe --exact-match --tags HEAD 09:03:19 fatal: No names found, cannot describe anything. [Pipeline] } 09:03:19 $ docker exec --env ******** --env ******** a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent -k 09:03:19 unset SSH_AUTH_SOCK; 09:03:19 unset SSH_AGENT_PID; 09:03:19 echo Agent pid 22 killed; 09:03:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:03:19 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:03:19 This usually means this commit has not been tagged. [Pipeline] sshagent 09:03:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:19 [ssh-agent] Looking for ssh-agent implementation... 09:03:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:20 $ docker exec a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent 09:03:20 SSH_AUTH_SOCK=/tmp/ssh-RIuNOOvLlZZC/agent.58 09:03:20 SSH_AGENT_PID=64 09:03:20 Running ssh-add (command line suppressed) 09:03:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_550246466227293515.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_550246466227293515.key) 09:03:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:20 + git semver init 09:03:20 # -> Open(): unable to determine branch for HEAD 09:03:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git 09:03:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 09:03:20 # $SEMVER_REMOTE_NAME = origin 09:03:20 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 09:03:20 # $SEMVER_USER_NAME = jenkins 09:03:20 # $SEMVER_BRANCH = PR-448 09:03:20 # $SEMVER_TEMP = /tmp/semver-358588460 09:03:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:03:21 # '/tmp/semver-358588460' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' 09:03:21 # -> Force: false 09:03:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } 09:03:21 $ docker exec --env ******** --env ******** a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent -k 09:03:21 unset SSH_AUTH_SOCK; 09:03:21 unset SSH_AGENT_PID; 09:03:21 echo Agent pid 64 killed; 09:03:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:03:22 + git semver [Pipeline] } 09:03:22 $ docker stop --time=1 a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc 09:03:23 $ docker rm -f a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:03:24 Stashed 31 file(s) [Pipeline] echo 09:03:24 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:03:39 Still waiting to schedule task 09:03:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:03:39 Still waiting to schedule task 09:03:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:05:10 Running on prd-centos7-docker-4c-2g-81 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 09:05:10 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 09:05:12 using credential edgex-jenkins-ssh 09:05:12 Cloning the remote Git repository 09:05:12 Cloning with configured refspecs honoured and without tags 09:05:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:12 > git init /w/workspace/device-sdk-go/11 # timeout=10 09:05:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:12 > git --version # timeout=10 09:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:13 Fetching without tags 09:05:14 Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 09:05:12 > 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 09:05:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:12 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 09:05:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:12 > 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 09:05:13 > git config core.sparsecheckout # timeout=10 09:05:13 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 09:05:14 Merge succeeded, producing aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 09:05:14 Checking out Revision aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 (PR-448) 09:05:13 > git remote # timeout=10 09:05:13 > git config --get remote.origin.url # timeout=10 09:05:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:13 > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 09:05:13 > git rev-parse HEAD^{commit} # timeout=10 09:05:13 > git config core.sparsecheckout # timeout=10 09:05:13 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 09:05:18 Commit message: "Avoid updating duplicated device" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:05:18 ========================================================= 09:05:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:05:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:19 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 09:05:19 Sending build context to Docker daemon 2.704MB 09:05:19 Step 1/8 : ARG BASE=golang:1.13-alpine 09:05:19 Step 2/8 : FROM ${BASE} 09:05:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:05:19 e6b0cf9c0882: Pulling fs layer 09:05:19 2848faf0eed1: Pulling fs layer 09:05:19 0f37312ad70f: Pulling fs layer 09:05:19 5788d62ee057: Pulling fs layer 09:05:19 0e6b1d234666: Pulling fs layer 09:05:19 bf5d7aec512f: Pulling fs layer 09:05:19 34c802a77dc8: Pulling fs layer 09:05:19 9eb99e56ec68: Pulling fs layer 09:05:19 27c7a5d97fbd: Pulling fs layer 09:05:19 5c102a31e300: Pulling fs layer 09:05:19 dcfb455df0a1: Pulling fs layer 09:05:19 34c802a77dc8: Waiting 09:05:19 9eb99e56ec68: Waiting 09:05:19 27c7a5d97fbd: Waiting 09:05:19 dcfb455df0a1: Waiting 09:05:19 5c102a31e300: Waiting 09:05:19 0e6b1d234666: Waiting 09:05:19 bf5d7aec512f: Waiting 09:05:19 0f37312ad70f: Verifying Checksum 09:05:19 0f37312ad70f: Download complete 09:05:19 2848faf0eed1: Download complete 09:05:19 0e6b1d234666: Verifying Checksum 09:05:19 0e6b1d234666: Download complete 09:05:19 bf5d7aec512f: Verifying Checksum 09:05:19 bf5d7aec512f: Download complete 09:05:19 e6b0cf9c0882: Verifying Checksum 09:05:19 e6b0cf9c0882: Download complete 09:05:20 e6b0cf9c0882: Pull complete 09:05:20 2848faf0eed1: Pull complete 09:05:20 34c802a77dc8: Verifying Checksum 09:05:20 34c802a77dc8: Download complete 09:05:20 27c7a5d97fbd: Verifying Checksum 09:05:20 27c7a5d97fbd: Download complete 09:05:21 5c102a31e300: Verifying Checksum 09:05:21 5c102a31e300: Download complete 09:05:21 dcfb455df0a1: Verifying Checksum 09:05:21 dcfb455df0a1: Download complete 09:05:21 9eb99e56ec68: Verifying Checksum 09:05:21 9eb99e56ec68: Download complete 09:05:21 5788d62ee057: Verifying Checksum 09:05:21 5788d62ee057: Download complete 09:05:22 0f37312ad70f: Pull complete 09:05:29 5788d62ee057: Pull complete 09:05:29 0e6b1d234666: Pull complete 09:05:29 bf5d7aec512f: Pull complete 09:05:34 34c802a77dc8: Pull complete 09:05:36 9eb99e56ec68: Pull complete 09:05:37 27c7a5d97fbd: Pull complete 09:05:38 5c102a31e300: Pull complete 09:05:38 dcfb455df0a1: Pull complete 09:05:38 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:05:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:05:38 ---> 7c70fe431013 09:05:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:05:38 ---> Running in f8c51930f7bf 09:05:38 Removing intermediate container f8c51930f7bf 09:05:38 ---> 06b4e595b712 09:05:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:38 ---> Running in a8cca830a764 09:05:39 Removing intermediate container a8cca830a764 09:05:39 ---> 79d7309be7a9 09:05:39 Step 5/8 : RUN apk add --no-cache make git 09:05:39 ---> Running in 360d122fa2e3 09:05:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:05:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:05:40 OK: 143 MiB in 39 packages 09:05:41 Removing intermediate container 360d122fa2e3 09:05:41 ---> 77961599523a 09:05:41 Step 6/8 : WORKDIR /device-sdk-go 09:05:41 ---> Running in fb1771de1d13 09:05:41 Removing intermediate container fb1771de1d13 09:05:41 ---> 0feff45170fe 09:05:41 Step 7/8 : COPY . . 09:05:41 ---> 8c75043df362 09:05:41 Step 8/8 : RUN go mod download 09:05:41 ---> Running in 5dfd73f5369a 09:05:43 go: finding github.com/BurntSushi/toml v0.3.1 09:05:43 go: finding github.com/OneOfOne/xxhash v1.2.6 09:05:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:05:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:05:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:05:43 go: finding github.com/bgentry/speakeasy v0.1.0 09:05:43 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 09:05:43 go: finding github.com/davecgh/go-spew v1.1.1 09:05:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:05:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 09:05:43 go: finding github.com/fatih/color v1.7.0 09:05:44 go: finding github.com/go-kit/kit v0.8.0 09:05:44 go: finding github.com/go-logfmt/logfmt v0.4.0 09:05:44 go: finding github.com/go-stack/stack v1.8.0 09:05:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:05:44 go: finding github.com/google/uuid v1.1.0 09:05:44 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 09:05:44 go: finding github.com/gorilla/mux v1.6.2 09:05:44 go: finding github.com/hashicorp/consul v1.4.2 09:05:44 go: finding github.com/hashicorp/errwrap v1.0.0 09:05:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 09:05:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:05:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:05:44 go: finding github.com/hashicorp/go-multierror v1.0.0 09:05:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:05:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:05:44 go: finding github.com/hashicorp/go-syslog v1.0.0 09:05:44 go: finding github.com/hashicorp/go-uuid v1.0.1 09:05:44 go: finding github.com/hashicorp/go.net v0.0.1 09:05:44 go: finding github.com/hashicorp/golang-lru v0.5.0 09:05:44 go: finding github.com/hashicorp/logutils v1.0.0 09:05:44 go: finding github.com/hashicorp/mdns v1.0.0 09:05:44 go: finding github.com/hashicorp/memberlist v0.1.3 09:05:44 go: finding github.com/hashicorp/serf v0.8.2 09:05:44 go: finding github.com/jessevdk/go-flags v1.4.0 09:05:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:05:44 go: finding github.com/mattn/go-colorable v0.0.9 09:05:44 go: finding github.com/mattn/go-isatty v0.0.3 09:05:44 go: finding github.com/miekg/dns v1.0.14 09:05:44 go: finding github.com/mitchellh/cli v1.0.0 09:05:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:05:44 go: finding github.com/mitchellh/copystructure v1.0.0 09:05:44 go: finding github.com/mitchellh/go-homedir v1.0.0 09:05:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:05:44 go: finding github.com/mitchellh/gox v0.4.0 09:05:44 go: finding github.com/mitchellh/iochan v1.0.0 09:05:44 go: finding github.com/mitchellh/mapstructure v1.1.2 09:05:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:05:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:05:44 go: finding github.com/pelletier/go-toml v1.2.0 09:05:44 go: finding github.com/pkg/errors v0.8.1 09:05:44 go: finding github.com/pmezard/go-difflib v1.0.0 09:05:44 go: finding github.com/posener/complete v1.1.1 09:05:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:05:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:05:44 go: finding github.com/stretchr/objx v0.1.0 09:05:44 go: finding github.com/stretchr/testify v1.3.0 09:05:44 go: finding github.com/ugorji/go v1.1.4 09:05:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:05:44 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:05:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:05:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:05:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:05:44 go: finding gopkg.in/yaml.v2 v2.2.2 09:05:52 Removing intermediate container 5dfd73f5369a 09:05:52 ---> 9daef0a6fa85 09:05:52 Successfully built 9daef0a6fa85 09:05:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:53 + docker inspect -f . ci-base-image-x86_64 09:05:53 . [Pipeline] withDockerContainer 09:05:53 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 09:05:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 09:05:54 $ docker top 9c19998928dee001ba12788a9796648c5debcccc0719f35aa22303719687acaf -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:54 + go version 09:05:54 go version go1.13.5 linux/amd64 [Pipeline] sh 09:05:54 + make test 09:05:54 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:06:13 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:06:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:06:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:06:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:06:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 23.1% of statements 09:06:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements 09:06:15 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.062s coverage: 12.7% of statements 09:06:15 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements 09:06:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-82 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 09:06:42 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 09:06:47 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.027s coverage: 30.0% of statements 09:06:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.244s coverage: 40.6% of statements 09:06:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:06:47 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:06:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.304s coverage: 67.7% of statements 09:06:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:06:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:06:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:06:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 09:06:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 76.1% of statements 09:06:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:06:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:06:47 gofmt -l . 09:06:47 [ "`gofmt -l .`" = "" ] 09:06:47 ./bin/test-attribution-txt.sh 09:06:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:06:48 Stashed 1 file(s) [Pipeline] } 09:06:48 $ docker stop --time=1 9c19998928dee001ba12788a9796648c5debcccc0719f35aa22303719687acaf 09:06:48 using credential edgex-jenkins-ssh 09:06:48 Cloning the remote Git repository 09:06:48 Cloning with configured refspecs honoured and without tags 09:06:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:06:48 > git init /w/workspace/device-sdk-go/11 # timeout=10 09:06:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:06:48 > git --version # timeout=10 09:06:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:48 > 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 09:06:49 $ docker rm -f 9c19998928dee001ba12788a9796648c5debcccc0719f35aa22303719687acaf 09:06:49 Fetching without tags [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:06:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:06:49 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 09:06:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:06:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:06:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:06:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:49 > 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 [Pipeline] script [Pipeline] { 09:06:50 Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 09:06:50 Merge succeeded, producing aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 09:06:50 Checking out Revision aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 (PR-448) [Pipeline] sh 09:06:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:51 + ls -al . 09:06:51 total 204 09:06:51 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 11 09:06 . 09:06:51 drwxrwxr-x. 4 jenkins jenkins 30 Mar 11 09:05 .. 09:06:51 drwxrwxr-x. 3 jenkins jenkins 20 Mar 11 09:05 api 09:06:51 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 11 09:05 async.go 09:06:51 drwxrwxr-x. 2 jenkins jenkins 64 Mar 11 09:05 bin 09:06:51 -rw-r--r--. 1 jenkins jenkins 103450 Mar 11 09:06 coverage.out 09:06:51 -rw-rw-r--. 1 jenkins jenkins 936 Mar 11 09:05 Dockerfile.build 09:06:51 -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 09:05 .dockerignore 09:06:51 drwxrwxr-x. 4 jenkins jenkins 48 Mar 11 09:05 example 09:06:51 drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 09:05 .git 09:06:51 drwxrwxr-x. 2 jenkins jenkins 38 Mar 11 09:05 .github 09:06:51 -rw-rw-r--. 1 jenkins jenkins 138 Mar 11 09:05 .gitignore 09:06:51 -rw-r--r--. 1 jenkins jenkins 536 Mar 11 09:06 go.mod 09:06:51 -rw-r--r--. 1 jenkins jenkins 11140 Mar 11 09:06 go.sum 09:06:51 drwxrwxr-x. 14 jenkins jenkins 197 Mar 11 09:05 internal 09:06:51 -rw-rw-r--. 1 jenkins jenkins 808 Mar 11 09:05 Jenkinsfile 09:06:51 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 09:05 LICENSE 09:06:51 -rw-rw-r--. 1 jenkins jenkins 892 Mar 11 09:05 Makefile 09:06:51 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 11 09:05 manageddevices.go 09:06:51 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 11 09:05 managedprofiles.go 09:06:51 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 11 09:05 managedwatchers.go 09:06:51 drwxrwxr-x. 4 jenkins jenkins 35 Mar 11 09:05 pkg 09:06:51 -rw-rw-r--. 1 jenkins jenkins 761 Mar 11 09:05 README.md 09:06:51 drwxrwxr-x. 3 jenkins jenkins 58 Mar 11 09:05 .semver 09:06:51 -rw-rw-r--. 1 jenkins jenkins 10309 Mar 11 09:05 service.go 09:06:51 drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 09:05 snap 09:06:51 -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 09:03 VERSION 09:06:51 -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:06:50 > git config core.sparsecheckout # timeout=10 09:06:50 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 09:06:50 > git remote # timeout=10 09:06:50 > git config --get remote.origin.url # timeout=10 09:06:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:50 > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 09:06:50 > git rev-parse HEAD^{commit} # timeout=10 09:06:50 > git config core.sparsecheckout # timeout=10 09:06:50 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 09:06:51 + 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=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 --label arch=amd64 --label version=0.0.0 . 09:06:51 Sending build context to Docker daemon 2.834MB 09:06:51 Step 1/20 : ARG BASE=golang:1.13-alpine 09:06:51 Step 2/20 : FROM ${BASE} AS builder 09:06:51 ---> 9daef0a6fa85 09:06:51 Step 3/20 : ARG MAKE='make build' 09:06:51 ---> Running in afe6cd59b1af 09:06:51 Removing intermediate container afe6cd59b1af 09:06:51 ---> 71112e0eedb6 09:06:51 Step 4/20 : WORKDIR /device-sdk-go 09:06:51 ---> Running in 72635dec4b9f 09:06:52 Removing intermediate container 72635dec4b9f 09:06:52 ---> ffedde8be0e4 09:06:52 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:06:52 ---> Running in fc61e3918bf1 09:06:52 Removing intermediate container fc61e3918bf1 09:06:52 ---> 3d343360054c 09:06:52 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:52 ---> Running in 4082b23bf7a8 09:06:53 Removing intermediate container 4082b23bf7a8 09:06:53 ---> 32d72b1dfcfb 09:06:53 Step 7/20 : RUN apk add --update --no-cache make git 09:06:53 ---> Running in 7a0371ec32b8 09:06:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:06:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:06:54 OK: 143 MiB in 39 packages 09:06:54 Removing intermediate container 7a0371ec32b8 09:06:54 ---> cac1b4a790a2 09:06:54 Step 8/20 : COPY . . 09:06:55 ---> cc930b4311b5 09:06:55 Step 9/20 : RUN ${MAKE} 09:06:55 ---> Running in 6e9f3375dc91 09:06:55 Commit message: "Avoid updating duplicated device" 09:06:55 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:06:56 ========================================================= 09:06:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:06:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:06:58 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 09:06:59 Sending build context to Docker daemon 2.702MB 09:06:59 Step 1/8 : ARG BASE=golang:1.13-alpine 09:06:59 Step 2/8 : FROM ${BASE} 09:06:59 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:06:59 cde5963f3b93: Pulling fs layer 09:06:59 2a23fa8c16f7: Pulling fs layer 09:06:59 777b28850792: Pulling fs layer 09:06:59 8a11ddd9e578: Pulling fs layer 09:06:59 4cf88f913ddb: Pulling fs layer 09:06:59 1df406cf5192: Pulling fs layer 09:06:59 cd6300453558: Pulling fs layer 09:06:59 b9c365052c96: Pulling fs layer 09:06:59 a2d8cc88f415: Pulling fs layer 09:06:59 ea1d1ca13537: Pulling fs layer 09:06:59 3750a50a1c5e: Pulling fs layer 09:06:59 4cf88f913ddb: Waiting 09:06:59 1df406cf5192: Waiting 09:06:59 cd6300453558: Waiting 09:06:59 b9c365052c96: Waiting 09:06:59 a2d8cc88f415: Waiting 09:06:59 ea1d1ca13537: Waiting 09:06:59 3750a50a1c5e: Waiting 09:06:59 8a11ddd9e578: Waiting 09:06:59 777b28850792: Verifying Checksum 09:06:59 777b28850792: Download complete 09:06:59 2a23fa8c16f7: Download complete 09:06:59 4cf88f913ddb: Verifying Checksum 09:06:59 4cf88f913ddb: Download complete 09:06:59 1df406cf5192: Verifying Checksum 09:06:59 1df406cf5192: Download complete 09:06:59 cde5963f3b93: Verifying Checksum 09:06:59 cde5963f3b93: Download complete 09:07:00 cde5963f3b93: Pull complete 09:07:01 2a23fa8c16f7: Pull complete 09:07:01 777b28850792: Pull complete 09:07:04 cd6300453558: Verifying Checksum 09:07:04 cd6300453558: Download complete 09:07:04 a2d8cc88f415: Verifying Checksum 09:07:04 a2d8cc88f415: Download complete 09:07:07 ea1d1ca13537: Verifying Checksum 09:07:07 ea1d1ca13537: Download complete 09:07:07 3750a50a1c5e: Verifying Checksum 09:07:07 3750a50a1c5e: Download complete 09:07:10 b9c365052c96: Verifying Checksum 09:07:10 b9c365052c96: Download complete 09:07:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:07:12 8a11ddd9e578: Verifying Checksum 09:07:12 8a11ddd9e578: Download complete 09:07:14 Removing intermediate container 6e9f3375dc91 09:07:14 ---> fbe2861b7f47 09:07:14 Step 10/20 : FROM scratch 09:07:14 ---> 09:07:14 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:14 ---> Running in 57bac19e9e2f 09:07:14 Removing intermediate container 57bac19e9e2f 09:07:14 ---> fb5f02dca51a 09:07:14 Step 12/20 : ENV APP_PORT=49990 09:07:14 ---> Running in 40ea3ec710f0 09:07:14 Removing intermediate container 40ea3ec710f0 09:07:14 ---> d250c8a8a3e5 09:07:14 Step 13/20 : EXPOSE $APP_PORT 09:07:14 ---> Running in 7d78649dea45 09:07:15 Removing intermediate container 7d78649dea45 09:07:15 ---> 5755ff15b611 09:07:15 Step 14/20 : WORKDIR / 09:07:15 ---> Running in 90ff9004c28b 09:07:15 Removing intermediate container 90ff9004c28b 09:07:15 ---> d005e4d97ad1 09:07:15 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:07:16 ---> 0cf0d7f6dc7a 09:07:16 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:07:16 ---> 16c8a9349a2b 09:07:16 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:07:16 ---> Running in 571cc17207fb 09:07:16 Removing intermediate container 571cc17207fb 09:07:16 ---> 8b42d17f60a7 09:07:16 Step 18/20 : LABEL arch=amd64 09:07:16 ---> Running in 750e38426c5e 09:07:16 Removing intermediate container 750e38426c5e 09:07:16 ---> 0edf47c851c4 09:07:16 Step 19/20 : LABEL git_sha=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 09:07:16 ---> Running in 3a8f8aae2b57 09:07:16 Removing intermediate container 3a8f8aae2b57 09:07:16 ---> 4c007e228c03 09:07:16 Step 20/20 : LABEL version=0.0.0 09:07:16 ---> Running in 3737caa1301b 09:07:16 Removing intermediate container 3737caa1301b 09:07:16 ---> f253f819b723 09:07:16 [Warning] One or more build-args [ARCH] were not consumed 09:07:16 Successfully built f253f819b723 09:07:16 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] } 09:07:24 8a11ddd9e578: Pull complete 09:07:24 4cf88f913ddb: Pull complete 09:07:24 1df406cf5192: Pull complete 09:07:28 cd6300453558: Pull complete 09:07:33 b9c365052c96: Pull complete 09:07:33 a2d8cc88f415: Pull complete 09:07:35 ea1d1ca13537: Pull complete 09:07:35 3750a50a1c5e: Pull complete 09:07:35 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:07:35 ---> 78745c68409d 09:07:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:40 ---> Running in 98873e900d4e 09:07:40 Removing intermediate container 98873e900d4e 09:07:40 ---> a38db72471c0 09:07:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:40 ---> Running in 71d02b36a686 09:07:43 Removing intermediate container 71d02b36a686 09:07:43 ---> d777282bde57 09:07:43 Step 5/8 : RUN apk add --no-cache make git 09:07:43 ---> Running in 98af554b890a 09:07:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:07:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:07:45 OK: 125 MiB in 39 packages 09:07:46 Removing intermediate container 98af554b890a 09:07:46 ---> 9b67e305cbcd 09:07:46 Step 6/8 : WORKDIR /device-sdk-go 09:07:46 ---> Running in 74d52fac0446 09:07:46 Removing intermediate container 74d52fac0446 09:07:46 ---> 4ab35f642423 09:07:46 Step 7/8 : COPY . . 09:07:48 ---> 4996fcd270cf 09:07:48 Step 8/8 : RUN go mod download 09:07:48 ---> Running in 52b5689779f8 09:07:50 go: finding github.com/BurntSushi/toml v0.3.1 09:07:50 go: finding github.com/OneOfOne/xxhash v1.2.6 09:07:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:07:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:07:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:07:50 go: finding github.com/bgentry/speakeasy v0.1.0 09:07:50 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 09:07:50 go: finding github.com/davecgh/go-spew v1.1.1 09:07:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:07:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 09:07:50 go: finding github.com/fatih/color v1.7.0 09:07:50 go: finding github.com/go-kit/kit v0.8.0 09:07:50 go: finding github.com/go-logfmt/logfmt v0.4.0 09:07:50 go: finding github.com/go-stack/stack v1.8.0 09:07:50 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:07:50 go: finding github.com/google/uuid v1.1.0 09:07:50 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 09:07:50 go: finding github.com/gorilla/mux v1.6.2 09:07:50 go: finding github.com/hashicorp/consul v1.4.2 09:07:50 go: finding github.com/hashicorp/errwrap v1.0.0 09:07:50 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 09:07:50 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:07:50 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:07:50 go: finding github.com/hashicorp/go-multierror v1.0.0 09:07:50 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:07:50 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:07:50 go: finding github.com/hashicorp/go-syslog v1.0.0 09:07:50 go: finding github.com/hashicorp/go-uuid v1.0.1 09:07:50 go: finding github.com/hashicorp/go.net v0.0.1 09:07:50 go: finding github.com/hashicorp/golang-lru v0.5.0 09:07:50 go: finding github.com/hashicorp/logutils v1.0.0 09:07:50 go: finding github.com/hashicorp/mdns v1.0.0 09:07:50 go: finding github.com/hashicorp/memberlist v0.1.3 09:07:50 go: finding github.com/hashicorp/serf v0.8.2 09:07:50 go: finding github.com/jessevdk/go-flags v1.4.0 09:07:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:07:50 go: finding github.com/mattn/go-colorable v0.0.9 09:07:50 go: finding github.com/mattn/go-isatty v0.0.3 09:07:50 go: finding github.com/miekg/dns v1.0.14 09:07:50 go: finding github.com/mitchellh/cli v1.0.0 09:07:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:07:50 go: finding github.com/mitchellh/copystructure v1.0.0 09:07:50 go: finding github.com/mitchellh/go-homedir v1.0.0 09:07:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:07:50 go: finding github.com/mitchellh/gox v0.4.0 09:07:50 go: finding github.com/mitchellh/iochan v1.0.0 09:07:50 go: finding github.com/mitchellh/mapstructure v1.1.2 09:07:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:07:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:07:50 go: finding github.com/pelletier/go-toml v1.2.0 09:07:50 go: finding github.com/pkg/errors v0.8.1 09:07:50 go: finding github.com/pmezard/go-difflib v1.0.0 09:07:50 go: finding github.com/posener/complete v1.1.1 09:07:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:07:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:07:50 go: finding github.com/stretchr/objx v0.1.0 09:07:50 go: finding github.com/stretchr/testify v1.3.0 09:07:50 go: finding github.com/ugorji/go v1.1.4 09:07:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:07:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:07:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:07:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:07:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:07:51 go: finding gopkg.in/yaml.v2 v2.2.2 09:08:09 Removing intermediate container 52b5689779f8 09:08:09 ---> d431dc6b5e2a 09:08:09 Successfully built d431dc6b5e2a 09:08:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:08:10 + docker inspect -f . ci-base-image-arm64 09:08:10 . [Pipeline] withDockerContainer 09:08:10 prd-ubuntu18.04-docker-arm64-4c-16g-82 does not seem to be running inside a container 09:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:08:12 $ docker top 17bd0616cfac97e68b1cd4b10374c52a7060f0cafdafc8332f1ccc22c0074475 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:13 + go version 09:08:13 go version go1.13.5 linux/arm64 [Pipeline] sh 09:08:14 + make test 09:08:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:09:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:09:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:09:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:09:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:09:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 23.1% of statements 09:09:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.152s coverage: 95.8% of statements 09:09:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.082s coverage: 12.7% of statements 09:09:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.027s coverage: 25.6% of statements 09:09:33 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.040s coverage: 30.0% of statements 09:09:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.604s coverage: 40.6% of statements 09:09:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:09:33 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:09:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 67.7% of statements 09:09:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:09:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:09:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:09:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements 09:09:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.369s coverage: 76.1% of statements 09:09:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:09:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:09:42 gofmt -l . 09:09:43 [ "`gofmt -l .`" = "" ] 09:09:43 ./bin/test-attribution-txt.sh 09:09:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:09:44 Warning: overwriting stash ‘coverage-report’ 09:09:45 Stashed 1 file(s) [Pipeline] } 09:09:45 $ docker stop --time=1 17bd0616cfac97e68b1cd4b10374c52a7060f0cafdafc8332f1ccc22c0074475 09:09:47 $ docker rm -f 17bd0616cfac97e68b1cd4b10374c52a7060f0cafdafc8332f1ccc22c0074475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:09:49 + ls -al . 09:09:49 total 244 09:09:49 drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 09:09 . 09:09:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 .. 09:09:49 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 09:06 .dockerignore 09:09:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:06 .git 09:09:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:06 .github 09:09:49 -rw-rw-r-- 1 jenkins jenkins 138 Mar 11 09:06 .gitignore 09:09:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:06 .semver 09:09:49 -rw-rw-r-- 1 jenkins jenkins 936 Mar 11 09:06 Dockerfile.build 09:09:49 -rw-rw-r-- 1 jenkins jenkins 808 Mar 11 09:06 Jenkinsfile 09:09:49 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 09:06 LICENSE 09:09:49 -rw-rw-r-- 1 jenkins jenkins 892 Mar 11 09:06 Makefile 09:09:49 -rw-rw-r-- 1 jenkins jenkins 761 Mar 11 09:06 README.md 09:09:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 09:03 VERSION 09:09:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:06 api 09:09:49 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 11 09:06 async.go 09:09:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:06 bin 09:09:49 -rw-r--r-- 1 jenkins jenkins 103450 Mar 11 09:09 coverage.out 09:09:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 example 09:09:49 -rw-r--r-- 1 jenkins jenkins 536 Mar 11 09:09 go.mod 09:09:49 -rw-r--r-- 1 jenkins jenkins 11140 Mar 11 09:09 go.sum 09:09:49 drwxrwxr-x 14 jenkins jenkins 4096 Mar 11 09:06 internal 09:09:49 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 11 09:06 manageddevices.go 09:09:49 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 11 09:06 managedprofiles.go 09:09:49 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 11 09:06 managedwatchers.go 09:09:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 pkg 09:09:49 -rw-rw-r-- 1 jenkins jenkins 10309 Mar 11 09:06 service.go 09:09:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 snap 09:09:49 -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 09:06 version.go [Pipeline] isUnix [Pipeline] sh 09:09:49 + 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=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 --label arch=arm64 --label version=0.0.0 . 09:09:49 Sending build context to Docker daemon 2.832MB 09:09:49 Step 1/20 : ARG BASE=golang:1.13-alpine 09:09:49 Step 2/20 : FROM ${BASE} AS builder 09:09:49 ---> d431dc6b5e2a 09:09:49 Step 3/20 : ARG MAKE='make build' 09:09:50 ---> Running in c1570efed680 09:09:50 Removing intermediate container c1570efed680 09:09:50 ---> 750c4bcc83d8 09:09:50 Step 4/20 : WORKDIR /device-sdk-go 09:09:50 ---> Running in 3c3d2dcc116c 09:09:51 Removing intermediate container 3c3d2dcc116c 09:09:51 ---> 284e5cf92d3c 09:09:51 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:09:51 ---> Running in 90c35334a973 09:09:51 Removing intermediate container 90c35334a973 09:09:51 ---> d7aa1dbac034 09:09:51 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:51 ---> Running in 2733ae2ecc75 09:09:53 Removing intermediate container 2733ae2ecc75 09:09:53 ---> 9e9a10a6e467 09:09:53 Step 7/20 : RUN apk add --update --no-cache make git 09:09:54 ---> Running in 2e9ca23c6d76 09:09:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:09:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:09:56 OK: 125 MiB in 39 packages 09:09:57 Removing intermediate container 2e9ca23c6d76 09:09:57 ---> 0d1d67e4973f 09:09:57 Step 8/20 : COPY . . 09:09:58 ---> 832e76adf21a 09:09:58 Step 9/20 : RUN ${MAKE} 09:09:58 ---> Running in 26afb802221b 09:09:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:10:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:10:55 Removing intermediate container 26afb802221b 09:10:55 ---> 5e10dd472157 09:10:55 Step 10/20 : FROM scratch 09:10:55 ---> 09:10:55 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:10:55 ---> Running in bbeb73bc0e57 09:10:55 Removing intermediate container bbeb73bc0e57 09:10:55 ---> 15a344b8c4d8 09:10:55 Step 12/20 : ENV APP_PORT=49990 09:10:55 ---> Running in 394f40f7a870 09:10:55 Removing intermediate container 394f40f7a870 09:10:55 ---> a86cae054f50 09:10:55 Step 13/20 : EXPOSE $APP_PORT 09:10:55 ---> Running in 72fdf46effbb 09:10:55 Removing intermediate container 72fdf46effbb 09:10:55 ---> c264f609f416 09:10:55 Step 14/20 : WORKDIR / 09:10:55 ---> Running in 5e5bd4aef4f9 09:10:56 Removing intermediate container 5e5bd4aef4f9 09:10:56 ---> dc39ce1d0bf4 09:10:56 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:10:57 ---> 18859a163f42 09:10:57 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:10:58 ---> c91447906cf2 09:10:58 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:10:58 ---> Running in 2e722ba62d60 09:10:58 Removing intermediate container 2e722ba62d60 09:10:58 ---> b7479fbf5217 09:10:58 Step 18/20 : LABEL arch=arm64 09:10:58 ---> Running in 406854e1a885 09:10:59 Removing intermediate container 406854e1a885 09:10:59 ---> 26813c77b868 09:10:59 Step 19/20 : LABEL git_sha=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 09:10:59 ---> Running in 85721d5d5680 09:10:59 Removing intermediate container 85721d5d5680 09:10:59 ---> c047a8cdbb17 09:10:59 Step 20/20 : LABEL version=0.0.0 09:10:59 ---> Running in ceb91b9124ce 09:11:00 Removing intermediate container ceb91b9124ce 09:11:00 ---> 9148f502bb53 09:11:00 [Warning] One or more build-args [ARCH] were not consumed 09:11:00 Successfully built 9148f502bb53 09:11:00 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 09:11:01 provisioning config files... 09:11:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config943609004518612162tmp [Pipeline] { [Pipeline] sh 09:11:01 + curl -s https://codecov.io/bash 09:11:01 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config943609004518612162tmp 09:11:02 09:11:02 _____ _ 09:11:02 / ____| | | 09:11:02 | | ___ __| | ___ ___ _____ __ 09:11:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:11:02 | |___| (_) | (_| | __/ (_| (_) \ V / 09:11:02 \_____\___/ \__,_|\___|\___\___/ \_/ 09:11:02 Bash-20200303-bc4d7e6 09:11:02 09:11:02 09:11:02 ==> Jenkins CI detected. 09:11:02 project root: . 09:11:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:11:02 ==> Running gcov in . (disable via -X gcov) 09:11:02 ==> Python coveragepy not found 09:11:02 ==> Searching for coverage reports in: 09:11:02 + . 09:11:02 -> Found 1 reports 09:11:02 ==> Detecting git/mercurial file structure 09:11:02 ==> Reading reports 09:11:02 + ./coverage.out bytes=103450 09:11:02 ==> Appending adjustments 09:11:02 http://docs.codecov.io/docs/fixing-reports 09:11:02 + Found adjustments 09:11:02 ==> Gzipping contents 09:11:02 ==> Uploading reports 09:11:02 url: https://codecov.io 09:11:02 query: branch=PR-448&commit=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 09:11:02 -> Pinging Codecov 09:11:02 https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-448&commit=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 09:11:03 -> Uploading 09:11:03 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [Pipeline] } 09:11:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:11:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:11:05 ---> package-listing.sh 09:11:05 ++ facter osfamily 09:11:05 ++ tr '[:upper:]' '[:lower:]' 09:11:05 + OS_FAMILY=redhat 09:11:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 09:11:05 + START_PACKAGES=/tmp/packages_start.txt 09:11:05 + END_PACKAGES=/tmp/packages_end.txt 09:11:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:11:05 + PACKAGES=/tmp/packages_start.txt 09:11:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 09:11:05 + PACKAGES=/tmp/packages_end.txt 09:11:05 + case "${OS_FAMILY}" in 09:11:05 + rpm -qa 09:11:05 + sort 09:11:08 + '[' -f /tmp/packages_start.txt ']' 09:11:08 + '[' -f /tmp/packages_end.txt ']' 09:11:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:11:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 09:11:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ 09:11:08 + 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 09:11:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:11:08 09:11:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:11:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:11:09 alpine: Pulling from edgex-lftools-log-publisher 09:11:09 c9b1b535fdd9: Pulling fs layer 09:11:09 2cc5ad85d9ab: Pulling fs layer 09:11:09 756a868c4378: Pulling fs layer 09:11:09 444b2fc9a129: Pulling fs layer 09:11:09 ea15f1150254: Pulling fs layer 09:11:09 41b27a9f41bf: Pulling fs layer 09:11:09 28c525ee5125: Pulling fs layer 09:11:09 094b1ea09ed8: Pulling fs layer 09:11:09 138eaada9080: Pulling fs layer 09:11:09 0622d0fa9048: Pulling fs layer 09:11:09 41b27a9f41bf: Waiting 09:11:09 28c525ee5125: Waiting 09:11:09 094b1ea09ed8: Waiting 09:11:09 138eaada9080: Waiting 09:11:09 0622d0fa9048: Waiting 09:11:09 444b2fc9a129: Waiting 09:11:09 ea15f1150254: Waiting 09:11:09 2cc5ad85d9ab: Download complete 09:11:09 444b2fc9a129: Verifying Checksum 09:11:09 444b2fc9a129: Download complete 09:11:09 ea15f1150254: Verifying Checksum 09:11:09 ea15f1150254: Download complete 09:11:09 c9b1b535fdd9: Verifying Checksum 09:11:09 c9b1b535fdd9: Download complete 09:11:10 28c525ee5125: Verifying Checksum 09:11:10 28c525ee5125: Download complete 09:11:10 c9b1b535fdd9: Pull complete 09:11:10 2cc5ad85d9ab: Pull complete 09:11:15 094b1ea09ed8: Verifying Checksum 09:11:15 094b1ea09ed8: Download complete 09:11:15 756a868c4378: Verifying Checksum 09:11:15 756a868c4378: Download complete 09:11:15 0622d0fa9048: Verifying Checksum 09:11:15 0622d0fa9048: Download complete 09:11:15 138eaada9080: Verifying Checksum 09:11:15 138eaada9080: Download complete 09:11:16 41b27a9f41bf: Download complete 09:11:17 756a868c4378: Pull complete 09:11:17 444b2fc9a129: Pull complete 09:11:18 ea15f1150254: Pull complete 09:11:22 41b27a9f41bf: Pull complete 09:11:22 28c525ee5125: Pull complete 09:11:24 094b1ea09ed8: Pull complete 09:11:24 138eaada9080: Pull complete 09:11:24 0622d0fa9048: Pull complete 09:11:24 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:11:24 prd-centos7-docker-4c-2g-79 does not seem to be running inside a container 09:11:24 $ 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 09:11:25 $ docker top 541ee98b95d38e0db3b78ba8b0c07ba10b535a43e28cc8433c1dbf3a97d1d35a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:11:26 provisioning config files... 09:11:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config8076988266391321085tmp [Pipeline] { [Pipeline] echo 09:11:26 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:11:26 ---> create-netrc.sh [Pipeline] echo 09:11:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:11:26 ---> logs-deploy.sh 09:11:26 + ARCHIVE_ARTIFACTS= 09:11:26 + LOGS_SERVER=https://logs.edgexfoundry.org 09:11:26 + '[' https://logs.edgexfoundry.org == None ']' 09:11:26 + NEXUS_URL=https://nexus.edgexfoundry.org 09:11:26 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/11 09:11:26 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/11/ 09:11:26 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/11 /w/workspace/dgexfoundry_device-sdk-go_PR-448 09:11:28 Archives upload complete. 09:11:28 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/11/