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 b439722c8813fcf44523c1cfde4841f096db4de5 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1547 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 b439722c8813fcf44523c1cfde4841f096db4de5 > 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 b439722c8813fcf44523c1cfde4841f096db4de5 # 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 Merge succeeded, producing b439722c8813fcf44523c1cfde4841f096db4de5 Checking out Revision b439722c8813fcf44523c1cfde4841f096db4de5 (PR-432) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b439722c8813fcf44523c1cfde4841f096db4de5 # timeout=10 Commit message: "Refactor to use common go-mod-bootstrap package" First time build. Skipping changelog. > git rev-list --no-walk 9f7a8bba2b45e1633d365ab35e252bd13ba156b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:07:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:07:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:48 09:07:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:07:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:49 latest: Pulling from edgex-devops/git-semver 09:07:49 9123ac7c32f7: Pulling fs layer 09:07:49 b8cc5d1170e3: Pulling fs layer 09:07:49 2924cbbf6a41: Pulling fs layer 09:07:49 93b08a4f1073: Pulling fs layer 09:07:49 93b08a4f1073: Waiting 09:07:49 b8cc5d1170e3: Verifying Checksum 09:07:49 b8cc5d1170e3: Download complete 09:07:49 9123ac7c32f7: Verifying Checksum 09:07:49 9123ac7c32f7: Download complete 09:07:49 93b08a4f1073: Verifying Checksum 09:07:49 93b08a4f1073: Download complete 09:07:49 2924cbbf6a41: Verifying Checksum 09:07:49 2924cbbf6a41: Download complete 09:07:49 9123ac7c32f7: Pull complete 09:07:49 b8cc5d1170e3: Pull complete 09:07:50 2924cbbf6a41: Pull complete 09:07:50 93b08a4f1073: Pull complete 09:07:50 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:07:50 prd-centos7-docker-4c-2g-1547 does not seem to be running inside a container 09:07:50 $ 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 09:07:51 $ docker top bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:51 [ssh-agent] Looking for ssh-agent implementation... 09:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:52 $ docker exec bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 ssh-agent 09:07:52 SSH_AUTH_SOCK=/tmp/ssh-QJ9UMt4iGalx/agent.14 09:07:52 SSH_AGENT_PID=20 09:07:52 Running ssh-add (command line suppressed) 09:07:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_2357882446616319412.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_2357882446616319412.key) 09:07:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:52 + git describe --exact-match --tags HEAD 09:07:52 fatal: No names found, cannot describe anything. [Pipeline] } 09:07:52 $ docker exec --env ******** --env ******** bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 ssh-agent -k 09:07:52 unset SSH_AUTH_SOCK; 09:07:52 unset SSH_AGENT_PID; 09:07:52 echo Agent pid 20 killed; 09:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:07:53 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:07:53 This usually means this commit has not been tagged. [Pipeline] sshagent 09:07:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:53 [ssh-agent] Looking for ssh-agent implementation... 09:07:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:53 $ docker exec bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 ssh-agent 09:07:53 SSH_AUTH_SOCK=/tmp/ssh-6mhoMuIUfNJm/agent.56 09:07:53 SSH_AGENT_PID=63 09:07:53 Running ssh-add (command line suppressed) 09:07:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_4370021311143588295.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_4370021311143588295.key) 09:07:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:54 + git semver init 09:07:54 # -> Open(): unable to determine branch for HEAD 09:07:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git 09:07:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 09:07:54 # $SEMVER_REMOTE_NAME = origin 09:07:54 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 09:07:54 # $SEMVER_USER_NAME = jenkins 09:07:54 # $SEMVER_BRANCH = PR-432 09:07:54 # $SEMVER_TEMP = /tmp/semver-798164597 09:07:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:07:54 # '/tmp/semver-798164597' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' 09:07:54 # -> Force: false 09:07:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } 09:07:54 $ docker exec --env ******** --env ******** bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 ssh-agent -k 09:07:54 unset SSH_AUTH_SOCK; 09:07:54 unset SSH_AGENT_PID; 09:07:54 echo Agent pid 63 killed; 09:07:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:55 + git semver [Pipeline] } 09:07:55 $ docker stop --time=1 bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 09:07:56 $ docker rm -f bdcfb8154dd1884f3fbe988e9095eb521ac43343bd368fc2d8bb97bcdbcbbfc4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:07:57 Stashed 34 file(s) [Pipeline] echo 09:07:57 [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 09:08:12 Still waiting to schedule task 09:08:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:08:12 Still waiting to schedule task 09:08:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1544’ is offline 09:09:16 Running on prd-centos7-docker-4c-2g-1549 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 09:09:16 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 09:09:19 using credential edgex-jenkins-ssh 09:09:19 Cloning the remote Git repository 09:09:19 Cloning with configured refspecs honoured and without tags 09:09:19 Fetching without tags 09:09:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:09:19 > git init /w/workspace/device-sdk-go/7 # timeout=10 09:09:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:09:19 > git --version # timeout=10 09:09:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:19 > 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 09:09:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:09:19 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 09:09:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:09:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:09:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:09:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:19 > 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 09:09:20 Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit b439722c8813fcf44523c1cfde4841f096db4de5 09:09:20 Merge succeeded, producing b439722c8813fcf44523c1cfde4841f096db4de5 09:09:20 Checking out Revision b439722c8813fcf44523c1cfde4841f096db4de5 (PR-432) 09:09:20 > git config core.sparsecheckout # timeout=10 09:09:20 > git checkout -f b439722c8813fcf44523c1cfde4841f096db4de5 # timeout=10 09:09:20 > git remote # timeout=10 09:09:20 > git config --get remote.origin.url # timeout=10 09:09:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:20 > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 09:09:20 > git rev-parse HEAD^{commit} # timeout=10 09:09:20 > git config core.sparsecheckout # timeout=10 09:09:20 > git checkout -f b439722c8813fcf44523c1cfde4841f096db4de5 # timeout=10 09:09:24 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 09:09:25 ========================================================= 09:09:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:09:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:09:25 + 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 . 09:09:26 Sending build context to Docker daemon 2.697MB 09:09:26 Step 1/8 : ARG BASE=golang:1.13-alpine 09:09:26 Step 2/8 : FROM ${BASE} 09:09:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:09:26 e6b0cf9c0882: Pulling fs layer 09:09:26 2848faf0eed1: Pulling fs layer 09:09:26 0f37312ad70f: Pulling fs layer 09:09:26 5788d62ee057: Pulling fs layer 09:09:26 0e6b1d234666: Pulling fs layer 09:09:26 bf5d7aec512f: Pulling fs layer 09:09:26 34c802a77dc8: Pulling fs layer 09:09:26 9eb99e56ec68: Pulling fs layer 09:09:26 27c7a5d97fbd: Pulling fs layer 09:09:26 5c102a31e300: Pulling fs layer 09:09:26 dcfb455df0a1: Pulling fs layer 09:09:26 34c802a77dc8: Waiting 09:09:26 9eb99e56ec68: Waiting 09:09:26 27c7a5d97fbd: Waiting 09:09:26 5c102a31e300: Waiting 09:09:26 dcfb455df0a1: Waiting 09:09:26 5788d62ee057: Waiting 09:09:26 bf5d7aec512f: Waiting 09:09:26 0f37312ad70f: Verifying Checksum 09:09:26 0f37312ad70f: Download complete 09:09:26 2848faf0eed1: Download complete 09:09:26 0e6b1d234666: Verifying Checksum 09:09:26 0e6b1d234666: Download complete 09:09:26 bf5d7aec512f: Verifying Checksum 09:09:26 bf5d7aec512f: Download complete 09:09:26 e6b0cf9c0882: Verifying Checksum 09:09:26 e6b0cf9c0882: Download complete 09:09:26 e6b0cf9c0882: Pull complete 09:09:26 2848faf0eed1: Pull complete 09:09:27 34c802a77dc8: Verifying Checksum 09:09:27 34c802a77dc8: Download complete 09:09:27 27c7a5d97fbd: Verifying Checksum 09:09:27 27c7a5d97fbd: Download complete 09:09:27 5c102a31e300: Verifying Checksum 09:09:27 5c102a31e300: Download complete 09:09:27 dcfb455df0a1: Verifying Checksum 09:09:27 dcfb455df0a1: Download complete 09:09:27 9eb99e56ec68: Verifying Checksum 09:09:27 9eb99e56ec68: Download complete 09:09:28 5788d62ee057: Verifying Checksum 09:09:28 5788d62ee057: Download complete 09:09:28 0f37312ad70f: Pull complete 09:09:34 5788d62ee057: Pull complete 09:09:34 0e6b1d234666: Pull complete 09:09:34 bf5d7aec512f: Pull complete 09:09:38 34c802a77dc8: Pull complete 09:09:41 9eb99e56ec68: Pull complete 09:09:41 27c7a5d97fbd: Pull complete 09:09:42 5c102a31e300: Pull complete 09:09:42 dcfb455df0a1: Pull complete 09:09:42 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:09:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:09:42 ---> 7c70fe431013 09:09:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:09:42 ---> Running in 9c323c09a4ac 09:09:42 Removing intermediate container 9c323c09a4ac 09:09:42 ---> a129ab4b389a 09:09:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:42 ---> Running in 885083ef9318 09:09:43 Removing intermediate container 885083ef9318 09:09:43 ---> f1ca7007a406 09:09:43 Step 5/8 : RUN apk add --no-cache make git 09:09:43 ---> Running in c1f0278d1a25 09:09:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:09:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:09:45 OK: 143 MiB in 39 packages 09:09:45 Removing intermediate container c1f0278d1a25 09:09:45 ---> 4ea76dead204 09:09:45 Step 6/8 : WORKDIR /device-sdk-go 09:09:45 ---> Running in 3d4a4c5dca62 09:09:46 Removing intermediate container 3d4a4c5dca62 09:09:46 ---> 74aab80ae26c 09:09:46 Step 7/8 : COPY . . 09:09:46 ---> 767a91c07494 09:09:46 Step 8/8 : RUN go mod download 09:09:46 ---> Running in c56a4c486ed2 09:09:49 go: finding github.com/BurntSushi/toml v0.3.1 09:09:49 go: finding github.com/OneOfOne/xxhash v1.2.6 09:09:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:09:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:09:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:09:49 go: finding github.com/bgentry/speakeasy v0.1.0 09:09:49 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:09:49 go: finding github.com/davecgh/go-spew v1.1.1 09:09:49 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 09:09:49 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:09:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:09:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:09:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:09:49 go: finding github.com/fatih/color v1.7.0 09:09:49 go: finding github.com/go-kit/kit v0.8.0 09:09:49 go: finding github.com/go-logfmt/logfmt v0.4.0 09:09:49 go: finding github.com/go-stack/stack v1.8.0 09:09:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:09:49 go: finding github.com/google/uuid v1.1.0 09:09:49 go: finding github.com/gorilla/mux v1.7.1 09:09:49 go: finding github.com/hashicorp/consul/api v1.1.0 09:09:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:09:49 go: finding github.com/hashicorp/errwrap v1.0.0 09:09:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:09:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:09:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:09:49 go: finding github.com/hashicorp/go-multierror v1.0.0 09:09:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:09:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:09:49 go: finding github.com/hashicorp/go-syslog v1.0.0 09:09:49 go: finding github.com/hashicorp/go-uuid v1.0.1 09:09:49 go: finding github.com/hashicorp/go.net v0.0.1 09:09:49 go: finding github.com/hashicorp/golang-lru v0.5.0 09:09:49 go: finding github.com/hashicorp/logutils v1.0.0 09:09:49 go: finding github.com/hashicorp/mdns v1.0.0 09:09:49 go: finding github.com/hashicorp/memberlist v0.1.3 09:09:49 go: finding github.com/hashicorp/serf v0.8.2 09:09:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:09:49 go: finding github.com/mattn/go-colorable v0.0.9 09:09:49 go: finding github.com/mattn/go-isatty v0.0.3 09:09:49 go: finding github.com/miekg/dns v1.0.14 09:09:49 go: finding github.com/mitchellh/cli v1.0.0 09:09:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:09:49 go: finding github.com/mitchellh/copystructure v1.0.0 09:09:49 go: finding github.com/mitchellh/go-homedir v1.0.0 09:09:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:09:49 go: finding github.com/mitchellh/gox v0.4.0 09:09:49 go: finding github.com/mitchellh/iochan v1.0.0 09:09:49 go: finding github.com/mitchellh/mapstructure v1.1.2 09:09:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:09:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:09:49 go: finding github.com/pelletier/go-toml v1.2.0 09:09:49 go: finding github.com/pkg/errors v0.8.1 09:09:49 go: finding github.com/pmezard/go-difflib v1.0.0 09:09:49 go: finding github.com/posener/complete v1.1.1 09:09:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:09:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:09:49 go: finding github.com/stretchr/objx v0.1.0 09:09:49 go: finding github.com/stretchr/testify v1.5.1 09:09:49 go: finding github.com/ugorji/go v1.1.4 09:09:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:09:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:09:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:09:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:09:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:09:49 go: finding gopkg.in/yaml.v2 v2.2.8 09:09:55 Removing intermediate container c56a4c486ed2 09:09:55 ---> e949377768bb 09:09:55 Successfully built e949377768bb 09:09:55 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 09:09:55 + docker inspect -f . ci-base-image-x86_64 09:09:55 . [Pipeline] withDockerContainer 09:09:55 prd-centos7-docker-4c-2g-1549 does not seem to be running inside a container 09:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:09:56 $ docker top d1d8e90c7f1a48284f308a6cd5f78c7f059d557869bb5df1551cc12aed860c63 -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1548 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws 09:09:56 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 09:09:56 + go version 09:09:56 go version go1.13.5 linux/amd64 [Pipeline] sh 09:09:57 + make test 09:09:57 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:09:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:10:02 using credential edgex-jenkins-ssh 09:10:02 Cloning the remote Git repository 09:10:02 Cloning with configured refspecs honoured and without tags 09:10:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:10:02 > git init /w/workspace/device-sdk-go/7 # timeout=10 09:10:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:10:02 > git --version # timeout=10 09:10:02 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:03 > 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 09:10:04 Fetching without tags 09:10:05 Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit b439722c8813fcf44523c1cfde4841f096db4de5 09:10:05 Merge succeeded, producing b439722c8813fcf44523c1cfde4841f096db4de5 09:10:05 Checking out Revision b439722c8813fcf44523c1cfde4841f096db4de5 (PR-432) 09:10:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:10:04 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 09:10:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:10:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:10:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:10:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:04 > 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 09:10:05 > git config core.sparsecheckout # timeout=10 09:10:05 > git checkout -f b439722c8813fcf44523c1cfde4841f096db4de5 # timeout=10 09:10:05 > git remote # timeout=10 09:10:05 > git config --get remote.origin.url # timeout=10 09:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:05 > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 09:10:05 > git rev-parse HEAD^{commit} # timeout=10 09:10:05 > git config core.sparsecheckout # timeout=10 09:10:05 > git checkout -f b439722c8813fcf44523c1cfde4841f096db4de5 # timeout=10 09:10:10 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 09:10:11 ========================================================= 09:10:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:10:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:10:12 + 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 . 09:10:13 Sending build context to Docker daemon 2.7MB 09:10:13 Step 1/8 : ARG BASE=golang:1.13-alpine 09:10:13 Step 2/8 : FROM ${BASE} 09:10:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:10:14 cde5963f3b93: Pulling fs layer 09:10:14 2a23fa8c16f7: Pulling fs layer 09:10:14 777b28850792: Pulling fs layer 09:10:14 8a11ddd9e578: Pulling fs layer 09:10:14 4cf88f913ddb: Pulling fs layer 09:10:14 1df406cf5192: Pulling fs layer 09:10:14 cd6300453558: Pulling fs layer 09:10:14 b9c365052c96: Pulling fs layer 09:10:14 a2d8cc88f415: Pulling fs layer 09:10:14 ea1d1ca13537: Pulling fs layer 09:10:14 3750a50a1c5e: Pulling fs layer 09:10:14 8a11ddd9e578: Waiting 09:10:14 4cf88f913ddb: Waiting 09:10:14 1df406cf5192: Waiting 09:10:14 cd6300453558: Waiting 09:10:14 b9c365052c96: Waiting 09:10:14 a2d8cc88f415: Waiting 09:10:14 ea1d1ca13537: Waiting 09:10:14 3750a50a1c5e: Waiting 09:10:14 777b28850792: Verifying Checksum 09:10:14 777b28850792: Download complete 09:10:14 2a23fa8c16f7: Verifying Checksum 09:10:14 2a23fa8c16f7: Download complete 09:10:14 4cf88f913ddb: Verifying Checksum 09:10:14 4cf88f913ddb: Download complete 09:10:14 1df406cf5192: Download complete 09:10:14 cde5963f3b93: Verifying Checksum 09:10:14 cde5963f3b93: Download complete 09:10:15 cde5963f3b93: Pull complete 09:10:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:10:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:10:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 22.6% of statements 09:10:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.054s coverage: 95.8% of statements 09:10:16 2a23fa8c16f7: Pull complete 09:10:16 777b28850792: Pull complete 09:10:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.021s coverage: 7.9% of statements 09:10:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 22.1% of statements 09:10:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:10:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.202s coverage: 38.5% of statements 09:10:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:10:18 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:10:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.370s coverage: 79.9% of statements 09:10:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:10:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:10:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:10:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.131s coverage: 52.6% of statements 09:10:18 cd6300453558: Verifying Checksum 09:10:18 cd6300453558: Download complete 09:10:18 a2d8cc88f415: Verifying Checksum 09:10:18 a2d8cc88f415: Download complete 09:10:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 76.1% of statements 09:10:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:10:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:10:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:10:21 ea1d1ca13537: Verifying Checksum 09:10:21 ea1d1ca13537: Download complete 09:10:21 3750a50a1c5e: Verifying Checksum 09:10:21 3750a50a1c5e: Download complete 09:10:21 gofmt -l . 09:10:21 [ "`gofmt -l .`" = "" ] 09:10:21 ./bin/test-attribution-txt.sh 09:10:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:10:22 Stashed 1 file(s) [Pipeline] } 09:10:22 $ docker stop --time=1 d1d8e90c7f1a48284f308a6cd5f78c7f059d557869bb5df1551cc12aed860c63 09:10:23 b9c365052c96: Verifying Checksum 09:10:23 b9c365052c96: Download complete 09:10:24 $ docker rm -f d1d8e90c7f1a48284f308a6cd5f78c7f059d557869bb5df1551cc12aed860c63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:10:25 8a11ddd9e578: Download complete [Pipeline] sh 09:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:25 + ls -al . 09:10:25 total 160 09:10:25 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 09:10 . 09:10:25 drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 09:09 .. 09:10:25 drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 09:09 api 09:10:25 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 09:09 bin 09:10:25 -rw-r--r--. 1 jenkins jenkins 94826 Mar 31 09:10 coverage.out 09:10:25 -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 09:09 Dockerfile.build 09:10:25 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 09:09 .dockerignore 09:10:25 drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 09:09 example 09:10:25 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 09:09 .git 09:10:25 drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 09:09 .github 09:10:25 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 09:09 .gitignore 09:10:25 -rw-r--r--. 1 jenkins jenkins 438 Mar 31 09:10 go.mod 09:10:25 -rw-r--r--. 1 jenkins jenkins 11812 Mar 31 09:10 go.sum 09:10:25 drwxrwxr-x. 13 jenkins jenkins 179 Mar 31 09:09 internal 09:10:25 -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 09:09 Jenkinsfile 09:10:25 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 09:09 LICENSE 09:10:25 -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 09:09 Makefile 09:10:25 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 09:09 pkg 09:10:25 -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 09:09 README.md 09:10:25 drwxrwxr-x. 3 jenkins jenkins 58 Mar 31 09:09 .semver 09:10:25 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 09:09 snap 09:10:25 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 09:07 VERSION 09:10:25 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 09:09 version.go [Pipeline] isUnix [Pipeline] sh 09:10:26 + 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=b439722c8813fcf44523c1cfde4841f096db4de5 --label arch=amd64 --label version=0.0.0 . 09:10:26 Sending build context to Docker daemon 2.813MB 09:10:26 Step 1/20 : ARG BASE=golang:1.13-alpine 09:10:26 Step 2/20 : FROM ${BASE} AS builder 09:10:26 ---> e949377768bb 09:10:26 Step 3/20 : ARG MAKE='make build' 09:10:26 ---> Running in 85ad8c27c259 09:10:26 Removing intermediate container 85ad8c27c259 09:10:26 ---> a4dccf63e256 09:10:26 Step 4/20 : WORKDIR /device-sdk-go 09:10:26 ---> Running in 75a8a6c69d48 09:10:26 Removing intermediate container 75a8a6c69d48 09:10:26 ---> e84fee4ea7e8 09:10:26 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:10:26 ---> Running in c2bc6548f421 09:10:26 Removing intermediate container c2bc6548f421 09:10:26 ---> 0d6b5813dee6 09:10:26 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:26 ---> Running in e277361701f0 09:10:27 Removing intermediate container e277361701f0 09:10:27 ---> 349f2f901f60 09:10:27 Step 7/20 : RUN apk add --update --no-cache make git 09:10:27 ---> Running in 91f4a2019a83 09:10:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:10:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:10:28 OK: 143 MiB in 39 packages 09:10:29 Removing intermediate container 91f4a2019a83 09:10:29 ---> 997481dd9437 09:10:29 Step 8/20 : COPY . . 09:10:29 ---> 9073a1c3f4cb 09:10:29 Step 9/20 : RUN ${MAKE} 09:10:29 ---> Running in 73981d592849 09:10:30 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 09:10:37 8a11ddd9e578: Pull complete 09:10:37 4cf88f913ddb: Pull complete 09:10:37 1df406cf5192: Pull complete 09:10:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:10:42 cd6300453558: Pull complete 09:10:43 Removing intermediate container 73981d592849 09:10:43 ---> 94b895d422db 09:10:43 Step 10/20 : FROM scratch 09:10:43 ---> 09:10:43 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:10:43 ---> Running in 0d2dbb84a95c 09:10:43 Removing intermediate container 0d2dbb84a95c 09:10:43 ---> 3cbdbcd82cc7 09:10:43 Step 12/20 : ENV APP_PORT=49990 09:10:43 ---> Running in 838f2f026e43 09:10:43 Removing intermediate container 838f2f026e43 09:10:43 ---> 8255ae9f9251 09:10:43 Step 13/20 : EXPOSE $APP_PORT 09:10:43 ---> Running in 70c2565ac3ae 09:10:43 Removing intermediate container 70c2565ac3ae 09:10:43 ---> a2d82709f9a2 09:10:43 Step 14/20 : WORKDIR / 09:10:43 ---> Running in bdde025adff9 09:10:43 Removing intermediate container bdde025adff9 09:10:43 ---> 487ded9e7515 09:10:43 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:10:44 ---> 39b80d2c4cba 09:10:44 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:10:44 ---> def7bde13224 09:10:44 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:10:44 ---> Running in 60805bd472e7 09:10:44 Removing intermediate container 60805bd472e7 09:10:44 ---> a6c55956f3b5 09:10:44 Step 18/20 : LABEL arch=amd64 09:10:44 ---> Running in cfc92b26fb07 09:10:44 Removing intermediate container cfc92b26fb07 09:10:44 ---> 80b33137f1f4 09:10:44 Step 19/20 : LABEL git_sha=b439722c8813fcf44523c1cfde4841f096db4de5 09:10:44 ---> Running in 6581c6af643f 09:10:44 Removing intermediate container 6581c6af643f 09:10:44 ---> 41e292bb2af7 09:10:44 Step 20/20 : LABEL version=0.0.0 09:10:44 ---> Running in a24ae690bde5 09:10:45 Removing intermediate container a24ae690bde5 09:10:45 ---> 2fed5264d33e 09:10:45 [Warning] One or more build-args [ARCH] were not consumed 09:10:45 Successfully built 2fed5264d33e 09:10:45 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] } 09:10:48 b9c365052c96: Pull complete 09:10:48 a2d8cc88f415: Pull complete 09:10:49 ea1d1ca13537: Pull complete 09:10:50 3750a50a1c5e: Pull complete 09:10:50 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:10:50 ---> 78745c68409d 09:10:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:10:53 ---> Running in 1420f11cdba4 09:10:53 Removing intermediate container 1420f11cdba4 09:10:53 ---> 1a5d7af756fd 09:10:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:53 ---> Running in 62acde17bc6a 09:10:55 Removing intermediate container 62acde17bc6a 09:10:55 ---> 81abac81758e 09:10:55 Step 5/8 : RUN apk add --no-cache make git 09:10:55 ---> Running in dbff31aa4669 09:10:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:10:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:10:58 OK: 125 MiB in 39 packages 09:10:59 Removing intermediate container dbff31aa4669 09:10:59 ---> 871241dd39ad 09:10:59 Step 6/8 : WORKDIR /device-sdk-go 09:10:59 ---> Running in 51e8e175ccd6 09:10:59 Removing intermediate container 51e8e175ccd6 09:10:59 ---> c786dd061ee7 09:10:59 Step 7/8 : COPY . . 09:11:01 ---> 3c5e8533a591 09:11:01 Step 8/8 : RUN go mod download 09:11:01 ---> Running in 5733979d4c3f 09:11:03 go: finding github.com/BurntSushi/toml v0.3.1 09:11:03 go: finding github.com/OneOfOne/xxhash v1.2.6 09:11:03 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:11:03 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:11:03 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:11:03 go: finding github.com/bgentry/speakeasy v0.1.0 09:11:03 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:11:03 go: finding github.com/davecgh/go-spew v1.1.1 09:11:03 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 09:11:03 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:11:03 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 09:11:03 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:11:03 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:11:03 go: finding github.com/fatih/color v1.7.0 09:11:03 go: finding github.com/go-kit/kit v0.8.0 09:11:03 go: finding github.com/go-logfmt/logfmt v0.4.0 09:11:03 go: finding github.com/go-stack/stack v1.8.0 09:11:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:11:03 go: finding github.com/google/uuid v1.1.0 09:11:03 go: finding github.com/gorilla/mux v1.7.1 09:11:03 go: finding github.com/hashicorp/consul/api v1.1.0 09:11:03 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:11:03 go: finding github.com/hashicorp/errwrap v1.0.0 09:11:03 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:11:04 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:11:04 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:11:04 go: finding github.com/hashicorp/go-multierror v1.0.0 09:11:04 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:11:04 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:11:04 go: finding github.com/hashicorp/go-syslog v1.0.0 09:11:04 go: finding github.com/hashicorp/go-uuid v1.0.1 09:11:04 go: finding github.com/hashicorp/go.net v0.0.1 09:11:04 go: finding github.com/hashicorp/golang-lru v0.5.0 09:11:04 go: finding github.com/hashicorp/logutils v1.0.0 09:11:04 go: finding github.com/hashicorp/mdns v1.0.0 09:11:04 go: finding github.com/hashicorp/memberlist v0.1.3 09:11:04 go: finding github.com/hashicorp/serf v0.8.2 09:11:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:11:04 go: finding github.com/mattn/go-colorable v0.0.9 09:11:04 go: finding github.com/mattn/go-isatty v0.0.3 09:11:04 go: finding github.com/miekg/dns v1.0.14 09:11:04 go: finding github.com/mitchellh/cli v1.0.0 09:11:04 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:11:04 go: finding github.com/mitchellh/copystructure v1.0.0 09:11:04 go: finding github.com/mitchellh/go-homedir v1.0.0 09:11:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:11:04 go: finding github.com/mitchellh/gox v0.4.0 09:11:04 go: finding github.com/mitchellh/iochan v1.0.0 09:11:04 go: finding github.com/mitchellh/mapstructure v1.1.2 09:11:04 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:11:04 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:11:04 go: finding github.com/pelletier/go-toml v1.2.0 09:11:04 go: finding github.com/pkg/errors v0.8.1 09:11:04 go: finding github.com/pmezard/go-difflib v1.0.0 09:11:04 go: finding github.com/posener/complete v1.1.1 09:11:04 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:11:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:11:04 go: finding github.com/stretchr/objx v0.1.0 09:11:04 go: finding github.com/stretchr/testify v1.5.1 09:11:04 go: finding github.com/ugorji/go v1.1.4 09:11:04 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:11:04 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:11:04 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:11:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:11:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:11:04 go: finding gopkg.in/yaml.v2 v2.2.8 09:11:15 Removing intermediate container 5733979d4c3f 09:11:15 ---> 2194db3df62e 09:11:15 Successfully built 2194db3df62e 09:11:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:11:15 + docker inspect -f . ci-base-image-arm64 09:11:16 . [Pipeline] withDockerContainer 09:11:16 prd-ubuntu18.04-docker-arm64-4c-16g-1548 does not seem to be running inside a container 09:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:17 $ docker top bb9f7229068c492e054f016995c35f50f9cb07eb266362dc90df76c936adfd4a -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:19 + go version 09:11:19 go version go1.13.5 linux/arm64 [Pipeline] sh 09:11:19 + make test 09:11:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:11:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:12:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:12:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:12:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.6% of statements 09:12:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.171s coverage: 95.8% of statements 09:12:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.052s coverage: 7.9% of statements 09:12:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 22.1% of statements 09:12:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:12:11 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.287s coverage: 38.5% of statements 09:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:12:11 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.825s coverage: 79.9% of statements 09:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:12:11 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:12:11 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.058s coverage: 52.6% of statements 09:12:13 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.361s coverage: 76.1% of statements 09:12:13 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:12:13 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:12:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:12:21 gofmt -l . 09:12:21 [ "`gofmt -l .`" = "" ] 09:12:21 ./bin/test-attribution-txt.sh 09:12:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:12:22 Warning: overwriting stash ‘coverage-report’ 09:12:23 Stashed 1 file(s) [Pipeline] } 09:12:23 $ docker stop --time=1 bb9f7229068c492e054f016995c35f50f9cb07eb266362dc90df76c936adfd4a 09:12:25 $ docker rm -f bb9f7229068c492e054f016995c35f50f9cb07eb266362dc90df76c936adfd4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:27 + ls -al . 09:12:27 total 200 09:12:27 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 09:12 . 09:12:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 09:10 .. 09:12:27 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 09:10 .dockerignore 09:12:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 09:10 .git 09:12:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 09:10 .github 09:12:27 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 09:10 .gitignore 09:12:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 09:10 .semver 09:12:27 -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 09:10 Dockerfile.build 09:12:27 -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 09:10 Jenkinsfile 09:12:27 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 09:10 LICENSE 09:12:27 -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 09:10 Makefile 09:12:27 -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 09:10 README.md 09:12:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 09:07 VERSION 09:12:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 09:10 api 09:12:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 09:10 bin 09:12:27 -rw-r--r-- 1 jenkins jenkins 94826 Mar 31 09:12 coverage.out 09:12:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 09:10 example 09:12:27 -rw-r--r-- 1 jenkins jenkins 438 Mar 31 09:12 go.mod 09:12:27 -rw-r--r-- 1 jenkins jenkins 11812 Mar 31 09:12 go.sum 09:12:27 drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 09:10 internal 09:12:27 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 09:10 pkg 09:12:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 09:10 snap 09:12:27 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 09:10 version.go [Pipeline] isUnix [Pipeline] sh 09:12:27 + 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=b439722c8813fcf44523c1cfde4841f096db4de5 --label arch=arm64 --label version=0.0.0 . 09:12:27 Sending build context to Docker daemon 2.816MB 09:12:27 Step 1/20 : ARG BASE=golang:1.13-alpine 09:12:27 Step 2/20 : FROM ${BASE} AS builder 09:12:27 ---> 2194db3df62e 09:12:27 Step 3/20 : ARG MAKE='make build' 09:12:28 ---> Running in abfaf978dd94 09:12:28 Removing intermediate container abfaf978dd94 09:12:28 ---> 4a521382a820 09:12:28 Step 4/20 : WORKDIR /device-sdk-go 09:12:28 ---> Running in 62ecf8d6283c 09:12:29 Removing intermediate container 62ecf8d6283c 09:12:29 ---> ea2b9171882d 09:12:29 Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:12:29 ---> Running in 5ce2680490cb 09:12:29 Removing intermediate container 5ce2680490cb 09:12:29 ---> 2e355b0784e4 09:12:29 Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:29 ---> Running in 5b5c5e5fdab7 09:12:31 Removing intermediate container 5b5c5e5fdab7 09:12:31 ---> cacc746d2962 09:12:31 Step 7/20 : RUN apk add --update --no-cache make git 09:12:31 ---> Running in 400ef4ca09bc 09:12:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:12:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:12:33 OK: 125 MiB in 39 packages 09:12:34 Removing intermediate container 400ef4ca09bc 09:12:34 ---> add1f9642fbb 09:12:34 Step 8/20 : COPY . . 09:12:35 ---> 14d3e1e164c9 09:12:35 Step 9/20 : RUN ${MAKE} 09:12:35 ---> Running in 121fd97a80c9 09:12:36 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 09:13:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:13:15 Removing intermediate container 121fd97a80c9 09:13:15 ---> 1c47154ca177 09:13:15 Step 10/20 : FROM scratch 09:13:15 ---> 09:13:15 Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:13:15 ---> Running in e4808c6fd260 09:13:15 Removing intermediate container e4808c6fd260 09:13:15 ---> 7181160d0df9 09:13:15 Step 12/20 : ENV APP_PORT=49990 09:13:15 ---> Running in 197d4c8fd50b 09:13:15 Removing intermediate container 197d4c8fd50b 09:13:15 ---> 804e28aa8e39 09:13:15 Step 13/20 : EXPOSE $APP_PORT 09:13:15 ---> Running in 549e64e35a8e 09:13:15 Removing intermediate container 549e64e35a8e 09:13:15 ---> 60ee213b18be 09:13:15 Step 14/20 : WORKDIR / 09:13:15 ---> Running in 34fa968fd8a7 09:13:15 Removing intermediate container 34fa968fd8a7 09:13:15 ---> 7d378168e158 09:13:15 Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:13:16 ---> 5663c114eb78 09:13:16 Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml 09:13:17 ---> 13416261e799 09:13:17 Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] 09:13:17 ---> Running in 52a6df2a19c6 09:13:17 Removing intermediate container 52a6df2a19c6 09:13:17 ---> 6cce5a301977 09:13:17 Step 18/20 : LABEL arch=arm64 09:13:17 ---> Running in a80a8d162acd 09:13:18 Removing intermediate container a80a8d162acd 09:13:18 ---> 415a687815cb 09:13:18 Step 19/20 : LABEL git_sha=b439722c8813fcf44523c1cfde4841f096db4de5 09:13:18 ---> Running in 81edeeb1dffb 09:13:18 Removing intermediate container 81edeeb1dffb 09:13:18 ---> e8ec959a750c 09:13:18 Step 20/20 : LABEL version=0.0.0 09:13:18 ---> Running in 0ebd44a16ccc 09:13:19 Removing intermediate container 0ebd44a16ccc 09:13:19 ---> 98682cd35bf0 09:13:19 [Warning] One or more build-args [ARCH] were not consumed 09:13:19 Successfully built 98682cd35bf0 09:13:19 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 09:13:20 provisioning config files... 09:13:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config5265848456093514386tmp [Pipeline] { [Pipeline] sh 09:13:20 + curl -s https://codecov.io/bash 09:13:20 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config5265848456093514386tmp 09:13:20 09:13:20 _____ _ 09:13:20 / ____| | | 09:13:20 | | ___ __| | ___ ___ _____ __ 09:13:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:13:20 | |___| (_) | (_| | __/ (_| (_) \ V / 09:13:20 \_____\___/ \__,_|\___|\___\___/ \_/ 09:13:20 Bash-tbd 09:13:20 09:13:20 09:13:20 ==> Jenkins CI detected. 09:13:20 project root: . 09:13:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:13:20 ==> Running gcov in . (disable via -X gcov) 09:13:20 ==> Python coveragepy not found 09:13:20 ==> Searching for coverage reports in: 09:13:20 + . 09:13:20 -> Found 1 reports 09:13:20 ==> Detecting git/mercurial file structure 09:13:20 ==> Reading reports 09:13:20 + ./coverage.out bytes=94826 09:13:20 ==> Appending adjustments 09:13:20 http://docs.codecov.io/docs/fixing-reports 09:13:21 + Found adjustments 09:13:21 ==> Gzipping contents 09:13:21 ==> Uploading reports 09:13:21 url: https://codecov.io 09:13:21 query: branch=PR-432&commit=b439722c8813fcf44523c1cfde4841f096db4de5&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 09:13:21 -> Pinging Codecov 09:13:21 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=b439722c8813fcf44523c1cfde4841f096db4de5&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= 09:13:21 -> Uploading 09:13:22 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b439722c8813fcf44523c1cfde4841f096db4de5 [Pipeline] } 09:13:22 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 09:13:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:13:24 ---> package-listing.sh 09:13:24 ++ facter osfamily 09:13:24 ++ tr '[:upper:]' '[:lower:]' 09:13:24 + OS_FAMILY=redhat 09:13:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 09:13:24 + START_PACKAGES=/tmp/packages_start.txt 09:13:24 + END_PACKAGES=/tmp/packages_end.txt 09:13:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:13:24 + PACKAGES=/tmp/packages_start.txt 09:13:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 09:13:24 + PACKAGES=/tmp/packages_end.txt 09:13:24 + case "${OS_FAMILY}" in 09:13:24 + rpm -qa 09:13:24 + sort 09:13:28 + '[' -f /tmp/packages_start.txt ']' 09:13:28 + '[' -f /tmp/packages_end.txt ']' 09:13:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:13:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' 09:13:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ 09:13:28 + 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 09:13:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:13:28 09:13:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:13:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:13:29 alpine: Pulling from edgex-lftools-log-publisher 09:13:29 c9b1b535fdd9: Pulling fs layer 09:13:29 2cc5ad85d9ab: Pulling fs layer 09:13:29 756a868c4378: Pulling fs layer 09:13:29 444b2fc9a129: Pulling fs layer 09:13:29 ea15f1150254: Pulling fs layer 09:13:29 41b27a9f41bf: Pulling fs layer 09:13:29 28c525ee5125: Pulling fs layer 09:13:29 094b1ea09ed8: Pulling fs layer 09:13:29 138eaada9080: Pulling fs layer 09:13:29 0622d0fa9048: Pulling fs layer 09:13:29 41b27a9f41bf: Waiting 09:13:29 138eaada9080: Waiting 09:13:29 444b2fc9a129: Waiting 09:13:29 ea15f1150254: Waiting 09:13:29 0622d0fa9048: Waiting 09:13:29 094b1ea09ed8: Waiting 09:13:29 2cc5ad85d9ab: Verifying Checksum 09:13:29 2cc5ad85d9ab: Download complete 09:13:29 444b2fc9a129: Verifying Checksum 09:13:29 444b2fc9a129: Download complete 09:13:29 c9b1b535fdd9: Verifying Checksum 09:13:29 c9b1b535fdd9: Download complete 09:13:29 ea15f1150254: Download complete 09:13:29 28c525ee5125: Verifying Checksum 09:13:29 28c525ee5125: Download complete 09:13:29 756a868c4378: Verifying Checksum 09:13:29 756a868c4378: Download complete 09:13:29 c9b1b535fdd9: Pull complete 09:13:29 138eaada9080: Verifying Checksum 09:13:29 138eaada9080: Download complete 09:13:29 0622d0fa9048: Verifying Checksum 09:13:29 0622d0fa9048: Download complete 09:13:29 2cc5ad85d9ab: Pull complete 09:13:29 094b1ea09ed8: Verifying Checksum 09:13:29 094b1ea09ed8: Download complete 09:13:30 41b27a9f41bf: Verifying Checksum 09:13:30 41b27a9f41bf: Download complete 09:13:31 756a868c4378: Pull complete 09:13:31 444b2fc9a129: Pull complete 09:13:31 ea15f1150254: Pull complete 09:13:34 41b27a9f41bf: Pull complete 09:13:34 28c525ee5125: Pull complete 09:13:37 094b1ea09ed8: Pull complete 09:13:37 138eaada9080: Pull complete 09:13:37 0622d0fa9048: Pull complete 09:13:37 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:13:38 prd-centos7-docker-4c-2g-1547 does not seem to be running inside a container 09:13:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-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 09:13:39 $ docker top 97333bcdd8f42523c54cca903247a459618d956faabc210e3359481f8ed48f36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:13:39 provisioning config files... 09:13:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6998871263128164166tmp [Pipeline] { [Pipeline] echo 09:13:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:13:40 ---> create-netrc.sh [Pipeline] echo 09:13:40 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:13:40 ---> logs-deploy.sh 09:13:40 + ARCHIVE_ARTIFACTS= 09:13:40 + LOGS_SERVER=https://logs.edgexfoundry.org 09:13:40 + '[' https://logs.edgexfoundry.org == None ']' 09:13:40 + NEXUS_URL=https://nexus.edgexfoundry.org 09:13:40 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/7 09:13:40 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/7/ 09:13:40 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/7 /w/workspace/dgexfoundry_device-sdk-go_PR-432 09:13:42 Archives upload complete. 09:13:42 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/7/ 09:13:43 ---> uname -a: 09:13:43 Linux 97333bcdd8f4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 09:13:43 09:13:43 09:13:43 ---> lscpu: 09:13:43 Architecture: x86_64 09:13:43 CPU op-mode(s): 32-bit, 64-bit 09:13:43 Byte Order: Little Endian 09:13:43 Address sizes: 40 bits physical, 48 bits virtual 09:13:43 CPU(s): 4 09:13:43 On-line CPU(s) list: 0-3 09:13:43 Thread(s) per core: 1 09:13:43 Core(s) per socket: 1 09:13:43 Socket(s): 4 09:13:43 NUMA node(s): 1 09:13:43 Vendor ID: GenuineIntel 09:13:43 CPU family: 6 09:13:43 Model: 44 09:13:43 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:13:43 Stepping: 1 09:13:43 CPU MHz: 2933.438 09:13:43 BogoMIPS: 5866.87 09:13:43 Virtualization: VT-x 09:13:43 Hypervisor vendor: KVM 09:13:43 Virtualization type: full 09:13:43 L1d cache: 128 KiB 09:13:43 L1i cache: 128 KiB 09:13:43 L2 cache: 16 MiB 09:13:43 L3 cache: 64 MiB 09:13:43 NUMA node0 CPU(s): 0-3 09:13:43 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 09:13:43 Vulnerability Meltdown: Mitigation; PTI 09:13:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:13:43 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 09:13:43 Vulnerability Spectre v2: Mitigation; Full retpoline 09:13:43 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 09:13:43 09:13:43 09:13:43 ---> nproc: 09:13:43 4 09:13:43 09:13:43 09:13:43 ---> df -h: 09:13:43 Filesystem Size Used Available Use% Mounted on 09:13:43 overlay 50.0G 6.3G 43.7G 13% / 09:13:43 tmpfs 64.0M 0 64.0M 0% /dev 09:13:43 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 09:13:43 shm 64.0M 0 64.0M 0% /dev/shm 09:13:43 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 09:13:43 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 09:13:43 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 09:13:43 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 09:13:43 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp 09:13:43 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 09:13:43 09:13:43 09:13:43 ---> free -m: 09:13:43 total used free shared buff/cache available 09:13:43 Mem: 1838 591 78 0 1167 1141 09:13:43 Swap: 1023 1 1022 09:13:43 09:13:43 09:13:43 ---> ip addr: 09:13:43 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:13:43 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:13:43 inet 127.0.0.1/8 scope host lo 09:13:43 valid_lft forever preferred_lft forever 09:13:43 6: eth0@if7: mtu 1458 qdisc noqueue state UP 09:13:43 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 09:13:43 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 09:13:43 valid_lft forever preferred_lft forever 09:13:43 09:13:43 09:13:43 ---> sar -b -r -n DEV: 09:13:43 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/31/20 _x86_64_ (4 CPU) 09:13:43 09:13:43 09:07:01 LINUX RESTART 09:13:43 09:13:43 09:08:01 tps rtps wtps bread/s bwrtn/s 09:13:43 09:09:01 12.59 0.00 12.59 0.00 2711.07 09:13:43 09:10:01 0.23 0.00 0.23 0.00 3.60 09:13:43 09:11:01 0.30 0.00 0.30 0.00 3.48 09:13:43 09:12:01 0.25 0.00 0.25 0.00 2.83 09:13:43 09:13:01 0.35 0.00 0.35 0.00 4.51 09:13:43 Average: 2.74 0.00 2.74 0.00 545.15 09:13:43 09:13:43 09:08:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:13:43 09:09:01 126868 1755436 93.26 2620 1234584 904616 30.87 425844 1171444 20 09:13:43 09:10:01 126960 1755344 93.26 2620 1234588 905268 30.89 426224 1171144 16 09:13:43 09:11:01 128792 1753512 93.16 2620 1234596 905000 30.88 424908 1171060 12 09:13:43 09:12:01 127576 1754728 93.22 2620 1234600 905160 30.88 425648 1171060 8 09:13:43 09:13:01 128488 1753816 93.17 2620 1234608 905076 30.88 425304 1171064 20 09:13:43 Average: 127737 1754567 93.21 2620 1234595 905024 30.88 425586 1171154 15 09:13:43 09:13:43 09:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 09:13:43 09:09:01 eth0 1.08 0.08 0.08 0.04 0.00 0.00 0.00 09:13:43 09:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:10:01 eth0 8.64 6.09 8.54 0.73 0.00 0.00 0.00 09:13:43 09:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:11:01 eth0 0.43 0.10 0.04 0.04 0.00 0.00 0.00 09:13:43 09:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:12:01 eth0 0.40 0.27 0.26 0.20 0.00 0.00 0.00 09:13:43 09:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:13:01 eth0 0.22 0.15 0.08 0.07 0.00 0.00 0.00 09:13:43 09:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 Average: eth0 2.16 1.34 1.80 0.21 0.00 0.00 0.00 09:13:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:13:43 09:13:43 09:13:43 ---> sar -P ALL: 09:13:43 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 03/31/20 _x86_64_ (4 CPU) 09:13:43 09:13:43 09:07:01 LINUX RESTART 09:13:43 09:13:43 09:08:01 CPU %user %nice %system %iowait %steal %idle 09:13:43 09:09:01 all 0.18 0.00 0.13 0.00 0.00 99.69 09:13:43 09:09:01 0 0.08 0.00 0.15 0.00 0.00 99.77 09:13:43 09:09:01 1 0.40 0.00 0.23 0.00 0.00 99.37 09:13:43 09:09:01 2 0.17 0.00 0.08 0.00 0.00 99.75 09:13:43 09:09:01 3 0.07 0.00 0.05 0.00 0.00 99.88 09:13:43 09:10:01 all 0.66 0.00 0.08 0.00 0.00 99.25 09:13:43 09:10:01 0 0.22 0.00 0.13 0.00 0.00 99.65 09:13:43 09:10:01 1 0.90 0.00 0.05 0.00 0.02 99.03 09:13:43 09:10:01 2 0.43 0.00 0.07 0.00 0.02 99.48 09:13:43 09:10:01 3 1.07 0.00 0.10 0.00 0.00 98.83 09:13:43 09:11:01 all 0.17 0.00 0.06 0.00 0.00 99.76 09:13:43 09:11:01 0 0.07 0.00 0.07 0.00 0.02 99.85 09:13:43 09:11:01 1 0.52 0.00 0.12 0.00 0.00 99.37 09:13:43 09:11:01 2 0.07 0.00 0.03 0.00 0.00 99.90 09:13:43 09:11:01 3 0.05 0.00 0.05 0.00 0.00 99.90 09:13:43 09:12:01 all 0.10 0.00 0.07 0.00 0.00 99.84 09:13:43 09:12:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:13:43 09:12:01 1 0.17 0.00 0.12 0.00 0.00 99.72 09:13:43 09:12:01 2 0.10 0.00 0.07 0.00 0.00 99.83 09:13:43 09:12:01 3 0.08 0.00 0.03 0.00 0.00 99.88 09:13:43 09:13:01 all 0.06 0.00 0.05 0.00 0.00 99.89 09:13:43 09:13:01 0 0.02 0.00 0.02 0.00 0.00 99.97 09:13:43 09:13:01 1 0.03 0.00 0.03 0.00 0.00 99.93 09:13:43 09:13:01 2 0.10 0.00 0.07 0.00 0.00 99.83 09:13:43 09:13:01 3 0.08 0.00 0.05 0.00 0.02 99.85 09:13:43 Average: all 0.23 0.00 0.08 0.00 0.00 99.68 09:13:43 Average: 0 0.08 0.00 0.08 0.00 0.00 99.83 09:13:43 Average: 1 0.40 0.00 0.11 0.00 0.00 99.48 09:13:43 Average: 2 0.17 0.00 0.06 0.00 0.00 99.76 09:13:43 Average: 3 0.27 0.00 0.06 0.00 0.00 99.67 09:13:43 09:13:43 09:13:43