Pull request #432 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 IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 216cade7f2e553cd85bebefedf8dad939aae0897 rather than 33fda1e722890a4926abd3329d8fb23bb0fb405b Obtained Jenkinsfile from 216cade7f2e553cd85bebefedf8dad939aae0897 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-1538 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-432 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 33fda1e722890a4926abd3329d8fb23bb0fb405b Merge succeeded, producing 33fda1e722890a4926abd3329d8fb23bb0fb405b Checking out Revision 33fda1e722890a4926abd3329d8fb23bb0fb405b (PR-432) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # 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 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 Commit message: "Refactor to use common go-mod-bootstrap package" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:50:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 4fe0f186cd77d8ce93183ec219415967046faa08 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:50:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:48 07:50:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:50:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:48 latest: Pulling from edgex-devops/git-semver 07:50:48 9123ac7c32f7: Pulling fs layer 07:50:48 b8cc5d1170e3: Pulling fs layer 07:50:48 2924cbbf6a41: Pulling fs layer 07:50:48 93b08a4f1073: Pulling fs layer 07:50:48 93b08a4f1073: Waiting 07:50:48 b8cc5d1170e3: Verifying Checksum 07:50:48 b8cc5d1170e3: Download complete 07:50:48 9123ac7c32f7: Verifying Checksum 07:50:48 9123ac7c32f7: Download complete 07:50:48 93b08a4f1073: Verifying Checksum 07:50:48 93b08a4f1073: Download complete 07:50:48 2924cbbf6a41: Verifying Checksum 07:50:48 2924cbbf6a41: Download complete 07:50:48 9123ac7c32f7: Pull complete 07:50:48 b8cc5d1170e3: Pull complete 07:50:49 2924cbbf6a41: Pull complete 07:50:49 93b08a4f1073: Pull complete 07:50:49 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:50:49 prd-centos7-docker-4c-2g-1538 does not seem to be running inside a container 07:50:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:50:50 $ docker top 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:50 [ssh-agent] Looking for ssh-agent implementation... 07:50:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:51 $ docker exec 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent 07:50:51 SSH_AUTH_SOCK=/tmp/ssh-TwKzTC7AYNEx/agent.15 07:50:51 SSH_AGENT_PID=22 07:50:51 Running ssh-add (command line suppressed) 07:50:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6180673198209709434.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6180673198209709434.key) 07:50:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:51 + git describe --exact-match --tags HEAD 07:50:51 fatal: No names found, cannot describe anything. [Pipeline] } 07:50:51 $ docker exec --env ******** --env ******** 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent -k 07:50:51 unset SSH_AUTH_SOCK; 07:50:51 unset SSH_AGENT_PID; 07:50:51 echo Agent pid 22 killed; 07:50:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:50:52 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:50:52 This usually means this commit has not been tagged. [Pipeline] sshagent 07:50:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:52 [ssh-agent] Looking for ssh-agent implementation... 07:50:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:52 $ docker exec 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent 07:50:52 SSH_AUTH_SOCK=/tmp/ssh-ADdJFEcqFnwo/agent.57 07:50:52 SSH_AGENT_PID=63 07:50:52 Running ssh-add (command line suppressed) 07:50:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6851773136961217296.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6851773136961217296.key) 07:50:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:52 + git semver init 07:50:52 # -> Open(): unable to determine branch for HEAD 07:50:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 07:50:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 07:50:52 # $SEMVER_REMOTE_NAME = origin 07:50:52 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 07:50:52 # $SEMVER_USER_NAME = jenkins 07:50:52 # $SEMVER_BRANCH = PR-432 07:50:52 # $SEMVER_TEMP = /tmp/semver-717378843 07:50:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:50:53 # '/tmp/semver-717378843' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 07:50:53 # -> Force: false 07:50:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 07:50:53 $ docker exec --env ******** --env ******** 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent -k 07:50:54 unset SSH_AUTH_SOCK; 07:50:54 unset SSH_AGENT_PID; 07:50:54 echo Agent pid 63 killed; 07:50:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:54 + git semver [Pipeline] } 07:50:54 $ docker stop --time=1 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 07:50:55 $ docker rm -f 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:50:56 Stashed 34 file(s) [Pipeline] echo 07:50: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 07:51:11 Still waiting to schedule task 07:51:11 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1538’ 07:51:11 Still waiting to schedule task 07:51:11 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:53:32 Running on prd-centos7-docker-4c-2g-1539 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 07:53:32 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 07:53:34 using credential edgex-jenkins-ssh 07:53:34 Cloning the remote Git repository 07:53:34 Cloning with configured refspecs honoured and without tags 07:53:35 Fetching without tags 07:53:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:53:34 > git init /w/workspace/device-sdk-go/4 # timeout=10 07:53:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:53:34 > git --version # timeout=10 07:53:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:53:34 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 07:53:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:53:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:53:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:36 Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 33fda1e722890a4926abd3329d8fb23bb0fb405b 07:53:36 Merge succeeded, producing 33fda1e722890a4926abd3329d8fb23bb0fb405b 07:53:36 Checking out Revision 33fda1e722890a4926abd3329d8fb23bb0fb405b (PR-432) 07:53:35 > git config core.sparsecheckout # timeout=10 07:53:35 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 07:53:35 > git remote # timeout=10 07:53:35 > git config --get remote.origin.url # timeout=10 07:53:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:35 > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 07:53:35 > git rev-parse HEAD^{commit} # timeout=10 07:53:35 > git config core.sparsecheckout # timeout=10 07:53:35 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 07:53:40 Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:53:41 ========================================================= 07:53:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:53:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:53:42 + 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 . 07:53:42 Sending build context to Docker daemon 2.695MB 07:53:42 Step 1/8 : ARG BASE=golang:1.13-alpine 07:53:42 Step 2/8 : FROM ${BASE} 07:53:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:53:42 e6b0cf9c0882: Pulling fs layer 07:53:42 2848faf0eed1: Pulling fs layer 07:53:42 0f37312ad70f: Pulling fs layer 07:53:42 5788d62ee057: Pulling fs layer 07:53:42 0e6b1d234666: Pulling fs layer 07:53:42 bf5d7aec512f: Pulling fs layer 07:53:42 34c802a77dc8: Pulling fs layer 07:53:42 9eb99e56ec68: Pulling fs layer 07:53:42 27c7a5d97fbd: Pulling fs layer 07:53:42 5c102a31e300: Pulling fs layer 07:53:42 dcfb455df0a1: Pulling fs layer 07:53:42 5788d62ee057: Waiting 07:53:42 0e6b1d234666: Waiting 07:53:42 bf5d7aec512f: Waiting 07:53:42 34c802a77dc8: Waiting 07:53:42 9eb99e56ec68: Waiting 07:53:42 27c7a5d97fbd: Waiting 07:53:42 0f37312ad70f: Download complete 07:53:42 2848faf0eed1: Verifying Checksum 07:53:42 2848faf0eed1: Download complete 07:53:42 bf5d7aec512f: Verifying Checksum 07:53:42 bf5d7aec512f: Download complete 07:53:43 e6b0cf9c0882: Verifying Checksum 07:53:43 e6b0cf9c0882: Download complete 07:53:43 e6b0cf9c0882: Pull complete 07:53:43 2848faf0eed1: Pull complete 07:53:43 0f37312ad70f: Pull complete 07:53:50 34c802a77dc8: Verifying Checksum 07:53:50 34c802a77dc8: Download complete 07:53:50 27c7a5d97fbd: Verifying Checksum 07:53:50 27c7a5d97fbd: Download complete 07:53:50 5c102a31e300: Verifying Checksum 07:53:50 5c102a31e300: Download complete 07:53:50 dcfb455df0a1: Verifying Checksum 07:53:50 dcfb455df0a1: Download complete 07:53:50 9eb99e56ec68: Verifying Checksum 07:53:50 9eb99e56ec68: Download complete 07:53:50 5788d62ee057: Verifying Checksum 07:53:50 5788d62ee057: Download complete 07:53:56 5788d62ee057: Pull complete 07:53:56 0e6b1d234666: Pull complete 07:53:56 bf5d7aec512f: Pull complete 07:54:01 34c802a77dc8: Pull complete 07:54:04 9eb99e56ec68: Pull complete 07:54:04 27c7a5d97fbd: Pull complete 07:54:05 5c102a31e300: Pull complete 07:54:05 dcfb455df0a1: Pull complete 07:54:05 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:54:05 ---> 7c70fe431013 07:54:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:05 ---> Running in 18df71509fda 07:54:05 Removing intermediate container 18df71509fda 07:54:05 ---> 1d01ced0ece9 07:54:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:05 ---> Running in e7b4a093493e 07:54:06 Removing intermediate container e7b4a093493e 07:54:06 ---> 0c80cf7624bd 07:54:06 Step 5/8 : RUN apk add --no-cache make git 07:54:06 ---> Running in 88de31b56508 07:54:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:54:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:54:08 OK: 143 MiB in 39 packages 07:54:09 Removing intermediate container 88de31b56508 07:54:09 ---> e677ae9c5e56 07:54:09 Step 6/8 : WORKDIR /device-sdk-go 07:54:09 ---> Running in 6a506d32657a 07:54:09 Removing intermediate container 6a506d32657a 07:54:09 ---> 78c17094402f 07:54:09 Step 7/8 : COPY . . 07:54:09 ---> 3777e7672119 07:54:09 Step 8/8 : RUN go mod download 07:54:09 ---> Running in f457bb1fdbbb 07:54:13 go: finding github.com/BurntSushi/toml v0.3.1 07:54:13 go: finding github.com/OneOfOne/xxhash v1.2.6 07:54:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:54:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:54:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:54:13 go: finding github.com/bgentry/speakeasy v0.1.0 07:54:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:54:13 go: finding github.com/davecgh/go-spew v1.1.1 07:54:13 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 07:54:13 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:54:13 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 07:54:13 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:54:13 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:54:13 go: finding github.com/fatih/color v1.7.0 07:54:13 go: finding github.com/go-kit/kit v0.8.0 07:54:13 go: finding github.com/go-logfmt/logfmt v0.4.0 07:54:13 go: finding github.com/go-stack/stack v1.8.0 07:54:13 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:54:13 go: finding github.com/google/uuid v1.1.0 07:54:13 go: finding github.com/gorilla/mux v1.7.1 07:54:13 go: finding github.com/hashicorp/consul/api v1.1.0 07:54:13 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:54:13 go: finding github.com/hashicorp/errwrap v1.0.0 07:54:13 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:54:13 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:54:13 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:54:13 go: finding github.com/hashicorp/go-multierror v1.0.0 07:54:13 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:54:13 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:54:13 go: finding github.com/hashicorp/go-syslog v1.0.0 07:54:13 go: finding github.com/hashicorp/go-uuid v1.0.1 07:54:13 go: finding github.com/hashicorp/go.net v0.0.1 07:54:13 go: finding github.com/hashicorp/golang-lru v0.5.0 07:54:13 go: finding github.com/hashicorp/logutils v1.0.0 07:54:13 go: finding github.com/hashicorp/mdns v1.0.0 07:54:13 go: finding github.com/hashicorp/memberlist v0.1.3 07:54:14 go: finding github.com/hashicorp/serf v0.8.2 07:54:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:54:14 go: finding github.com/mattn/go-colorable v0.0.9 07:54:14 go: finding github.com/mattn/go-isatty v0.0.3 07:54:14 go: finding github.com/miekg/dns v1.0.14 07:54:14 go: finding github.com/mitchellh/cli v1.0.0 07:54:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:54:14 go: finding github.com/mitchellh/copystructure v1.0.0 07:54:14 go: finding github.com/mitchellh/go-homedir v1.0.0 07:54:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:54:14 go: finding github.com/mitchellh/gox v0.4.0 07:54:14 go: finding github.com/mitchellh/iochan v1.0.0 07:54:14 go: finding github.com/mitchellh/mapstructure v1.1.2 07:54:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:54:14 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:54:14 go: finding github.com/pelletier/go-toml v1.2.0 07:54:14 go: finding github.com/pkg/errors v0.8.1 07:54:14 go: finding github.com/pmezard/go-difflib v1.0.0 07:54:14 go: finding github.com/posener/complete v1.1.1 07:54:14 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:54:14 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:54:14 go: finding github.com/stretchr/objx v0.1.0 07:54:14 go: finding github.com/stretchr/testify v1.5.1 07:54:14 go: finding github.com/ugorji/go v1.1.4 07:54:14 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:54:14 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:54:14 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:54:15 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:54:15 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:54:15 go: finding gopkg.in/yaml.v2 v2.2.8 07:54:20 Removing intermediate container f457bb1fdbbb 07:54:20 ---> c9f0e5f5a678 07:54:20 Successfully built c9f0e5f5a678 07:54:20 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 07:54:21 + docker inspect -f . ci-base-image-x86_64 07:54:21 . [Pipeline] withDockerContainer 07:54:21 prd-centos7-docker-4c-2g-1539 does not seem to be running inside a container 07:54:21 $ 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-x86_64 cat 07:54:22 $ docker top 9f45defaa7a131d2a6af53b301d71c4c7dffe0e7fcd1bd90c6f0e2065c00e905 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:23 + go version 07:54:23 go version go1.13.5 linux/amd64 [Pipeline] sh 07:54:23 + make test 07:54:23 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:54:24 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:54:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:54:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:54:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 23.1% of statements 07:54:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.8% of statements 07:54:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.077s coverage: 7.9% of statements 07:54:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 22.1% of statements 07:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:54:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.285s coverage: 38.5% of statements 07:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:54:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.403s coverage: 79.9% of statements 07:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:54:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.029s coverage: 52.6% of statements 07:54:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 76.1% of statements 07:54:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:54:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:54:48 gofmt -l . 07:54:48 [ "`gofmt -l .`" = "" ] 07:54:48 ./bin/test-attribution-txt.sh 07:54:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:54:49 Stashed 1 file(s) [Pipeline] } 07:54:49 $ docker stop --time=1 9f45defaa7a131d2a6af53b301d71c4c7dffe0e7fcd1bd90c6f0e2065c00e905 07:54:51 $ docker rm -f 9f45defaa7a131d2a6af53b301d71c4c7dffe0e7fcd1bd90c6f0e2065c00e905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:52 + ls -al . 07:54:52 total 160 07:54:52 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 07:54 . 07:54:52 drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 07:53 .. 07:54:52 drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 07:53 api 07:54:52 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 07:53 bin 07:54:52 -rw-r--r--. 1 jenkins jenkins 94650 Mar 31 07:54 coverage.out 07:54:52 -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 07:53 Dockerfile.build 07:54:52 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 07:53 .dockerignore 07:54:52 drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 07:53 example 07:54:52 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 07:53 .git 07:54:52 drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 07:53 .github 07:54:52 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 07:53 .gitignore 07:54:52 -rw-r--r--. 1 jenkins jenkins 438 Mar 31 07:54 go.mod 07:54:52 -rw-r--r--. 1 jenkins jenkins 11812 Mar 31 07:54 go.sum 07:54:52 drwxrwxr-x. 13 jenkins jenkins 179 Mar 31 07:53 internal 07:54:52 -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 07:53 Jenkinsfile 07:54:52 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 07:53 LICENSE 07:54:52 -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 07:53 Makefile 07:54:52 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 07:53 pkg 07:54:52 -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 07:53 README.md 07:54:52 drwxrwxr-x. 3 jenkins jenkins 58 Mar 31 07:53 .semver 07:54:52 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 07:53 snap 07:54:52 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 07:50 VERSION 07:54:52 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 07:53 version.go [Pipeline] isUnix [Pipeline] sh 07:54:53 + 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=33fda1e722890a4926abd3329d8fb23bb0fb405b --label arch=amd64 --label version=0.0.0 . 07:54:53 Sending build context to Docker daemon 2.81MB 07:54:53 Step 1/20 : ARG BASE=golang:1.13-alpine 07:54:53 Step 2/20 : FROM ${BASE} AS builder 07:54:53 ---> c9f0e5f5a678 07:54:53 Step 3/20 : ARG MAKE='make build' 07:54:53 ---> Running in ce144b22b22b 07:54:53 Removing intermediate container ce144b22b22b 07:54:53 ---> a3d59ef2f0ef 07:54:53 Step 4/20 : WORKDIR /device-sdk-go 07:54:53 ---> Running in e6ee9bf6ab8c 07:54:53 Removing intermediate container e6ee9bf6ab8c 07:54:53 ---> 8a0255dd7cc5 07:54:53 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:53 ---> Running in fa355142bba0 07:54:53 Removing intermediate container fa355142bba0 07:54:53 ---> 858c24e33bfd 07:54:53 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:53 ---> Running in 6780f868d123 07:54:54 Removing intermediate container 6780f868d123 07:54:54 ---> abe642d4e6b7 07:54:54 Step 7/20 : RUN apk add --update --no-cache make git 07:54:54 ---> Running in fd1d6b41dda7 07:54:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:54:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:54:56 OK: 143 MiB in 39 packages 07:54:56 Removing intermediate container fd1d6b41dda7 07:54:56 ---> 4f3e4e4baac1 07:54:56 Step 8/20 : COPY . . 07:54:57 ---> e860c3401f93 07:54:57 Step 9/20 : RUN ${MAKE} 07:54:57 ---> Running in e20fffaa1c79 07:54:57 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 07:55:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:55:10 Removing intermediate container e20fffaa1c79 07:55:10 ---> 69c97a8da98e 07:55:10 Step 10/20 : FROM scratch 07:55:10 ---> 07:55:10 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:55:10 ---> Running in 3eb8d94ad056 07:55:10 Removing intermediate container 3eb8d94ad056 07:55:10 ---> e9d709885fb8 07:55:10 Step 12/20 : ENV APP_PORT=49990 07:55:10 ---> Running in 6a82891b8bd1 07:55:10 Removing intermediate container 6a82891b8bd1 07:55:10 ---> aa09b32c960c 07:55:10 Step 13/20 : EXPOSE $APP_PORT 07:55:10 ---> Running in a1d6d8bcff50 07:55:10 Removing intermediate container a1d6d8bcff50 07:55:10 ---> ae9ee8b63615 07:55:10 Step 14/20 : WORKDIR / 07:55:10 ---> Running in 3c04c904f6fe 07:55:10 Removing intermediate container 3c04c904f6fe 07:55:10 ---> 66c9cf742c2b 07:55:10 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:55:11 ---> 637d28659ab1 07:55:11 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:55:11 ---> c15340a5edb2 07:55:11 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:55:11 ---> Running in 41acbface151 07:55:11 Removing intermediate container 41acbface151 07:55:11 ---> 5456b32af8d9 07:55:11 Step 18/20 : LABEL arch=amd64 07:55:11 ---> Running in dbdffa8b1267 07:55:12 Removing intermediate container dbdffa8b1267 07:55:12 ---> 15ca856e8f10 07:55:12 Step 19/20 : LABEL git_sha=33fda1e722890a4926abd3329d8fb23bb0fb405b 07:55:12 ---> Running in bec8edde960e 07:55:12 Removing intermediate container bec8edde960e 07:55:12 ---> a622b70b39ad 07:55:12 Step 20/20 : LABEL version=0.0.0 07:55:12 ---> Running in a4694d76a9c9 07:55:12 Removing intermediate container a4694d76a9c9 07:55:12 ---> 12ffd3a7c5fb 07:55:12 [Warning] One or more build-args [ARCH] were not consumed 07:55:12 Successfully built 12ffd3a7c5fb 07:55: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] } 07:55:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1540 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 07:55:27 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 07:55:33 using credential edgex-jenkins-ssh 07:55:33 Cloning the remote Git repository 07:55:33 Cloning with configured refspecs honoured and without tags 07:55:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:55:33 > git init /w/workspace/device-sdk-go/4 # timeout=10 07:55:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:55:33 > git --version # timeout=10 07:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:55:35 Fetching without tags 07:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:55:34 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 07:55:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:55:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:55:35 Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 33fda1e722890a4926abd3329d8fb23bb0fb405b 07:55:35 Merge succeeded, producing 33fda1e722890a4926abd3329d8fb23bb0fb405b 07:55:35 Checking out Revision 33fda1e722890a4926abd3329d8fb23bb0fb405b (PR-432) 07:55:35 > git config core.sparsecheckout # timeout=10 07:55:35 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 07:55:35 > git remote # timeout=10 07:55:35 > git config --get remote.origin.url # timeout=10 07:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:35 > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 07:55:35 > git rev-parse HEAD^{commit} # timeout=10 07:55:35 > git config core.sparsecheckout # timeout=10 07:55:35 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 07:55:40 Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:55:41 ========================================================= 07:55:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:55:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:55:42 + 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 . 07:55:43 Sending build context to Docker daemon 2.698MB 07:55:43 Step 1/8 : ARG BASE=golang:1.13-alpine 07:55:43 Step 2/8 : FROM ${BASE} 07:55:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:55:43 cde5963f3b93: Pulling fs layer 07:55:43 2a23fa8c16f7: Pulling fs layer 07:55:43 777b28850792: Pulling fs layer 07:55:43 8a11ddd9e578: Pulling fs layer 07:55:43 4cf88f913ddb: Pulling fs layer 07:55:43 1df406cf5192: Pulling fs layer 07:55:43 cd6300453558: Pulling fs layer 07:55:43 b9c365052c96: Pulling fs layer 07:55:43 a2d8cc88f415: Pulling fs layer 07:55:43 ea1d1ca13537: Pulling fs layer 07:55:43 3750a50a1c5e: Pulling fs layer 07:55:43 4cf88f913ddb: Waiting 07:55:43 1df406cf5192: Waiting 07:55:43 8a11ddd9e578: Waiting 07:55:43 cd6300453558: Waiting 07:55:43 ea1d1ca13537: Waiting 07:55:43 b9c365052c96: Waiting 07:55:43 a2d8cc88f415: Waiting 07:55:43 3750a50a1c5e: Waiting 07:55:43 777b28850792: Download complete 07:55:43 2a23fa8c16f7: Download complete 07:55:43 4cf88f913ddb: Verifying Checksum 07:55:43 4cf88f913ddb: Download complete 07:55:43 1df406cf5192: Download complete 07:55:44 cde5963f3b93: Verifying Checksum 07:55:44 cde5963f3b93: Download complete 07:55:45 cde5963f3b93: Pull complete 07:55:45 2a23fa8c16f7: Pull complete 07:55:46 777b28850792: Pull complete 07:55:48 cd6300453558: Verifying Checksum 07:55:48 cd6300453558: Download complete 07:55:48 a2d8cc88f415: Verifying Checksum 07:55:48 a2d8cc88f415: Download complete 07:55:50 ea1d1ca13537: Verifying Checksum 07:55:50 ea1d1ca13537: Download complete 07:55:50 3750a50a1c5e: Verifying Checksum 07:55:50 3750a50a1c5e: Download complete 07:55:53 b9c365052c96: Verifying Checksum 07:55:53 b9c365052c96: Download complete 07:55:54 8a11ddd9e578: Download complete 07:56:07 8a11ddd9e578: Pull complete 07:56:07 4cf88f913ddb: Pull complete 07:56:07 1df406cf5192: Pull complete 07:56:10 cd6300453558: Pull complete 07:56:15 b9c365052c96: Pull complete 07:56:15 a2d8cc88f415: Pull complete 07:56:17 ea1d1ca13537: Pull complete 07:56:17 3750a50a1c5e: Pull complete 07:56:17 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:56:17 ---> 78745c68409d 07:56:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:22 ---> Running in 9001d1aa3125 07:56:22 Removing intermediate container 9001d1aa3125 07:56:22 ---> b9b6bb13c6e0 07:56:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:22 ---> Running in da48fe097fd0 07:56:24 Removing intermediate container da48fe097fd0 07:56:24 ---> ad411aa0028c 07:56:24 Step 5/8 : RUN apk add --no-cache make git 07:56:25 ---> Running in a5b1df548caf 07:56:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:56:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:56:27 OK: 125 MiB in 39 packages 07:56:28 Removing intermediate container a5b1df548caf 07:56:28 ---> de744df9b18b 07:56:28 Step 6/8 : WORKDIR /device-sdk-go 07:56:28 ---> Running in 142a71e32b1b 07:56:28 Removing intermediate container 142a71e32b1b 07:56:28 ---> fd8b09e0cc84 07:56:28 Step 7/8 : COPY . . 07:56:30 ---> f2f3aacab9aa 07:56:30 Step 8/8 : RUN go mod download 07:56:30 ---> Running in 3e3e5de81f11 07:56:32 go: finding github.com/BurntSushi/toml v0.3.1 07:56:32 go: finding github.com/OneOfOne/xxhash v1.2.6 07:56:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:56:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:56:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:56:32 go: finding github.com/bgentry/speakeasy v0.1.0 07:56:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:56:32 go: finding github.com/davecgh/go-spew v1.1.1 07:56:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 07:56:33 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:56:33 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 07:56:33 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 07:56:33 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:56:33 go: finding github.com/fatih/color v1.7.0 07:56:33 go: finding github.com/go-kit/kit v0.8.0 07:56:33 go: finding github.com/go-logfmt/logfmt v0.4.0 07:56:33 go: finding github.com/go-stack/stack v1.8.0 07:56:33 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:56:33 go: finding github.com/google/uuid v1.1.0 07:56:33 go: finding github.com/gorilla/mux v1.7.1 07:56:33 go: finding github.com/hashicorp/consul/api v1.1.0 07:56:33 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:56:33 go: finding github.com/hashicorp/errwrap v1.0.0 07:56:33 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:56:33 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:56:33 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:56:33 go: finding github.com/hashicorp/go-multierror v1.0.0 07:56:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:56:33 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:56:33 go: finding github.com/hashicorp/go-syslog v1.0.0 07:56:33 go: finding github.com/hashicorp/go-uuid v1.0.1 07:56:33 go: finding github.com/hashicorp/go.net v0.0.1 07:56:33 go: finding github.com/hashicorp/golang-lru v0.5.0 07:56:33 go: finding github.com/hashicorp/logutils v1.0.0 07:56:34 go: finding github.com/hashicorp/mdns v1.0.0 07:56:34 go: finding github.com/hashicorp/memberlist v0.1.3 07:56:34 go: finding github.com/hashicorp/serf v0.8.2 07:56:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:56:34 go: finding github.com/mattn/go-colorable v0.0.9 07:56:34 go: finding github.com/mattn/go-isatty v0.0.3 07:56:34 go: finding github.com/miekg/dns v1.0.14 07:56:34 go: finding github.com/mitchellh/cli v1.0.0 07:56:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:56:34 go: finding github.com/mitchellh/copystructure v1.0.0 07:56:34 go: finding github.com/mitchellh/go-homedir v1.0.0 07:56:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:56:34 go: finding github.com/mitchellh/gox v0.4.0 07:56:34 go: finding github.com/mitchellh/iochan v1.0.0 07:56:34 go: finding github.com/mitchellh/mapstructure v1.1.2 07:56:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:56:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:56:34 go: finding github.com/pelletier/go-toml v1.2.0 07:56:34 go: finding github.com/pkg/errors v0.8.1 07:56:34 go: finding github.com/pmezard/go-difflib v1.0.0 07:56:34 go: finding github.com/posener/complete v1.1.1 07:56:34 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:56:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:56:34 go: finding github.com/stretchr/objx v0.1.0 07:56:34 go: finding github.com/stretchr/testify v1.5.1 07:56:34 go: finding github.com/ugorji/go v1.1.4 07:56:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:56:35 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:56:35 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:56:35 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:56:35 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:56:35 go: finding gopkg.in/yaml.v2 v2.2.8 07:56:45 Removing intermediate container 3e3e5de81f11 07:56:45 ---> 5ef4d7812744 07:56:45 Successfully built 5ef4d7812744 07:56:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:56:45 + docker inspect -f . ci-base-image-arm64 07:56:45 . [Pipeline] withDockerContainer 07:56:46 prd-ubuntu18.04-docker-arm64-4c-16g-1540 does not seem to be running inside a container 07:56:46 $ 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 07:56:47 $ docker top 13071165a2b854a3cc4b2791b4b1f0d01fed2b4ac4be204b0fdfeff8ff8d74ed -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:48 + go version 07:56:48 go version go1.13.5 linux/arm64 [Pipeline] sh 07:56:49 + make test 07:56:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:56:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:57:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:57:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:57:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 23.1% of statements 07:57:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.192s coverage: 95.8% of statements 07:57:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.127s coverage: 7.9% of statements 07:57:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.075s coverage: 22.1% of statements 07:57:37 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:57:37 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.158s coverage: 38.5% of statements 07:57:37 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:57:37 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 07:57:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.767s coverage: 79.9% of statements 07:57:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:57:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:57:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:57:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements 07:57:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.363s coverage: 76.1% of statements 07:57:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:57:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:57:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:57:49 gofmt -l . 07:57:49 [ "`gofmt -l .`" = "" ] 07:57:49 ./bin/test-attribution-txt.sh 07:57:49 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:57:50 Warning: overwriting stash ‘coverage-report’ 07:57:50 Stashed 1 file(s) [Pipeline] } 07:57:50 $ docker stop --time=1 13071165a2b854a3cc4b2791b4b1f0d01fed2b4ac4be204b0fdfeff8ff8d74ed 07:57:53 $ docker rm -f 13071165a2b854a3cc4b2791b4b1f0d01fed2b4ac4be204b0fdfeff8ff8d74ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:57:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:57:54 + ls -al . 07:57:54 total 200 07:57:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 07:57 . 07:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:55 .. 07:57:54 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 07:55 .dockerignore 07:57:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 07:55 .git 07:57:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:55 .github 07:57:54 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 07:55 .gitignore 07:57:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:55 .semver 07:57:54 -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 07:55 Dockerfile.build 07:57:54 -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 07:55 Jenkinsfile 07:57:54 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 07:55 LICENSE 07:57:54 -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 07:55 Makefile 07:57:54 -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 07:55 README.md 07:57:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 07:50 VERSION 07:57:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:55 api 07:57:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:55 bin 07:57:54 -rw-r--r-- 1 jenkins jenkins 94650 Mar 31 07:57 coverage.out 07:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:55 example 07:57:54 -rw-r--r-- 1 jenkins jenkins 438 Mar 31 07:57 go.mod 07:57:54 -rw-r--r-- 1 jenkins jenkins 11812 Mar 31 07:57 go.sum 07:57:54 drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 07:55 internal 07:57:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 07:55 pkg 07:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:55 snap 07:57:54 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 07:55 version.go [Pipeline] isUnix [Pipeline] sh 07:57:54 + 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=33fda1e722890a4926abd3329d8fb23bb0fb405b --label arch=arm64 --label version=0.0.0 . 07:57:55 Sending build context to Docker daemon 2.813MB 07:57:55 Step 1/20 : ARG BASE=golang:1.13-alpine 07:57:55 Step 2/20 : FROM ${BASE} AS builder 07:57:55 ---> 5ef4d7812744 07:57:55 Step 3/20 : ARG MAKE='make build' 07:57:55 ---> Running in 436f687624f2 07:57:55 Removing intermediate container 436f687624f2 07:57:55 ---> 07ea23a637d1 07:57:55 Step 4/20 : WORKDIR /device-sdk-go 07:57:56 ---> Running in c372a533a783 07:57:56 Removing intermediate container c372a533a783 07:57:56 ---> 32c2ed620a45 07:57:56 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:57:56 ---> Running in 18347d0c4c93 07:57:56 Removing intermediate container 18347d0c4c93 07:57:56 ---> 55d607c0db24 07:57:56 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:57:57 ---> Running in 600d5158e1bc 07:57:59 Removing intermediate container 600d5158e1bc 07:57:59 ---> 898e8a938b0f 07:57:59 Step 7/20 : RUN apk add --update --no-cache make git 07:57:59 ---> Running in 2522d0329036 07:57:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:58:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:58:01 OK: 125 MiB in 39 packages 07:58:02 Removing intermediate container 2522d0329036 07:58:02 ---> 257455a9df69 07:58:02 Step 8/20 : COPY . . 07:58:03 ---> 8073fee77974 07:58:03 Step 9/20 : RUN ${MAKE} 07:58:03 ---> Running in 0c3e33e2d07e 07:58:04 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 07:58:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:58:43 Removing intermediate container 0c3e33e2d07e 07:58:43 ---> f5f02082e7bb 07:58:43 Step 10/20 : FROM scratch 07:58:43 ---> 07:58:43 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:58:43 ---> Running in 7b4f706d04aa 07:58:43 Removing intermediate container 7b4f706d04aa 07:58:43 ---> f0180ac463e8 07:58:43 Step 12/20 : ENV APP_PORT=49990 07:58:43 ---> Running in 9f9082456f42 07:58:43 Removing intermediate container 9f9082456f42 07:58:43 ---> 766d41fada76 07:58:43 Step 13/20 : EXPOSE $APP_PORT 07:58:43 ---> Running in 2761b5855913 07:58:43 Removing intermediate container 2761b5855913 07:58:43 ---> f5f9a4066a79 07:58:43 Step 14/20 : WORKDIR / 07:58:43 ---> Running in 57dd35ac8eca 07:58:43 Removing intermediate container 57dd35ac8eca 07:58:43 ---> 24e7383f34be 07:58:43 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:58:44 ---> 73415afb5057 07:58:44 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 07:58:44 ---> e10c4561071f 07:58:44 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 07:58:45 ---> Running in 5fa16e79ef38 07:58:45 Removing intermediate container 5fa16e79ef38 07:58:45 ---> e1eaae7ed20a 07:58:45 Step 18/20 : LABEL arch=arm64 07:58:45 ---> Running in c9f93fb43cb4 07:58:45 Removing intermediate container c9f93fb43cb4 07:58:45 ---> fcbf230f97f5 07:58:45 Step 19/20 : LABEL git_sha=33fda1e722890a4926abd3329d8fb23bb0fb405b 07:58:45 ---> Running in 374b2ee4f94b 07:58:46 Removing intermediate container 374b2ee4f94b 07:58:46 ---> 6dcbf15b28ab 07:58:46 Step 20/20 : LABEL version=0.0.0 07:58:46 ---> Running in ccf892528181 07:58:46 Removing intermediate container ccf892528181 07:58:46 ---> 107b9ed79f86 07:58:46 [Warning] One or more build-args [ARCH] were not consumed 07:58:46 Successfully built 107b9ed79f86 07:58:46 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 07:58:47 provisioning config files... 07:58:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config8886745383404930133tmp [Pipeline] { [Pipeline] sh 07:58:48 + curl -s https://codecov.io/bash 07:58:48 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config8886745383404930133tmp 07:58:48 07:58:48 _____ _ 07:58:48 / ____| | | 07:58:48 | | ___ __| | ___ ___ _____ __ 07:58:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:58:48 | |___| (_) | (_| | __/ (_| (_) \ V / 07:58:48 \_____\___/ \__,_|\___|\___\___/ \_/ 07:58:48 Bash-tbd 07:58:48 07:58:48 07:58:48 ==> Jenkins CI detected. 07:58:48 project root: . 07:58:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:58:48 ==> Running gcov in . (disable via -X gcov) 07:58:48 ==> Python coveragepy not found 07:58:48 ==> Searching for coverage reports in: 07:58:48 + . 07:58:48 -> Found 1 reports 07:58:48 ==> Detecting git/mercurial file structure 07:58:48 ==> Reading reports 07:58:48 + ./coverage.out bytes=94650 07:58:48 ==> Appending adjustments 07:58:48 http://docs.codecov.io/docs/fixing-reports 07:58:48 + Found adjustments 07:58:48 ==> Gzipping contents 07:58:48 ==> Uploading reports 07:58:48 url: https://codecov.io 07:58:48 query: branch=PR-432&commit=33fda1e722890a4926abd3329d8fb23bb0fb405b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 07:58:48 -> Pinging Codecov 07:58:48 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=33fda1e722890a4926abd3329d8fb23bb0fb405b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 07:58:49 -> Uploading 07:58:49 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/33fda1e722890a4926abd3329d8fb23bb0fb405b [Pipeline] } 07:58:49 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 07:58:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:58:50 ---> package-listing.sh 07:58:50 ++ facter osfamily 07:58:50 ++ tr '[:upper:]' '[:lower:]' 07:58:50 + OS_FAMILY=redhat 07:58:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 07:58:50 + START_PACKAGES=/tmp/packages_start.txt 07:58:50 + END_PACKAGES=/tmp/packages_end.txt 07:58:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:58:50 + PACKAGES=/tmp/packages_start.txt 07:58:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 07:58:50 + PACKAGES=/tmp/packages_end.txt 07:58:50 + case "${OS_FAMILY}" in 07:58:50 + rpm -qa 07:58:50 + sort 07:58:55 + '[' -f /tmp/packages_start.txt ']' 07:58:55 + '[' -f /tmp/packages_end.txt ']' 07:58:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:58:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 07:58:55 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 07:58:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh 07:58:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:58:55 07:58:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:58:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:58:55 alpine: Pulling from edgex-lftools-log-publisher 07:58:55 c9b1b535fdd9: Pulling fs layer 07:58:55 2cc5ad85d9ab: Pulling fs layer 07:58:55 756a868c4378: Pulling fs layer 07:58:55 444b2fc9a129: Pulling fs layer 07:58:55 ea15f1150254: Pulling fs layer 07:58:55 41b27a9f41bf: Pulling fs layer 07:58:55 28c525ee5125: Pulling fs layer 07:58:55 094b1ea09ed8: Pulling fs layer 07:58:55 138eaada9080: Pulling fs layer 07:58:55 0622d0fa9048: Pulling fs layer 07:58:55 41b27a9f41bf: Waiting 07:58:55 28c525ee5125: Waiting 07:58:55 094b1ea09ed8: Waiting 07:58:55 138eaada9080: Waiting 07:58:55 0622d0fa9048: Waiting 07:58:55 444b2fc9a129: Waiting 07:58:55 ea15f1150254: Waiting 07:58:55 2cc5ad85d9ab: Verifying Checksum 07:58:55 2cc5ad85d9ab: Download complete 07:58:55 444b2fc9a129: Verifying Checksum 07:58:55 444b2fc9a129: Download complete 07:58:55 c9b1b535fdd9: Verifying Checksum 07:58:55 c9b1b535fdd9: Download complete 07:58:55 ea15f1150254: Verifying Checksum 07:58:55 ea15f1150254: Download complete 07:58:56 28c525ee5125: Verifying Checksum 07:58:56 28c525ee5125: Download complete 07:58:56 c9b1b535fdd9: Pull complete 07:58:56 756a868c4378: Verifying Checksum 07:58:56 756a868c4378: Download complete 07:58:56 138eaada9080: Verifying Checksum 07:58:56 138eaada9080: Download complete 07:58:56 0622d0fa9048: Verifying Checksum 07:58:56 0622d0fa9048: Download complete 07:58:56 094b1ea09ed8: Verifying Checksum 07:58:56 094b1ea09ed8: Download complete 07:58:56 2cc5ad85d9ab: Pull complete 07:58:57 41b27a9f41bf: Verifying Checksum 07:58:57 41b27a9f41bf: Download complete 07:58:58 756a868c4378: Pull complete 07:58:58 444b2fc9a129: Pull complete 07:58:58 ea15f1150254: Pull complete 07:59:01 41b27a9f41bf: Pull complete 07:59:01 28c525ee5125: Pull complete 07:59:04 094b1ea09ed8: Pull complete 07:59:04 138eaada9080: Pull complete 07:59:04 0622d0fa9048: Pull complete 07:59:04 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:59:04 prd-centos7-docker-4c-2g-1538 does not seem to be running inside a container 07:59:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:59:05 $ docker top 3308548fed010fa578131ea9e8135850b468bdbef34bbebfb291cbb6e58b21bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:59:06 provisioning config files... 07:59:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6059224783628775tmp [Pipeline] { [Pipeline] echo 07:59:06 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:59:06 ---> create-netrc.sh [Pipeline] echo 07:59:06 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:59:06 ---> logs-deploy.sh 07:59:06 + ARCHIVE_ARTIFACTS= 07:59:06 + LOGS_SERVER=https://logs.edgexfoundry.org 07:59:06 + '[' https://logs.edgexfoundry.org == None ']' 07:59:06 + NEXUS_URL=https://nexus.edgexfoundry.org 07:59:06 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/4 07:59:06 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/4/ 07:59:06 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/4 /w/workspace/dgexfoundry_device-sdk-go_PR-432 07:59:08 Archives upload complete. 07:59:08 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/4/ 07:59:08 ---> uname -a: 07:59:08 Linux 3308548fed01 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 07:59:08 07:59:08 07:59:08 ---> lscpu: 07:59:08 Architecture: x86_64 07:59:08 CPU op-mode(s): 32-bit, 64-bit 07:59:08 Byte Order: Little Endian 07:59:08 Address sizes: 40 bits physical, 48 bits virtual 07:59:08 CPU(s): 4 07:59:08 On-line CPU(s) list: 0-3 07:59:08 Thread(s) per core: 1 07:59:08 Core(s) per socket: 1 07:59:08 Socket(s): 4 07:59:08 NUMA node(s): 1 07:59:08 Vendor ID: GenuineIntel 07:59:08 CPU family: 6 07:59:08 Model: 44 07:59:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:59:08 Stepping: 1 07:59:08 CPU MHz: 2933.442 07:59:08 BogoMIPS: 5866.88 07:59:08 Virtualization: VT-x 07:59:08 Hypervisor vendor: KVM 07:59:08 Virtualization type: full 07:59:08 L1d cache: 128 KiB 07:59:08 L1i cache: 128 KiB 07:59:08 L2 cache: 16 MiB 07:59:08 L3 cache: 64 MiB 07:59:08 NUMA node0 CPU(s): 0-3 07:59:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 07:59:08 Vulnerability Meltdown: Mitigation; PTI 07:59:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:59:08 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 07:59:08 Vulnerability Spectre v2: Mitigation; Full retpoline 07:59:08 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 07:59:08 07:59:08 07:59:08 ---> nproc: 07:59:08 4 07:59:08 07:59:08 07:59:08 ---> df -h: 07:59:08 Filesystem Size Used Available Use% Mounted on 07:59:08 overlay 50.0G 6.4G 43.6G 13% / 07:59:08 tmpfs 64.0M 0 64.0M 0% /dev 07:59:08 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 07:59:08 shm 64.0M 0 64.0M 0% /dev/shm 07:59:08 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 07:59:08 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 07:59:08 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 07:59:08 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 07:59:08 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 07:59:08 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 07:59:08 07:59:08 07:59:08 ---> free -m: 07:59:08 total used free shared buff/cache available 07:59:08 Mem: 1838 645 75 0 1117 1088 07:59:08 Swap: 1023 1 1022 07:59:08 07:59:08 07:59:08 ---> ip addr: 07:59:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:59:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:59:08 inet 127.0.0.1/8 scope host lo 07:59:08 valid_lft forever preferred_lft forever 07:59:08 6: eth0@if7: mtu 1458 qdisc noqueue state UP 07:59:08 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 07:59:08 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 07:59:08 valid_lft forever preferred_lft forever 07:59:08 07:59:08