Pull request #467 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 iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 00653bff75031769b17374a6b15ddb1c4ef00afb+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (f3850d9295676dbe01d9f124e719920f695fd51f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1291 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [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-467 # 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/467/head:refs/remotes/origin/PR-467 +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/467/head:refs/remotes/origin/PR-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb Merge succeeded, producing 00653bff75031769b17374a6b15ddb1c4ef00afb Checking out Revision 00653bff75031769b17374a6b15ddb1c4ef00afb (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 Commit message: "Add v2 REST API specification" First time build. Skipping changelog. > git rev-list --no-walk e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:51:45 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 22:51:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:51:48 22:51:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:51:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:51:48 latest: Pulling from edgex-devops/git-semver 22:51:48 9123ac7c32f7: Pulling fs layer 22:51:48 b8cc5d1170e3: Pulling fs layer 22:51:48 2924cbbf6a41: Pulling fs layer 22:51:48 93b08a4f1073: Pulling fs layer 22:51:48 93b08a4f1073: Waiting 22:51:48 b8cc5d1170e3: Verifying Checksum 22:51:48 b8cc5d1170e3: Download complete 22:51:48 9123ac7c32f7: Verifying Checksum 22:51:48 9123ac7c32f7: Download complete 22:51:48 93b08a4f1073: Verifying Checksum 22:51:48 93b08a4f1073: Download complete 22:51:48 2924cbbf6a41: Verifying Checksum 22:51:48 2924cbbf6a41: Download complete 22:51:48 9123ac7c32f7: Pull complete 22:51:48 b8cc5d1170e3: Pull complete 22:51:49 2924cbbf6a41: Pull complete 22:51:49 93b08a4f1073: Pull complete 22:51:49 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 22:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:51:50 prd-centos7-docker-4c-2g-1291 does not seem to be running inside a container 22:51:50 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:51:50 $ docker top 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:51:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:51:51 [ssh-agent] Looking for ssh-agent implementation... 22:51:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:51:51 $ docker exec 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent 22:51:51 SSH_AUTH_SOCK=/tmp/ssh-4jCdQLQ7cc8C/agent.14 22:51:51 SSH_AGENT_PID=21 22:51:51 Running ssh-add (command line suppressed) 22:51:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_5303227797128715678.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_5303227797128715678.key) 22:51:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:51:52 + git describe --exact-match --tags HEAD 22:51:52 fatal: No names found, cannot describe anything. [Pipeline] } 22:51:52 $ docker exec --env ******** --env ******** 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent -k 22:51:52 unset SSH_AUTH_SOCK; 22:51:52 unset SSH_AGENT_PID; 22:51:52 echo Agent pid 21 killed; 22:51:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:51:52 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:51:52 This usually means this commit has not been tagged. [Pipeline] sshagent 22:51:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:51:52 [ssh-agent] Looking for ssh-agent implementation... 22:51:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:51:52 $ docker exec 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent 22:51:52 SSH_AUTH_SOCK=/tmp/ssh-njOjoxCkNl5I/agent.54 22:51:52 SSH_AGENT_PID=61 22:51:52 Running ssh-add (command line suppressed) 22:51:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_3610378480186970401.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_3610378480186970401.key) 22:51:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:51:53 + git semver init 22:51:53 # -> Open(): unable to determine branch for HEAD 22:51:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.git 22:51:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-467 22:51:53 # $SEMVER_REMOTE_NAME = origin 22:51:53 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 22:51:53 # $SEMVER_USER_NAME = jenkins 22:51:53 # $SEMVER_BRANCH = PR-467 22:51:53 # $SEMVER_TEMP = /tmp/semver-561553663 22:51:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:51:53 # '/tmp/semver-561553663' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver' 22:51:53 # -> Force: false 22:51:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver [Pipeline] } 22:51:53 $ docker exec --env ******** --env ******** 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 ssh-agent -k 22:51:54 unset SSH_AUTH_SOCK; 22:51:54 unset SSH_AGENT_PID; 22:51:54 echo Agent pid 61 killed; 22:51:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:51:54 + git semver [Pipeline] } 22:51:54 $ docker stop --time=1 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 22:51:55 $ docker rm -f 4e3133e80350f14d4f9f590971750a90680f44b5cb738ddfc8b2e17e7fce76e0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:51:56 Stashed 32 file(s) [Pipeline] echo 22:51:56 [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 22:52:11 Still waiting to schedule task 22:52:11 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1291’ 22:52:11 Still waiting to schedule task 22:52:11 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:53:37 Running on prd-centos7-docker-4c-2g-1293 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws 22:53:37 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 22:53:39 using credential edgex-jenkins-ssh 22:53:39 Cloning the remote Git repository 22:53:39 Cloning with configured refspecs honoured and without tags 22:53:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:53:39 > git init /w/workspace/device-sdk-go/7 # timeout=10 22:53:40 Fetching without tags 22:53:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:53:39 > git --version # timeout=10 22:53:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:53:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:53:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:53:39 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 22:53:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:53:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:53:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:53:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:53:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:53:40 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb 22:53:40 Merge succeeded, producing 00653bff75031769b17374a6b15ddb1c4ef00afb 22:53:40 Checking out Revision 00653bff75031769b17374a6b15ddb1c4ef00afb (PR-467) 22:53:40 > git config core.sparsecheckout # timeout=10 22:53:40 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 22:53:40 > git remote # timeout=10 22:53:40 > git config --get remote.origin.url # timeout=10 22:53:40 using GIT_SSH to set credentials SSH Credentials for GitHub 22:53:40 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 22:53:40 > git rev-parse HEAD^{commit} # timeout=10 22:53:40 > git config core.sparsecheckout # timeout=10 22:53:40 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 22:53:44 Commit message: "Add v2 REST API specification" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:53:45 ========================================================= 22:53:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:53:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:53:45 + 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 . 22:53:46 Sending build context to Docker daemon 2.74MB 22:53:46 Step 1/8 : ARG BASE=golang:1.13-alpine 22:53:46 Step 2/8 : FROM ${BASE} 22:53:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:53:46 e6b0cf9c0882: Pulling fs layer 22:53:46 2848faf0eed1: Pulling fs layer 22:53:46 0f37312ad70f: Pulling fs layer 22:53:46 5788d62ee057: Pulling fs layer 22:53:46 0e6b1d234666: Pulling fs layer 22:53:46 bf5d7aec512f: Pulling fs layer 22:53:46 34c802a77dc8: Pulling fs layer 22:53:46 9eb99e56ec68: Pulling fs layer 22:53:46 27c7a5d97fbd: Pulling fs layer 22:53:46 5c102a31e300: Pulling fs layer 22:53:46 dcfb455df0a1: Pulling fs layer 22:53:46 5788d62ee057: Waiting 22:53:46 0e6b1d234666: Waiting 22:53:46 bf5d7aec512f: Waiting 22:53:46 34c802a77dc8: Waiting 22:53:46 9eb99e56ec68: Waiting 22:53:46 5c102a31e300: Waiting 22:53:46 dcfb455df0a1: Waiting 22:53:46 27c7a5d97fbd: Waiting 22:53:46 0f37312ad70f: Download complete 22:53:46 2848faf0eed1: Verifying Checksum 22:53:46 2848faf0eed1: Download complete 22:53:46 0e6b1d234666: Verifying Checksum 22:53:46 0e6b1d234666: Download complete 22:53:46 bf5d7aec512f: Verifying Checksum 22:53:46 bf5d7aec512f: Download complete 22:53:46 e6b0cf9c0882: Verifying Checksum 22:53:46 e6b0cf9c0882: Download complete 22:53:46 e6b0cf9c0882: Pull complete 22:53:47 34c802a77dc8: Verifying Checksum 22:53:47 34c802a77dc8: Download complete 22:53:47 27c7a5d97fbd: Verifying Checksum 22:53:47 27c7a5d97fbd: Download complete 22:53:47 5c102a31e300: Verifying Checksum 22:53:47 5c102a31e300: Download complete 22:53:47 5788d62ee057: Verifying Checksum 22:53:47 5788d62ee057: Download complete 22:53:47 dcfb455df0a1: Verifying Checksum 22:53:47 dcfb455df0a1: Download complete 22:53:47 9eb99e56ec68: Verifying Checksum 22:53:47 9eb99e56ec68: Download complete 22:53:48 2848faf0eed1: Pull complete 22:53:48 0f37312ad70f: Pull complete 22:53:54 5788d62ee057: Pull complete 22:53:54 0e6b1d234666: Pull complete 22:53:54 bf5d7aec512f: Pull complete 22:54:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1292 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws 22:54:01 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 22:54:04 34c802a77dc8: Pull complete 22:54:06 9eb99e56ec68: Pull complete 22:54:06 27c7a5d97fbd: Pull complete 22:54:07 using credential edgex-jenkins-ssh 22:54:07 Cloning the remote Git repository 22:54:07 Cloning with configured refspecs honoured and without tags 22:54:07 5c102a31e300: Pull complete 22:54:07 dcfb455df0a1: Pull complete 22:54:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 22:54:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:54:07 ---> 7c70fe431013 22:54:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:07 ---> Running in 75b7aa3ac2a6 22:54:07 Removing intermediate container 75b7aa3ac2a6 22:54:07 ---> 6dc929d29d6c 22:54:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:07 ---> Running in 50177fefb029 22:54:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:54:07 > git init /w/workspace/device-sdk-go/7 # timeout=10 22:54:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:54:07 > git --version # timeout=10 22:54:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:54:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:54:08 Fetching without tags 22:54:08 Removing intermediate container 50177fefb029 22:54:08 ---> 885d53fd49f5 22:54:08 Step 5/8 : RUN apk add --no-cache make git 22:54:08 ---> Running in 08fa56cc3f07 22:54:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:54:08 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 22:54:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:54:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:54:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:54:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:54:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:54:09 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 00653bff75031769b17374a6b15ddb1c4ef00afb 22:54:09 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:54:09 Merge succeeded, producing 00653bff75031769b17374a6b15ddb1c4ef00afb 22:54:09 Checking out Revision 00653bff75031769b17374a6b15ddb1c4ef00afb (PR-467) 22:54:10 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:54:09 > git config core.sparsecheckout # timeout=10 22:54:09 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 22:54:09 > git remote # timeout=10 22:54:09 > git config --get remote.origin.url # timeout=10 22:54:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:54:09 > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 22:54:09 > git rev-parse HEAD^{commit} # timeout=10 22:54:09 > git config core.sparsecheckout # timeout=10 22:54:09 > git checkout -f 00653bff75031769b17374a6b15ddb1c4ef00afb # timeout=10 22:54:10 OK: 143 MiB in 39 packages 22:54:11 Removing intermediate container 08fa56cc3f07 22:54:11 ---> 54b80177cfbd 22:54:11 Step 6/8 : WORKDIR /device-sdk-go 22:54:11 ---> Running in 482487c23dd4 22:54:11 Removing intermediate container 482487c23dd4 22:54:11 ---> afd73a9cbc38 22:54:11 Step 7/8 : COPY . . 22:54:11 ---> 06038dcae4ff 22:54:11 Step 8/8 : RUN go mod download 22:54:11 ---> Running in d2997a6115f2 22:54:13 go: finding github.com/BurntSushi/toml v0.3.1 22:54:13 go: finding github.com/OneOfOne/xxhash v1.2.6 22:54:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:54:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:54:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:54:13 go: finding github.com/bgentry/speakeasy v0.1.0 22:54:13 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 22:54:13 Commit message: "Add v2 REST API specification" 22:54:14 go: finding github.com/davecgh/go-spew v1.1.1 22:54:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 22:54:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 22:54:14 go: finding github.com/fatih/color v1.7.0 22:54:14 go: finding github.com/go-kit/kit v0.8.0 22:54:14 go: finding github.com/go-logfmt/logfmt v0.4.0 22:54:14 go: finding github.com/go-stack/stack v1.8.0 22:54:14 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:54:14 go: finding github.com/google/uuid v1.1.0 22:54:14 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 22:54:14 go: finding github.com/gorilla/mux v1.6.2 22:54:14 go: finding github.com/hashicorp/consul v1.4.2 22:54:14 go: finding github.com/hashicorp/errwrap v1.0.0 22:54:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 22:54:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:54:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:54:14 go: finding github.com/hashicorp/go-multierror v1.0.0 22:54:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:54:14 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:54:14 go: finding github.com/hashicorp/go-syslog v1.0.0 22:54:14 go: finding github.com/hashicorp/go-uuid v1.0.1 22:54:14 go: finding github.com/hashicorp/go.net v0.0.1 22:54:14 go: finding github.com/hashicorp/golang-lru v0.5.0 22:54:14 go: finding github.com/hashicorp/logutils v1.0.0 22:54:14 go: finding github.com/hashicorp/mdns v1.0.0 22:54:14 go: finding github.com/hashicorp/memberlist v0.1.3 22:54:14 go: finding github.com/hashicorp/serf v0.8.2 22:54:14 go: finding github.com/jessevdk/go-flags v1.4.0 [Pipeline] unstash 22:54:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:54:14 go: finding github.com/mattn/go-colorable v0.0.9 22:54:14 go: finding github.com/mattn/go-isatty v0.0.3 22:54:14 go: finding github.com/miekg/dns v1.0.14 22:54:14 go: finding github.com/mitchellh/cli v1.0.0 22:54:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:54:14 go: finding github.com/mitchellh/copystructure v1.0.0 22:54:14 go: finding github.com/mitchellh/go-homedir v1.0.0 22:54:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:54:14 go: finding github.com/mitchellh/gox v0.4.0 22:54:14 go: finding github.com/mitchellh/iochan v1.0.0 22:54:14 go: finding github.com/mitchellh/mapstructure v1.1.2 22:54:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:54:14 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:54:14 go: finding github.com/pelletier/go-toml v1.2.0 22:54:14 go: finding github.com/pkg/errors v0.8.1 22:54:14 go: finding github.com/pmezard/go-difflib v1.0.0 22:54:14 go: finding github.com/posener/complete v1.1.1 22:54:14 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:54:14 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:54:14 go: finding github.com/stretchr/objx v0.1.0 22:54:14 go: finding github.com/stretchr/testify v1.3.0 22:54:14 go: finding github.com/ugorji/go v1.1.4 22:54:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:54:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:54:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:54:14 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:54:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:54:14 go: finding gopkg.in/yaml.v2 v2.2.2 [Pipeline] echo 22:54:15 ========================================================= 22:54:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:54:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:54:16 + 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 . 22:54:17 Sending build context to Docker daemon 2.74MB 22:54:17 Step 1/8 : ARG BASE=golang:1.13-alpine 22:54:17 Step 2/8 : FROM ${BASE} 22:54:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:54:17 cde5963f3b93: Pulling fs layer 22:54:17 2a23fa8c16f7: Pulling fs layer 22:54:17 777b28850792: Pulling fs layer 22:54:17 8a11ddd9e578: Pulling fs layer 22:54:17 4cf88f913ddb: Pulling fs layer 22:54:17 1df406cf5192: Pulling fs layer 22:54:17 cd6300453558: Pulling fs layer 22:54:17 b9c365052c96: Pulling fs layer 22:54:17 a2d8cc88f415: Pulling fs layer 22:54:17 ea1d1ca13537: Pulling fs layer 22:54:17 3750a50a1c5e: Pulling fs layer 22:54:17 1df406cf5192: Waiting 22:54:17 cd6300453558: Waiting 22:54:17 b9c365052c96: Waiting 22:54:17 a2d8cc88f415: Waiting 22:54:17 ea1d1ca13537: Waiting 22:54:17 3750a50a1c5e: Waiting 22:54:17 8a11ddd9e578: Waiting 22:54:17 4cf88f913ddb: Waiting 22:54:17 777b28850792: Verifying Checksum 22:54:17 777b28850792: Download complete 22:54:17 2a23fa8c16f7: Verifying Checksum 22:54:17 2a23fa8c16f7: Download complete 22:54:17 4cf88f913ddb: Download complete 22:54:17 1df406cf5192: Download complete 22:54:18 cde5963f3b93: Verifying Checksum 22:54:19 cde5963f3b93: Pull complete 22:54:19 2a23fa8c16f7: Pull complete 22:54:19 777b28850792: Pull complete 22:54:22 cd6300453558: Verifying Checksum 22:54:22 cd6300453558: Download complete 22:54:22 a2d8cc88f415: Download complete 22:54:24 Removing intermediate container d2997a6115f2 22:54:24 ---> 42b280fb0353 22:54:24 Successfully built 42b280fb0353 22:54:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 22:54:25 ea1d1ca13537: Verifying Checksum 22:54:25 ea1d1ca13537: Download complete 22:54:25 3750a50a1c5e: Verifying Checksum 22:54:25 3750a50a1c5e: Download complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:54:25 + docker inspect -f . ci-base-image-x86_64 22:54:25 . [Pipeline] withDockerContainer 22:54:25 prd-centos7-docker-4c-2g-1293 does not seem to be running inside a container 22:54:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:54:26 $ docker top a70a7d4c70e952a2288f0183ea0a65ba011193c6d5f7ed3b3ae205b42bdb25f2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:26 + go version 22:54:26 go version go1.13.5 linux/amd64 [Pipeline] sh 22:54:27 + make test 22:54:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:54:27 b9c365052c96: Verifying Checksum 22:54:27 b9c365052c96: Download complete 22:54:29 8a11ddd9e578: Download complete 22:54:41 8a11ddd9e578: Pull complete 22:54:41 4cf88f913ddb: Pull complete 22:54:41 1df406cf5192: Pull complete 22:54:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:54:42 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:54:42 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:54:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 23.1% of statements 22:54:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.052s coverage: 95.8% of statements 22:54:46 cd6300453558: Pull complete 22:54:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.063s coverage: 12.7% of statements 22:54:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 25.6% of statements 22:54:51 b9c365052c96: Pull complete 22:54:51 a2d8cc88f415: Pull complete 22:54:53 ea1d1ca13537: Pull complete 22:54:53 3750a50a1c5e: Pull complete 22:54:53 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 22:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:54:53 ---> 78745c68409d 22:54:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:57 ---> Running in 0dce9d368f0f 22:54:57 Removing intermediate container 0dce9d368f0f 22:54:57 ---> b2befa248fd4 22:54:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:57 ---> Running in 38f6cdb966eb 22:54:59 Removing intermediate container 38f6cdb966eb 22:54:59 ---> c3c6de9ad0fa 22:54:59 Step 5/8 : RUN apk add --no-cache make git 22:54:59 ---> Running in d2e3d5b4bea9 22:55:00 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:55:01 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:55:02 OK: 125 MiB in 39 packages 22:55:03 Removing intermediate container d2e3d5b4bea9 22:55:03 ---> 687cca2b019f 22:55:03 Step 6/8 : WORKDIR /device-sdk-go 22:55:03 ---> Running in ec7a06c455c1 22:55:03 Removing intermediate container ec7a06c455c1 22:55:03 ---> 1ef6ef095830 22:55:03 Step 7/8 : COPY . . 22:55:04 ---> 377b2e5cd2e5 22:55:04 Step 8/8 : RUN go mod download 22:55:04 ---> Running in 1700aca1b670 22:55:06 go: finding github.com/BurntSushi/toml v0.3.1 22:55:06 go: finding github.com/OneOfOne/xxhash v1.2.6 22:55:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:55:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:55:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:55:07 go: finding github.com/bgentry/speakeasy v0.1.0 22:55:07 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 22:55:07 go: finding github.com/davecgh/go-spew v1.1.1 22:55:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 22:55:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 22:55:07 go: finding github.com/fatih/color v1.7.0 22:55:07 go: finding github.com/go-kit/kit v0.8.0 22:55:07 go: finding github.com/go-logfmt/logfmt v0.4.0 22:55:07 go: finding github.com/go-stack/stack v1.8.0 22:55:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:55:07 go: finding github.com/google/uuid v1.1.0 22:55:07 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 22:55:07 go: finding github.com/gorilla/mux v1.6.2 22:55:07 go: finding github.com/hashicorp/consul v1.4.2 22:55:07 go: finding github.com/hashicorp/errwrap v1.0.0 22:55:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 22:55:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:55:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:55:07 go: finding github.com/hashicorp/go-multierror v1.0.0 22:55:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:55:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:55:07 go: finding github.com/hashicorp/go-syslog v1.0.0 22:55:07 go: finding github.com/hashicorp/go-uuid v1.0.1 22:55:07 go: finding github.com/hashicorp/go.net v0.0.1 22:55:07 go: finding github.com/hashicorp/golang-lru v0.5.0 22:55:07 go: finding github.com/hashicorp/logutils v1.0.0 22:55:07 go: finding github.com/hashicorp/mdns v1.0.0 22:55:07 go: finding github.com/hashicorp/memberlist v0.1.3 22:55:08 go: finding github.com/hashicorp/serf v0.8.2 22:55:08 go: finding github.com/jessevdk/go-flags v1.4.0 22:55:08 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:55:08 go: finding github.com/mattn/go-colorable v0.0.9 22:55:08 go: finding github.com/mattn/go-isatty v0.0.3 22:55:08 go: finding github.com/miekg/dns v1.0.14 22:55:08 go: finding github.com/mitchellh/cli v1.0.0 22:55:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:55:08 go: finding github.com/mitchellh/copystructure v1.0.0 22:55:08 go: finding github.com/mitchellh/go-homedir v1.0.0 22:55:08 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:55:08 go: finding github.com/mitchellh/gox v0.4.0 22:55:08 go: finding github.com/mitchellh/iochan v1.0.0 22:55:08 go: finding github.com/mitchellh/mapstructure v1.1.2 22:55:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:55:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:55:08 go: finding github.com/pelletier/go-toml v1.2.0 22:55:08 go: finding github.com/pkg/errors v0.8.1 22:55:08 go: finding github.com/pmezard/go-difflib v1.0.0 22:55:08 go: finding github.com/posener/complete v1.1.1 22:55:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:55:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:55:08 go: finding github.com/stretchr/objx v0.1.0 22:55:08 go: finding github.com/stretchr/testify v1.3.0 22:55:08 go: finding github.com/ugorji/go v1.1.4 22:55:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:55:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:55:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:55:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:55:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:55:09 go: finding gopkg.in/yaml.v2 v2.2.2 22:55:19 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.019s coverage: 30.0% of statements 22:55:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.408s coverage: 42.3% of statements 22:55:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:55:19 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 22:55:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 79.5% of statements 22:55:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:55:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:55:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:55:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 22:55:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 76.1% of statements 22:55:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:55:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:55:19 gofmt -l . 22:55:19 [ "`gofmt -l .`" = "" ] 22:55:19 ./bin/test-attribution-txt.sh 22:55:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:55:20 Stashed 1 file(s) [Pipeline] } 22:55:20 $ docker stop --time=1 a70a7d4c70e952a2288f0183ea0a65ba011193c6d5f7ed3b3ae205b42bdb25f2 22:55:21 $ docker rm -f a70a7d4c70e952a2288f0183ea0a65ba011193c6d5f7ed3b3ae205b42bdb25f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:55:23 + ls -al . 22:55:23 total 200 22:55:23 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 29 22:55 . 22:55:23 drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 22:53 .. 22:55:23 drwxrwxr-x. 3 jenkins jenkins 20 Mar 29 22:53 api 22:55:23 -rw-rw-r--. 1 jenkins jenkins 3321 Mar 29 22:53 async.go 22:55:23 drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 22:53 bin 22:55:23 -rw-r--r--. 1 jenkins jenkins 100201 Mar 29 22:55 coverage.out 22:55:23 -rw-rw-r--. 1 jenkins jenkins 936 Mar 29 22:53 Dockerfile.build 22:55:23 -rw-rw-r--. 1 jenkins jenkins 140 Mar 29 22:53 .dockerignore 22:55:23 drwxrwxr-x. 4 jenkins jenkins 31 Mar 29 22:53 example 22:55:23 drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 22:53 .git 22:55:23 drwxrwxr-x. 2 jenkins jenkins 38 Mar 29 22:53 .github 22:55:23 -rw-rw-r--. 1 jenkins jenkins 138 Mar 29 22:53 .gitignore 22:55:23 -rw-r--r--. 1 jenkins jenkins 536 Mar 29 22:55 go.mod 22:55:23 -rw-r--r--. 1 jenkins jenkins 11140 Mar 29 22:55 go.sum 22:55:23 drwxrwxr-x. 13 jenkins jenkins 176 Mar 29 22:53 internal 22:55:23 -rw-rw-r--. 1 jenkins jenkins 808 Mar 29 22:53 Jenkinsfile 22:55:23 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 29 22:53 LICENSE 22:55:23 -rw-rw-r--. 1 jenkins jenkins 892 Mar 29 22:53 Makefile 22:55:23 -rw-rw-r--. 1 jenkins jenkins 4352 Mar 29 22:53 manageddevices.go 22:55:23 -rw-rw-r--. 1 jenkins jenkins 5473 Mar 29 22:53 managedprofiles.go 22:55:23 -rw-rw-r--. 1 jenkins jenkins 3878 Mar 29 22:53 managedwatchers.go 22:55:23 drwxrwxr-x. 4 jenkins jenkins 35 Mar 29 22:53 pkg 22:55:23 -rw-rw-r--. 1 jenkins jenkins 761 Mar 29 22:53 README.md 22:55:23 drwxrwxr-x. 3 jenkins jenkins 58 Mar 29 22:53 .semver 22:55:23 -rw-rw-r--. 1 jenkins jenkins 9817 Mar 29 22:53 service.go 22:55:23 drwxrwxr-x. 4 jenkins jenkins 54 Mar 29 22:53 snap 22:55:23 -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 22:51 VERSION 22:55:23 -rw-rw-r--. 1 jenkins jenkins 222 Mar 29 22:53 version.go [Pipeline] isUnix [Pipeline] sh 22:55:23 + 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=00653bff75031769b17374a6b15ddb1c4ef00afb --label arch=amd64 --label version=0.0.0 . 22:55:23 Sending build context to Docker daemon 2.866MB 22:55:23 Step 1/20 : ARG BASE=golang:1.13-alpine 22:55:23 Step 2/20 : FROM ${BASE} AS builder 22:55:23 ---> 42b280fb0353 22:55:23 Step 3/20 : ARG MAKE='make build' 22:55:23 ---> Running in 04c8504eef35 22:55:23 Removing intermediate container 04c8504eef35 22:55:23 ---> aa2f64c6ad69 22:55:23 Step 4/20 : WORKDIR /device-sdk-go 22:55:23 ---> Running in 4a36fed0c153 22:55:23 Removing intermediate container 4a36fed0c153 22:55:23 ---> 88d815626d8b 22:55:23 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:55:23 ---> Running in dc9e789efd75 22:55:24 Removing intermediate container dc9e789efd75 22:55:24 ---> 3fda40725a25 22:55:24 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:55:24 ---> Running in 34867dfc35d3 22:55:25 Removing intermediate container 34867dfc35d3 22:55:25 ---> 6d1128452eac 22:55:25 Step 7/20 : RUN apk add --update --no-cache make git 22:55:25 ---> Running in bac46e5ce462 22:55:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:55:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:55:26 OK: 143 MiB in 39 packages 22:55:27 Removing intermediate container bac46e5ce462 22:55:27 ---> eb9f992ab865 22:55:27 Step 8/20 : COPY . . 22:55:27 Removing intermediate container 1700aca1b670 22:55:27 ---> 15a70da5babd 22:55:27 Successfully built 15a70da5babd 22:55:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } 22:55:27 ---> 2c0a209c0446 22:55:27 Step 9/20 : RUN ${MAKE} 22:55:27 ---> Running in 0c1f858f656f [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:55:27 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 22:55:27 + docker inspect -f . ci-base-image-arm64 22:55:28 . [Pipeline] withDockerContainer 22:55:28 prd-ubuntu18.04-docker-arm64-4c-16g-1292 does not seem to be running inside a container 22:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 22:55:30 $ docker top 9ca8c535847c1bb97329db0f499806aa35b3daf1a7004aa6c428431db5a81d59 -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:31 + go version 22:55:31 go version go1.13.5 linux/arm64 [Pipeline] sh 22:55:31 + make test 22:55:31 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:55:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:55:45 Removing intermediate container 0c1f858f656f 22:55:45 ---> 1ac723c05b5f 22:55:45 Step 10/20 : FROM scratch 22:55:45 ---> 22:55:45 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:55:45 ---> Running in 20ae1caa90dc 22:55:45 Removing intermediate container 20ae1caa90dc 22:55:45 ---> 6b3bc35e45e8 22:55:45 Step 12/20 : ENV APP_PORT=49990 22:55:45 ---> Running in e1a29d54ed87 22:55:45 Removing intermediate container e1a29d54ed87 22:55:45 ---> 82c86e325e1b 22:55:45 Step 13/20 : EXPOSE $APP_PORT 22:55:45 ---> Running in f28972029ecd 22:55:45 Removing intermediate container f28972029ecd 22:55:45 ---> 153e39dd603f 22:55:45 Step 14/20 : WORKDIR / 22:55:45 ---> Running in de4ead16bc81 22:55:45 Removing intermediate container de4ead16bc81 22:55:45 ---> 914b1344f770 22:55:45 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:55:45 ---> 577ff6d3f89d 22:55:45 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 22:55:45 ---> 8a0bbe608ab0 22:55:45 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 22:55:45 ---> Running in 20deef82a901 22:55:46 Removing intermediate container 20deef82a901 22:55:46 ---> 551f8c79cad3 22:55:46 Step 18/20 : LABEL arch=amd64 22:55:46 ---> Running in 44133b2bed00 22:55:46 Removing intermediate container 44133b2bed00 22:55:46 ---> 204e59da000a 22:55:46 Step 19/20 : LABEL git_sha=00653bff75031769b17374a6b15ddb1c4ef00afb 22:55:46 ---> Running in 8c2724a2e788 22:55:46 Removing intermediate container 8c2724a2e788 22:55:46 ---> 19dc863d2757 22:55:46 Step 20/20 : LABEL version=0.0.0 22:55:46 ---> Running in 61a5fe611a9e 22:55:46 Removing intermediate container 61a5fe611a9e 22:55:46 ---> 57ebcde7d16a 22:55:46 [Warning] One or more build-args [ARCH] were not consumed 22:55:46 Successfully built 57ebcde7d16a 22:55:46 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] } 22:56:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:56:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:56:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:56:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 23.1% of statements 22:56:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.188s coverage: 95.8% of statements 22:56:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.089s coverage: 12.7% of statements 22:56:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.068s coverage: 25.6% of statements 22:56:51 ok github.com/edgexfoundry/device-sdk-go/internal/config 31.052s coverage: 30.0% of statements 22:56:51 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.293s coverage: 42.3% of statements 22:56:51 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:56:51 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 22:56:51 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.617s coverage: 79.5% of statements 22:56:51 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:56:51 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:56:51 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:56:51 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.049s coverage: 52.6% of statements 22:56:51 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.354s coverage: 76.1% of statements 22:56:51 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:56:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:56:57 gofmt -l . 22:56:57 [ "`gofmt -l .`" = "" ] 22:56:57 ./bin/test-attribution-txt.sh 22:56:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:56:58 Warning: overwriting stash ‘coverage-report’ 22:56:59 Stashed 1 file(s) [Pipeline] } 22:56:59 $ docker stop --time=1 9ca8c535847c1bb97329db0f499806aa35b3daf1a7004aa6c428431db5a81d59 22:57:01 $ docker rm -f 9ca8c535847c1bb97329db0f499806aa35b3daf1a7004aa6c428431db5a81d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:03 + ls -al . 22:57:03 total 240 22:57:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 22:56 . 22:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 .. 22:57:03 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 22:54 .dockerignore 22:57:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 22:54 .git 22:57:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:54 .github 22:57:03 -rw-rw-r-- 1 jenkins jenkins 138 Mar 29 22:54 .gitignore 22:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:54 .semver 22:57:03 -rw-rw-r-- 1 jenkins jenkins 936 Mar 29 22:54 Dockerfile.build 22:57:03 -rw-rw-r-- 1 jenkins jenkins 808 Mar 29 22:54 Jenkinsfile 22:57:03 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 22:54 LICENSE 22:57:03 -rw-rw-r-- 1 jenkins jenkins 892 Mar 29 22:54 Makefile 22:57:03 -rw-rw-r-- 1 jenkins jenkins 761 Mar 29 22:54 README.md 22:57:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 22:51 VERSION 22:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 22:54 api 22:57:03 -rw-rw-r-- 1 jenkins jenkins 3321 Mar 29 22:54 async.go 22:57:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 22:54 bin 22:57:03 -rw-r--r-- 1 jenkins jenkins 100201 Mar 29 22:56 coverage.out 22:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 example 22:57:03 -rw-r--r-- 1 jenkins jenkins 536 Mar 29 22:56 go.mod 22:57:03 -rw-r--r-- 1 jenkins jenkins 11140 Mar 29 22:56 go.sum 22:57:03 drwxrwxr-x 13 jenkins jenkins 4096 Mar 29 22:54 internal 22:57:03 -rw-rw-r-- 1 jenkins jenkins 4352 Mar 29 22:54 manageddevices.go 22:57:03 -rw-rw-r-- 1 jenkins jenkins 5473 Mar 29 22:54 managedprofiles.go 22:57:03 -rw-rw-r-- 1 jenkins jenkins 3878 Mar 29 22:54 managedwatchers.go 22:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 pkg 22:57:03 -rw-rw-r-- 1 jenkins jenkins 9817 Mar 29 22:54 service.go 22:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 22:54 snap 22:57:03 -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 22:54 version.go [Pipeline] isUnix [Pipeline] sh 22:57:03 + 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=00653bff75031769b17374a6b15ddb1c4ef00afb --label arch=arm64 --label version=0.0.0 . 22:57:04 Sending build context to Docker daemon 2.866MB 22:57:04 Step 1/20 : ARG BASE=golang:1.13-alpine 22:57:04 Step 2/20 : FROM ${BASE} AS builder 22:57:04 ---> 15a70da5babd 22:57:04 Step 3/20 : ARG MAKE='make build' 22:57:04 ---> Running in e282f7a8d2d3 22:57:04 Removing intermediate container e282f7a8d2d3 22:57:04 ---> b5115fd1a2be 22:57:04 Step 4/20 : WORKDIR /device-sdk-go 22:57:04 ---> Running in 84d41a2713ed 22:57:05 Removing intermediate container 84d41a2713ed 22:57:05 ---> c81e0ce2a232 22:57:05 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:57:05 ---> Running in da7e090cffe3 22:57:05 Removing intermediate container da7e090cffe3 22:57:05 ---> ff16dd89bbd9 22:57:05 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:05 ---> Running in ec7ceabf35fa 22:57:07 Removing intermediate container ec7ceabf35fa 22:57:07 ---> d46c36c81db2 22:57:07 Step 7/20 : RUN apk add --update --no-cache make git 22:57:07 ---> Running in 52938d5effe4 22:57:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:57:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:57:09 OK: 125 MiB in 39 packages 22:57:10 Removing intermediate container 52938d5effe4 22:57:10 ---> 20530979ed6f 22:57:10 Step 8/20 : COPY . . 22:57:12 ---> fd6cf3ad5b55 22:57:12 Step 9/20 : RUN ${MAKE} 22:57:12 ---> Running in f342768ebb53 22:57:12 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 22:57:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:58:01 Removing intermediate container f342768ebb53 22:58:01 ---> cc501f140f3b 22:58:01 Step 10/20 : FROM scratch 22:58:01 ---> 22:58:01 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:58:01 ---> Running in 0444c45e662e 22:58:01 Removing intermediate container 0444c45e662e 22:58:01 ---> fada770235b1 22:58:01 Step 12/20 : ENV APP_PORT=49990 22:58:01 ---> Running in 77b2041da457 22:58:01 Removing intermediate container 77b2041da457 22:58:01 ---> 9ddcec5b3378 22:58:01 Step 13/20 : EXPOSE $APP_PORT 22:58:01 ---> Running in f31819df0c0a 22:58:01 Removing intermediate container f31819df0c0a 22:58:01 ---> cb75064631ca 22:58:01 Step 14/20 : WORKDIR / 22:58:01 ---> Running in 4b7e5fd9807e 22:58:01 Removing intermediate container 4b7e5fd9807e 22:58:01 ---> e3a7338fdbe9 22:58:01 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:58:03 ---> 086fd81e7e27 22:58:03 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 22:58:03 ---> 7f653fa22290 22:58:03 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 22:58:03 ---> Running in e0fe4751bc46 22:58:03 Removing intermediate container e0fe4751bc46 22:58:03 ---> 911ae3cb3ce5 22:58:03 Step 18/20 : LABEL arch=arm64 22:58:04 ---> Running in 5f9c6c41cce6 22:58:04 Removing intermediate container 5f9c6c41cce6 22:58:04 ---> 80d11002b796 22:58:04 Step 19/20 : LABEL git_sha=00653bff75031769b17374a6b15ddb1c4ef00afb 22:58:04 ---> Running in cc8e24aa859e 22:58:04 Removing intermediate container cc8e24aa859e 22:58:04 ---> b115e1246899 22:58:04 Step 20/20 : LABEL version=0.0.0 22:58:05 ---> Running in 31664a573627 22:58:05 Removing intermediate container 31664a573627 22:58:05 ---> 1447fbec5955 22:58:05 [Warning] One or more build-args [ARCH] were not consumed 22:58:05 Successfully built 1447fbec5955 22:58:05 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 22:58:06 provisioning config files... 22:58:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config4508614384170748168tmp [Pipeline] { [Pipeline] sh 22:58:06 + curl -s https://codecov.io/bash 22:58:06 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config4508614384170748168tmp 22:58:06 22:58:06 _____ _ 22:58:06 / ____| | | 22:58:06 | | ___ __| | ___ ___ _____ __ 22:58:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:58:06 | |___| (_) | (_| | __/ (_| (_) \ V / 22:58:06 \_____\___/ \__,_|\___|\___\___/ \_/ 22:58:06 Bash-tbd 22:58:06 22:58:06 22:58:06 ==> Jenkins CI detected. 22:58:06 project root: . 22:58:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:58:06 ==> Running gcov in . (disable via -X gcov) 22:58:06 ==> Python coveragepy not found 22:58:06 ==> Searching for coverage reports in: 22:58:06 + . 22:58:06 -> Found 1 reports 22:58:06 ==> Detecting git/mercurial file structure 22:58:06 ==> Reading reports 22:58:06 + ./coverage.out bytes=100201 22:58:06 ==> Appending adjustments 22:58:06 http://docs.codecov.io/docs/fixing-reports 22:58:07 + Found adjustments 22:58:07 ==> Gzipping contents 22:58:07 ==> Uploading reports 22:58:07 url: https://codecov.io 22:58:07 query: branch=PR-467&commit=00653bff75031769b17374a6b15ddb1c4ef00afb&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= 22:58:07 -> Pinging Codecov 22:58:07 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-467&commit=00653bff75031769b17374a6b15ddb1c4ef00afb&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= 22:58:07 -> Uploading 22:58:08 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00653bff75031769b17374a6b15ddb1c4ef00afb [Pipeline] } 22:58:08 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 22:58:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:58:09 ---> package-listing.sh 22:58:09 ++ facter osfamily 22:58:09 ++ tr '[:upper:]' '[:lower:]' 22:58:09 + OS_FAMILY=redhat 22:58:09 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-467 22:58:09 + START_PACKAGES=/tmp/packages_start.txt 22:58:09 + END_PACKAGES=/tmp/packages_end.txt 22:58:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:58:09 + PACKAGES=/tmp/packages_start.txt 22:58:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' 22:58:09 + PACKAGES=/tmp/packages_end.txt 22:58:09 + case "${OS_FAMILY}" in 22:58:09 + rpm -qa 22:58:09 + sort 22:58:13 + '[' -f /tmp/packages_start.txt ']' 22:58:13 + '[' -f /tmp/packages_end.txt ']' 22:58:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:58:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' 22:58:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ 22:58:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh 22:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:58:14 22:58:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:58:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:58:14 alpine: Pulling from edgex-lftools-log-publisher 22:58:14 c9b1b535fdd9: Pulling fs layer 22:58:14 2cc5ad85d9ab: Pulling fs layer 22:58:14 756a868c4378: Pulling fs layer 22:58:14 444b2fc9a129: Pulling fs layer 22:58:14 ea15f1150254: Pulling fs layer 22:58:14 41b27a9f41bf: Pulling fs layer 22:58:14 28c525ee5125: Pulling fs layer 22:58:14 094b1ea09ed8: Pulling fs layer 22:58:14 138eaada9080: Pulling fs layer 22:58:14 0622d0fa9048: Pulling fs layer 22:58:14 ea15f1150254: Waiting 22:58:14 41b27a9f41bf: Waiting 22:58:14 28c525ee5125: Waiting 22:58:14 094b1ea09ed8: Waiting 22:58:14 138eaada9080: Waiting 22:58:14 0622d0fa9048: Waiting 22:58:14 444b2fc9a129: Waiting 22:58:14 2cc5ad85d9ab: Verifying Checksum 22:58:14 2cc5ad85d9ab: Download complete 22:58:14 444b2fc9a129: Verifying Checksum 22:58:14 444b2fc9a129: Download complete 22:58:14 c9b1b535fdd9: Verifying Checksum 22:58:14 c9b1b535fdd9: Download complete 22:58:14 ea15f1150254: Verifying Checksum 22:58:14 ea15f1150254: Download complete 22:58:14 28c525ee5125: Verifying Checksum 22:58:14 28c525ee5125: Download complete 22:58:15 756a868c4378: Verifying Checksum 22:58:15 756a868c4378: Download complete 22:58:15 c9b1b535fdd9: Pull complete 22:58:15 094b1ea09ed8: Verifying Checksum 22:58:15 094b1ea09ed8: Download complete 22:58:15 0622d0fa9048: Verifying Checksum 22:58:15 0622d0fa9048: Download complete 22:58:15 138eaada9080: Verifying Checksum 22:58:15 138eaada9080: Download complete 22:58:15 2cc5ad85d9ab: Pull complete 22:58:15 41b27a9f41bf: Verifying Checksum 22:58:15 41b27a9f41bf: Download complete 22:58:17 756a868c4378: Pull complete 22:58:17 444b2fc9a129: Pull complete 22:58:17 ea15f1150254: Pull complete 22:58:20 41b27a9f41bf: Pull complete 22:58:20 28c525ee5125: Pull complete 22:58:22 094b1ea09ed8: Pull complete 22:58:22 138eaada9080: Pull complete 22:58:23 0622d0fa9048: Pull complete 22:58:23 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:58:23 prd-centos7-docker-4c-2g-1291 does not seem to be running inside a container 22:58:23 $ 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-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@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:10003/edgex-lftools-log-publisher:alpine cat 22:58:24 $ docker top 4fcfd3ee7e951e61635099f7018caf70ffc1b62ba94beec07e6612d6d9180288 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:58:24 provisioning config files... 22:58:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config6459419204799729151tmp [Pipeline] { [Pipeline] echo 22:58:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:58:25 ---> create-netrc.sh [Pipeline] echo 22:58:25 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:58:25 ---> logs-deploy.sh 22:58:25 + ARCHIVE_ARTIFACTS= 22:58:25 + LOGS_SERVER=https://logs.edgexfoundry.org 22:58:25 + '[' https://logs.edgexfoundry.org == None ']' 22:58:25 + NEXUS_URL=https://nexus.edgexfoundry.org 22:58:25 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/7 22:58:25 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/7/ 22:58:25 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/7 /w/workspace/dgexfoundry_device-sdk-go_PR-467 22:58:26 Archives upload complete. 22:58:26 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/7/ 22:58:27 ---> uname -a: 22:58:27 Linux 4fcfd3ee7e95 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 22:58:27 22:58:27 22:58:27 ---> lscpu: 22:58:27 Architecture: x86_64 22:58:27 CPU op-mode(s): 32-bit, 64-bit 22:58:27 Byte Order: Little Endian 22:58:27 Address sizes: 40 bits physical, 48 bits virtual 22:58:27 CPU(s): 4 22:58:27 On-line CPU(s) list: 0-3 22:58:27 Thread(s) per core: 1 22:58:27 Core(s) per socket: 1 22:58:27 Socket(s): 4 22:58:27 NUMA node(s): 1 22:58:27 Vendor ID: GenuineIntel 22:58:27 CPU family: 6 22:58:27 Model: 44 22:58:27 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:58:27 Stepping: 1 22:58:27 CPU MHz: 2933.442 22:58:27 BogoMIPS: 5866.88 22:58:27 Virtualization: VT-x 22:58:27 Hypervisor vendor: KVM 22:58:27 Virtualization type: full 22:58:27 L1d cache: 128 KiB 22:58:27 L1i cache: 128 KiB 22:58:27 L2 cache: 16 MiB 22:58:27 L3 cache: 64 MiB 22:58:27 NUMA node0 CPU(s): 0-3 22:58:27 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 22:58:27 Vulnerability Meltdown: Mitigation; PTI 22:58:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:58:27 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 22:58:27 Vulnerability Spectre v2: Mitigation; Full retpoline 22:58:27 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 22:58:27 22:58:27 22:58:27 ---> nproc: 22:58:27 4 22:58:27 22:58:27 22:58:27 ---> df -h: 22:58:27 Filesystem Size Used Available Use% Mounted on 22:58:27 overlay 50.0G 6.4G 43.6G 13% / 22:58:27 tmpfs 64.0M 0 64.0M 0% /dev 22:58:27 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 22:58:27 shm 64.0M 0 64.0M 0% /dev/shm 22:58:27 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 22:58:27 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 22:58:27 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 22:58:27 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-467 22:58:27 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp 22:58:27 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 22:58:27 22:58:27 22:58:27 ---> free -m: 22:58:27 total used free shared buff/cache available 22:58:27 Mem: 1838 599 75 0 1163 1134 22:58:27 Swap: 1023 0 1023 22:58:27 22:58:27 22:58:27 ---> ip addr: 22:58:27 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:58:27 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:58:27 inet 127.0.0.1/8 scope host lo 22:58:27 valid_lft forever preferred_lft forever 22:58:27 6: eth0@if7: mtu 1458 qdisc noqueue state UP 22:58:27 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 22:58:27 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 22:58:27 valid_lft forever preferred_lft forever 22:58:27 22:58:27