Pull request #448 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1+48688a4bd0b1e0580b86c0f4f944ad389879dbd8 (e69c3ffd57dc1fbafebb9a0ba685992b7501b334) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4970 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [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-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 into PR head commit 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 Merge succeeded, producing 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 Checking out Revision 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 # 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 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 # timeout=10 Commit message: "Implement dynamic device discovery" First time build. Skipping changelog. > git rev-list --no-walk 3f115959b13ef52cd40ef50919fc3550a279e4c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:39:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:39:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:39:04 ========================================================= 14:39:04 EdgeX Global Pipelines Version Info 14:39:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:39:05 ------------------- 14:39:05 stable info: 14:39:05 ------------------- 14:39:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:39:05 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:39:05 Message: update stable to v1.0.73 14:39:05 ------------------- 14:39:05 experimental info: 14:39:05 ------------------- 14:39:05 Commited By: **** collab-it+edgex@linuxfoundation.org 14:39:05 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:39:05 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:39:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:07 14:39:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:39:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:39:07 latest: Pulling from edgex-devops/git-semver 14:39:07 9123ac7c32f7: Pulling fs layer 14:39:07 b8cc5d1170e3: Pulling fs layer 14:39:07 2924cbbf6a41: Pulling fs layer 14:39:07 93b08a4f1073: Pulling fs layer 14:39:07 93b08a4f1073: Waiting 14:39:07 b8cc5d1170e3: Verifying Checksum 14:39:07 b8cc5d1170e3: Download complete 14:39:07 9123ac7c32f7: Verifying Checksum 14:39:07 9123ac7c32f7: Download complete 14:39:08 93b08a4f1073: Verifying Checksum 14:39:08 93b08a4f1073: Download complete 14:39:08 2924cbbf6a41: Verifying Checksum 14:39:08 2924cbbf6a41: Download complete 14:39:08 9123ac7c32f7: Pull complete 14:39:08 b8cc5d1170e3: Pull complete 14:39:09 2924cbbf6a41: Pull complete 14:39:09 93b08a4f1073: Pull complete 14:39:09 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:39:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:39:09 prd-centos7-docker-4c-2g-4970 does not seem to be running inside a container 14:39:09 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:39:10 $ docker top 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:39:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:39:10 [ssh-agent] Looking for ssh-agent implementation... 14:39:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:39:10 $ docker exec 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 ssh-agent 14:39:10 SSH_AUTH_SOCK=/tmp/ssh-eX8sJUbJLOwx/agent.15 14:39:10 SSH_AGENT_PID=22 14:39:10 Running ssh-add (command line suppressed) 14:39:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_8689056196724343958.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_8689056196724343958.key) 14:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:39:11 + git describe --exact-match --tags HEAD 14:39:11 fatal: No names found, cannot describe anything. [Pipeline] } 14:39:11 $ docker exec --env ******** --env ******** 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 ssh-agent -k 14:39:11 unset SSH_AUTH_SOCK; 14:39:11 unset SSH_AGENT_PID; 14:39:11 echo Agent pid 22 killed; 14:39:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:39:11 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:39:11 This usually means this commit has not been tagged. [Pipeline] sshagent 14:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:39:11 [ssh-agent] Looking for ssh-agent implementation... 14:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:39:11 $ docker exec 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 ssh-agent 14:39:12 SSH_AUTH_SOCK=/tmp/ssh-ekcZ5vhGdmdk/agent.56 14:39:12 SSH_AGENT_PID=63 14:39:12 Running ssh-add (command line suppressed) 14:39:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_2907416807940023407.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_2907416807940023407.key) 14:39:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:39:12 + git semver init 14:39:12 # -> Open(): unable to determine branch for HEAD 14:39:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git 14:39:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:39:12 # $SEMVER_REMOTE_NAME = origin 14:39:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:39:12 # $SEMVER_USER_NAME = edgex-jenkins 14:39:12 # $SEMVER_BRANCH = PR-448 14:39:12 # $SEMVER_TEMP = /tmp/semver-540746452 14:39:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:39:13 # '/tmp/semver-540746452' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' 14:39:13 # -> Force: false 14:39:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } 14:39:13 $ docker exec --env ******** --env ******** 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 ssh-agent -k 14:39:13 unset SSH_AUTH_SOCK; 14:39:13 unset SSH_AGENT_PID; 14:39:13 echo Agent pid 63 killed; 14:39:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:39:13 + git semver [Pipeline] } 14:39:13 $ docker stop --time=1 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 14:39:15 $ docker rm -f 7ba80d842542ec84c67f8db43528f7419aff5a4b2d7b59b00e4ae3aea9aaf526 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:39:16 Stashed 47 file(s) [Pipeline] echo 14:39:16 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:39:31 Still waiting to schedule task 14:39:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:39:31 Still waiting to schedule task 14:39:31 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4967’ is offline 14:41:23 Running on prd-centos7-docker-4c-2g-4974 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:41:23 Running in /w/workspace/device-sdk-go/32 [Pipeline] { [Pipeline] checkout 14:41:29 using credential edgex-jenkins-ssh 14:41:30 Cloning the remote Git repository 14:41:30 Cloning with configured refspecs honoured and without tags 14:41:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:41:30 > git init /w/workspace/device-sdk-go/32 # timeout=10 14:41:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:41:30 > git --version # timeout=10 14:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:41:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:41:31 Fetching without tags 14:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:41:31 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:41:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:41:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 14:41:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:41:32 Merging remotes/origin/master commit 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 into PR head commit 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 14:41:32 Merge succeeded, producing 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 14:41:32 Checking out Revision 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 (PR-448) 14:41:32 > git config core.sparsecheckout # timeout=10 14:41:32 > git checkout -f 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 # timeout=10 14:41:32 > git remote # timeout=10 14:41:32 > git config --get remote.origin.url # timeout=10 14:41:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:41:32 > git merge 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 14:41:32 > git rev-parse HEAD^{commit} # timeout=10 14:41:32 > git config core.sparsecheckout # timeout=10 14:41:32 > git checkout -f 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 # timeout=10 14:41:37 Commit message: "Implement dynamic device discovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:41:38 ========================================================= 14:41:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:41:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:41:39 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 14:41:40 Sending build context to Docker daemon 2.925MB 14:41:40 Step 1/8 : ARG BASE=golang:1.13-alpine 14:41:40 Step 2/8 : FROM ${BASE} 14:41:40 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:41:40 e6b0cf9c0882: Pulling fs layer 14:41:40 2848faf0eed1: Pulling fs layer 14:41:40 0f37312ad70f: Pulling fs layer 14:41:40 5788d62ee057: Pulling fs layer 14:41:40 0e6b1d234666: Pulling fs layer 14:41:40 bf5d7aec512f: Pulling fs layer 14:41:40 34c802a77dc8: Pulling fs layer 14:41:40 9eb99e56ec68: Pulling fs layer 14:41:40 27c7a5d97fbd: Pulling fs layer 14:41:40 5c102a31e300: Pulling fs layer 14:41:40 dcfb455df0a1: Pulling fs layer 14:41:40 34c802a77dc8: Waiting 14:41:40 9eb99e56ec68: Waiting 14:41:40 27c7a5d97fbd: Waiting 14:41:40 5c102a31e300: Waiting 14:41:40 dcfb455df0a1: Waiting 14:41:40 5788d62ee057: Waiting 14:41:40 0e6b1d234666: Waiting 14:41:40 bf5d7aec512f: Waiting 14:41:40 0f37312ad70f: Verifying Checksum 14:41:40 0f37312ad70f: Download complete 14:41:40 2848faf0eed1: Verifying Checksum 14:41:40 2848faf0eed1: Download complete 14:41:40 0e6b1d234666: Verifying Checksum 14:41:40 0e6b1d234666: Download complete 14:41:40 bf5d7aec512f: Verifying Checksum 14:41:40 bf5d7aec512f: Download complete 14:41:40 e6b0cf9c0882: Download complete 14:41:41 e6b0cf9c0882: Pull complete 14:41:41 2848faf0eed1: Pull complete 14:41:41 34c802a77dc8: Verifying Checksum 14:41:41 34c802a77dc8: Download complete 14:41:42 27c7a5d97fbd: Verifying Checksum 14:41:42 27c7a5d97fbd: Download complete 14:41:42 0f37312ad70f: Pull complete 14:41:45 5788d62ee057: Verifying Checksum 14:41:45 5788d62ee057: Download complete 14:41:45 dcfb455df0a1: Verifying Checksum 14:41:45 dcfb455df0a1: Download complete 14:41:45 5c102a31e300: Verifying Checksum 14:41:45 5c102a31e300: Download complete 14:41:45 9eb99e56ec68: Verifying Checksum 14:41:45 9eb99e56ec68: Download complete 14:41:54 5788d62ee057: Pull complete 14:41:54 0e6b1d234666: Pull complete 14:41:54 bf5d7aec512f: Pull complete 14:41:58 34c802a77dc8: Pull complete 14:42:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4975 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:42:01 Running in /w/workspace/device-sdk-go/32 [Pipeline] { [Pipeline] checkout 14:42:05 9eb99e56ec68: Pull complete 14:42:05 27c7a5d97fbd: Pull complete 14:42:06 5c102a31e300: Pull complete 14:42:06 dcfb455df0a1: Pull complete 14:42:06 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:42:06 ---> 7c70fe431013 14:42:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:42:06 ---> Running in 72341af63e6f 14:42:07 Removing intermediate container 72341af63e6f 14:42:07 ---> 00b799c8daa0 14:42:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:42:07 ---> Running in b595c2846e4c 14:42:07 using credential edgex-jenkins-ssh 14:42:07 Cloning the remote Git repository 14:42:07 Cloning with configured refspecs honoured and without tags 14:42:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:42:07 > git init /w/workspace/device-sdk-go/32 # timeout=10 14:42:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:07 > git --version # timeout=10 14:42:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:08 Removing intermediate container b595c2846e4c 14:42:08 ---> 6389be378e3e 14:42:08 Step 5/8 : RUN apk add --no-cache make git 14:42:08 ---> Running in 3ab762dd2e1d 14:42:08 Fetching without tags 14:42:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:08 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:42:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:09 Merging remotes/origin/master commit 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 into PR head commit 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 14:42:09 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:42:09 Merge succeeded, producing 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 14:42:09 Checking out Revision 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 (PR-448) 14:42:10 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:42:10 OK: 143 MiB in 39 packages 14:42:09 > git config core.sparsecheckout # timeout=10 14:42:09 > git checkout -f 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 # timeout=10 14:42:09 > git remote # timeout=10 14:42:09 > git config --get remote.origin.url # timeout=10 14:42:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:09 > git merge 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 14:42:09 > git rev-parse HEAD^{commit} # timeout=10 14:42:09 > git config core.sparsecheckout # timeout=10 14:42:09 > git checkout -f 83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 # timeout=10 14:42:11 Removing intermediate container 3ab762dd2e1d 14:42:11 ---> baa3994e8f0e 14:42:11 Step 6/8 : WORKDIR /device-sdk-go 14:42:11 ---> Running in bb845fd80d6a 14:42:11 Removing intermediate container bb845fd80d6a 14:42:11 ---> 7ea99e892222 14:42:11 Step 7/8 : COPY . . 14:42:12 ---> 1e4fcbce1384 14:42:12 Step 8/8 : RUN go mod download 14:42:12 ---> Running in 2f42c22feb90 14:42:14 go: finding github.com/BurntSushi/toml v0.3.1 14:42:14 go: finding github.com/OneOfOne/xxhash v1.2.6 14:42:14 Commit message: "Implement dynamic device discovery" 14:42:14 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:42:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:42:14 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:42:14 go: finding github.com/bgentry/speakeasy v0.1.0 14:42:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:42:14 go: finding github.com/davecgh/go-spew v1.1.1 14:42:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 14:42:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:42:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:42:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [Pipeline] withEnv [Pipeline] { 14:42:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:42:14 go: finding github.com/fatih/color v1.7.0 14:42:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:42:14 go: finding github.com/go-kit/kit v0.8.0 14:42:14 go: finding github.com/go-logfmt/logfmt v0.4.0 14:42:14 go: finding github.com/go-stack/stack v1.8.0 14:42:14 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:42:14 go: finding github.com/google/uuid v1.1.0 14:42:14 go: finding github.com/gorilla/mux v1.7.1 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 14:42:15 go: finding github.com/hashicorp/consul/api v1.1.0 14:42:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:42:15 go: finding github.com/hashicorp/errwrap v1.0.0 14:42:15 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:42:15 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:42:15 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:42:15 go: finding github.com/hashicorp/go-multierror v1.0.0 14:42:15 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:42:15 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:42:15 go: finding github.com/hashicorp/go-syslog v1.0.0 14:42:15 go: finding github.com/hashicorp/go-uuid v1.0.1 14:42:15 go: finding github.com/hashicorp/go.net v0.0.1 14:42:15 go: finding github.com/hashicorp/golang-lru v0.5.0 14:42:15 go: finding github.com/hashicorp/logutils v1.0.0 14:42:15 go: finding github.com/hashicorp/mdns v1.0.0 14:42:15 go: finding github.com/hashicorp/memberlist v0.1.3 14:42:15 go: finding github.com/hashicorp/serf v0.8.2 14:42:15 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [Pipeline] echo 14:42:15 ========================================================= 14:42:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:42:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:42:15 go: finding github.com/mattn/go-colorable v0.0.9 14:42:15 go: finding github.com/mattn/go-isatty v0.0.3 14:42:15 go: finding github.com/miekg/dns v1.0.14 14:42:15 go: finding github.com/mitchellh/cli v1.0.0 14:42:15 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:42:15 go: finding github.com/mitchellh/copystructure v1.0.0 14:42:15 go: finding github.com/mitchellh/go-homedir v1.0.0 14:42:15 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:42:15 go: finding github.com/mitchellh/gox v0.4.0 14:42:16 go: finding github.com/mitchellh/iochan v1.0.0 14:42:16 go: finding github.com/mitchellh/mapstructure v1.1.2 14:42:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:42:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:42:16 go: finding github.com/pelletier/go-toml v1.2.0 14:42:16 go: finding github.com/pkg/errors v0.8.1 14:42:16 go: finding github.com/pmezard/go-difflib v1.0.0 14:42:16 go: finding github.com/posener/complete v1.1.1 14:42:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:42:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:42:16 go: finding github.com/stretchr/objx v0.1.0 14:42:16 go: finding github.com/stretchr/testify v1.5.1 14:42:16 go: finding github.com/ugorji/go v1.1.4 14:42:16 go: finding github.com/x448/float16 v0.8.4 14:42:16 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:42:16 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:42:16 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:42:16 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:42:16 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:42:16 go: finding gopkg.in/yaml.v2 v2.2.8 14:42:16 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 14:42:17 Sending build context to Docker daemon 2.925MB 14:42:17 Step 1/8 : ARG BASE=golang:1.13-alpine 14:42:17 Step 2/8 : FROM ${BASE} 14:42:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:42:17 cde5963f3b93: Pulling fs layer 14:42:17 2a23fa8c16f7: Pulling fs layer 14:42:17 777b28850792: Pulling fs layer 14:42:17 8a11ddd9e578: Pulling fs layer 14:42:17 4cf88f913ddb: Pulling fs layer 14:42:17 1df406cf5192: Pulling fs layer 14:42:17 cd6300453558: Pulling fs layer 14:42:17 b9c365052c96: Pulling fs layer 14:42:17 a2d8cc88f415: Pulling fs layer 14:42:17 ea1d1ca13537: Pulling fs layer 14:42:17 3750a50a1c5e: Pulling fs layer 14:42:17 ea1d1ca13537: Waiting 14:42:17 b9c365052c96: Waiting 14:42:17 8a11ddd9e578: Waiting 14:42:17 a2d8cc88f415: Waiting 14:42:17 3750a50a1c5e: Waiting 14:42:17 4cf88f913ddb: Waiting 14:42:17 cd6300453558: Waiting 14:42:17 777b28850792: Verifying Checksum 14:42:17 777b28850792: Download complete 14:42:17 2a23fa8c16f7: Verifying Checksum 14:42:17 2a23fa8c16f7: Download complete 14:42:17 4cf88f913ddb: Verifying Checksum 14:42:17 4cf88f913ddb: Download complete 14:42:17 1df406cf5192: Verifying Checksum 14:42:17 1df406cf5192: Download complete 14:42:18 cde5963f3b93: Verifying Checksum 14:42:18 cde5963f3b93: Download complete 14:42:19 cde5963f3b93: Pull complete 14:42:19 2a23fa8c16f7: Pull complete 14:42:20 777b28850792: Pull complete 14:42:21 cd6300453558: Verifying Checksum 14:42:21 cd6300453558: Download complete 14:42:21 a2d8cc88f415: Verifying Checksum 14:42:21 a2d8cc88f415: Download complete 14:42:23 Removing intermediate container 2f42c22feb90 14:42:23 ---> 047234cf00ca 14:42:23 Successfully built 047234cf00ca 14:42:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:42:24 + docker inspect -f . ci-base-image-x86_64 14:42:24 . [Pipeline] withDockerContainer 14:42:24 ea1d1ca13537: Verifying Checksum 14:42:24 ea1d1ca13537: Download complete 14:42:24 prd-centos7-docker-4c-2g-4974 does not seem to be running inside a container 14:42:24 3750a50a1c5e: Verifying Checksum 14:42:24 3750a50a1c5e: Download complete 14:42:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/32 -v /w/workspace/device-sdk-go/32:/w/workspace/device-sdk-go/32:rw,z -v /w/workspace/device-sdk-go/32@tmp:/w/workspace/device-sdk-go/32@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 ******** -e ******** ci-base-image-x86_64 cat 14:42:25 $ docker top 3de3b0fff5f85606bfe53f7dde68d29c2b723c7118d5fe004ef91f45c879c3cd -eo pid,comm [Pipeline] { [Pipeline] sh 14:42:26 + go version 14:42:26 go version go1.13.5 linux/amd64 [Pipeline] sh 14:42:27 b9c365052c96: Verifying Checksum 14:42:27 b9c365052c96: Download complete 14:42:27 + make test 14:42:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:42:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:42:29 8a11ddd9e578: Verifying Checksum 14:42:29 8a11ddd9e578: Download complete 14:42:41 8a11ddd9e578: Pull complete 14:42:41 4cf88f913ddb: Pull complete 14:42:41 1df406cf5192: Pull complete 14:42:45 cd6300453558: Pull complete 14:42:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:42:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:42:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:42:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.033s coverage: 22.1% of statements 14:42:50 b9c365052c96: Pull complete 14:42:50 a2d8cc88f415: Pull complete 14:42:51 ea1d1ca13537: Pull complete 14:42:52 3750a50a1c5e: Pull complete 14:42:52 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:42:52 ---> 78745c68409d 14:42:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:42:54 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.8% of statements 14:42:57 ---> Running in 2b43cb04af7c 14:42:57 Removing intermediate container 2b43cb04af7c 14:42:57 ---> 56903fe2acfc 14:42:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:42:57 ---> Running in 5287271950b4 14:42:59 Removing intermediate container 5287271950b4 14:42:59 ---> 7203bad5e16e 14:42:59 Step 5/8 : RUN apk add --no-cache make git 14:42:59 ---> Running in 412d25c9f5f6 14:43:00 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:43:01 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:43:01 OK: 125 MiB in 39 packages 14:43:03 Removing intermediate container 412d25c9f5f6 14:43:03 ---> f368497aed2d 14:43:03 Step 6/8 : WORKDIR /device-sdk-go 14:43:03 ---> Running in dd7c3d0b78a8 14:43:03 Removing intermediate container dd7c3d0b78a8 14:43:03 ---> 7ab01cb77055 14:43:03 Step 7/8 : COPY . . 14:43:04 ---> 6255bfe52523 14:43:04 Step 8/8 : RUN go mod download 14:43:04 ---> Running in c4ae354d6483 14:43:06 go: finding github.com/BurntSushi/toml v0.3.1 14:43:06 go: finding github.com/OneOfOne/xxhash v1.2.6 14:43:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:43:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:43:06 go: finding github.com/bgentry/speakeasy v0.1.0 14:43:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:43:06 go: finding github.com/davecgh/go-spew v1.1.1 14:43:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 14:43:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:43:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:43:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:43:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:43:06 go: finding github.com/fatih/color v1.7.0 14:43:06 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:43:06 go: finding github.com/go-kit/kit v0.8.0 14:43:06 go: finding github.com/go-logfmt/logfmt v0.4.0 14:43:06 go: finding github.com/go-stack/stack v1.8.0 14:43:06 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:43:06 go: finding github.com/google/uuid v1.1.0 14:43:06 go: finding github.com/gorilla/mux v1.7.1 14:43:06 go: finding github.com/hashicorp/consul/api v1.1.0 14:43:06 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:43:06 go: finding github.com/hashicorp/errwrap v1.0.0 14:43:06 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:43:06 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:43:06 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:43:07 go: finding github.com/hashicorp/go-multierror v1.0.0 14:43:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:43:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:43:07 go: finding github.com/hashicorp/go-syslog v1.0.0 14:43:07 go: finding github.com/hashicorp/go-uuid v1.0.1 14:43:07 go: finding github.com/hashicorp/go.net v0.0.1 14:43:07 go: finding github.com/hashicorp/golang-lru v0.5.0 14:43:07 go: finding github.com/hashicorp/logutils v1.0.0 14:43:07 go: finding github.com/hashicorp/mdns v1.0.0 14:43:07 go: finding github.com/hashicorp/memberlist v0.1.3 14:43:07 go: finding github.com/hashicorp/serf v0.8.2 14:43:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:43:07 go: finding github.com/mattn/go-colorable v0.0.9 14:43:07 go: finding github.com/mattn/go-isatty v0.0.3 14:43:07 go: finding github.com/miekg/dns v1.0.14 14:43:07 go: finding github.com/mitchellh/cli v1.0.0 14:43:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:07 go: finding github.com/mitchellh/copystructure v1.0.0 14:43:07 go: finding github.com/mitchellh/go-homedir v1.0.0 14:43:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:43:07 go: finding github.com/mitchellh/gox v0.4.0 14:43:07 go: finding github.com/mitchellh/iochan v1.0.0 14:43:07 go: finding github.com/mitchellh/mapstructure v1.1.2 14:43:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:43:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:43:07 go: finding github.com/pelletier/go-toml v1.2.0 14:43:07 go: finding github.com/pkg/errors v0.8.1 14:43:07 go: finding github.com/pmezard/go-difflib v1.0.0 14:43:07 go: finding github.com/posener/complete v1.1.1 14:43:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:43:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:43:07 go: finding github.com/stretchr/objx v0.1.0 14:43:07 go: finding github.com/stretchr/testify v1.5.1 14:43:07 go: finding github.com/ugorji/go v1.1.4 14:43:07 go: finding github.com/x448/float16 v0.8.4 14:43:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:43:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:43:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:43:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:43:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:43:07 go: finding gopkg.in/yaml.v2 v2.2.8 14:43:17 Removing intermediate container c4ae354d6483 14:43:17 ---> f541be04410c 14:43:17 Successfully built f541be04410c 14:43:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:43:18 + docker inspect -f . ci-base-image-arm64 14:43:18 . [Pipeline] withDockerContainer 14:43:18 prd-ubuntu18.04-docker-arm64-4c-16g-4975 does not seem to be running inside a container 14:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/32 -v /w/workspace/device-sdk-go/32:/w/workspace/device-sdk-go/32:rw,z -v /w/workspace/device-sdk-go/32@tmp:/w/workspace/device-sdk-go/32@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 14:43:20 $ docker top cd7e601a145a17fa3663aa06661782aa3b2482a8cbd37dbd7cb0785a189a4c67 -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:21 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.118s coverage: 11.4% of statements 14:43:21 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.1% of statements 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:43:21 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.140s coverage: 36.9% of statements 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:43:21 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.609s coverage: 74.9% of statements 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:43:21 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 14:43:21 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:43:21 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 71.4% of statements 14:43:21 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:43:21 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:43:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:43:21 + go version 14:43:21 go version go1.13.5 linux/arm64 [Pipeline] sh 14:43:22 + make test 14:43:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:43:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:43:24 gofmt -l . 14:43:24 [ "`gofmt -l .`" = "" ] 14:43:24 ./bin/test-attribution-txt.sh 14:43:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:43:27 Stashed 1 file(s) [Pipeline] } 14:43:27 $ docker stop --time=1 3de3b0fff5f85606bfe53f7dde68d29c2b723c7118d5fe004ef91f45c879c3cd 14:43:29 $ docker rm -f 3de3b0fff5f85606bfe53f7dde68d29c2b723c7118d5fe004ef91f45c879c3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:43:30 + ls -al . 14:43:30 total 160 14:43:30 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 20 14:43 . 14:43:30 drwxrwxr-x. 4 jenkins jenkins 30 Apr 20 14:41 .. 14:43:30 drwxrwxr-x. 3 jenkins jenkins 20 Apr 20 14:41 api 14:43:30 drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 14:41 bin 14:43:30 -rw-r--r--. 1 jenkins jenkins 97497 Apr 20 14:43 coverage.out 14:43:30 -rw-rw-r--. 1 jenkins jenkins 936 Apr 20 14:41 Dockerfile.build 14:43:30 -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 14:41 .dockerignore 14:43:30 drwxrwxr-x. 4 jenkins jenkins 48 Apr 20 14:41 example 14:43:30 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 14:41 .git 14:43:30 drwxrwxr-x. 2 jenkins jenkins 38 Apr 20 14:41 .github 14:43:30 -rw-rw-r--. 1 jenkins jenkins 138 Apr 20 14:41 .gitignore 14:43:30 -rw-r--r--. 1 jenkins jenkins 446 Apr 20 14:43 go.mod 14:43:30 -rw-r--r--. 1 jenkins jenkins 12076 Apr 20 14:43 go.sum 14:43:30 drwxrwxr-x. 15 jenkins jenkins 217 Apr 20 14:41 internal 14:43:30 -rw-rw-r--. 1 jenkins jenkins 808 Apr 20 14:41 Jenkinsfile 14:43:30 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 20 14:41 LICENSE 14:43:30 -rw-rw-r--. 1 jenkins jenkins 892 Apr 20 14:41 Makefile 14:43:30 drwxrwxr-x. 5 jenkins jenkins 50 Apr 20 14:41 pkg 14:43:30 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 20 14:41 README.md 14:43:30 drwxrwxr-x. 3 jenkins jenkins 58 Apr 20 14:41 .semver 14:43:30 drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 14:41 snap 14:43:30 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 14:39 VERSION 14:43:30 -rw-rw-r--. 1 jenkins jenkins 222 Apr 20 14:41 version.go [Pipeline] isUnix [Pipeline] sh 14:43:30 + 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=83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 --label arch=amd64 --label version=0.0.0 . 14:43:31 Sending build context to Docker daemon 3.044MB 14:43:31 Step 1/21 : ARG BASE=golang:1.13-alpine 14:43:31 Step 2/21 : FROM ${BASE} AS builder 14:43:31 ---> 047234cf00ca 14:43:31 Step 3/21 : ARG MAKE='make build' 14:43:31 ---> Running in be69b059ff91 14:43:31 Removing intermediate container be69b059ff91 14:43:31 ---> 7e5c585dd764 14:43:31 Step 4/21 : WORKDIR /device-sdk-go 14:43:31 ---> Running in e6b0ee88fb89 14:43:31 Removing intermediate container e6b0ee88fb89 14:43:31 ---> 24641ef04c89 14:43:31 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:43:31 ---> Running in 1e9e0b47db89 14:43:31 Removing intermediate container 1e9e0b47db89 14:43:31 ---> bef58d0eaea3 14:43:31 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:31 ---> Running in b54d5f9e2fb3 14:43:32 Removing intermediate container b54d5f9e2fb3 14:43:32 ---> af8e27a54ab0 14:43:32 Step 7/21 : RUN apk add --update --no-cache make git 14:43:32 ---> Running in e862f2f41ac0 14:43:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:43:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:43:34 OK: 143 MiB in 39 packages 14:43:35 Removing intermediate container e862f2f41ac0 14:43:35 ---> 234d36d50765 14:43:35 Step 8/21 : COPY . . 14:43:36 ---> 1b86348046e8 14:43:36 Step 9/21 : RUN ${MAKE} 14:43:36 ---> Running in e893002f18b2 14:43: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 14:43:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:43:52 Removing intermediate container e893002f18b2 14:43:52 ---> 22e25e075e01 14:43:52 Step 10/21 : FROM scratch 14:43:52 ---> 14:43:52 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:43:52 ---> Running in 501714e7c6c5 14:43:53 Removing intermediate container 501714e7c6c5 14:43:53 ---> 9b2b857f867c 14:43:53 Step 12/21 : ENV APP_PORT=49990 14:43:53 ---> Running in 268bc983ae61 14:43:53 Removing intermediate container 268bc983ae61 14:43:53 ---> 9a39363b60a9 14:43:53 Step 13/21 : EXPOSE $APP_PORT 14:43:53 ---> Running in 36007b37ad74 14:43:53 Removing intermediate container 36007b37ad74 14:43:53 ---> b43f1c92d0ff 14:43:53 Step 14/21 : WORKDIR / 14:43:53 ---> Running in e36166f26e05 14:43:53 Removing intermediate container e36166f26e05 14:43:53 ---> ceef8463e2de 14:43:53 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:43:55 ---> bf4500d18761 14:43:55 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:43:55 ---> 249a068a0b03 14:43:55 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:43:55 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 14:43:55 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 14:43:55 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 14:43:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 22.1% of statements 14:43:55 ---> aab7eb6339bc 14:43:55 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:43:55 ---> Running in d72da3f5a21d 14:43:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.173s coverage: 95.8% of statements 14:43:55 Removing intermediate container d72da3f5a21d 14:43:55 ---> a6936c790419 14:43:55 Step 19/21 : LABEL arch=amd64 14:43:55 ---> Running in a50e2e29f99c 14:43:55 Removing intermediate container a50e2e29f99c 14:43:55 ---> 0bac07635f72 14:43:55 Step 20/21 : LABEL git_sha=83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 14:43:56 ---> Running in 2868b40bb674 14:43:56 Removing intermediate container 2868b40bb674 14:43:56 ---> 905680e549bf 14:43:56 Step 21/21 : LABEL version=0.0.0 14:43:56 ---> Running in a4ea4fb37dec 14:43:56 Removing intermediate container a4ea4fb37dec 14:43:56 ---> 53eba15032fe 14:43:56 [Warning] One or more build-args [ARCH] were not consumed 14:43:56 Successfully built 53eba15032fe 14:43:56 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:44:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 11.4% of statements 14:44:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 14:44:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.155s coverage: 36.9% of statements 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 14:44:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.748s coverage: 74.9% of statements 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 14:44:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.080s coverage: 52.6% of statements 14:44:28 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 14:44:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 71.4% of statements 14:44:28 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 14:44:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 14:44:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:44:32 gofmt -l . 14:44:32 [ "`gofmt -l .`" = "" ] 14:44:32 ./bin/test-attribution-txt.sh 14:44:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:44:33 Warning: overwriting stash ‘coverage-report’ 14:44:34 Stashed 1 file(s) [Pipeline] } 14:44:34 $ docker stop --time=1 cd7e601a145a17fa3663aa06661782aa3b2482a8cbd37dbd7cb0785a189a4c67 14:44:36 $ docker rm -f cd7e601a145a17fa3663aa06661782aa3b2482a8cbd37dbd7cb0785a189a4c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:37 + ls -al . 14:44:37 total 200 14:44:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 14:44 . 14:44:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 14:42 .. 14:44:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 14:42 .dockerignore 14:44:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 14:42 .git 14:44:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 14:42 .github 14:44:37 -rw-rw-r-- 1 jenkins jenkins 138 Apr 20 14:42 .gitignore 14:44:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 14:42 .semver 14:44:37 -rw-rw-r-- 1 jenkins jenkins 936 Apr 20 14:42 Dockerfile.build 14:44:37 -rw-rw-r-- 1 jenkins jenkins 808 Apr 20 14:42 Jenkinsfile 14:44:37 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 14:42 LICENSE 14:44:37 -rw-rw-r-- 1 jenkins jenkins 892 Apr 20 14:42 Makefile 14:44:37 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 20 14:42 README.md 14:44:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 14:39 VERSION 14:44:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 14:42 api 14:44:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 14:42 bin 14:44:37 -rw-r--r-- 1 jenkins jenkins 97497 Apr 20 14:44 coverage.out 14:44:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 14:42 example 14:44:37 -rw-r--r-- 1 jenkins jenkins 446 Apr 20 14:44 go.mod 14:44:37 -rw-r--r-- 1 jenkins jenkins 12076 Apr 20 14:44 go.sum 14:44:37 drwxrwxr-x 15 jenkins jenkins 4096 Apr 20 14:42 internal 14:44:37 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 14:42 pkg 14:44:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 14:42 snap 14:44:37 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:44:38 + 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=83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 --label arch=arm64 --label version=0.0.0 . 14:44:38 Sending build context to Docker daemon 3.044MB 14:44:38 Step 1/21 : ARG BASE=golang:1.13-alpine 14:44:38 Step 2/21 : FROM ${BASE} AS builder 14:44:38 ---> f541be04410c 14:44:38 Step 3/21 : ARG MAKE='make build' 14:44:38 ---> Running in 205e5e1ff562 14:44:39 Removing intermediate container 205e5e1ff562 14:44:39 ---> f180add7e6b3 14:44:39 Step 4/21 : WORKDIR /device-sdk-go 14:44:39 ---> Running in da93609daf92 14:44:39 Removing intermediate container da93609daf92 14:44:39 ---> 71ffd38ef401 14:44:39 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:39 ---> Running in 54863cb6f2cc 14:44:40 Removing intermediate container 54863cb6f2cc 14:44:40 ---> 660d29e8fd85 14:44:40 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:40 ---> Running in 981d78ede6bf 14:44:42 Removing intermediate container 981d78ede6bf 14:44:42 ---> 2b16bc36cfec 14:44:42 Step 7/21 : RUN apk add --update --no-cache make git 14:44:42 ---> Running in 72bc05f76a6c 14:44:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:44:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:44:44 OK: 125 MiB in 39 packages 14:44:45 Removing intermediate container 72bc05f76a6c 14:44:45 ---> 7ead7becf06c 14:44:45 Step 8/21 : COPY . . 14:44:46 ---> 4bc1640eb62b 14:44:46 Step 9/21 : RUN ${MAKE} 14:44:47 ---> Running in 3f857760a71c 14:44:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:45:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 14:45:14 Removing intermediate container 3f857760a71c 14:45:14 ---> 1ca0064e0039 14:45:14 Step 10/21 : FROM scratch 14:45:14 ---> 14:45:14 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:14 ---> Running in 060aeeaba2f7 14:45:14 Removing intermediate container 060aeeaba2f7 14:45:14 ---> 317280356064 14:45:14 Step 12/21 : ENV APP_PORT=49990 14:45:14 ---> Running in 978ba93ef81e 14:45:14 Removing intermediate container 978ba93ef81e 14:45:14 ---> c9d26290a8cb 14:45:14 Step 13/21 : EXPOSE $APP_PORT 14:45:14 ---> Running in 2676e6b24ac4 14:45:14 Removing intermediate container 2676e6b24ac4 14:45:14 ---> 4e600c3a533a 14:45:14 Step 14/21 : WORKDIR / 14:45:14 ---> Running in 1fcf833ea76c 14:45:15 Removing intermediate container 1fcf833ea76c 14:45:15 ---> a3d40f073a09 14:45:15 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 14:45:16 ---> 833690d1cd75 14:45:16 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 14:45:16 ---> 2a35bcaa90b5 14:45:16 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 14:45:17 ---> 4112d878817a 14:45:17 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:45:17 ---> Running in 2d3af60f566d 14:45:17 Removing intermediate container 2d3af60f566d 14:45:17 ---> 50b7c5cb4a07 14:45:17 Step 19/21 : LABEL arch=arm64 14:45:17 ---> Running in c5a73969596e 14:45:18 Removing intermediate container c5a73969596e 14:45:18 ---> e13902a7bcb4 14:45:18 Step 20/21 : LABEL git_sha=83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 14:45:18 ---> Running in fc29368b5ab1 14:45:18 Removing intermediate container fc29368b5ab1 14:45:18 ---> f4c2e842b705 14:45:18 Step 21/21 : LABEL version=0.0.0 14:45:18 ---> Running in a29f6403677a 14:45:19 Removing intermediate container a29f6403677a 14:45:19 ---> 5336ca60fd3e 14:45:19 [Warning] One or more build-args [ARCH] were not consumed 14:45:19 Successfully built 5336ca60fd3e 14:45: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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:45:20 provisioning config files... 14:45:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config4200045312084634248tmp [Pipeline] { [Pipeline] sh 14:45:20 + curl -s https://codecov.io/bash 14:45:20 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config4200045312084634248tmp 14:45:21 14:45:21 _____ _ 14:45:21 / ____| | | 14:45:21 | | ___ __| | ___ ___ _____ __ 14:45:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:45:21 | |___| (_) | (_| | __/ (_| (_) \ V / 14:45:21 \_____\___/ \__,_|\___|\___\___/ \_/ 14:45:21 Bash-tbd 14:45:21 14:45:21 14:45:21 ==> Jenkins CI detected. 14:45:21 project root: . 14:45:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:45:21 ==> Running gcov in . (disable via -X gcov) 14:45:21 ==> Python coveragepy not found 14:45:21 ==> Searching for coverage reports in: 14:45:21 + . 14:45:21 -> Found 1 reports 14:45:21 ==> Detecting git/mercurial file structure 14:45:21 ==> Reading reports 14:45:21 + ./coverage.out bytes=97497 14:45:21 ==> Appending adjustments 14:45:21 http://docs.codecov.io/docs/fixing-reports 14:45:21 + Found adjustments 14:45:21 ==> Gzipping contents 14:45:21 ==> Uploading reports 14:45:21 url: https://codecov.io 14:45:21 query: branch=PR-448&commit=83b7aaa5dec8760ec38f816fcefc2a1420ff25b1&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 14:45:21 -> Pinging Codecov 14:45:21 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-448&commit=83b7aaa5dec8760ec38f816fcefc2a1420ff25b1&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= 14:45:22 -> Uploading 14:45:22 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/83b7aaa5dec8760ec38f816fcefc2a1420ff25b1 [Pipeline] } 14:45: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 14:45:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:45:24 ---> package-listing.sh 14:45:24 ++ facter osfamily 14:45:24 ++ tr '[:upper:]' '[:lower:]' 14:45:24 + OS_FAMILY=redhat 14:45:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 14:45:24 + START_PACKAGES=/tmp/packages_start.txt 14:45:24 + END_PACKAGES=/tmp/packages_end.txt 14:45:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:45:24 + PACKAGES=/tmp/packages_start.txt 14:45:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:45:24 + PACKAGES=/tmp/packages_end.txt 14:45:24 + case "${OS_FAMILY}" in 14:45:24 + rpm -qa 14:45:24 + sort 14:45:28 + '[' -f /tmp/packages_start.txt ']' 14:45:28 + '[' -f /tmp/packages_end.txt ']' 14:45:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:45:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:45:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ 14:45:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh 14:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:28 14:45:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:45:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:45:29 alpine: Pulling from edgex-lftools-log-publisher 14:45:29 c9b1b535fdd9: Pulling fs layer 14:45:29 2cc5ad85d9ab: Pulling fs layer 14:45:29 756a868c4378: Pulling fs layer 14:45:29 444b2fc9a129: Pulling fs layer 14:45:29 ea15f1150254: Pulling fs layer 14:45:29 41b27a9f41bf: Pulling fs layer 14:45:29 28c525ee5125: Pulling fs layer 14:45:29 094b1ea09ed8: Pulling fs layer 14:45:29 138eaada9080: Pulling fs layer 14:45:29 0622d0fa9048: Pulling fs layer 14:45:29 444b2fc9a129: Waiting 14:45:29 ea15f1150254: Waiting 14:45:29 41b27a9f41bf: Waiting 14:45:29 28c525ee5125: Waiting 14:45:29 138eaada9080: Waiting 14:45:29 094b1ea09ed8: Waiting 14:45:29 0622d0fa9048: Waiting 14:45:29 2cc5ad85d9ab: Verifying Checksum 14:45:29 2cc5ad85d9ab: Download complete 14:45:29 444b2fc9a129: Verifying Checksum 14:45:29 444b2fc9a129: Download complete 14:45:29 c9b1b535fdd9: Verifying Checksum 14:45:29 c9b1b535fdd9: Download complete 14:45:29 ea15f1150254: Verifying Checksum 14:45:29 ea15f1150254: Download complete 14:45:29 28c525ee5125: Verifying Checksum 14:45:29 28c525ee5125: Download complete 14:45:29 c9b1b535fdd9: Pull complete 14:45:29 756a868c4378: Verifying Checksum 14:45:29 756a868c4378: Download complete 14:45:29 138eaada9080: Verifying Checksum 14:45:29 138eaada9080: Download complete 14:45:29 0622d0fa9048: Verifying Checksum 14:45:29 0622d0fa9048: Download complete 14:45:29 2cc5ad85d9ab: Pull complete 14:45:29 094b1ea09ed8: Verifying Checksum 14:45:29 094b1ea09ed8: Download complete 14:45:30 41b27a9f41bf: Verifying Checksum 14:45:30 41b27a9f41bf: Download complete 14:45:31 756a868c4378: Pull complete 14:45:31 444b2fc9a129: Pull complete 14:45:31 ea15f1150254: Pull complete 14:45:35 41b27a9f41bf: Pull complete 14:45:35 28c525ee5125: Pull complete 14:45:37 094b1ea09ed8: Pull complete 14:45:37 138eaada9080: Pull complete 14:45:37 0622d0fa9048: Pull complete 14:45:37 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:45:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:45:37 prd-centos7-docker-4c-2g-4970 does not seem to be running inside a container 14:45:37 $ 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-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:45:38 $ docker top 2be6a8a4b1b882661ef781de3fc2ebfe045e826eb8ef1368db5fd04342404e62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:39 provisioning config files... 14:45:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config3521670878740087219tmp [Pipeline] { [Pipeline] echo 14:45:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:45:39 ---> create-netrc.sh [Pipeline] echo 14:45:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:45:39 ---> logs-deploy.sh 14:45:39 + ARCHIVE_ARTIFACTS= 14:45:39 + LOGS_SERVER=https://logs.edgexfoundry.org 14:45:39 + '[' https://logs.edgexfoundry.org == None ']' 14:45:39 + NEXUS_URL=https://nexus.edgexfoundry.org 14:45:39 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/32 14:45:39 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/32/ 14:45:39 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/32 /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:45:40 Archives upload complete. 14:45:40 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/32 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/32/