Pull request #474 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 6d36f33b612300ee79929b7f99b8ffab79cfcdbd rather than 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Obtained Jenkinsfile from 6d36f33b612300ee79929b7f99b8ffab79cfcdbd 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-2998 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [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-474 # 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/474/head:refs/remotes/origin/PR-474 +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/474/head:refs/remotes/origin/PR-474 # 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/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Merge succeeded, producing 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 Checking out Revision 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 (PR-474) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # 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 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 Commit message: "Add new fields on Reading" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:44:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 956ed765273cd5075a382331aab66b197054fb8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 04:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:44:35 04:44:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:44:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:44:36 latest: Pulling from edgex-devops/git-semver 04:44:36 9123ac7c32f7: Pulling fs layer 04:44:36 b8cc5d1170e3: Pulling fs layer 04:44:36 2924cbbf6a41: Pulling fs layer 04:44:36 93b08a4f1073: Pulling fs layer 04:44:36 93b08a4f1073: Waiting 04:44:36 b8cc5d1170e3: Verifying Checksum 04:44:36 b8cc5d1170e3: Download complete 04:44:36 9123ac7c32f7: Verifying Checksum 04:44:36 9123ac7c32f7: Download complete 04:44:36 93b08a4f1073: Verifying Checksum 04:44:36 93b08a4f1073: Download complete 04:44:36 2924cbbf6a41: Verifying Checksum 04:44:36 2924cbbf6a41: Download complete 04:44:36 9123ac7c32f7: Pull complete 04:44:36 b8cc5d1170e3: Pull complete 04:44:37 2924cbbf6a41: Pull complete 04:44:37 93b08a4f1073: Pull complete 04:44:37 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 04:44:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:44:37 prd-centos7-docker-4c-2g-2998 does not seem to be running inside a container 04:44:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 04:44:38 $ docker top 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:44:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:38 [ssh-agent] Looking for ssh-agent implementation... 04:44:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:39 $ docker exec 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent 04:44:39 SSH_AUTH_SOCK=/tmp/ssh-53ZnN8N8Yi4l/agent.15 04:44:39 SSH_AGENT_PID=21 04:44:39 Running ssh-add (command line suppressed) 04:44:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5000406883305222533.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_5000406883305222533.key) 04:44:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:39 + git describe --exact-match --tags HEAD 04:44:39 fatal: No names found, cannot describe anything. [Pipeline] } 04:44:39 $ docker exec --env ******** --env ******** 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent -k 04:44:39 unset SSH_AUTH_SOCK; 04:44:39 unset SSH_AGENT_PID; 04:44:39 echo Agent pid 21 killed; 04:44:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:44:40 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:44:40 This usually means this commit has not been tagged. [Pipeline] sshagent 04:44:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:40 [ssh-agent] Looking for ssh-agent implementation... 04:44:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:40 $ docker exec 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent 04:44:40 SSH_AUTH_SOCK=/tmp/ssh-DI9A9ArZKhr3/agent.56 04:44:40 SSH_AGENT_PID=63 04:44:40 Running ssh-add (command line suppressed) 04:44:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2978507188472986634.key (/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/private_key_2978507188472986634.key) 04:44:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:41 + git semver init 04:44:41 # -> Open(): unable to determine branch for HEAD 04:44:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.git 04:44:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-474 04:44:41 # $SEMVER_REMOTE_NAME = origin 04:44:41 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 04:44:41 # $SEMVER_USER_NAME = jenkins 04:44:41 # $SEMVER_BRANCH = PR-474 04:44:41 # $SEMVER_TEMP = /tmp/semver-204799706 04:44:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:44:41 # '/tmp/semver-204799706' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver' 04:44:41 # -> Force: false 04:44:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-474/.semver [Pipeline] } 04:44:41 $ docker exec --env ******** --env ******** 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a ssh-agent -k 04:44:41 unset SSH_AUTH_SOCK; 04:44:41 unset SSH_AGENT_PID; 04:44:41 echo Agent pid 63 killed; 04:44:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:42 + git semver [Pipeline] } 04:44:42 $ docker stop --time=1 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a 04:44:43 $ docker rm -f 684b29220f97e86afcdff8e4fe16e5372650255106890cce6309f826fd098f8a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:44:44 Stashed 39 file(s) [Pipeline] echo 04:44:44 [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 04:44:59 Still waiting to schedule task 04:44:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2998’ 04:44:59 Still waiting to schedule task 04:44:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 04:47:26 Running on prd-centos7-docker-4c-2g-3001 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 04:47:26 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:47:28 using credential edgex-jenkins-ssh 04:47:29 Cloning the remote Git repository 04:47:29 Cloning with configured refspecs honoured and without tags 04:47:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:47:29 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:47:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:47:29 > git --version # timeout=10 04:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:47:29 Fetching without tags 04:47:30 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 04:47:30 Merge succeeded, producing 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 04:47:30 Checking out Revision 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 (PR-474) 04:47:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:47:29 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 04:47:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:47:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:47:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:47:30 > git config core.sparsecheckout # timeout=10 04:47:30 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 04:47:30 > git remote # timeout=10 04:47:30 > git config --get remote.origin.url # timeout=10 04:47:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:30 > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 04:47:30 > git rev-parse HEAD^{commit} # timeout=10 04:47:30 > git config core.sparsecheckout # timeout=10 04:47:30 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 04:47:34 Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:47:34 ========================================================= 04:47:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:47:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:47:35 + 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 . 04:47:35 Sending build context to Docker daemon 2.858MB 04:47:35 Step 1/8 : ARG BASE=golang:1.13-alpine 04:47:35 Step 2/8 : FROM ${BASE} 04:47:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:47:36 e6b0cf9c0882: Pulling fs layer 04:47:36 2848faf0eed1: Pulling fs layer 04:47:36 0f37312ad70f: Pulling fs layer 04:47:36 5788d62ee057: Pulling fs layer 04:47:36 0e6b1d234666: Pulling fs layer 04:47:36 bf5d7aec512f: Pulling fs layer 04:47:36 34c802a77dc8: Pulling fs layer 04:47:36 9eb99e56ec68: Pulling fs layer 04:47:36 27c7a5d97fbd: Pulling fs layer 04:47:36 5c102a31e300: Pulling fs layer 04:47:36 dcfb455df0a1: Pulling fs layer 04:47:36 5788d62ee057: Waiting 04:47:36 0e6b1d234666: Waiting 04:47:36 5c102a31e300: Waiting 04:47:36 34c802a77dc8: Waiting 04:47:36 dcfb455df0a1: Waiting 04:47:36 9eb99e56ec68: Waiting 04:47:36 27c7a5d97fbd: Waiting 04:47:36 0f37312ad70f: Verifying Checksum 04:47:36 0f37312ad70f: Download complete 04:47:36 2848faf0eed1: Download complete 04:47:36 0e6b1d234666: Download complete 04:47:36 bf5d7aec512f: Verifying Checksum 04:47:36 bf5d7aec512f: Download complete 04:47:36 e6b0cf9c0882: Verifying Checksum 04:47:36 e6b0cf9c0882: Pull complete 04:47:37 34c802a77dc8: Verifying Checksum 04:47:37 34c802a77dc8: Download complete 04:47:37 27c7a5d97fbd: Verifying Checksum 04:47:37 27c7a5d97fbd: Download complete 04:47:37 5c102a31e300: Verifying Checksum 04:47:37 5c102a31e300: Download complete 04:47:37 dcfb455df0a1: Verifying Checksum 04:47:37 dcfb455df0a1: Download complete 04:47:37 9eb99e56ec68: Verifying Checksum 04:47:37 9eb99e56ec68: Download complete 04:47:38 5788d62ee057: Verifying Checksum 04:47:38 5788d62ee057: Download complete 04:47:38 2848faf0eed1: Pull complete 04:47:38 0f37312ad70f: Pull complete 04:47:44 5788d62ee057: Pull complete 04:47:44 0e6b1d234666: Pull complete 04:47:44 bf5d7aec512f: Pull complete 04:47:49 34c802a77dc8: Pull complete 04:47:52 9eb99e56ec68: Pull complete 04:47:52 27c7a5d97fbd: Pull complete 04:47:53 5c102a31e300: Pull complete 04:47:53 dcfb455df0a1: Pull complete 04:47:53 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 04:47:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:47:53 ---> 7c70fe431013 04:47:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:47:53 ---> Running in 6f93d5692351 04:47:54 Removing intermediate container 6f93d5692351 04:47:54 ---> b869ddca9b06 04:47:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:47:54 ---> Running in eb10ab3df07f 04:47:55 Removing intermediate container eb10ab3df07f 04:47:55 ---> 8f1f0a639a76 04:47:55 Step 5/8 : RUN apk add --no-cache make git 04:47:55 ---> Running in 04bce3595fcc 04:47:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:47:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:47:56 OK: 143 MiB in 39 packages 04:47:57 Removing intermediate container 04bce3595fcc 04:47:57 ---> 97e2595a2af3 04:47:57 Step 6/8 : WORKDIR /device-sdk-go 04:47:57 ---> Running in 28139f49ad34 04:47:57 Removing intermediate container 28139f49ad34 04:47:57 ---> 0f4e689a6b42 04:47:57 Step 7/8 : COPY . . 04:47:57 ---> 013cd049fa6c 04:47:57 Step 8/8 : RUN go mod download 04:47:57 ---> Running in f1ec107ce751 04:47:59 go: finding github.com/BurntSushi/toml v0.3.1 04:47:59 go: finding github.com/OneOfOne/xxhash v1.2.6 04:47:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:47:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:47:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:47:59 go: finding github.com/bgentry/speakeasy v0.1.0 04:47:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:47:59 go: finding github.com/davecgh/go-spew v1.1.1 04:47:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 04:47:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:47:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 04:47:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 04:47:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:47:59 go: finding github.com/fatih/color v1.7.0 04:47:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:47:59 go: finding github.com/go-kit/kit v0.8.0 04:47:59 go: finding github.com/go-logfmt/logfmt v0.4.0 04:47:59 go: finding github.com/go-stack/stack v1.8.0 04:47:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:47:59 go: finding github.com/google/uuid v1.1.0 04:47:59 go: finding github.com/gorilla/mux v1.7.1 04:48:00 go: finding github.com/hashicorp/consul/api v1.1.0 04:48:00 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:48:00 go: finding github.com/hashicorp/errwrap v1.0.0 04:48:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:48:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:48:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:48:00 go: finding github.com/hashicorp/go-multierror v1.0.0 04:48:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:48:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:48:00 go: finding github.com/hashicorp/go-syslog v1.0.0 04:48:00 go: finding github.com/hashicorp/go-uuid v1.0.1 04:48:00 go: finding github.com/hashicorp/go.net v0.0.1 04:48:00 go: finding github.com/hashicorp/golang-lru v0.5.0 04:48:00 go: finding github.com/hashicorp/logutils v1.0.0 04:48:00 go: finding github.com/hashicorp/mdns v1.0.0 04:48:00 go: finding github.com/hashicorp/memberlist v0.1.3 04:48:00 go: finding github.com/hashicorp/serf v0.8.2 04:48:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:48:00 go: finding github.com/mattn/go-colorable v0.0.9 04:48:00 go: finding github.com/mattn/go-isatty v0.0.3 04:48:00 go: finding github.com/miekg/dns v1.0.14 04:48:00 go: finding github.com/mitchellh/cli v1.0.0 04:48:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:48:00 go: finding github.com/mitchellh/copystructure v1.0.0 04:48:00 go: finding github.com/mitchellh/go-homedir v1.0.0 04:48:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:48:00 go: finding github.com/mitchellh/gox v0.4.0 04:48:00 go: finding github.com/mitchellh/iochan v1.0.0 04:48:00 go: finding github.com/mitchellh/mapstructure v1.1.2 04:48:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:48:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:48:00 go: finding github.com/pelletier/go-toml v1.2.0 04:48:00 go: finding github.com/pkg/errors v0.8.1 04:48:00 go: finding github.com/pmezard/go-difflib v1.0.0 04:48:00 go: finding github.com/posener/complete v1.1.1 04:48:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:48:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:48:00 go: finding github.com/stretchr/objx v0.1.0 04:48:00 go: finding github.com/stretchr/testify v1.5.1 04:48:00 go: finding github.com/ugorji/go v1.1.4 04:48:00 go: finding github.com/x448/float16 v0.8.4 04:48:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:48:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:48:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:48:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:48:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:48:00 go: finding gopkg.in/yaml.v2 v2.2.8 04:48:04 Removing intermediate container f1ec107ce751 04:48:04 ---> a46612097342 04:48:04 Successfully built a46612097342 04:48:05 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 04:48:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3000 in /w/workspace/dgexfoundry_device-sdk-go_PR-474 [Pipeline] { [Pipeline] ws 04:48:05 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:48:05 + docker inspect -f . ci-base-image-x86_64 04:48:05 . [Pipeline] withDockerContainer 04:48:05 prd-centos7-docker-4c-2g-3001 does not seem to be running inside a container 04:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 04:48:06 $ docker top 96c0a767b87d7ae4340fc3b7bcfc20885c813915bd89d686cd3bd438eb6c5c6a -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:06 + go version 04:48:06 go version go1.13.5 linux/amd64 [Pipeline] sh 04:48:07 + make test 04:48:07 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:48:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:48:11 using credential edgex-jenkins-ssh 04:48:11 Cloning the remote Git repository 04:48:11 Cloning with configured refspecs honoured and without tags 04:48:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:48:11 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:48:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:48:12 > git --version # timeout=10 04:48:12 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:48:13 > git config --add remote.origin.fetch +refs/pull/474/head:refs/remotes/origin/PR-474 # timeout=10 04:48:13 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:13 Fetching without tags 04:48:13 Merging remotes/origin/master commit 6d36f33b612300ee79929b7f99b8ffab79cfcdbd into PR head commit 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 04:48:14 Merge succeeded, producing 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 04:48:14 Checking out Revision 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 (PR-474) 04:48:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:48:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:48:13 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:48:13 > git config core.sparsecheckout # timeout=10 04:48:14 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 04:48:14 > git remote # timeout=10 04:48:14 > git config --get remote.origin.url # timeout=10 04:48:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:14 > git merge 6d36f33b612300ee79929b7f99b8ffab79cfcdbd # timeout=10 04:48:14 > git rev-parse HEAD^{commit} # timeout=10 04:48:14 > git config core.sparsecheckout # timeout=10 04:48:14 > git checkout -f 3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 # timeout=10 04:48:19 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:48:19 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:48:19 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 22.1% of statements 04:48:19 Commit message: "Add new fields on Reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:48:20 ========================================================= 04:48:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:48:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:48:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 95.8% of statements 04:48:21 + 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 . 04:48:22 Sending build context to Docker daemon 2.86MB 04:48:22 Step 1/8 : ARG BASE=golang:1.13-alpine 04:48:22 Step 2/8 : FROM ${BASE} 04:48:23 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:48:23 cde5963f3b93: Pulling fs layer 04:48:23 2a23fa8c16f7: Pulling fs layer 04:48:23 777b28850792: Pulling fs layer 04:48:23 8a11ddd9e578: Pulling fs layer 04:48:23 8a11ddd9e578: Waiting 04:48:23 4cf88f913ddb: Pulling fs layer 04:48:23 1df406cf5192: Pulling fs layer 04:48:23 cd6300453558: Pulling fs layer 04:48:23 b9c365052c96: Pulling fs layer 04:48:23 a2d8cc88f415: Pulling fs layer 04:48:23 ea1d1ca13537: Pulling fs layer 04:48:23 3750a50a1c5e: Pulling fs layer 04:48:23 4cf88f913ddb: Waiting 04:48:23 1df406cf5192: Waiting 04:48:23 cd6300453558: Waiting 04:48:23 b9c365052c96: Waiting 04:48:23 a2d8cc88f415: Waiting 04:48:23 ea1d1ca13537: Waiting 04:48:23 3750a50a1c5e: Waiting 04:48:23 777b28850792: Verifying Checksum 04:48:23 777b28850792: Download complete 04:48:23 2a23fa8c16f7: Download complete 04:48:23 4cf88f913ddb: Verifying Checksum 04:48:23 4cf88f913ddb: Download complete 04:48:23 1df406cf5192: Download complete 04:48:23 cde5963f3b93: Verifying Checksum 04:48:23 cde5963f3b93: Download complete 04:48:24 cde5963f3b93: Pull complete 04:48:25 2a23fa8c16f7: Pull complete 04:48:26 777b28850792: Pull complete 04:48:28 cd6300453558: Verifying Checksum 04:48:28 cd6300453558: Download complete 04:48:28 a2d8cc88f415: Verifying Checksum 04:48:28 a2d8cc88f415: Download complete 04:48:31 ea1d1ca13537: Verifying Checksum 04:48:31 ea1d1ca13537: Download complete 04:48:31 3750a50a1c5e: Verifying Checksum 04:48:31 3750a50a1c5e: Download complete 04:48:34 b9c365052c96: Verifying Checksum 04:48:34 b9c365052c96: Download complete 04:48:36 8a11ddd9e578: Verifying Checksum 04:48:36 8a11ddd9e578: Download complete 04:48:48 8a11ddd9e578: Pull complete 04:48:48 4cf88f913ddb: Pull complete 04:48:48 1df406cf5192: Pull complete 04:48:51 cd6300453558: Pull complete 04:48:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 11.4% of statements 04:48:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 22.1% of statements 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:48:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.084s coverage: 38.5% of statements 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 04:48:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.507s coverage: 79.8% of statements 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:48:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 04:48:53 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 04:48:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 71.4% of statements 04:48:53 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:48:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:48:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:48:53 gofmt -l . 04:48:53 [ "`gofmt -l .`" = "" ] 04:48:53 ./bin/test-attribution-txt.sh 04:48:54 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:48:54 Stashed 1 file(s) [Pipeline] } 04:48:54 $ docker stop --time=1 96c0a767b87d7ae4340fc3b7bcfc20885c813915bd89d686cd3bd438eb6c5c6a 04:48:56 b9c365052c96: Pull complete 04:48:56 a2d8cc88f415: Pull complete 04:48:56 $ docker rm -f 96c0a767b87d7ae4340fc3b7bcfc20885c813915bd89d686cd3bd438eb6c5c6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:57 + ls -al . 04:48:57 total 160 04:48:57 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 9 04:48 . 04:48:57 drwxrwxr-x. 4 jenkins jenkins 28 Apr 9 04:47 .. 04:48:57 drwxrwxr-x. 3 jenkins jenkins 20 Apr 9 04:47 api 04:48:57 drwxrwxr-x. 2 jenkins jenkins 64 Apr 9 04:47 bin 04:48:57 -rw-r--r--. 1 jenkins jenkins 96404 Apr 9 04:48 coverage.out 04:48:57 -rw-rw-r--. 1 jenkins jenkins 936 Apr 9 04:47 Dockerfile.build 04:48:57 -rw-rw-r--. 1 jenkins jenkins 140 Apr 9 04:47 .dockerignore 04:48:57 drwxrwxr-x. 4 jenkins jenkins 31 Apr 9 04:47 example 04:48:57 drwxrwxr-x. 8 jenkins jenkins 179 Apr 9 04:47 .git 04:48:57 drwxrwxr-x. 2 jenkins jenkins 38 Apr 9 04:47 .github 04:48:57 -rw-rw-r--. 1 jenkins jenkins 138 Apr 9 04:47 .gitignore 04:48:57 -rw-r--r--. 1 jenkins jenkins 446 Apr 9 04:48 go.mod 04:48:57 -rw-r--r--. 1 jenkins jenkins 12076 Apr 9 04:48 go.sum 04:48:57 drwxrwxr-x. 14 jenkins jenkins 196 Apr 9 04:47 internal 04:48:57 -rw-rw-r--. 1 jenkins jenkins 808 Apr 9 04:47 Jenkinsfile 04:48:57 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 9 04:47 LICENSE 04:48:57 -rw-rw-r--. 1 jenkins jenkins 892 Apr 9 04:47 Makefile 04:48:57 drwxrwxr-x. 5 jenkins jenkins 50 Apr 9 04:47 pkg 04:48:57 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 9 04:47 README.md 04:48:57 drwxrwxr-x. 3 jenkins jenkins 58 Apr 9 04:47 .semver 04:48:57 drwxrwxr-x. 4 jenkins jenkins 54 Apr 9 04:47 snap 04:48:57 -rw-rw-r--. 1 jenkins jenkins 5 Apr 9 04:44 VERSION 04:48:57 -rw-rw-r--. 1 jenkins jenkins 222 Apr 9 04:47 version.go [Pipeline] isUnix [Pipeline] sh 04:48:58 ea1d1ca13537: Pull complete 04:48:58 + 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=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 --label arch=amd64 --label version=0.0.0 . 04:48:58 Sending build context to Docker daemon 2.976MB 04:48:58 Step 1/20 : ARG BASE=golang:1.13-alpine 04:48:58 Step 2/20 : FROM ${BASE} AS builder 04:48:58 ---> a46612097342 04:48:58 Step 3/20 : ARG MAKE='make build' 04:48:58 3750a50a1c5e: Pull complete 04:48:58 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 04:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:48:58 ---> 78745c68409d 04:48:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:58 ---> Running in 26694e330055 04:48:58 Removing intermediate container 26694e330055 04:48:58 ---> 98b3ce57db3e 04:48:58 Step 4/20 : WORKDIR /device-sdk-go 04:48:58 ---> Running in 9030fbd30b1f 04:48:58 Removing intermediate container 9030fbd30b1f 04:48:58 ---> cc608e80254f 04:48:58 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:58 ---> Running in c6c27f61ed58 04:48:59 Removing intermediate container c6c27f61ed58 04:48:59 ---> f273d519cc9b 04:48:59 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:59 ---> Running in 40796f8515f7 04:48:59 Removing intermediate container 40796f8515f7 04:48:59 ---> 35d6c88820ad 04:48:59 Step 7/20 : RUN apk add --update --no-cache make git 04:48:59 ---> Running in c10e04a9497f 04:49:00 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:49:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:49:01 OK: 143 MiB in 39 packages 04:49:01 Removing intermediate container c10e04a9497f 04:49:01 ---> b3b32a2d835f 04:49:01 Step 8/20 : COPY . . 04:49:01 ---> be120faadc25 04:49:01 Step 9/20 : RUN ${MAKE} 04:49:01 ---> Running in 7ce354d6c7df 04:49:02 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 04:49:03 ---> Running in 2a53ac53de1e 04:49:03 Removing intermediate container 2a53ac53de1e 04:49:03 ---> 1708008ff4ac 04:49:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:49:03 ---> Running in 70973dc8a3f8 04:49:05 Removing intermediate container 70973dc8a3f8 04:49:05 ---> 4d45a7d03448 04:49:05 Step 5/8 : RUN apk add --no-cache make git 04:49:06 ---> Running in 35e02e6420ea 04:49:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:49:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:49:08 OK: 125 MiB in 39 packages 04:49:09 Removing intermediate container 35e02e6420ea 04:49:09 ---> cda21d77ec24 04:49:09 Step 6/8 : WORKDIR /device-sdk-go 04:49:09 ---> Running in 12000045fe80 04:49:10 Removing intermediate container 12000045fe80 04:49:10 ---> b19758e3c246 04:49:10 Step 7/8 : COPY . . 04:49:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:49:10 Removing intermediate container 7ce354d6c7df 04:49:10 ---> 5747f089eadc 04:49:10 Step 10/20 : FROM scratch 04:49:10 ---> 04:49:10 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:49:10 ---> Running in 51e0bc971688 04:49:10 Removing intermediate container 51e0bc971688 04:49:10 ---> d0811b247d2d 04:49:10 Step 12/20 : ENV APP_PORT=49990 04:49:10 ---> Running in bc793da9f8dd 04:49:10 Removing intermediate container bc793da9f8dd 04:49:10 ---> 4f3dc2d8270b 04:49:10 Step 13/20 : EXPOSE $APP_PORT 04:49:10 ---> d99361979851 04:49:10 Step 8/8 : RUN go mod download 04:49:11 ---> Running in 9568abb77e8f 04:49:11 Removing intermediate container 9568abb77e8f 04:49:11 ---> 40ff0c86aaef 04:49:11 Step 14/20 : WORKDIR / 04:49:11 ---> Running in 5c6e7b01e235 04:49:11 ---> Running in 87475c652492 04:49:11 Removing intermediate container 5c6e7b01e235 04:49:11 ---> f735f88bd4ea 04:49:11 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:49:11 ---> 028c94d83f77 04:49:11 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 04:49:11 ---> c7336504e9f7 04:49:11 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 04:49:11 ---> Running in 9cf41879b3cc 04:49:11 Removing intermediate container 9cf41879b3cc 04:49:11 ---> 0a15aabdb2fb 04:49:11 Step 18/20 : LABEL arch=amd64 04:49:11 ---> Running in 32a08182fde5 04:49:12 Removing intermediate container 32a08182fde5 04:49:12 ---> cf7dfc93e419 04:49:12 Step 19/20 : LABEL git_sha=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 04:49:12 ---> Running in 6f658a74d198 04:49:12 Removing intermediate container 6f658a74d198 04:49:12 ---> 2bdfa60d05e6 04:49:12 Step 20/20 : LABEL version=0.0.0 04:49:12 ---> Running in 4c301444d167 04:49:12 Removing intermediate container 4c301444d167 04:49:12 ---> a15e9d5eb67d 04:49:12 [Warning] One or more build-args [ARCH] were not consumed 04:49:12 Successfully built a15e9d5eb67d 04:49:12 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] } 04:49:13 go: finding github.com/BurntSushi/toml v0.3.1 04:49:13 go: finding github.com/OneOfOne/xxhash v1.2.6 04:49:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:49:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:49:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:49:13 go: finding github.com/bgentry/speakeasy v0.1.0 04:49:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:49:13 go: finding github.com/davecgh/go-spew v1.1.1 04:49:13 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 04:49:13 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:49:13 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 04:49:13 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 04:49:13 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:49:13 go: finding github.com/fatih/color v1.7.0 04:49:13 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:49:13 go: finding github.com/go-kit/kit v0.8.0 04:49:13 go: finding github.com/go-logfmt/logfmt v0.4.0 04:49:13 go: finding github.com/go-stack/stack v1.8.0 04:49:13 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:49:13 go: finding github.com/google/uuid v1.1.0 04:49:13 go: finding github.com/gorilla/mux v1.7.1 04:49:13 go: finding github.com/hashicorp/consul/api v1.1.0 04:49:13 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:49:13 go: finding github.com/hashicorp/errwrap v1.0.0 04:49:13 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:49:13 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:49:13 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:49:13 go: finding github.com/hashicorp/go-multierror v1.0.0 04:49:13 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:49:13 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:49:13 go: finding github.com/hashicorp/go-syslog v1.0.0 04:49:13 go: finding github.com/hashicorp/go-uuid v1.0.1 04:49:13 go: finding github.com/hashicorp/go.net v0.0.1 04:49:13 go: finding github.com/hashicorp/golang-lru v0.5.0 04:49:13 go: finding github.com/hashicorp/logutils v1.0.0 04:49:13 go: finding github.com/hashicorp/mdns v1.0.0 04:49:14 go: finding github.com/hashicorp/memberlist v0.1.3 04:49:14 go: finding github.com/hashicorp/serf v0.8.2 04:49:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:49:14 go: finding github.com/mattn/go-colorable v0.0.9 04:49:14 go: finding github.com/mattn/go-isatty v0.0.3 04:49:14 go: finding github.com/miekg/dns v1.0.14 04:49:14 go: finding github.com/mitchellh/cli v1.0.0 04:49:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:49:14 go: finding github.com/mitchellh/copystructure v1.0.0 04:49:14 go: finding github.com/mitchellh/go-homedir v1.0.0 04:49:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:49:14 go: finding github.com/mitchellh/gox v0.4.0 04:49:14 go: finding github.com/mitchellh/iochan v1.0.0 04:49:14 go: finding github.com/mitchellh/mapstructure v1.1.2 04:49:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:49:14 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:49:14 go: finding github.com/pelletier/go-toml v1.2.0 04:49:14 go: finding github.com/pkg/errors v0.8.1 04:49:14 go: finding github.com/pmezard/go-difflib v1.0.0 04:49:14 go: finding github.com/posener/complete v1.1.1 04:49:14 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:49:14 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:49:14 go: finding github.com/stretchr/objx v0.1.0 04:49:14 go: finding github.com/stretchr/testify v1.5.1 04:49:14 go: finding github.com/ugorji/go v1.1.4 04:49:14 go: finding github.com/x448/float16 v0.8.4 04:49:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:49:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:49:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:49:14 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:49:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:49:14 go: finding gopkg.in/yaml.v2 v2.2.8 04:49:24 Removing intermediate container 87475c652492 04:49:24 ---> c82fff16acb7 04:49:24 Successfully built c82fff16acb7 04:49:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:49:25 + docker inspect -f . ci-base-image-arm64 04:49:25 . [Pipeline] withDockerContainer 04:49:26 prd-ubuntu18.04-docker-arm64-4c-16g-3000 does not seem to be running inside a container 04:49:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:49:27 $ docker top 450bb0f928ad791ca9c5fafdb929aa66320a368219adac97dd29904d373cabf5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:28 + go version 04:49:28 go version go1.13.5 linux/arm64 [Pipeline] sh 04:49:29 + make test 04:49:29 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:49:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:50:03 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:50:03 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:50:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.036s coverage: 22.1% of statements 04:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.187s coverage: 95.8% of statements 04:50:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 11.4% of statements 04:50:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 22.1% of statements 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:50:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.465s coverage: 38.5% of statements 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 04:50:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.618s coverage: 79.8% of statements 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:50:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 52.6% of statements 04:50:38 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 04:50:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.371s coverage: 71.4% of statements 04:50:38 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:50:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:50:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:50:44 gofmt -l . 04:50:44 [ "`gofmt -l .`" = "" ] 04:50:44 ./bin/test-attribution-txt.sh 04:50:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:50:45 Warning: overwriting stash ‘coverage-report’ 04:50:46 Stashed 1 file(s) [Pipeline] } 04:50:46 $ docker stop --time=1 450bb0f928ad791ca9c5fafdb929aa66320a368219adac97dd29904d373cabf5 04:50:48 $ docker rm -f 450bb0f928ad791ca9c5fafdb929aa66320a368219adac97dd29904d373cabf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:50:50 + ls -al . 04:50:50 total 200 04:50:50 drwxrwxr-x 11 jenkins jenkins 4096 Apr 9 04:50 . 04:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 04:48 .. 04:50:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 9 04:48 .dockerignore 04:50:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 9 04:48 .git 04:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 04:48 .github 04:50:50 -rw-rw-r-- 1 jenkins jenkins 138 Apr 9 04:48 .gitignore 04:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 04:48 .semver 04:50:50 -rw-rw-r-- 1 jenkins jenkins 936 Apr 9 04:48 Dockerfile.build 04:50:50 -rw-rw-r-- 1 jenkins jenkins 808 Apr 9 04:48 Jenkinsfile 04:50:50 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 9 04:48 LICENSE 04:50:50 -rw-rw-r-- 1 jenkins jenkins 892 Apr 9 04:48 Makefile 04:50:50 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 9 04:48 README.md 04:50:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 9 04:44 VERSION 04:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 9 04:48 api 04:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 9 04:48 bin 04:50:50 -rw-r--r-- 1 jenkins jenkins 96404 Apr 9 04:50 coverage.out 04:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 04:48 example 04:50:50 -rw-r--r-- 1 jenkins jenkins 446 Apr 9 04:50 go.mod 04:50:50 -rw-r--r-- 1 jenkins jenkins 12076 Apr 9 04:50 go.sum 04:50:50 drwxrwxr-x 14 jenkins jenkins 4096 Apr 9 04:48 internal 04:50:50 drwxrwxr-x 5 jenkins jenkins 4096 Apr 9 04:48 pkg 04:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 9 04:48 snap 04:50:50 -rw-rw-r-- 1 jenkins jenkins 222 Apr 9 04:48 version.go [Pipeline] isUnix [Pipeline] sh 04:50:50 + 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=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 --label arch=arm64 --label version=0.0.0 . 04:50:51 Sending build context to Docker daemon 2.978MB 04:50:51 Step 1/20 : ARG BASE=golang:1.13-alpine 04:50:51 Step 2/20 : FROM ${BASE} AS builder 04:50:51 ---> c82fff16acb7 04:50:51 Step 3/20 : ARG MAKE='make build' 04:50:51 ---> Running in aa9a00d978ac 04:50:51 Removing intermediate container aa9a00d978ac 04:50:51 ---> 8ab57b990899 04:50:51 Step 4/20 : WORKDIR /device-sdk-go 04:50:51 ---> Running in a9ccb34fbef7 04:50:52 Removing intermediate container a9ccb34fbef7 04:50:52 ---> 97017a186963 04:50:52 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:50:52 ---> Running in 1f6a0c549d35 04:50:52 Removing intermediate container 1f6a0c549d35 04:50:52 ---> ca32be5e0995 04:50:52 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:50:52 ---> Running in 5160ce7117ec 04:50:54 Removing intermediate container 5160ce7117ec 04:50:54 ---> 0edf3ebcd86e 04:50:54 Step 7/20 : RUN apk add --update --no-cache make git 04:50:54 ---> Running in 4f799991d8e1 04:50:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:50:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:50:57 OK: 125 MiB in 39 packages 04:50:58 Removing intermediate container 4f799991d8e1 04:50:58 ---> 133769892164 04:50:58 Step 8/20 : COPY . . 04:50:58 ---> 44575950533b 04:50:58 Step 9/20 : RUN ${MAKE} 04:50:59 ---> Running in 9895f36f785a 04:51:00 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 04:51:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:51:28 Removing intermediate container 9895f36f785a 04:51:28 ---> b95a3fe0b52a 04:51:28 Step 10/20 : FROM scratch 04:51:28 ---> 04:51:28 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:51:28 ---> Running in 908c554db17c 04:51:29 Removing intermediate container 908c554db17c 04:51:29 ---> 04e82aa85915 04:51:29 Step 12/20 : ENV APP_PORT=49990 04:51:29 ---> Running in 45a38f1d085a 04:51:29 Removing intermediate container 45a38f1d085a 04:51:29 ---> 6d6616efd7f6 04:51:29 Step 13/20 : EXPOSE $APP_PORT 04:51:30 ---> Running in 48d44a66894c 04:51:30 Removing intermediate container 48d44a66894c 04:51:30 ---> f20a3c8721e6 04:51:30 Step 14/20 : WORKDIR / 04:51:30 ---> Running in 647f3d27427b 04:51:30 Removing intermediate container 647f3d27427b 04:51:30 ---> beed6f1dea89 04:51:30 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:51:31 ---> edcd6283f8b5 04:51:31 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 04:51:32 ---> 5a2a1abe6a81 04:51:32 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 04:51:32 ---> Running in 10a8ad61a856 04:51:33 Removing intermediate container 10a8ad61a856 04:51:33 ---> ef38fc423017 04:51:33 Step 18/20 : LABEL arch=arm64 04:51:33 ---> Running in 4d172a26a7a4 04:51:33 Removing intermediate container 4d172a26a7a4 04:51:33 ---> e09f030859e5 04:51:33 Step 19/20 : LABEL git_sha=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 04:51:33 ---> Running in 82c8cfbba110 04:51:33 Removing intermediate container 82c8cfbba110 04:51:33 ---> 03776e1b2ea8 04:51:33 Step 20/20 : LABEL version=0.0.0 04:51:34 ---> Running in a23880f4f793 04:51:34 Removing intermediate container a23880f4f793 04:51:34 ---> 9adc78f75e15 04:51:34 [Warning] One or more build-args [ARCH] were not consumed 04:51:34 Successfully built 9adc78f75e15 04:51:34 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 04:51:35 provisioning config files... 04:51:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config4235943496696588882tmp [Pipeline] { [Pipeline] sh 04:51:35 + curl -s https://codecov.io/bash 04:51:35 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config4235943496696588882tmp 04:51:36 04:51:36 _____ _ 04:51:36 / ____| | | 04:51:36 | | ___ __| | ___ ___ _____ __ 04:51:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:51:36 | |___| (_) | (_| | __/ (_| (_) \ V / 04:51:36 \_____\___/ \__,_|\___|\___\___/ \_/ 04:51:36 Bash-tbd 04:51:36 04:51:36 04:51:36 ==> Jenkins CI detected. 04:51:36 project root: . 04:51:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:51:36 ==> Running gcov in . (disable via -X gcov) 04:51:36 ==> Python coveragepy not found 04:51:36 ==> Searching for coverage reports in: 04:51:36 + . 04:51:36 -> Found 1 reports 04:51:36 ==> Detecting git/mercurial file structure 04:51:36 ==> Reading reports 04:51:36 + ./coverage.out bytes=96404 04:51:36 ==> Appending adjustments 04:51:36 http://docs.codecov.io/docs/fixing-reports 04:51:36 + Found adjustments 04:51:36 ==> Gzipping contents 04:51:36 ==> Uploading reports 04:51:36 url: https://codecov.io 04:51:36 query: branch=PR-474&commit=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= 04:51:36 -> Pinging Codecov 04:51:36 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-474&commit=3a00bb75f1e8ea3151604af5cfbe3ab82172eb40&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-474%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=474&job= 04:51:36 -> Uploading 04:51:37 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a00bb75f1e8ea3151604af5cfbe3ab82172eb40 [Pipeline] } 04:51:37 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 04:51:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:51:38 ---> package-listing.sh 04:51:38 ++ facter osfamily 04:51:38 ++ tr '[:upper:]' '[:lower:]' 04:51:38 + OS_FAMILY=redhat 04:51:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-474 04:51:38 + START_PACKAGES=/tmp/packages_start.txt 04:51:38 + END_PACKAGES=/tmp/packages_end.txt 04:51:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:51:38 + PACKAGES=/tmp/packages_start.txt 04:51:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' 04:51:38 + PACKAGES=/tmp/packages_end.txt 04:51:38 + case "${OS_FAMILY}" in 04:51:38 + rpm -qa 04:51:38 + sort 04:51:43 + '[' -f /tmp/packages_start.txt ']' 04:51:43 + '[' -f /tmp/packages_end.txt ']' 04:51:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:51:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-474 ']' 04:51:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ 04:51:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-474/archives/ [Pipeline] isUnix [Pipeline] sh 04:51:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:51:43 04:51:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:51:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:51:43 alpine: Pulling from edgex-lftools-log-publisher 04:51:43 c9b1b535fdd9: Pulling fs layer 04:51:43 2cc5ad85d9ab: Pulling fs layer 04:51:43 756a868c4378: Pulling fs layer 04:51:43 444b2fc9a129: Pulling fs layer 04:51:43 ea15f1150254: Pulling fs layer 04:51:43 41b27a9f41bf: Pulling fs layer 04:51:43 28c525ee5125: Pulling fs layer 04:51:43 094b1ea09ed8: Pulling fs layer 04:51:43 138eaada9080: Pulling fs layer 04:51:43 0622d0fa9048: Pulling fs layer 04:51:43 28c525ee5125: Waiting 04:51:43 094b1ea09ed8: Waiting 04:51:43 138eaada9080: Waiting 04:51:43 0622d0fa9048: Waiting 04:51:43 ea15f1150254: Waiting 04:51:43 444b2fc9a129: Waiting 04:51:43 41b27a9f41bf: Waiting 04:51:43 2cc5ad85d9ab: Download complete 04:51:43 444b2fc9a129: Verifying Checksum 04:51:43 444b2fc9a129: Download complete 04:51:43 c9b1b535fdd9: Verifying Checksum 04:51:43 c9b1b535fdd9: Download complete 04:51:43 ea15f1150254: Verifying Checksum 04:51:43 ea15f1150254: Download complete 04:51:44 28c525ee5125: Verifying Checksum 04:51:44 28c525ee5125: Download complete 04:51:44 c9b1b535fdd9: Pull complete 04:51:44 756a868c4378: Verifying Checksum 04:51:44 756a868c4378: Download complete 04:51:44 094b1ea09ed8: Verifying Checksum 04:51:44 094b1ea09ed8: Download complete 04:51:44 138eaada9080: Verifying Checksum 04:51:44 138eaada9080: Download complete 04:51:44 0622d0fa9048: Verifying Checksum 04:51:44 0622d0fa9048: Download complete 04:51:44 2cc5ad85d9ab: Pull complete 04:51:45 41b27a9f41bf: Verifying Checksum 04:51:45 41b27a9f41bf: Download complete 04:51:45 756a868c4378: Pull complete 04:51:46 444b2fc9a129: Pull complete 04:51:46 ea15f1150254: Pull complete 04:51:50 41b27a9f41bf: Pull complete 04:51:50 28c525ee5125: Pull complete 04:51:52 094b1ea09ed8: Pull complete 04:51:52 138eaada9080: Pull complete 04:51:52 0622d0fa9048: Pull complete 04:51:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:51:53 prd-centos7-docker-4c-2g-2998 does not seem to be running inside a container 04:51:53 $ 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-474 -v /w/workspace/dgexfoundry_device-sdk-go_PR-474:/w/workspace/dgexfoundry_device-sdk-go_PR-474:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-474@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 04:51:54 $ docker top 18a99415bca578735664f6def1ed09c3b405207007aa38d8e0b2df9b2e89be62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:51:54 provisioning config files... 04:51:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp/config6801980679602407973tmp [Pipeline] { [Pipeline] echo 04:51:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:51:54 ---> create-netrc.sh [Pipeline] echo 04:51:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:51:55 ---> logs-deploy.sh 04:51:55 + ARCHIVE_ARTIFACTS= 04:51:55 + LOGS_SERVER=https://logs.edgexfoundry.org 04:51:55 + '[' https://logs.edgexfoundry.org == None ']' 04:51:55 + NEXUS_URL=https://nexus.edgexfoundry.org 04:51:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/4 04:51:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/4/ 04:51:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/4 /w/workspace/dgexfoundry_device-sdk-go_PR-474 04:51:56 Archives upload complete. 04:51:56 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-474/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-474/4/ 04:51:57 ---> uname -a: 04:51:57 Linux 18a99415bca5 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 04:51:57 04:51:57 04:51:57 ---> lscpu: 04:51:57 Architecture: x86_64 04:51:57 CPU op-mode(s): 32-bit, 64-bit 04:51:57 Byte Order: Little Endian 04:51:57 Address sizes: 40 bits physical, 48 bits virtual 04:51:57 CPU(s): 4 04:51:57 On-line CPU(s) list: 0-3 04:51:57 Thread(s) per core: 1 04:51:57 Core(s) per socket: 1 04:51:57 Socket(s): 4 04:51:57 NUMA node(s): 1 04:51:57 Vendor ID: GenuineIntel 04:51:57 CPU family: 6 04:51:57 Model: 44 04:51:57 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:51:57 Stepping: 1 04:51:57 CPU MHz: 2933.442 04:51:57 BogoMIPS: 5866.88 04:51:57 Virtualization: VT-x 04:51:57 Hypervisor vendor: KVM 04:51:57 Virtualization type: full 04:51:57 L1d cache: 128 KiB 04:51:57 L1i cache: 128 KiB 04:51:57 L2 cache: 16 MiB 04:51:57 L3 cache: 64 MiB 04:51:57 NUMA node0 CPU(s): 0-3 04:51:57 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 04:51:57 Vulnerability Meltdown: Mitigation; PTI 04:51:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:51:57 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 04:51:57 Vulnerability Spectre v2: Mitigation; Full retpoline 04:51:57 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 04:51:57 04:51:57 04:51:57 ---> nproc: 04:51:57 4 04:51:57 04:51:57 04:51:57 ---> df -h: 04:51:57 Filesystem Size Used Available Use% Mounted on 04:51:57 overlay 50.0G 6.4G 43.6G 13% / 04:51:57 tmpfs 64.0M 0 64.0M 0% /dev 04:51:57 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 04:51:57 shm 64.0M 0 64.0M 0% /dev/shm 04:51:57 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 04:51:57 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 04:51:57 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 04:51:57 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 04:51:57 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-474 04:51:57 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-474@tmp 04:51:57 04:51:57 04:51:57 ---> free -m: 04:51:57 total used free shared buff/cache available 04:51:57 Mem: 1838 597 75 0 1164 1136 04:51:57 Swap: 1023 0 1023 04:51:57 04:51:57 04:51:57 ---> ip addr: 04:51:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:51:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:51:57 inet 127.0.0.1/8 scope host lo 04:51:57 valid_lft forever preferred_lft forever 04:51:57 6: eth0@if7: mtu 1458 qdisc noqueue state UP 04:51:57 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 04:51:57 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 04:51:57 valid_lft forever preferred_lft forever 04:51:57 04:51:57 04:51:57 ---> sar -b -r -n DEV: 04:51:57 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/09/20 _x86_64_ (4 CPU) 04:51:57 04:51:57 04:43:53 LINUX RESTART 04:51:57 04:51:57 04:45:01 tps rtps wtps bread/s bwrtn/s 04:51:57 04:46:01 14.82 0.00 14.82 0.00 1933.66 04:51:57 04:47:01 0.65 0.00 0.65 0.00 8.01 04:51:57 04:48:01 0.63 0.00 0.63 0.00 8.89 04:51:57 04:49:01 0.67 0.00 0.67 0.00 8.53 04:51:57 04:50:02 0.67 0.00 0.67 0.00 8.04 04:51:57 04:51:01 0.69 0.00 0.69 0.00 8.77 04:51:57 Average: 3.03 0.00 3.03 0.00 330.19 04:51:57 04:51:57 04:45:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:51:57 04:46:01 118092 1764212 93.73 2620 1238728 900876 30.74 423100 1183000 8 04:51:57 04:47:01 117192 1765112 93.77 2620 1238736 901108 30.75 424460 1182704 16 04:51:57 04:48:01 116812 1765492 93.79 2620 1238744 901132 30.75 424676 1182700 8 04:51:57 04:49:01 116700 1765604 93.80 2620 1238744 901132 30.75 424732 1182700 8 04:51:57 04:50:02 117168 1765136 93.78 2620 1238752 901140 30.75 424196 1182700 8 04:51:57 04:51:01 117144 1765160 93.78 2620 1238756 901140 30.75 424308 1182700 8 04:51:57 Average: 117185 1765119 93.77 2620 1238743 901088 30.74 424245 1182751 9 04:51:57 04:51:57 04:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 04:51:57 04:46:01 eth0 0.85 0.08 0.07 0.01 0.00 0.00 0.00 04:51:57 04:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:47:01 eth0 2.33 0.62 1.06 0.19 0.00 0.00 0.00 04:51:57 04:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:48:01 eth0 1.58 0.60 0.59 0.39 0.00 0.00 0.00 04:51:57 04:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:49:01 eth0 1.50 0.60 0.57 0.43 0.00 0.00 0.00 04:51:57 04:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:50:02 eth0 1.02 0.20 0.20 0.07 0.00 0.00 0.00 04:51:57 04:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:51:01 eth0 2.00 0.27 0.39 0.20 0.00 0.00 0.00 04:51:57 04:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 Average: eth0 1.54 0.40 0.48 0.21 0.00 0.00 0.00 04:51:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:51:57 04:51:57 04:51:57 ---> sar -P ALL: 04:51:57 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/09/20 _x86_64_ (4 CPU) 04:51:57 04:51:57 04:43:53 LINUX RESTART 04:51:57 04:51:57 04:45:01 CPU %user %nice %system %iowait %steal %idle 04:51:57 04:46:01 all 0.19 0.00 0.09 0.00 0.00 99.72 04:51:57 04:46:01 0 0.17 0.00 0.08 0.00 0.00 99.75 04:51:57 04:46:01 1 0.07 0.00 0.10 0.00 0.00 99.83 04:51:57 04:46:01 2 0.45 0.00 0.07 0.00 0.00 99.48 04:51:57 04:46:01 3 0.08 0.00 0.12 0.00 0.00 99.80 04:51:57 04:47:01 all 0.21 0.00 0.05 0.00 0.00 99.75 04:51:57 04:47:01 0 0.18 0.00 0.05 0.00 0.00 99.77 04:51:57 04:47:01 1 0.08 0.00 0.05 0.00 0.00 99.87 04:51:57 04:47:01 2 0.47 0.00 0.05 0.00 0.02 99.47 04:51:57 04:47:01 3 0.10 0.00 0.03 0.00 0.00 99.87 04:51:57 04:48:01 all 0.19 0.00 0.06 0.00 0.01 99.75 04:51:57 04:48:01 0 0.48 0.00 0.07 0.00 0.02 99.43 04:51:57 04:48:01 1 0.10 0.00 0.07 0.00 0.00 99.83 04:51:57 04:48:01 2 0.07 0.00 0.07 0.00 0.00 99.87 04:51:57 04:48:01 3 0.08 0.00 0.07 0.00 0.00 99.85 04:51:57 04:49:01 all 0.10 0.00 0.06 0.00 0.00 99.84 04:51:57 04:49:01 0 0.13 0.00 0.10 0.00 0.00 99.77 04:51:57 04:49:01 1 0.10 0.00 0.07 0.00 0.00 99.83 04:51:57 04:49:01 2 0.07 0.00 0.05 0.00 0.00 99.88 04:51:57 04:49:01 3 0.10 0.00 0.03 0.00 0.00 99.87 04:51:57 04:50:02 all 0.10 0.00 0.05 0.00 0.01 99.85 04:51:57 04:50:02 0 0.18 0.00 0.07 0.00 0.02 99.73 04:51:57 04:50:02 1 0.07 0.00 0.03 0.00 0.00 99.90 04:51:57 04:50:02 2 0.12 0.00 0.07 0.00 0.00 99.82 04:51:57 04:50:02 3 0.02 0.00 0.03 0.00 0.02 99.93 04:51:57 04:51:01 all 0.20 0.00 0.05 0.00 0.00 99.75 04:51:57 04:51:01 0 0.56 0.00 0.05 0.00 0.00 99.39 04:51:57 04:51:01 1 0.05 0.00 0.03 0.00 0.00 99.92 04:51:57 04:51:01 2 0.10 0.00 0.05 0.00 0.02 99.83 04:51:57 04:51:01 3 0.10 0.00 0.05 0.00 0.00 99.85 04:51:57 Average: all 0.16 0.00 0.06 0.00 0.00 99.77 04:51:57 Average: 0 0.28 0.00 0.07 0.00 0.01 99.64 04:51:57 Average: 1 0.08 0.00 0.06 0.00 0.00 99.86 04:51:57 Average: 2 0.21 0.00 0.06 0.00 0.01 99.72 04:51:57 Average: 3 0.08 0.00 0.06 0.00 0.00 99.86 04:51:57 04:51:57 04:51:57