Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than c45f45678c666654042318529fadbb6207b03dd5 Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f 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 ‘prd-centos7-docker-4c-2g-1592’ Running on prd-centos7-docker-4c-2g-1596 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [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-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit c45f45678c666654042318529fadbb6207b03dd5 Merge succeeded, producing a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 Checking out Revision a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 (PR-432) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # 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 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 # timeout=10 Commit message: "Merge commit '0605716f3fd271273ac872c46dcfc3221fe9ce3f' into HEAD" > git rev-list --no-walk c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:42:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:49 14:42:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:49 latest: Pulling from edgex-devops/git-semver 14:42:49 9123ac7c32f7: Pulling fs layer 14:42:49 b8cc5d1170e3: Pulling fs layer 14:42:49 2924cbbf6a41: Pulling fs layer 14:42:49 93b08a4f1073: Pulling fs layer 14:42:49 93b08a4f1073: Waiting 14:42:49 b8cc5d1170e3: Verifying Checksum 14:42:49 b8cc5d1170e3: Download complete 14:42:49 9123ac7c32f7: Verifying Checksum 14:42:49 9123ac7c32f7: Download complete 14:42:49 93b08a4f1073: Verifying Checksum 14:42:49 93b08a4f1073: Download complete 14:42:49 2924cbbf6a41: Download complete 14:42:50 9123ac7c32f7: Pull complete 14:42:50 b8cc5d1170e3: Pull complete 14:42:51 2924cbbf6a41: Pull complete 14:42:51 93b08a4f1073: Pull complete 14:42:51 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:42:51 prd-centos7-docker-4c-2g-1596 does not seem to be running inside a container 14:42:51 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:42:52 $ docker top 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:52 [ssh-agent] Looking for ssh-agent implementation... 14:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:52 $ docker exec 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent 14:42:52 SSH_AUTH_SOCK=/tmp/ssh-uJ6NGDy9fryQ/agent.15 14:42:52 SSH_AGENT_PID=22 14:42:52 Running ssh-add (command line suppressed) 14:42:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5111577747404158611.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5111577747404158611.key) 14:42:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:53 + git describe --exact-match --tags HEAD 14:42:53 fatal: No names found, cannot describe anything. [Pipeline] } 14:42:53 $ docker exec --env ******** --env ******** 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent -k 14:42:53 unset SSH_AUTH_SOCK; 14:42:53 unset SSH_AGENT_PID; 14:42:53 echo Agent pid 22 killed; 14:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:42:53 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:42:53 This usually means this commit has not been tagged. [Pipeline] sshagent 14:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:53 [ssh-agent] Looking for ssh-agent implementation... 14:42:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:54 $ docker exec 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent 14:42:54 SSH_AUTH_SOCK=/tmp/ssh-JlpvJIUyp56c/agent.58 14:42:54 SSH_AGENT_PID=64 14:42:54 Running ssh-add (command line suppressed) 14:42:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_707343237099934118.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_707343237099934118.key) 14:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:54 + git semver init 14:42:54 # -> Open(): unable to determine branch for HEAD 14:42:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 14:42:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 14:42:54 # $SEMVER_REMOTE_NAME = origin 14:42:54 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 14:42:54 # $SEMVER_USER_NAME = jenkins 14:42:54 # $SEMVER_BRANCH = PR-432 14:42:54 # $SEMVER_TEMP = /tmp/semver-319280776 14:42:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:42:55 # '/tmp/semver-319280776' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 14:42:55 # -> Force: false 14:42:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 14:42:55 $ docker exec --env ******** --env ******** 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent -k 14:42:55 unset SSH_AUTH_SOCK; 14:42:55 unset SSH_AGENT_PID; 14:42:55 echo Agent pid 64 killed; 14:42:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:56 + git semver [Pipeline] } 14:42:56 $ docker stop --time=1 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 14:42:57 $ docker rm -f 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:42:58 Stashed 35 file(s) [Pipeline] echo 14:42:58 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:43:13 Still waiting to schedule task 14:43:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:43:13 Still waiting to schedule task 14:43:13 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1593’ 14:44:29 Running on prd-centos7-docker-4c-2g-1599 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 14:44:29 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 14:44:34 using credential edgex-jenkins-ssh 14:44:34 Cloning the remote Git repository 14:44:34 Cloning with configured refspecs honoured and without tags 14:44:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:44:33 > git init /w/workspace/device-sdk-go/9 # timeout=10 14:44:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:34 > git --version # timeout=10 14:44:34 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:34 Fetching without tags 14:44:35 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit c45f45678c666654042318529fadbb6207b03dd5 14:44:35 Merge succeeded, producing dec7aeb8cc5aa443fcf6417ae0fb5d06bd88e759 14:44:35 Checking out Revision dec7aeb8cc5aa443fcf6417ae0fb5d06bd88e759 (PR-432) 14:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:34 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 14:44:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:34 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:44:35 > git config core.sparsecheckout # timeout=10 14:44:35 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 14:44:35 > git remote # timeout=10 14:44:35 > git config --get remote.origin.url # timeout=10 14:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:35 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 14:44:35 > git rev-parse HEAD^{commit} # timeout=10 14:44:35 > git config core.sparsecheckout # timeout=10 14:44:35 > git checkout -f dec7aeb8cc5aa443fcf6417ae0fb5d06bd88e759 # timeout=10 14:44:39 Commit message: "Merge commit '0605716f3fd271273ac872c46dcfc3221fe9ce3f' into HEAD" 14:44:39 > git rev-list --no-walk c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:44:39 ========================================================= 14:44:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:44:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:44:40 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 14:44:40 Sending build context to Docker daemon 2.773MB 14:44:40 Step 1/8 : ARG BASE=golang:1.13-alpine 14:44:40 Step 2/8 : FROM ${BASE} 14:44:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:44:41 e6b0cf9c0882: Pulling fs layer 14:44:41 2848faf0eed1: Pulling fs layer 14:44:41 0f37312ad70f: Pulling fs layer 14:44:41 5788d62ee057: Pulling fs layer 14:44:41 0e6b1d234666: Pulling fs layer 14:44:41 bf5d7aec512f: Pulling fs layer 14:44:41 34c802a77dc8: Pulling fs layer 14:44:41 9eb99e56ec68: Pulling fs layer 14:44:41 27c7a5d97fbd: Pulling fs layer 14:44:41 5c102a31e300: Pulling fs layer 14:44:41 dcfb455df0a1: Pulling fs layer 14:44:41 bf5d7aec512f: Waiting 14:44:41 34c802a77dc8: Waiting 14:44:41 9eb99e56ec68: Waiting 14:44:41 27c7a5d97fbd: Waiting 14:44:41 5c102a31e300: Waiting 14:44:41 dcfb455df0a1: Waiting 14:44:41 5788d62ee057: Waiting 14:44:41 0e6b1d234666: Waiting 14:44:41 0f37312ad70f: Download complete 14:44:41 2848faf0eed1: Download complete 14:44:41 0e6b1d234666: Verifying Checksum 14:44:41 0e6b1d234666: Download complete 14:44:41 bf5d7aec512f: Download complete 14:44:41 e6b0cf9c0882: Verifying Checksum 14:44:41 e6b0cf9c0882: Download complete 14:44:41 e6b0cf9c0882: Pull complete 14:44:41 2848faf0eed1: Pull complete 14:44:42 34c802a77dc8: Verifying Checksum 14:44:42 34c802a77dc8: Download complete 14:44:42 27c7a5d97fbd: Verifying Checksum 14:44:42 27c7a5d97fbd: Download complete 14:44:43 5c102a31e300: Verifying Checksum 14:44:43 5c102a31e300: Download complete 14:44:43 9eb99e56ec68: Verifying Checksum 14:44:43 9eb99e56ec68: Download complete 14:44:43 5788d62ee057: Verifying Checksum 14:44:43 5788d62ee057: Download complete 14:44:43 dcfb455df0a1: Verifying Checksum 14:44:43 dcfb455df0a1: Download complete 14:44:44 0f37312ad70f: Pull complete 14:44:50 5788d62ee057: Pull complete 14:44:50 0e6b1d234666: Pull complete 14:44:50 bf5d7aec512f: Pull complete 14:44:56 34c802a77dc8: Pull complete 14:44:59 9eb99e56ec68: Pull complete 14:44:59 27c7a5d97fbd: Pull complete 14:45:00 5c102a31e300: Pull complete 14:45:00 dcfb455df0a1: Pull complete 14:45:00 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:45:00 ---> 7c70fe431013 14:45:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:00 ---> Running in d8f86205a97d 14:45:00 Removing intermediate container d8f86205a97d 14:45:00 ---> 07bba80b899c 14:45:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:00 ---> Running in 68e1c0c76f1c 14:45:02 Removing intermediate container 68e1c0c76f1c 14:45:02 ---> bd15008fa720 14:45:02 Step 5/8 : RUN apk add --no-cache make git 14:45:02 ---> Running in 1b9491c10b30 14:45:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:45:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:45:04 OK: 143 MiB in 39 packages 14:45:05 Removing intermediate container 1b9491c10b30 14:45:05 ---> dd731ad5a5a2 14:45:05 Step 6/8 : WORKDIR /device-sdk-go 14:45:05 ---> Running in 50d3aa9273f7 14:45:05 Removing intermediate container 50d3aa9273f7 14:45:05 ---> 8954cbd2b1f4 14:45:05 Step 7/8 : COPY . . 14:45:06 ---> 79a6d0399ca9 14:45:06 Step 8/8 : RUN go mod download 14:45:06 ---> Running in 1f9bca408199 14:45:07 go: finding github.com/BurntSushi/toml v0.3.1 14:45:07 go: finding github.com/OneOfOne/xxhash v1.2.6 14:45:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:45:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:45:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:45:07 go: finding github.com/bgentry/speakeasy v0.1.0 14:45:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:45:07 go: finding github.com/davecgh/go-spew v1.1.1 14:45:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 14:45:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:45:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 14:45:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:45:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:45:07 go: finding github.com/fatih/color v1.7.0 14:45:07 go: finding github.com/go-kit/kit v0.8.0 14:45:07 go: finding github.com/go-logfmt/logfmt v0.4.0 14:45:07 go: finding github.com/go-stack/stack v1.8.0 14:45:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:45:07 go: finding github.com/google/uuid v1.1.0 14:45:07 go: finding github.com/gorilla/mux v1.7.1 14:45:07 go: finding github.com/hashicorp/consul/api v1.1.0 14:45:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:45:07 go: finding github.com/hashicorp/errwrap v1.0.0 14:45:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:45:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:45:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:45:07 go: finding github.com/hashicorp/go-multierror v1.0.0 14:45:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:45:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:45:07 go: finding github.com/hashicorp/go-syslog v1.0.0 14:45:07 go: finding github.com/hashicorp/go-uuid v1.0.1 14:45:07 go: finding github.com/hashicorp/go.net v0.0.1 14:45:07 go: finding github.com/hashicorp/golang-lru v0.5.0 14:45:07 go: finding github.com/hashicorp/logutils v1.0.0 14:45:07 go: finding github.com/hashicorp/mdns v1.0.0 14:45:07 go: finding github.com/hashicorp/memberlist v0.1.3 14:45:07 go: finding github.com/hashicorp/serf v0.8.2 14:45:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:45:07 go: finding github.com/mattn/go-colorable v0.0.9 14:45:07 go: finding github.com/mattn/go-isatty v0.0.3 14:45:07 go: finding github.com/miekg/dns v1.0.14 14:45:07 go: finding github.com/mitchellh/cli v1.0.0 14:45:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:45:07 go: finding github.com/mitchellh/copystructure v1.0.0 14:45:07 go: finding github.com/mitchellh/go-homedir v1.0.0 14:45:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:45:07 go: finding github.com/mitchellh/gox v0.4.0 14:45:07 go: finding github.com/mitchellh/iochan v1.0.0 14:45:07 go: finding github.com/mitchellh/mapstructure v1.1.2 14:45:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:45:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:45:07 go: finding github.com/pelletier/go-toml v1.2.0 14:45:07 go: finding github.com/pkg/errors v0.8.1 14:45:07 go: finding github.com/pmezard/go-difflib v1.0.0 14:45:07 go: finding github.com/posener/complete v1.1.1 14:45:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:45:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:45:07 go: finding github.com/stretchr/objx v0.1.0 14:45:07 go: finding github.com/stretchr/testify v1.5.1 14:45:07 go: finding github.com/ugorji/go v1.1.4 14:45:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:45:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:45:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:45:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:45:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:45:08 go: finding gopkg.in/yaml.v2 v2.2.8 14:45:13 Removing intermediate container 1f9bca408199 14:45:13 ---> 04d2a37e5b3e 14:45:13 Successfully built 04d2a37e5b3e 14:45:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:45:14 + docker inspect -f . ci-base-image-x86_64 14:45:14 . [Pipeline] withDockerContainer 14:45:14 prd-centos7-docker-4c-2g-1599 does not seem to be running inside a container 14:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 14:45:14 $ docker top 815ff9b2adc2ecc571fbf94658ef12226af7723cb781f6d0eef6a4a6e29a1a2e -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:15 + go version 14:45:15 go version go1.13.5 linux/amd64 [Pipeline] sh 14:45:15 + make test 14:45:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:45:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:45:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:45:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:45:35 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.6% of statements 14:45:35 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.244s coverage: 95.8% of statements 14:45:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.108s coverage: 7.9% of statements 14:45:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 22.1% of statements 14:45:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:45:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 38.5% of statements 14:45:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:45:36 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:45:37 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.725s coverage: 79.9% of statements 14:45:37 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:45:37 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:45:37 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:45:37 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements 14:45:37 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.145s coverage: 76.1% of statements 14:45:37 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:45:37 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:45:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:45:41 gofmt -l . 14:45:41 [ "`gofmt -l .`" = "" ] 14:45:41 ./bin/test-attribution-txt.sh 14:45:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:45:42 Stashed 1 file(s) [Pipeline] } 14:45:42 $ docker stop --time=1 815ff9b2adc2ecc571fbf94658ef12226af7723cb781f6d0eef6a4a6e29a1a2e 14:45:44 $ docker rm -f 815ff9b2adc2ecc571fbf94658ef12226af7723cb781f6d0eef6a4a6e29a1a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:45:45 + ls -al . 14:45:45 total 160 14:45:45 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 14:45 . 14:45:45 drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 14:44 .. 14:45:45 drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 14:44 api 14:45:45 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 14:44 bin 14:45:45 -rw-r--r--. 1 jenkins jenkins 94825 Mar 31 14:45 coverage.out 14:45:45 -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 14:44 Dockerfile.build 14:45:45 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 14:44 .dockerignore 14:45:45 drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 14:44 example 14:45:45 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 14:44 .git 14:45:45 drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 14:44 .github 14:45:45 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 14:44 .gitignore 14:45:45 -rw-r--r--. 1 jenkins jenkins 438 Mar 31 14:45 go.mod 14:45:45 -rw-r--r--. 1 jenkins jenkins 11812 Mar 31 14:45 go.sum 14:45:45 drwxrwxr-x. 13 jenkins jenkins 179 Mar 31 14:44 internal 14:45:45 -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 14:44 Jenkinsfile 14:45:45 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 14:44 LICENSE 14:45:45 -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 14:44 Makefile 14:45:45 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 14:44 pkg 14:45:45 -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 14:44 README.md 14:45:45 drwxrwxr-x. 3 jenkins jenkins 58 Mar 31 14:44 .semver 14:45:45 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 14:44 snap 14:45:45 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 14:42 VERSION 14:45:45 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 14:44 version.go [Pipeline] isUnix [Pipeline] sh 14:45:45 + 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=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 --label arch=amd64 --label version=0.0.0 . 14:45:45 Sending build context to Docker daemon 2.889MB 14:45:45 Step 1/20 : ARG BASE=golang:1.13-alpine 14:45:45 Step 2/20 : FROM ${BASE} AS builder 14:45:45 ---> 04d2a37e5b3e 14:45:45 Step 3/20 : ARG MAKE='make build' 14:45:45 ---> Running in b8b6a9734e97 14:45:46 Removing intermediate container b8b6a9734e97 14:45:46 ---> 3597dc73648a 14:45:46 Step 4/20 : WORKDIR /device-sdk-go 14:45:46 ---> Running in b933baf7f000 14:45:46 Removing intermediate container b933baf7f000 14:45:46 ---> cc74d17d41f6 14:45:46 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:46 ---> Running in 92efe56311ce 14:45:46 Removing intermediate container 92efe56311ce 14:45:46 ---> ba9b4b9f30a2 14:45:46 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:46 ---> Running in c36445ad0de3 14:45:47 Removing intermediate container c36445ad0de3 14:45:47 ---> 0688ccb154bb 14:45:47 Step 7/20 : RUN apk add --update --no-cache make git 14:45:47 ---> Running in 5975be2de61b 14:45:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:45:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:45:49 OK: 143 MiB in 39 packages 14:45:49 Removing intermediate container 5975be2de61b 14:45:49 ---> 514b7b8b02af 14:45:49 Step 8/20 : COPY . . 14:45:50 ---> 4d2961ba98df 14:45:50 Step 9/20 : RUN ${MAKE} 14:45:50 ---> Running in c29cc60cb3f7 14:45: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 14:46:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:46:05 Removing intermediate container c29cc60cb3f7 14:46:05 ---> 713ae5781c93 14:46:05 Step 10/20 : FROM scratch 14:46:05 ---> 14:46:05 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:46:05 ---> Running in 837aa1eb033f 14:46:05 Removing intermediate container 837aa1eb033f 14:46:05 ---> 418072227b3d 14:46:05 Step 12/20 : ENV APP_PORT=49990 14:46:05 ---> Running in 71b7fa33f731 14:46:05 Removing intermediate container 71b7fa33f731 14:46:05 ---> 95a755915976 14:46:05 Step 13/20 : EXPOSE $APP_PORT 14:46:05 ---> Running in 2765faf26150 14:46:05 Removing intermediate container 2765faf26150 14:46:05 ---> 7ff02109e0c2 14:46:05 Step 14/20 : WORKDIR / 14:46:05 ---> Running in f8bb9adb198a 14:46:05 Removing intermediate container f8bb9adb198a 14:46:05 ---> 1c228252c189 14:46:05 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:46:06 ---> 08a571caf103 14:46:06 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 14:46:06 ---> fa194b973397 14:46:06 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 14:46:06 ---> Running in eede917442db 14:46:06 Removing intermediate container eede917442db 14:46:06 ---> 20e64d8202d4 14:46:06 Step 18/20 : LABEL arch=amd64 14:46:06 ---> Running in 496c3268a7f0 14:46:06 Removing intermediate container 496c3268a7f0 14:46:06 ---> 562afce3454f 14:46:06 Step 19/20 : LABEL git_sha=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 14:46:06 ---> Running in fcf2c7b63bd4 14:46:06 Removing intermediate container fcf2c7b63bd4 14:46:06 ---> 81df1a0bdbd0 14:46:06 Step 20/20 : LABEL version=0.0.0 14:46:06 ---> Running in ec03b7b3274f 14:46:07 Removing intermediate container ec03b7b3274f 14:46:07 ---> 630377b056f2 14:46:07 [Warning] One or more build-args [ARCH] were not consumed 14:46:07 Successfully built 630377b056f2 14:46:07 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:46:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1600 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 14:46:38 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 14:46:43 using credential edgex-jenkins-ssh 14:46:43 Cloning the remote Git repository 14:46:43 Cloning with configured refspecs honoured and without tags 14:46:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:46:43 > git init /w/workspace/device-sdk-go/9 # timeout=10 14:46:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:43 > git --version # timeout=10 14:46:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:45 Fetching without tags 14:46:45 Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit c45f45678c666654042318529fadbb6207b03dd5 14:46:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:45 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 14:46:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:45 > git config core.sparsecheckout # timeout=10 14:46:45 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 14:46:45 > git remote # timeout=10 14:46:45 > git config --get remote.origin.url # timeout=10 14:46:46 Merge succeeded, producing daabec082928367b14e3081e1a4d9e4f74f04101 14:46:46 Checking out Revision daabec082928367b14e3081e1a4d9e4f74f04101 (PR-432) 14:46:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:45 > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 14:46:46 > git rev-parse HEAD^{commit} # timeout=10 14:46:46 > git config core.sparsecheckout # timeout=10 14:46:46 > git checkout -f daabec082928367b14e3081e1a4d9e4f74f04101 # timeout=10 14:46:50 Commit message: "Merge commit '0605716f3fd271273ac872c46dcfc3221fe9ce3f' into HEAD" 14:46:50 > git rev-list --no-walk c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:46:51 ========================================================= 14:46:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:46:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:53 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 14:46:54 Sending build context to Docker daemon 2.773MB 14:46:54 Step 1/8 : ARG BASE=golang:1.13-alpine 14:46:54 Step 2/8 : FROM ${BASE} 14:46:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:46:54 cde5963f3b93: Pulling fs layer 14:46:54 2a23fa8c16f7: Pulling fs layer 14:46:54 777b28850792: Pulling fs layer 14:46:54 8a11ddd9e578: Pulling fs layer 14:46:54 4cf88f913ddb: Pulling fs layer 14:46:54 1df406cf5192: Pulling fs layer 14:46:54 cd6300453558: Pulling fs layer 14:46:54 b9c365052c96: Pulling fs layer 14:46:54 4cf88f913ddb: Waiting 14:46:54 a2d8cc88f415: Pulling fs layer 14:46:54 ea1d1ca13537: Pulling fs layer 14:46:54 3750a50a1c5e: Pulling fs layer 14:46:54 a2d8cc88f415: Waiting 14:46:54 ea1d1ca13537: Waiting 14:46:54 8a11ddd9e578: Waiting 14:46:54 1df406cf5192: Waiting 14:46:54 3750a50a1c5e: Waiting 14:46:54 cd6300453558: Waiting 14:46:54 b9c365052c96: Waiting 14:46:54 777b28850792: Download complete 14:46:54 2a23fa8c16f7: Download complete 14:46:54 4cf88f913ddb: Verifying Checksum 14:46:54 4cf88f913ddb: Download complete 14:46:54 1df406cf5192: Verifying Checksum 14:46:54 1df406cf5192: Download complete 14:46:55 cde5963f3b93: Verifying Checksum 14:46:55 cde5963f3b93: Download complete 14:46:55 cde5963f3b93: Pull complete 14:46:56 2a23fa8c16f7: Pull complete 14:46:56 777b28850792: Pull complete 14:46:58 cd6300453558: Download complete 14:46:59 a2d8cc88f415: Verifying Checksum 14:46:59 a2d8cc88f415: Download complete 14:47:01 ea1d1ca13537: Verifying Checksum 14:47:01 ea1d1ca13537: Download complete 14:47:01 3750a50a1c5e: Download complete 14:47:04 b9c365052c96: Verifying Checksum 14:47:04 b9c365052c96: Download complete 14:47:06 8a11ddd9e578: Verifying Checksum 14:47:06 8a11ddd9e578: Download complete 14:47:18 8a11ddd9e578: Pull complete 14:47:18 4cf88f913ddb: Pull complete 14:47:18 1df406cf5192: Pull complete 14:47:22 cd6300453558: Pull complete 14:47:27 b9c365052c96: Pull complete 14:47:27 a2d8cc88f415: Pull complete 14:47:29 ea1d1ca13537: Pull complete 14:47:29 3750a50a1c5e: Pull complete 14:47:29 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:47:29 ---> 78745c68409d 14:47:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:47:33 ---> Running in 4d30e752ac4d 14:47:33 Removing intermediate container 4d30e752ac4d 14:47:33 ---> 6b166d85e20d 14:47:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:34 ---> Running in 2843c64753c5 14:47:36 Removing intermediate container 2843c64753c5 14:47:36 ---> 70e4a5ee225e 14:47:36 Step 5/8 : RUN apk add --no-cache make git 14:47:36 ---> Running in bc13e0ec7bdc 14:47:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:47:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:47:38 OK: 125 MiB in 39 packages 14:47:40 Removing intermediate container bc13e0ec7bdc 14:47:40 ---> 6e20f9e73081 14:47:40 Step 6/8 : WORKDIR /device-sdk-go 14:47:40 ---> Running in c8243925ae0a 14:47:40 Removing intermediate container c8243925ae0a 14:47:40 ---> 653e693b88a8 14:47:40 Step 7/8 : COPY . . 14:47:41 ---> b5fb06407caf 14:47:41 Step 8/8 : RUN go mod download 14:47:41 ---> Running in 79f07e1413a9 14:47:43 go: finding github.com/BurntSushi/toml v0.3.1 14:47:43 go: finding github.com/OneOfOne/xxhash v1.2.6 14:47:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:47:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:47:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:47:43 go: finding github.com/bgentry/speakeasy v0.1.0 14:47:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:47:43 go: finding github.com/davecgh/go-spew v1.1.1 14:47:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 14:47:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:47:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 14:47:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:47:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:47:43 go: finding github.com/fatih/color v1.7.0 14:47:43 go: finding github.com/go-kit/kit v0.8.0 14:47:43 go: finding github.com/go-logfmt/logfmt v0.4.0 14:47:43 go: finding github.com/go-stack/stack v1.8.0 14:47:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:47:43 go: finding github.com/google/uuid v1.1.0 14:47:43 go: finding github.com/gorilla/mux v1.7.1 14:47:43 go: finding github.com/hashicorp/consul/api v1.1.0 14:47:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:47:43 go: finding github.com/hashicorp/errwrap v1.0.0 14:47:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:47:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:47:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:47:43 go: finding github.com/hashicorp/go-multierror v1.0.0 14:47:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:47:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:47:43 go: finding github.com/hashicorp/go-syslog v1.0.0 14:47:43 go: finding github.com/hashicorp/go-uuid v1.0.1 14:47:43 go: finding github.com/hashicorp/go.net v0.0.1 14:47:43 go: finding github.com/hashicorp/golang-lru v0.5.0 14:47:43 go: finding github.com/hashicorp/logutils v1.0.0 14:47:43 go: finding github.com/hashicorp/mdns v1.0.0 14:47:43 go: finding github.com/hashicorp/memberlist v0.1.3 14:47:43 go: finding github.com/hashicorp/serf v0.8.2 14:47:43 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:47:43 go: finding github.com/mattn/go-colorable v0.0.9 14:47:43 go: finding github.com/mattn/go-isatty v0.0.3 14:47:43 go: finding github.com/miekg/dns v1.0.14 14:47:43 go: finding github.com/mitchellh/cli v1.0.0 14:47:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:47:43 go: finding github.com/mitchellh/copystructure v1.0.0 14:47:43 go: finding github.com/mitchellh/go-homedir v1.0.0 14:47:43 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:47:43 go: finding github.com/mitchellh/gox v0.4.0 14:47:43 go: finding github.com/mitchellh/iochan v1.0.0 14:47:43 go: finding github.com/mitchellh/mapstructure v1.1.2 14:47:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:47:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:47:43 go: finding github.com/pelletier/go-toml v1.2.0 14:47:43 go: finding github.com/pkg/errors v0.8.1 14:47:43 go: finding github.com/pmezard/go-difflib v1.0.0 14:47:43 go: finding github.com/posener/complete v1.1.1 14:47:43 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:47:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:47:43 go: finding github.com/stretchr/objx v0.1.0 14:47:43 go: finding github.com/stretchr/testify v1.5.1 14:47:43 go: finding github.com/ugorji/go v1.1.4 14:47:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:47:43 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:47:43 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:47:43 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:47:43 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:47:43 go: finding gopkg.in/yaml.v2 v2.2.8 14:47:53 Removing intermediate container 79f07e1413a9 14:47:53 ---> f00ad99b5ae9 14:47:53 Successfully built f00ad99b5ae9 14:47:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:47:54 + docker inspect -f . ci-base-image-arm64 14:47:54 . [Pipeline] withDockerContainer 14:47:54 prd-ubuntu18.04-docker-arm64-4c-16g-1600 does not seem to be running inside a container 14:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-arm64 cat 14:47:56 $ docker top 403158c5aebdcba4fb054796bdc16b48aaf40e5c3763ee224c68106bd6937976 -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:57 + go version 14:47:57 go version go1.13.5 linux/arm64 [Pipeline] sh 14:47:58 + make test 14:47:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:47:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:48:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:48:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.6% of statements 14:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.271s coverage: 95.8% of statements 14:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.043s coverage: 7.9% of statements 14:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 22.1% of statements 14:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.121s coverage: 38.5% of statements 14:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.826s coverage: 79.9% of statements 14:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements 14:48:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.364s coverage: 76.1% of statements 14:48:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:48:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:48:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:48:57 gofmt -l . 14:48:57 [ "`gofmt -l .`" = "" ] 14:48:57 ./bin/test-attribution-txt.sh 14:48:57 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:48:57 Warning: overwriting stash ‘coverage-report’ 14:48:58 Stashed 1 file(s) [Pipeline] } 14:48:58 $ docker stop --time=1 403158c5aebdcba4fb054796bdc16b48aaf40e5c3763ee224c68106bd6937976 14:49:00 $ docker rm -f 403158c5aebdcba4fb054796bdc16b48aaf40e5c3763ee224c68106bd6937976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:49:01 + ls -al . 14:49:01 total 200 14:49:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 14:48 . 14:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 14:46 .. 14:49:01 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 14:46 .dockerignore 14:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 14:46 .git 14:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 14:46 .github 14:49:01 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 14:46 .gitignore 14:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 14:46 .semver 14:49:01 -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 14:46 Dockerfile.build 14:49:01 -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 14:46 Jenkinsfile 14:49:01 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 14:46 LICENSE 14:49:01 -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 14:46 Makefile 14:49:01 -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 14:46 README.md 14:49:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 14:42 VERSION 14:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 14:46 api 14:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 14:46 bin 14:49:01 -rw-r--r-- 1 jenkins jenkins 94825 Mar 31 14:48 coverage.out 14:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 14:46 example 14:49:01 -rw-r--r-- 1 jenkins jenkins 438 Mar 31 14:48 go.mod 14:49:01 -rw-r--r-- 1 jenkins jenkins 11812 Mar 31 14:48 go.sum 14:49:01 drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 14:46 internal 14:49:01 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 14:46 pkg 14:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 14:46 snap 14:49:01 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 14:46 version.go [Pipeline] isUnix [Pipeline] sh 14:49:02 + 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=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 --label arch=arm64 --label version=0.0.0 . 14:49:02 Sending build context to Docker daemon 2.889MB 14:49:02 Step 1/20 : ARG BASE=golang:1.13-alpine 14:49:02 Step 2/20 : FROM ${BASE} AS builder 14:49:02 ---> f00ad99b5ae9 14:49:02 Step 3/20 : ARG MAKE='make build' 14:49:03 ---> Running in 30b1713e22d8 14:49:03 Removing intermediate container 30b1713e22d8 14:49:03 ---> 1d5477cc2cef 14:49:03 Step 4/20 : WORKDIR /device-sdk-go 14:49:03 ---> Running in 5d734c632fa9 14:49:04 Removing intermediate container 5d734c632fa9 14:49:04 ---> 0ffe371c3a0b 14:49:04 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:49:04 ---> Running in d71af3cb472f 14:49:04 Removing intermediate container d71af3cb472f 14:49:04 ---> 981c8e24e0e3 14:49:04 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:49:04 ---> Running in d66caa0d1f16 14:49:06 Removing intermediate container d66caa0d1f16 14:49:06 ---> 798790707810 14:49:06 Step 7/20 : RUN apk add --update --no-cache make git 14:49:06 ---> Running in 455ca699dcac 14:49:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:49:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:49:08 OK: 125 MiB in 39 packages 14:49:10 Removing intermediate container 455ca699dcac 14:49:10 ---> 8644e4c3d849 14:49:10 Step 8/20 : COPY . . 14:49:10 ---> 1bf9b3259474 14:49:10 Step 9/20 : RUN ${MAKE} 14:49:10 ---> Running in e539a70720f1 14:49:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:49:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:49:50 Removing intermediate container e539a70720f1 14:49:50 ---> ddb24ca12658 14:49:50 Step 10/20 : FROM scratch 14:49:50 ---> 14:49:50 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:49:50 ---> Running in 116f3ffbca24 14:49:50 Removing intermediate container 116f3ffbca24 14:49:50 ---> 7240f971804d 14:49:50 Step 12/20 : ENV APP_PORT=49990 14:49:50 ---> Running in d56b8fa211a7 14:49:50 Removing intermediate container d56b8fa211a7 14:49:50 ---> f8549cada6f3 14:49:50 Step 13/20 : EXPOSE $APP_PORT 14:49:50 ---> Running in 15763dcc5ff1 14:49:50 Removing intermediate container 15763dcc5ff1 14:49:50 ---> b89fd795b87a 14:49:50 Step 14/20 : WORKDIR / 14:49:50 ---> Running in a7a86d7779e1 14:49:50 Removing intermediate container a7a86d7779e1 14:49:50 ---> 2086b5d1c68d 14:49:50 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:49:50 ---> b04040a67807 14:49:50 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 14:49:50 ---> 0e7d6b6f07b4 14:49:50 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 14:49:50 ---> Running in 782f3314361d 14:49:50 Removing intermediate container 782f3314361d 14:49:50 ---> e7ac5e863f70 14:49:50 Step 18/20 : LABEL arch=arm64 14:49:50 ---> Running in 866990e4c325 14:49:51 Removing intermediate container 866990e4c325 14:49:51 ---> 3f00004a9d91 14:49:51 Step 19/20 : LABEL git_sha=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 14:49:51 ---> Running in cbcab4fe5a0e 14:49:51 Removing intermediate container cbcab4fe5a0e 14:49:51 ---> 1c0f4fbf333d 14:49:51 Step 20/20 : LABEL version=0.0.0 14:49:52 ---> Running in 7c17b8dfc6e4 14:49:52 Removing intermediate container 7c17b8dfc6e4 14:49:52 ---> 5ba373807c63 14:49:52 [Warning] One or more build-args [ARCH] were not consumed 14:49:52 Successfully built 5ba373807c63 14:49:52 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:49:53 provisioning config files... 14:49:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6170026423720106292tmp [Pipeline] { [Pipeline] sh 14:49:53 + curl -s https://codecov.io/bash 14:49:53 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6170026423720106292tmp 14:49:54 14:49:54 _____ _ 14:49:54 / ____| | | 14:49:54 | | ___ __| | ___ ___ _____ __ 14:49:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:49:54 | |___| (_) | (_| | __/ (_| (_) \ V / 14:49:54 \_____\___/ \__,_|\___|\___\___/ \_/ 14:49:54 Bash-tbd 14:49:54 14:49:54 14:49:54 ==> Jenkins CI detected. 14:49:54 project root: . 14:49:54 Fixing merge commit SHA 14:49:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:49:54 ==> Running gcov in . (disable via -X gcov) 14:49:54 ==> Python coveragepy not found 14:49:54 ==> Searching for coverage reports in: 14:49:54 + . 14:49:54 -> Found 1 reports 14:49:54 ==> Detecting git/mercurial file structure 14:49:54 ==> Reading reports 14:49:54 + ./coverage.out bytes=94825 14:49:54 ==> Appending adjustments 14:49:54 http://docs.codecov.io/docs/fixing-reports 14:49:54 + Found adjustments 14:49:54 ==> Gzipping contents 14:49:54 ==> Uploading reports 14:49:54 url: https://codecov.io 14:49:54 query: branch=PR-432&commit=0605716f3fd271273ac872c46dcfc3221fe9ce3f&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 14:49:54 -> Pinging Codecov 14:49:54 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=0605716f3fd271273ac872c46dcfc3221fe9ce3f&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 14:49:54 -> Uploading 14:49:55 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0605716f3fd271273ac872c46dcfc3221fe9ce3f [Pipeline] } 14:49:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:49:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:49:56 ---> package-listing.sh 14:49:56 ++ facter osfamily 14:49:56 ++ tr '[:upper:]' '[:lower:]' 14:49:56 + OS_FAMILY=redhat 14:49:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 14:49:56 + START_PACKAGES=/tmp/packages_start.txt 14:49:56 + END_PACKAGES=/tmp/packages_end.txt 14:49:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:49:56 + PACKAGES=/tmp/packages_start.txt 14:49:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 14:49:56 + PACKAGES=/tmp/packages_end.txt 14:49:56 + case "${OS_FAMILY}" in 14:49:56 + rpm -qa 14:49:56 + sort 14:49:59 + '[' -f /tmp/packages_start.txt ']' 14:49:59 + '[' -f /tmp/packages_end.txt ']' 14:49:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:50:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 14:50:00 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 14:50:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh 14:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:50:00 14:50:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:50:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:50:00 alpine: Pulling from edgex-lftools-log-publisher 14:50:00 c9b1b535fdd9: Pulling fs layer 14:50:00 2cc5ad85d9ab: Pulling fs layer 14:50:00 756a868c4378: Pulling fs layer 14:50:00 444b2fc9a129: Pulling fs layer 14:50:00 ea15f1150254: Pulling fs layer 14:50:00 41b27a9f41bf: Pulling fs layer 14:50:00 28c525ee5125: Pulling fs layer 14:50:00 094b1ea09ed8: Pulling fs layer 14:50:00 138eaada9080: Pulling fs layer 14:50:00 0622d0fa9048: Pulling fs layer 14:50:00 41b27a9f41bf: Waiting 14:50:00 28c525ee5125: Waiting 14:50:00 094b1ea09ed8: Waiting 14:50:00 138eaada9080: Waiting 14:50:00 0622d0fa9048: Waiting 14:50:00 ea15f1150254: Waiting 14:50:00 444b2fc9a129: Waiting 14:50:00 2cc5ad85d9ab: Download complete 14:50:00 444b2fc9a129: Verifying Checksum 14:50:00 444b2fc9a129: Download complete 14:50:00 c9b1b535fdd9: Verifying Checksum 14:50:00 c9b1b535fdd9: Download complete 14:50:01 ea15f1150254: Verifying Checksum 14:50:01 ea15f1150254: Download complete 14:50:01 28c525ee5125: Verifying Checksum 14:50:01 28c525ee5125: Download complete 14:50:01 c9b1b535fdd9: Pull complete 14:50:01 756a868c4378: Download complete 14:50:01 138eaada9080: Verifying Checksum 14:50:01 138eaada9080: Download complete 14:50:01 2cc5ad85d9ab: Pull complete 14:50:01 0622d0fa9048: Verifying Checksum 14:50:01 0622d0fa9048: Download complete 14:50:01 094b1ea09ed8: Verifying Checksum 14:50:01 094b1ea09ed8: Download complete 14:50:02 41b27a9f41bf: Verifying Checksum 14:50:02 41b27a9f41bf: Download complete 14:50:03 756a868c4378: Pull complete 14:50:03 444b2fc9a129: Pull complete 14:50:04 ea15f1150254: Pull complete 14:50:08 41b27a9f41bf: Pull complete 14:50:08 28c525ee5125: Pull complete 14:50:10 094b1ea09ed8: Pull complete 14:50:10 138eaada9080: Pull complete 14:50:10 0622d0fa9048: Pull complete 14:50:10 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:50:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:50:10 prd-centos7-docker-4c-2g-1596 does not seem to be running inside a container 14:50:10 $ 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-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:50:12 $ docker top d7acfb1395ec9fe4d8441dd02c00215a20381fc5e296d09ab567deee736ca5eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:50:12 provisioning config files... 14:50:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config962060751302075828tmp [Pipeline] { [Pipeline] echo 14:50:12 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:50:12 ---> create-netrc.sh [Pipeline] echo 14:50:12 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:50:12 ---> logs-deploy.sh 14:50:12 + ARCHIVE_ARTIFACTS= 14:50:12 + LOGS_SERVER=https://logs.edgexfoundry.org 14:50:12 + '[' https://logs.edgexfoundry.org == None ']' 14:50:12 + NEXUS_URL=https://nexus.edgexfoundry.org 14:50:12 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/9 14:50:12 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/9/ 14:50:12 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/9 /w/workspace/dgexfoundry_device-sdk-go_PR-432 14:50:14 Archives upload complete. 14:50:14 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/9/ 14:50:14 ---> uname -a: 14:50:14 Linux d7acfb1395ec 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 14:50:14 14:50:14 14:50:14 ---> lscpu: 14:50:14 Architecture: x86_64 14:50:14 CPU op-mode(s): 32-bit, 64-bit 14:50:14 Byte Order: Little Endian 14:50:14 Address sizes: 40 bits physical, 48 bits virtual 14:50:14 CPU(s): 4 14:50:14 On-line CPU(s) list: 0-3 14:50:14 Thread(s) per core: 1 14:50:14 Core(s) per socket: 1 14:50:14 Socket(s): 4 14:50:14 NUMA node(s): 1 14:50:14 Vendor ID: GenuineIntel 14:50:14 CPU family: 6 14:50:14 Model: 44 14:50:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:50:14 Stepping: 1 14:50:14 CPU MHz: 2933.436 14:50:14 BogoMIPS: 5866.87 14:50:14 Virtualization: VT-x 14:50:14 Hypervisor vendor: KVM 14:50:14 Virtualization type: full 14:50:14 L1d cache: 128 KiB 14:50:14 L1i cache: 128 KiB 14:50:14 L2 cache: 16 MiB 14:50:14 L3 cache: 64 MiB 14:50:14 NUMA node0 CPU(s): 0-3 14:50:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 14:50:14 Vulnerability Meltdown: Mitigation; PTI 14:50:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:50:14 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 14:50:14 Vulnerability Spectre v2: Mitigation; Full retpoline 14:50:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 14:50:14 14:50:14 14:50:14 ---> nproc: 14:50:14 4 14:50:14 14:50:14 14:50:14 ---> df -h: 14:50:14 Filesystem Size Used Available Use% Mounted on 14:50:14 overlay 50.0G 6.4G 43.6G 13% / 14:50:14 tmpfs 64.0M 0 64.0M 0% /dev 14:50:14 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 14:50:14 shm 64.0M 0 64.0M 0% /dev/shm 14:50:14 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 14:50:14 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 14:50:14 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 14:50:14 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 14:50:14 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 14:50:14 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 14:50:14 14:50:14 14:50:14 ---> free -m: 14:50:14 total used free shared buff/cache available 14:50:14 Mem: 1838 595 75 0 1167 1138 14:50:14 Swap: 1023 1 1022 14:50:14 14:50:14 14:50:14 ---> ip addr: 14:50:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:50:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:50:14 inet 127.0.0.1/8 scope host lo 14:50:14 valid_lft forever preferred_lft forever 14:50:14 6: eth0@if7: mtu 1458 qdisc noqueue state UP 14:50:14 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 14:50:14 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 14:50:14 valid_lft forever preferred_lft forever 14:50:14 14:50:14