Pull request #481 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f7d2781892840f183e580a6cc2de34ebbbdf1084+1bb097ad4365b735bfef0648a55752ad7a9b68a1 (534eb21500eac4e450223a1dc5d500c64a72e580) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3288 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [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-481 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +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/481/head:refs/remotes/origin/PR-481 # 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/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit f7d2781892840f183e580a6cc2de34ebbbdf1084 Merge succeeded, producing f7d2781892840f183e580a6cc2de34ebbbdf1084 Checking out Revision f7d2781892840f183e580a6cc2de34ebbbdf1084 (PR-481) > git config core.sparsecheckout # timeout=10 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # 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 f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 Commit message: "Check device profile from metadata" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:17:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 309e7b1213e46cb52c19a3ab9e8ba618d89f41d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:17:52 16:17:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:17:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:17:52 latest: Pulling from edgex-devops/git-semver 16:17:52 9123ac7c32f7: Pulling fs layer 16:17:52 b8cc5d1170e3: Pulling fs layer 16:17:52 2924cbbf6a41: Pulling fs layer 16:17:52 93b08a4f1073: Pulling fs layer 16:17:52 93b08a4f1073: Waiting 16:17:52 b8cc5d1170e3: Verifying Checksum 16:17:52 b8cc5d1170e3: Download complete 16:17:52 9123ac7c32f7: Verifying Checksum 16:17:52 9123ac7c32f7: Download complete 16:17:53 93b08a4f1073: Verifying Checksum 16:17:53 93b08a4f1073: Download complete 16:17:53 2924cbbf6a41: Verifying Checksum 16:17:53 2924cbbf6a41: Download complete 16:17:53 9123ac7c32f7: Pull complete 16:17:53 b8cc5d1170e3: Pull complete 16:17:54 2924cbbf6a41: Pull complete 16:17:54 93b08a4f1073: Pull complete 16:17:54 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:17:54 prd-centos7-docker-4c-2g-3288 does not seem to be running inside a container 16:17:54 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-481 -v /w/workspace/dgexfoundry_device-sdk-go_PR-481:/w/workspace/dgexfoundry_device-sdk-go_PR-481:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-481@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 16:17:55 $ docker top f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:55 [ssh-agent] Looking for ssh-agent implementation... 16:17:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:55 $ docker exec f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent 16:17:55 SSH_AUTH_SOCK=/tmp/ssh-E5URixqhelxD/agent.14 16:17:55 SSH_AGENT_PID=21 16:17:55 Running ssh-add (command line suppressed) 16:17:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_7601255916407936378.key (/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_7601255916407936378.key) 16:17:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:56 + git describe --exact-match --tags HEAD 16:17:56 fatal: No names found, cannot describe anything. [Pipeline] } 16:17:56 $ docker exec --env ******** --env ******** f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent -k 16:17:56 unset SSH_AUTH_SOCK; 16:17:56 unset SSH_AGENT_PID; 16:17:56 echo Agent pid 21 killed; 16:17:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:17:56 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:17:56 This usually means this commit has not been tagged. [Pipeline] sshagent 16:17:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:56 [ssh-agent] Looking for ssh-agent implementation... 16:17:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:57 $ docker exec f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent 16:17:57 SSH_AUTH_SOCK=/tmp/ssh-f4uIVcd0SftB/agent.55 16:17:57 SSH_AGENT_PID=61 16:17:57 Running ssh-add (command line suppressed) 16:17:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_3278167972386302450.key (/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_3278167972386302450.key) 16:17:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:57 + git semver init 16:17:57 # -> Open(): unable to determine branch for HEAD 16:17:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-481/.git 16:17:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-481 16:17:57 # $SEMVER_REMOTE_NAME = origin 16:17:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:17:57 # $SEMVER_USER_NAME = edgex-jenkins 16:17:57 # $SEMVER_BRANCH = PR-481 16:17:57 # $SEMVER_TEMP = /tmp/semver-164327753 16:17:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:17:58 # '/tmp/semver-164327753' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-481/.semver' 16:17:58 # -> Force: false 16:17:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-481/.semver [Pipeline] } 16:17:58 $ docker exec --env ******** --env ******** f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent -k 16:17:58 unset SSH_AUTH_SOCK; 16:17:58 unset SSH_AGENT_PID; 16:17:58 echo Agent pid 61 killed; 16:17:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:59 + git semver [Pipeline] } 16:17:59 $ docker stop --time=1 f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 16:18:00 $ docker rm -f f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:18:01 Stashed 40 file(s) [Pipeline] echo 16:18:01 [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 16:18:16 Still waiting to schedule task 16:18:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:18:16 Still waiting to schedule task 16:18:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:19:43 Running on prd-centos7-docker-4c-2g-3291 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [Pipeline] { [Pipeline] ws 16:19:43 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:19:45 using credential edgex-jenkins-ssh 16:19:45 Cloning the remote Git repository 16:19:45 Cloning with configured refspecs honoured and without tags 16:19:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:19:46 > git init /w/workspace/device-sdk-go/3 # timeout=10 16:19:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:19:46 > git --version # timeout=10 16:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:19:46 Fetching without tags 16:19:47 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit f7d2781892840f183e580a6cc2de34ebbbdf1084 16:19:47 Merge succeeded, producing f7d2781892840f183e580a6cc2de34ebbbdf1084 16:19:47 Checking out Revision f7d2781892840f183e580a6cc2de34ebbbdf1084 (PR-481) 16:19:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:19:46 > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 16:19:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:19:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:19:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:19:47 > git config core.sparsecheckout # timeout=10 16:19:47 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 16:19:47 > git remote # timeout=10 16:19:47 > git config --get remote.origin.url # timeout=10 16:19:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:47 > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 16:19:47 > git rev-parse HEAD^{commit} # timeout=10 16:19:47 > git config core.sparsecheckout # timeout=10 16:19:47 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 16:19:52 Commit message: "Check device profile from metadata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:19:53 ========================================================= 16:19:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:19:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:19:53 + 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 . 16:19:54 Sending build context to Docker daemon 2.856MB 16:19:54 Step 1/8 : ARG BASE=golang:1.13-alpine 16:19:54 Step 2/8 : FROM ${BASE} 16:19:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:19:54 e6b0cf9c0882: Pulling fs layer 16:19:54 2848faf0eed1: Pulling fs layer 16:19:54 0f37312ad70f: Pulling fs layer 16:19:54 5788d62ee057: Pulling fs layer 16:19:54 0e6b1d234666: Pulling fs layer 16:19:54 bf5d7aec512f: Pulling fs layer 16:19:54 34c802a77dc8: Pulling fs layer 16:19:54 9eb99e56ec68: Pulling fs layer 16:19:54 27c7a5d97fbd: Pulling fs layer 16:19:54 5c102a31e300: Pulling fs layer 16:19:54 dcfb455df0a1: Pulling fs layer 16:19:54 5788d62ee057: Waiting 16:19:54 0e6b1d234666: Waiting 16:19:54 5c102a31e300: Waiting 16:19:54 27c7a5d97fbd: Waiting 16:19:54 dcfb455df0a1: Waiting 16:19:54 bf5d7aec512f: Waiting 16:19:54 9eb99e56ec68: Waiting 16:19:54 34c802a77dc8: Waiting 16:19:54 0f37312ad70f: Verifying Checksum 16:19:54 0f37312ad70f: Download complete 16:19:54 2848faf0eed1: Verifying Checksum 16:19:54 2848faf0eed1: Download complete 16:19:54 0e6b1d234666: Verifying Checksum 16:19:54 0e6b1d234666: Download complete 16:19:54 bf5d7aec512f: Verifying Checksum 16:19:54 bf5d7aec512f: Download complete 16:19:54 e6b0cf9c0882: Verifying Checksum 16:19:54 e6b0cf9c0882: Download complete 16:19:54 e6b0cf9c0882: Pull complete 16:19:54 2848faf0eed1: Pull complete 16:19:55 0f37312ad70f: Pull complete 16:19:55 34c802a77dc8: Verifying Checksum 16:19:55 34c802a77dc8: Download complete 16:19:55 27c7a5d97fbd: Verifying Checksum 16:19:55 27c7a5d97fbd: Download complete 16:19:55 5c102a31e300: Verifying Checksum 16:19:55 5c102a31e300: Download complete 16:19:56 dcfb455df0a1: Verifying Checksum 16:19:56 dcfb455df0a1: Download complete 16:19:56 9eb99e56ec68: Verifying Checksum 16:19:56 5788d62ee057: Download complete 16:20:03 5788d62ee057: Pull complete 16:20:03 0e6b1d234666: Pull complete 16:20:03 bf5d7aec512f: Pull complete 16:20:09 34c802a77dc8: Pull complete 16:20:13 9eb99e56ec68: Pull complete 16:20:13 27c7a5d97fbd: Pull complete 16:20:13 5c102a31e300: Pull complete 16:20:13 dcfb455df0a1: Pull complete 16:20:13 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 16:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:20:13 ---> 7c70fe431013 16:20:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:20:13 ---> Running in 10bbb703b11e 16:20:14 Removing intermediate container 10bbb703b11e 16:20:14 ---> 0ad10759d956 16:20:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:14 ---> Running in b7ebe57b630f 16:20:15 Removing intermediate container b7ebe57b630f 16:20:15 ---> 45a5ab2cf2db 16:20:15 Step 5/8 : RUN apk add --no-cache make git 16:20:15 ---> Running in b1008188ae6d 16:20:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:20:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:20:17 OK: 143 MiB in 39 packages 16:20:17 Removing intermediate container b1008188ae6d 16:20:17 ---> 951dd929d349 16:20:17 Step 6/8 : WORKDIR /device-sdk-go 16:20:17 ---> Running in 0f2927f3ac0f 16:20:17 Removing intermediate container 0f2927f3ac0f 16:20:17 ---> b0148e635f0b 16:20:17 Step 7/8 : COPY . . 16:20:18 ---> cfdae1c4981d 16:20:18 Step 8/8 : RUN go mod download 16:20:18 ---> Running in 068c9cd4f18c 16:20:19 go: finding github.com/BurntSushi/toml v0.3.1 16:20:19 go: finding github.com/OneOfOne/xxhash v1.2.6 16:20:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:20:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:20:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:20:19 go: finding github.com/bgentry/speakeasy v0.1.0 16:20:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:20:19 go: finding github.com/davecgh/go-spew v1.1.1 16:20:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 16:20:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:20:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:20:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:20:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:20:19 go: finding github.com/fatih/color v1.7.0 16:20:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:20:19 go: finding github.com/go-kit/kit v0.8.0 16:20:19 go: finding github.com/go-logfmt/logfmt v0.4.0 16:20:19 go: finding github.com/go-stack/stack v1.8.0 16:20:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:20:19 go: finding github.com/google/uuid v1.1.0 16:20:19 go: finding github.com/gorilla/mux v1.7.1 16:20:19 go: finding github.com/hashicorp/consul/api v1.1.0 16:20:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:20:19 go: finding github.com/hashicorp/errwrap v1.0.0 16:20:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:20:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:20:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:20:19 go: finding github.com/hashicorp/go-multierror v1.0.0 16:20:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:20:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:20:19 go: finding github.com/hashicorp/go-syslog v1.0.0 16:20:19 go: finding github.com/hashicorp/go-uuid v1.0.1 16:20:19 go: finding github.com/hashicorp/go.net v0.0.1 16:20:19 go: finding github.com/hashicorp/golang-lru v0.5.0 16:20:19 go: finding github.com/hashicorp/logutils v1.0.0 16:20:19 go: finding github.com/hashicorp/mdns v1.0.0 16:20:19 go: finding github.com/hashicorp/memberlist v0.1.3 16:20:19 go: finding github.com/hashicorp/serf v0.8.2 16:20:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:20:19 go: finding github.com/mattn/go-colorable v0.0.9 16:20:19 go: finding github.com/mattn/go-isatty v0.0.3 16:20:19 go: finding github.com/miekg/dns v1.0.14 16:20:19 go: finding github.com/mitchellh/cli v1.0.0 16:20:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:20:19 go: finding github.com/mitchellh/copystructure v1.0.0 16:20:19 go: finding github.com/mitchellh/go-homedir v1.0.0 16:20:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:20:19 go: finding github.com/mitchellh/gox v0.4.0 16:20:19 go: finding github.com/mitchellh/iochan v1.0.0 16:20:19 go: finding github.com/mitchellh/mapstructure v1.1.2 16:20:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:20:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:20:19 go: finding github.com/pelletier/go-toml v1.2.0 16:20:20 go: finding github.com/pkg/errors v0.8.1 16:20:20 go: finding github.com/pmezard/go-difflib v1.0.0 16:20:20 go: finding github.com/posener/complete v1.1.1 16:20:20 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:20:20 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:20:20 go: finding github.com/stretchr/objx v0.1.0 16:20:20 go: finding github.com/stretchr/testify v1.5.1 16:20:20 go: finding github.com/ugorji/go v1.1.4 16:20:20 go: finding github.com/x448/float16 v0.8.4 16:20:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:20:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:20:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:20:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:20:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:20:20 go: finding gopkg.in/yaml.v2 v2.2.8 16:20:28 Removing intermediate container 068c9cd4f18c 16:20:28 ---> 5e67914ff7d7 16:20:28 Successfully built 5e67914ff7d7 16:20:28 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 16:20:28 + docker inspect -f . ci-base-image-x86_64 16:20:28 . [Pipeline] withDockerContainer 16:20:28 prd-centos7-docker-4c-2g-3291 does not seem to be running inside a container 16:20:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:20:29 $ docker top 1cb2d1e008da51faf349bc9c5d83a7dd45b8c1f03f7d5f740ae9516f12dfd078 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:30 + go version 16:20:30 go version go1.13.5 linux/amd64 [Pipeline] sh 16:20:30 + make test 16:20:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:20:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:20:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:20:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:20:41 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements 16:20:49 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements 16:21:21 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements 16:21:21 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 22.7% of statements 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:21:21 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.129s coverage: 38.5% of statements 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 16:21:21 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.220s coverage: 79.8% of statements 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:21:21 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements 16:21:21 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 16:21:21 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 76.1% of statements 16:21:21 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 16:21:21 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:21:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:21:21 gofmt -l . 16:21:21 [ "`gofmt -l .`" = "" ] 16:21:21 ./bin/test-attribution-txt.sh 16:21:21 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:21:22 Stashed 1 file(s) [Pipeline] } 16:21:22 $ docker stop --time=1 1cb2d1e008da51faf349bc9c5d83a7dd45b8c1f03f7d5f740ae9516f12dfd078 16:21:23 $ docker rm -f 1cb2d1e008da51faf349bc9c5d83a7dd45b8c1f03f7d5f740ae9516f12dfd078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:21:25 + ls -al . 16:21:25 total 160 16:21:25 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 16:21 . 16:21:25 drwxrwxr-x. 4 jenkins jenkins 28 Apr 10 16:19 .. 16:21:25 drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 16:19 api 16:21:25 drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 16:19 bin 16:21:25 -rw-r--r--. 1 jenkins jenkins 94997 Apr 10 16:21 coverage.out 16:21:25 -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 16:19 Dockerfile.build 16:21:25 -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 16:19 .dockerignore 16:21:25 drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 16:19 example 16:21:25 drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 16:19 .git 16:21:25 drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 16:19 .github 16:21:25 -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 16:19 .gitignore 16:21:25 -rw-r--r--. 1 jenkins jenkins 446 Apr 10 16:21 go.mod 16:21:25 -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 16:21 go.sum 16:21:25 drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 16:19 internal 16:21:25 -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 16:19 Jenkinsfile 16:21:25 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 16:19 LICENSE 16:21:25 -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 16:19 Makefile 16:21:25 drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 16:19 pkg 16:21:25 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 16:19 README.md 16:21:25 drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 16:19 .semver 16:21:25 drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 16:19 snap 16:21:25 -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 16:18 VERSION 16:21:25 -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 16:19 version.go [Pipeline] isUnix [Pipeline] sh 16:21:25 + 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=f7d2781892840f183e580a6cc2de34ebbbdf1084 --label arch=amd64 --label version=0.0.0 . 16:21:25 Sending build context to Docker daemon 2.973MB 16:21:25 Step 1/21 : ARG BASE=golang:1.13-alpine 16:21:25 Step 2/21 : FROM ${BASE} AS builder 16:21:25 ---> 5e67914ff7d7 16:21:25 Step 3/21 : ARG MAKE='make build' 16:21:25 ---> Running in 265529abaecd 16:21:25 Removing intermediate container 265529abaecd 16:21:25 ---> 840baad57118 16:21:25 Step 4/21 : WORKDIR /device-sdk-go 16:21:25 ---> Running in c19070f1ac42 16:21:25 Removing intermediate container c19070f1ac42 16:21:25 ---> 8ff23e32a359 16:21:25 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:21:25 ---> Running in bec9fe44eabb 16:21:26 Removing intermediate container bec9fe44eabb 16:21:26 ---> a54794712dd0 16:21:26 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:21:26 ---> Running in 588e75a72d84 16:21:26 Removing intermediate container 588e75a72d84 16:21:26 ---> 305938b049dd 16:21:26 Step 7/21 : RUN apk add --update --no-cache make git 16:21:26 ---> Running in 26327beb3dfb 16:21:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:21:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:21:30 OK: 143 MiB in 39 packages 16:21:30 Removing intermediate container 26327beb3dfb 16:21:30 ---> ca00766d94cd 16:21:30 Step 8/21 : COPY . . 16:21:31 ---> 3168f4eaa47d 16:21:31 Step 9/21 : RUN ${MAKE} 16:21:31 ---> Running in 716bc36d7cab 16:21:31 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 16:21:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:21:40 Removing intermediate container 716bc36d7cab 16:21:40 ---> 9d596f30a74d 16:21:40 Step 10/21 : FROM scratch 16:21:40 ---> 16:21:40 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:21:40 ---> Running in 2a8eabad6013 16:21:41 Removing intermediate container 2a8eabad6013 16:21:41 ---> 7a0961c55ba9 16:21:41 Step 12/21 : ENV APP_PORT=49990 16:21:41 ---> Running in 10db8a2eb597 16:21:41 Removing intermediate container 10db8a2eb597 16:21:41 ---> 3741e06487f1 16:21:41 Step 13/21 : EXPOSE $APP_PORT 16:21:41 ---> Running in b4ee4a0f692d 16:21:41 Removing intermediate container b4ee4a0f692d 16:21:41 ---> 7adb13c62c7e 16:21:41 Step 14/21 : WORKDIR / 16:21:41 ---> Running in 130bb159b60c 16:21:41 Removing intermediate container 130bb159b60c 16:21:41 ---> ca8a454b0ba9 16:21:41 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:21:42 ---> 72c7db329c29 16:21:42 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:21:42 ---> 5718a5591d76 16:21:42 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:21:43 ---> 23d546ecd72f 16:21:43 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:21:43 ---> Running in 002092925e0b 16:21:43 Removing intermediate container 002092925e0b 16:21:43 ---> 561828452f83 16:21:43 Step 19/21 : LABEL arch=amd64 16:21:43 ---> Running in 22f2592a3dd4 16:21:43 Removing intermediate container 22f2592a3dd4 16:21:43 ---> c8125ba266b6 16:21:43 Step 20/21 : LABEL git_sha=f7d2781892840f183e580a6cc2de34ebbbdf1084 16:21:43 ---> Running in 7c4074339d97 16:21:43 Removing intermediate container 7c4074339d97 16:21:43 ---> e9ae512e2885 16:21:43 Step 21/21 : LABEL version=0.0.0 16:21:43 ---> Running in b783784ffd42 16:21:43 Removing intermediate container b783784ffd42 16:21:43 ---> 6bcc4320be04 16:21:43 [Warning] One or more build-args [ARCH] were not consumed 16:21:43 Successfully built 6bcc4320be04 16:21:43 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] } 16:21:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3293 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [Pipeline] { [Pipeline] ws 16:21:58 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:22:05 using credential edgex-jenkins-ssh 16:22:05 Cloning the remote Git repository 16:22:05 Cloning with configured refspecs honoured and without tags 16:22:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:22:05 > git init /w/workspace/device-sdk-go/3 # timeout=10 16:22:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:22:05 > git --version # timeout=10 16:22:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:22:07 Fetching without tags 16:22:07 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit f7d2781892840f183e580a6cc2de34ebbbdf1084 16:22:07 Merge succeeded, producing f7d2781892840f183e580a6cc2de34ebbbdf1084 16:22:07 Checking out Revision f7d2781892840f183e580a6cc2de34ebbbdf1084 (PR-481) 16:22:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:22:06 > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 16:22:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:22:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:22:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:22:07 > git config core.sparsecheckout # timeout=10 16:22:07 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 16:22:07 > git remote # timeout=10 16:22:07 > git config --get remote.origin.url # timeout=10 16:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:07 > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 16:22:07 > git rev-parse HEAD^{commit} # timeout=10 16:22:07 > git config core.sparsecheckout # timeout=10 16:22:07 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 16:22:12 Commit message: "Check device profile from metadata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:22:14 ========================================================= 16:22:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:22:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:22:15 + 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 . 16:22:16 Sending build context to Docker daemon 2.856MB 16:22:16 Step 1/8 : ARG BASE=golang:1.13-alpine 16:22:16 Step 2/8 : FROM ${BASE} 16:22:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:22:17 cde5963f3b93: Pulling fs layer 16:22:17 2a23fa8c16f7: Pulling fs layer 16:22:17 777b28850792: Pulling fs layer 16:22:17 8a11ddd9e578: Pulling fs layer 16:22:17 4cf88f913ddb: Pulling fs layer 16:22:17 1df406cf5192: Pulling fs layer 16:22:17 8a11ddd9e578: Waiting 16:22:17 4cf88f913ddb: Waiting 16:22:17 cd6300453558: Pulling fs layer 16:22:17 b9c365052c96: Pulling fs layer 16:22:17 a2d8cc88f415: Pulling fs layer 16:22:17 ea1d1ca13537: Pulling fs layer 16:22:17 1df406cf5192: Waiting 16:22:17 3750a50a1c5e: Pulling fs layer 16:22:17 ea1d1ca13537: Waiting 16:22:17 3750a50a1c5e: Waiting 16:22:17 cd6300453558: Waiting 16:22:17 a2d8cc88f415: Waiting 16:22:17 b9c365052c96: Waiting 16:22:17 777b28850792: Verifying Checksum 16:22:17 777b28850792: Download complete 16:22:17 2a23fa8c16f7: Verifying Checksum 16:22:17 2a23fa8c16f7: Download complete 16:22:17 4cf88f913ddb: Verifying Checksum 16:22:17 4cf88f913ddb: Download complete 16:22:17 1df406cf5192: Download complete 16:22:17 cde5963f3b93: Verifying Checksum 16:22:17 cde5963f3b93: Download complete 16:22:18 cde5963f3b93: Pull complete 16:22:18 2a23fa8c16f7: Pull complete 16:22:19 777b28850792: Pull complete 16:22:21 cd6300453558: Verifying Checksum 16:22:21 cd6300453558: Download complete 16:22:21 a2d8cc88f415: Verifying Checksum 16:22:21 a2d8cc88f415: Download complete 16:22:24 ea1d1ca13537: Verifying Checksum 16:22:24 ea1d1ca13537: Download complete 16:22:24 3750a50a1c5e: Download complete 16:22:27 b9c365052c96: Verifying Checksum 16:22:27 b9c365052c96: Download complete 16:22:29 8a11ddd9e578: Verifying Checksum 16:22:29 8a11ddd9e578: Download complete 16:22:41 8a11ddd9e578: Pull complete 16:22:41 4cf88f913ddb: Pull complete 16:22:41 1df406cf5192: Pull complete 16:22:45 cd6300453558: Pull complete 16:22:51 b9c365052c96: Pull complete 16:22:51 a2d8cc88f415: Pull complete 16:22:52 ea1d1ca13537: Pull complete 16:22:52 3750a50a1c5e: Pull complete 16:22:53 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 16:22:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:22:53 ---> 78745c68409d 16:22:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:22:57 ---> Running in 06bd55bfc07e 16:22:57 Removing intermediate container 06bd55bfc07e 16:22:57 ---> a9d6a987f948 16:22:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:22:57 ---> Running in fe9af588b99c 16:23:00 Removing intermediate container fe9af588b99c 16:23:00 ---> 4454576512d4 16:23:00 Step 5/8 : RUN apk add --no-cache make git 16:23:00 ---> Running in 6561651ce8c8 16:23:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:23:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:23:02 OK: 125 MiB in 39 packages 16:23:03 Removing intermediate container 6561651ce8c8 16:23:03 ---> 39e09f8257f8 16:23:03 Step 6/8 : WORKDIR /device-sdk-go 16:23:03 ---> Running in 477aebac4d7d 16:23:04 Removing intermediate container 477aebac4d7d 16:23:04 ---> b51605d614d3 16:23:04 Step 7/8 : COPY . . 16:23:05 ---> f438d0d13ed9 16:23:05 Step 8/8 : RUN go mod download 16:23:05 ---> Running in 1a07185579a1 16:23:07 go: finding github.com/BurntSushi/toml v0.3.1 16:23:07 go: finding github.com/OneOfOne/xxhash v1.2.6 16:23:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:23:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:23:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:23:07 go: finding github.com/bgentry/speakeasy v0.1.0 16:23:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:23:07 go: finding github.com/davecgh/go-spew v1.1.1 16:23:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 16:23:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:23:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:23:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:23:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:23:07 go: finding github.com/fatih/color v1.7.0 16:23:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:23:07 go: finding github.com/go-kit/kit v0.8.0 16:23:07 go: finding github.com/go-logfmt/logfmt v0.4.0 16:23:07 go: finding github.com/go-stack/stack v1.8.0 16:23:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:23:07 go: finding github.com/google/uuid v1.1.0 16:23:07 go: finding github.com/gorilla/mux v1.7.1 16:23:07 go: finding github.com/hashicorp/consul/api v1.1.0 16:23:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:23:07 go: finding github.com/hashicorp/errwrap v1.0.0 16:23:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:23:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:23:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:23:07 go: finding github.com/hashicorp/go-multierror v1.0.0 16:23:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:23:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:23:07 go: finding github.com/hashicorp/go-syslog v1.0.0 16:23:07 go: finding github.com/hashicorp/go-uuid v1.0.1 16:23:07 go: finding github.com/hashicorp/go.net v0.0.1 16:23:07 go: finding github.com/hashicorp/golang-lru v0.5.0 16:23:07 go: finding github.com/hashicorp/logutils v1.0.0 16:23:07 go: finding github.com/hashicorp/mdns v1.0.0 16:23:07 go: finding github.com/hashicorp/memberlist v0.1.3 16:23:07 go: finding github.com/hashicorp/serf v0.8.2 16:23:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:23:07 go: finding github.com/mattn/go-colorable v0.0.9 16:23:07 go: finding github.com/mattn/go-isatty v0.0.3 16:23:07 go: finding github.com/miekg/dns v1.0.14 16:23:07 go: finding github.com/mitchellh/cli v1.0.0 16:23:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:23:07 go: finding github.com/mitchellh/copystructure v1.0.0 16:23:07 go: finding github.com/mitchellh/go-homedir v1.0.0 16:23:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:23:08 go: finding github.com/mitchellh/gox v0.4.0 16:23:08 go: finding github.com/mitchellh/iochan v1.0.0 16:23:08 go: finding github.com/mitchellh/mapstructure v1.1.2 16:23:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:23:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:23:08 go: finding github.com/pelletier/go-toml v1.2.0 16:23:08 go: finding github.com/pkg/errors v0.8.1 16:23:08 go: finding github.com/pmezard/go-difflib v1.0.0 16:23:08 go: finding github.com/posener/complete v1.1.1 16:23:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:23:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:23:08 go: finding github.com/stretchr/objx v0.1.0 16:23:08 go: finding github.com/stretchr/testify v1.5.1 16:23:08 go: finding github.com/ugorji/go v1.1.4 16:23:08 go: finding github.com/x448/float16 v0.8.4 16:23:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:23:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:23:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:23:08 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:23:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:23:08 go: finding gopkg.in/yaml.v2 v2.2.8 16:23:18 Removing intermediate container 1a07185579a1 16:23:18 ---> 41c3a3bec447 16:23:18 Successfully built 41c3a3bec447 16:23:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:23:19 + docker inspect -f . ci-base-image-arm64 16:23:19 . [Pipeline] withDockerContainer 16:23:19 prd-ubuntu18.04-docker-arm64-4c-16g-3293 does not seem to be running inside a container 16:23:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 16:23:21 $ docker top d1895264cda744b919b09222a4dc08836ff56d82ddffc6959b307c6cd16b7c60 -eo pid,comm [Pipeline] { [Pipeline] sh 16:23:22 + go version 16:23:22 go version go1.13.5 linux/arm64 [Pipeline] sh 16:23:23 + make test 16:23:23 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:23:24 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:23:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:23:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements 16:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.174s coverage: 95.8% of statements 16:24:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements 16:24:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.7% of statements 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:24:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.181s coverage: 38.5% of statements 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 16:24:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.832s coverage: 79.8% of statements 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:24:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements 16:24:29 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 16:24:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 76.1% of statements 16:24:29 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 16:24:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:24:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:24:33 gofmt -l . 16:24:33 [ "`gofmt -l .`" = "" ] 16:24:34 ./bin/test-attribution-txt.sh 16:24:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:24:35 Warning: overwriting stash ‘coverage-report’ 16:24:36 Stashed 1 file(s) [Pipeline] } 16:24:36 $ docker stop --time=1 d1895264cda744b919b09222a4dc08836ff56d82ddffc6959b307c6cd16b7c60 16:24:38 $ docker rm -f d1895264cda744b919b09222a4dc08836ff56d82ddffc6959b307c6cd16b7c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:39 + ls -al . 16:24:39 total 200 16:24:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 16:24 . 16:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:22 .. 16:24:39 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 16:22 .dockerignore 16:24:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 16:22 .git 16:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:22 .github 16:24:39 -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 16:22 .gitignore 16:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:22 .semver 16:24:39 -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 16:22 Dockerfile.build 16:24:39 -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 16:22 Jenkinsfile 16:24:39 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 16:22 LICENSE 16:24:39 -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 16:22 Makefile 16:24:39 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 16:22 README.md 16:24:39 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 16:18 VERSION 16:24:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:22 api 16:24:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:22 bin 16:24:39 -rw-r--r-- 1 jenkins jenkins 94997 Apr 10 16:24 coverage.out 16:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:22 example 16:24:39 -rw-r--r-- 1 jenkins jenkins 446 Apr 10 16:24 go.mod 16:24:39 -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 16:24 go.sum 16:24:39 drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 16:22 internal 16:24:39 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 16:22 pkg 16:24:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:22 snap 16:24:39 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 16:22 version.go [Pipeline] isUnix [Pipeline] sh 16:24:40 + 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=f7d2781892840f183e580a6cc2de34ebbbdf1084 --label arch=arm64 --label version=0.0.0 . 16:24:40 Sending build context to Docker daemon 2.973MB 16:24:40 Step 1/21 : ARG BASE=golang:1.13-alpine 16:24:40 Step 2/21 : FROM ${BASE} AS builder 16:24:40 ---> 41c3a3bec447 16:24:40 Step 3/21 : ARG MAKE='make build' 16:24:40 ---> Running in 3edc9d8131e5 16:24:41 Removing intermediate container 3edc9d8131e5 16:24:41 ---> 94e551ac70b0 16:24:41 Step 4/21 : WORKDIR /device-sdk-go 16:24:41 ---> Running in cbc28332c4e3 16:24:41 Removing intermediate container cbc28332c4e3 16:24:41 ---> 4bc2d4980904 16:24:41 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:24:41 ---> Running in dd97cb083f61 16:24:42 Removing intermediate container dd97cb083f61 16:24:42 ---> e5c48e1a7fd0 16:24:42 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:24:42 ---> Running in 6b21ee421913 16:24:44 Removing intermediate container 6b21ee421913 16:24:44 ---> 6721921a7191 16:24:44 Step 7/21 : RUN apk add --update --no-cache make git 16:24:44 ---> Running in a2ae02e6a92e 16:24:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:24:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:24:46 OK: 125 MiB in 39 packages 16:24:48 Removing intermediate container a2ae02e6a92e 16:24:48 ---> 78ab6377e007 16:24:48 Step 8/21 : COPY . . 16:24:49 ---> 19c112bc4247 16:24:49 Step 9/21 : RUN ${MAKE} 16:24:49 ---> Running in 4ee35b8c6d12 16:24:50 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 16:25:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 16:25:15 Removing intermediate container 4ee35b8c6d12 16:25:15 ---> f7dacd18923d 16:25:15 Step 10/21 : FROM scratch 16:25:15 ---> 16:25:15 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:25:15 ---> Running in da0f30aadcc8 16:25:15 Removing intermediate container da0f30aadcc8 16:25:15 ---> c2be488ed60a 16:25:15 Step 12/21 : ENV APP_PORT=49990 16:25:15 ---> Running in 57cf3c0623a9 16:25:16 Removing intermediate container 57cf3c0623a9 16:25:16 ---> a36e47aef5a4 16:25:16 Step 13/21 : EXPOSE $APP_PORT 16:25:16 ---> Running in 320edbf7c38e 16:25:16 Removing intermediate container 320edbf7c38e 16:25:16 ---> 4968bfb0f1bb 16:25:16 Step 14/21 : WORKDIR / 16:25:16 ---> Running in ff3af9968bef 16:25:16 Removing intermediate container ff3af9968bef 16:25:16 ---> 8c5e3d3b6697 16:25:16 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 16:25:18 ---> dd54a9ddb50c 16:25:18 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 16:25:18 ---> a8fa2322d4d0 16:25:18 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 16:25:19 ---> 9f06dd7ecb53 16:25:19 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:25:19 ---> Running in 26d52b69b7d0 16:25:19 Removing intermediate container 26d52b69b7d0 16:25:19 ---> cdcbb26ac312 16:25:19 Step 19/21 : LABEL arch=arm64 16:25:19 ---> Running in 23bcc5aea9ce 16:25:19 Removing intermediate container 23bcc5aea9ce 16:25:19 ---> 4e29f8ed9da2 16:25:19 Step 20/21 : LABEL git_sha=f7d2781892840f183e580a6cc2de34ebbbdf1084 16:25:19 ---> Running in 10f36ea4b37b 16:25:20 Removing intermediate container 10f36ea4b37b 16:25:20 ---> 1d71b256c36c 16:25:20 Step 21/21 : LABEL version=0.0.0 16:25:20 ---> Running in 8018e466b371 16:25:20 Removing intermediate container 8018e466b371 16:25:20 ---> e7fe961d7766 16:25:20 [Warning] One or more build-args [ARCH] were not consumed 16:25:20 Successfully built e7fe961d7766 16:25:20 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 16:25:21 provisioning config files... 16:25:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config7066125589456072770tmp [Pipeline] { [Pipeline] sh 16:25:22 + curl -s https://codecov.io/bash 16:25:22 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config7066125589456072770tmp 16:25:22 16:25:22 _____ _ 16:25:22 / ____| | | 16:25:22 | | ___ __| | ___ ___ _____ __ 16:25:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:25:22 | |___| (_) | (_| | __/ (_| (_) \ V / 16:25:22 \_____\___/ \__,_|\___|\___\___/ \_/ 16:25:22 Bash-20200410-0786dee 16:25:22 16:25:22 16:25:22 ==> Jenkins CI detected. 16:25:22 project root: . 16:25:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:25:22 ==> Running gcov in . (disable via -X gcov) 16:25:22 ==> Python coveragepy not found 16:25:22 ==> Searching for coverage reports in: 16:25:22 + . 16:25:22 -> Found 1 reports 16:25:22 ==> Detecting git/mercurial file structure 16:25:22 ==> Reading reports 16:25:22 + ./coverage.out bytes=94997 16:25:22 ==> Appending adjustments 16:25:22 http://docs.codecov.io/docs/fixing-reports 16:25:22 + Found adjustments 16:25:22 ==> Gzipping contents 16:25:22 ==> Uploading reports 16:25:22 url: https://codecov.io 16:25:22 query: branch=PR-481&commit=f7d2781892840f183e580a6cc2de34ebbbdf1084&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-481%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=481&job= 16:25:22 -> Pinging Codecov 16:25:22 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-481&commit=f7d2781892840f183e580a6cc2de34ebbbdf1084&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-481%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=481&job= 16:25:23 -> Uploading 16:25:23 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f7d2781892840f183e580a6cc2de34ebbbdf1084 [Pipeline] } 16:25:23 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 16:25:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:25:25 ---> package-listing.sh 16:25:25 ++ facter osfamily 16:25:25 ++ tr '[:upper:]' '[:lower:]' 16:25:25 + OS_FAMILY=redhat 16:25:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-481 16:25:25 + START_PACKAGES=/tmp/packages_start.txt 16:25:25 + END_PACKAGES=/tmp/packages_end.txt 16:25:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:25:25 + PACKAGES=/tmp/packages_start.txt 16:25:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-481 ']' 16:25:25 + PACKAGES=/tmp/packages_end.txt 16:25:25 + case "${OS_FAMILY}" in 16:25:25 + rpm -qa 16:25:25 + sort 16:25:29 + '[' -f /tmp/packages_start.txt ']' 16:25:29 + '[' -f /tmp/packages_end.txt ']' 16:25:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:25:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-481 ']' 16:25:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-481/archives/ 16:25:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-481/archives/ [Pipeline] isUnix [Pipeline] sh 16:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:25:29 16:25:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:25:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:25:30 alpine: Pulling from edgex-lftools-log-publisher 16:25:30 c9b1b535fdd9: Pulling fs layer 16:25:30 2cc5ad85d9ab: Pulling fs layer 16:25:30 756a868c4378: Pulling fs layer 16:25:30 444b2fc9a129: Pulling fs layer 16:25:30 ea15f1150254: Pulling fs layer 16:25:30 41b27a9f41bf: Pulling fs layer 16:25:30 28c525ee5125: Pulling fs layer 16:25:30 094b1ea09ed8: Pulling fs layer 16:25:30 138eaada9080: Pulling fs layer 16:25:30 0622d0fa9048: Pulling fs layer 16:25:30 444b2fc9a129: Waiting 16:25:30 28c525ee5125: Waiting 16:25:30 094b1ea09ed8: Waiting 16:25:30 138eaada9080: Waiting 16:25:30 0622d0fa9048: Waiting 16:25:30 41b27a9f41bf: Waiting 16:25:30 2cc5ad85d9ab: Verifying Checksum 16:25:30 2cc5ad85d9ab: Download complete 16:25:30 444b2fc9a129: Verifying Checksum 16:25:30 444b2fc9a129: Download complete 16:25:30 c9b1b535fdd9: Verifying Checksum 16:25:30 ea15f1150254: Download complete 16:25:30 28c525ee5125: Verifying Checksum 16:25:30 28c525ee5125: Download complete 16:25:30 c9b1b535fdd9: Pull complete 16:25:30 756a868c4378: Verifying Checksum 16:25:30 756a868c4378: Download complete 16:25:30 2cc5ad85d9ab: Pull complete 16:25:30 138eaada9080: Verifying Checksum 16:25:30 138eaada9080: Download complete 16:25:30 094b1ea09ed8: Verifying Checksum 16:25:30 094b1ea09ed8: Download complete 16:25:30 0622d0fa9048: Verifying Checksum 16:25:30 0622d0fa9048: Download complete 16:25:31 41b27a9f41bf: Verifying Checksum 16:25:31 41b27a9f41bf: Download complete 16:25:32 756a868c4378: Pull complete 16:25:32 444b2fc9a129: Pull complete 16:25:32 ea15f1150254: Pull complete 16:25:36 41b27a9f41bf: Pull complete 16:25:36 28c525ee5125: Pull complete 16:25:38 094b1ea09ed8: Pull complete 16:25:38 138eaada9080: Pull complete 16:25:38 0622d0fa9048: Pull complete 16:25:38 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:25:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:25:38 prd-centos7-docker-4c-2g-3288 does not seem to be running inside a container 16:25:38 $ 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-481 -v /w/workspace/dgexfoundry_device-sdk-go_PR-481:/w/workspace/dgexfoundry_device-sdk-go_PR-481:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-481@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 16:25:39 $ docker top 957227712da66b9c7457b46e22dcaa65511393fd954cf2afcc2d75af63e69c50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:40 provisioning config files... 16:25:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config6838935549888725471tmp [Pipeline] { [Pipeline] echo 16:25:40 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:25:40 ---> create-netrc.sh [Pipeline] echo 16:25:40 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:25:40 ---> logs-deploy.sh 16:25:40 + ARCHIVE_ARTIFACTS= 16:25:40 + LOGS_SERVER=https://logs.edgexfoundry.org 16:25:40 + '[' https://logs.edgexfoundry.org == None ']' 16:25:40 + NEXUS_URL=https://nexus.edgexfoundry.org 16:25:40 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/3 16:25:40 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-481/3/ 16:25:40 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/3 /w/workspace/dgexfoundry_device-sdk-go_PR-481 16:25:42 Archives upload complete. 16:25:42 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-481/3/