Pull request #483 opened 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 d4763dc5817b91cc15f2657f9c693df2f3ac1123+cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (0f78452f9d62be814654646db0349c61c617de40) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-483/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # 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-3799 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [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-483 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # 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/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit d4763dc5817b91cc15f2657f9c693df2f3ac1123 > git config core.sparsecheckout # timeout=10 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing d4763dc5817b91cc15f2657f9c693df2f3ac1123 Checking out Revision d4763dc5817b91cc15f2657f9c693df2f3ac1123 (PR-483) > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 Commit message: "call updateDevice after updating device profile" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:42:49 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 08:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:52 08:42:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:42:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:53 latest: Pulling from edgex-devops/git-semver 08:42:53 9123ac7c32f7: Pulling fs layer 08:42:53 b8cc5d1170e3: Pulling fs layer 08:42:53 2924cbbf6a41: Pulling fs layer 08:42:53 93b08a4f1073: Pulling fs layer 08:42:53 93b08a4f1073: Waiting 08:42:53 b8cc5d1170e3: Verifying Checksum 08:42:53 b8cc5d1170e3: Download complete 08:42:53 9123ac7c32f7: Verifying Checksum 08:42:53 9123ac7c32f7: Download complete 08:42:53 93b08a4f1073: Verifying Checksum 08:42:53 93b08a4f1073: Download complete 08:42:54 2924cbbf6a41: Verifying Checksum 08:42:54 2924cbbf6a41: Download complete 08:42:54 9123ac7c32f7: Pull complete 08:42:54 b8cc5d1170e3: Pull complete 08:42:56 2924cbbf6a41: Pull complete 08:42:56 93b08a4f1073: Pull complete 08:42:56 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:42:57 prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container 08:42:57 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-483 -v /w/workspace/dgexfoundry_device-sdk-go_PR-483:/w/workspace/dgexfoundry_device-sdk-go_PR-483:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-483@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:42:58 $ docker top 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:42:59 [ssh-agent] Looking for ssh-agent implementation... 08:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:42:59 $ docker exec 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent 08:43:00 SSH_AUTH_SOCK=/tmp/ssh-6SGRh0spS2BE/agent.13 08:43:00 SSH_AGENT_PID=20 08:43:00 Running ssh-add (command line suppressed) 08:43:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_1800566872328518280.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_1800566872328518280.key) 08:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:01 + git describe --exact-match --tags HEAD 08:43:01 fatal: No names found, cannot describe anything. [Pipeline] } 08:43:02 $ docker exec --env ******** --env ******** 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent -k 08:43:02 unset SSH_AUTH_SOCK; 08:43:02 unset SSH_AGENT_PID; 08:43:02 echo Agent pid 20 killed; 08:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:43:02 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:43:02 This usually means this commit has not been tagged. [Pipeline] sshagent 08:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:02 [ssh-agent] Looking for ssh-agent implementation... 08:43:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:04 $ docker exec 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent 08:43:04 SSH_AUTH_SOCK=/tmp/ssh-EtFkGZEsz07j/agent.55 08:43:04 SSH_AGENT_PID=61 08:43:04 Running ssh-add (command line suppressed) 08:43:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_2980113199676118597.key (/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/private_key_2980113199676118597.key) 08:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:05 + git semver init 08:43:05 # -> Open(): unable to determine branch for HEAD 08:43:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.git 08:43:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-483 08:43:05 # $SEMVER_REMOTE_NAME = origin 08:43:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:43:05 # $SEMVER_USER_NAME = edgex-jenkins 08:43:05 # $SEMVER_BRANCH = PR-483 08:43:05 # $SEMVER_TEMP = /tmp/semver-992008222 08:43:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:43:06 # '/tmp/semver-992008222' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver' 08:43:06 # -> Force: false 08:43:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-483/.semver [Pipeline] } 08:43:06 $ docker exec --env ******** --env ******** 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 ssh-agent -k 08:43:06 unset SSH_AUTH_SOCK; 08:43:06 unset SSH_AGENT_PID; 08:43:06 echo Agent pid 61 killed; 08:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:43:07 + git semver [Pipeline] } 08:43:07 $ docker stop --time=1 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 08:43:09 $ docker rm -f 48e1bae7e8839393ef26fee841d570cb8f56587c3d31d628947f019fff318544 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:43:11 Stashed 42 file(s) [Pipeline] echo 08:43:11 [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 08:43:27 Still waiting to schedule task 08:43:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:43:27 Still waiting to schedule task 08:43:27 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:46:07 Running on prd-centos7-docker-4c-2g-3800 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws 08:46:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:46:09 using credential edgex-jenkins-ssh 08:46:09 Cloning the remote Git repository 08:46:09 Cloning with configured refspecs honoured and without tags 08:46:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:46:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:46:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:09 > git --version # timeout=10 08:46:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:10 Fetching without tags 08:46:10 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit d4763dc5817b91cc15f2657f9c693df2f3ac1123 08:46:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:09 > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 08:46:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:10 > git config core.sparsecheckout # timeout=10 08:46:10 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 08:46:10 > git remote # timeout=10 08:46:10 > git config --get remote.origin.url # timeout=10 08:46:10 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:10 > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 08:46:10 Merge succeeded, producing d4763dc5817b91cc15f2657f9c693df2f3ac1123 08:46:10 Checking out Revision d4763dc5817b91cc15f2657f9c693df2f3ac1123 (PR-483) 08:46:10 > git rev-parse HEAD^{commit} # timeout=10 08:46:10 > git config core.sparsecheckout # timeout=10 08:46:10 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 08:46:14 Commit message: "call updateDevice after updating device profile" 08:46:14 > git --version # timeout=10 08:46:14 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:46:15 ========================================================= 08:46:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:46:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:46:16 + 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 . 08:46:16 Sending build context to Docker daemon 2.888MB 08:46:16 Step 1/8 : ARG BASE=golang:1.13-alpine 08:46:16 Step 2/8 : FROM ${BASE} 08:46:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:46:16 e6b0cf9c0882: Pulling fs layer 08:46:16 2848faf0eed1: Pulling fs layer 08:46:16 0f37312ad70f: Pulling fs layer 08:46:16 5788d62ee057: Pulling fs layer 08:46:16 0e6b1d234666: Pulling fs layer 08:46:16 bf5d7aec512f: Pulling fs layer 08:46:16 34c802a77dc8: Pulling fs layer 08:46:16 9eb99e56ec68: Pulling fs layer 08:46:16 27c7a5d97fbd: Pulling fs layer 08:46:16 5c102a31e300: Pulling fs layer 08:46:16 dcfb455df0a1: Pulling fs layer 08:46:16 34c802a77dc8: Waiting 08:46:16 9eb99e56ec68: Waiting 08:46:16 27c7a5d97fbd: Waiting 08:46:16 5c102a31e300: Waiting 08:46:16 dcfb455df0a1: Waiting 08:46:16 5788d62ee057: Waiting 08:46:16 0e6b1d234666: Waiting 08:46:16 bf5d7aec512f: Waiting 08:46:16 0f37312ad70f: Verifying Checksum 08:46:16 0f37312ad70f: Download complete 08:46:16 2848faf0eed1: Download complete 08:46:16 0e6b1d234666: Verifying Checksum 08:46:16 0e6b1d234666: Download complete 08:46:16 bf5d7aec512f: Verifying Checksum 08:46:16 bf5d7aec512f: Download complete 08:46:16 e6b0cf9c0882: Verifying Checksum 08:46:16 e6b0cf9c0882: Download complete 08:46:16 e6b0cf9c0882: Pull complete 08:46:17 2848faf0eed1: Pull complete 08:46:17 34c802a77dc8: Verifying Checksum 08:46:17 34c802a77dc8: Download complete 08:46:17 27c7a5d97fbd: Verifying Checksum 08:46:17 27c7a5d97fbd: Download complete 08:46:18 5c102a31e300: Verifying Checksum 08:46:18 5c102a31e300: Download complete 08:46:18 5788d62ee057: Verifying Checksum 08:46:18 5788d62ee057: Download complete 08:46:18 9eb99e56ec68: Verifying Checksum 08:46:18 9eb99e56ec68: Download complete 08:46:18 dcfb455df0a1: Verifying Checksum 08:46:18 dcfb455df0a1: Download complete 08:46:19 0f37312ad70f: Pull complete 08:46:25 5788d62ee057: Pull complete 08:46:25 0e6b1d234666: Pull complete 08:46:25 bf5d7aec512f: Pull complete 08:46:30 34c802a77dc8: Pull complete 08:46:33 9eb99e56ec68: Pull complete 08:46:33 27c7a5d97fbd: Pull complete 08:46:33 5c102a31e300: Pull complete 08:46:33 dcfb455df0a1: Pull complete 08:46:33 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:46:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:46:34 ---> 7c70fe431013 08:46:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:46:34 ---> Running in b7c15f74c9d9 08:46:34 Removing intermediate container b7c15f74c9d9 08:46:34 ---> 381a811723db 08:46:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:34 ---> Running in 42e5b44b6a25 08:46:35 Removing intermediate container 42e5b44b6a25 08:46:35 ---> 9740a9cd999b 08:46:35 Step 5/8 : RUN apk add --no-cache make git 08:46:35 ---> Running in c7c5cd738bf3 08:46:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:46:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:46:37 OK: 143 MiB in 39 packages 08:46:37 Removing intermediate container c7c5cd738bf3 08:46:37 ---> 7900066b0857 08:46:37 Step 6/8 : WORKDIR /device-sdk-go 08:46:37 ---> Running in 8bb2874235f7 08:46:37 Removing intermediate container 8bb2874235f7 08:46:37 ---> b829bb2ad4ee 08:46:37 Step 7/8 : COPY . . 08:46:38 ---> 80e92f1b8787 08:46:38 Step 8/8 : RUN go mod download 08:46:38 ---> Running in 8bb2f1bfdfe4 08:46:40 go: finding github.com/BurntSushi/toml v0.3.1 08:46:40 go: finding github.com/OneOfOne/xxhash v1.2.6 08:46:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:46:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:46:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:46:40 go: finding github.com/bgentry/speakeasy v0.1.0 08:46:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:46:40 go: finding github.com/davecgh/go-spew v1.1.1 08:46:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 08:46:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:46:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:46:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:46:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:46:40 go: finding github.com/fatih/color v1.7.0 08:46:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:46:40 go: finding github.com/go-kit/kit v0.8.0 08:46:40 go: finding github.com/go-logfmt/logfmt v0.4.0 08:46:40 go: finding github.com/go-stack/stack v1.8.0 08:46:40 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:46:40 go: finding github.com/google/uuid v1.1.0 08:46:40 go: finding github.com/gorilla/mux v1.7.1 08:46:40 go: finding github.com/hashicorp/consul/api v1.1.0 08:46:40 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:46:40 go: finding github.com/hashicorp/errwrap v1.0.0 08:46:41 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:46:41 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:46:41 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:46:41 go: finding github.com/hashicorp/go-multierror v1.0.0 08:46:41 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:46:41 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:46:41 go: finding github.com/hashicorp/go-syslog v1.0.0 08:46:41 go: finding github.com/hashicorp/go-uuid v1.0.1 08:46:41 go: finding github.com/hashicorp/go.net v0.0.1 08:46:41 go: finding github.com/hashicorp/golang-lru v0.5.0 08:46:41 go: finding github.com/hashicorp/logutils v1.0.0 08:46:41 go: finding github.com/hashicorp/mdns v1.0.0 08:46:41 go: finding github.com/hashicorp/memberlist v0.1.3 08:46:41 go: finding github.com/hashicorp/serf v0.8.2 08:46:41 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:46:41 go: finding github.com/mattn/go-colorable v0.0.9 08:46:41 go: finding github.com/mattn/go-isatty v0.0.3 08:46:41 go: finding github.com/miekg/dns v1.0.14 08:46:41 go: finding github.com/mitchellh/cli v1.0.0 08:46:41 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:46:41 go: finding github.com/mitchellh/copystructure v1.0.0 08:46:42 go: finding github.com/mitchellh/go-homedir v1.0.0 08:46:42 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:46:42 go: finding github.com/mitchellh/gox v0.4.0 08:46:42 go: finding github.com/mitchellh/iochan v1.0.0 08:46:42 go: finding github.com/mitchellh/mapstructure v1.1.2 08:46:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:46:42 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:46:42 go: finding github.com/pelletier/go-toml v1.2.0 08:46:42 go: finding github.com/pkg/errors v0.8.1 08:46:42 go: finding github.com/pmezard/go-difflib v1.0.0 08:46:42 go: finding github.com/posener/complete v1.1.1 08:46:42 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:46:42 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:46:42 go: finding github.com/stretchr/objx v0.1.0 08:46:42 go: finding github.com/stretchr/testify v1.5.1 08:46:42 go: finding github.com/ugorji/go v1.1.4 08:46:42 go: finding github.com/x448/float16 v0.8.4 08:46:42 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:46:42 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:46:42 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:46:42 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:46:42 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:46:42 go: finding gopkg.in/yaml.v2 v2.2.8 08:46:46 Removing intermediate container 8bb2f1bfdfe4 08:46:46 ---> 05f56bdd779a 08:46:46 Successfully built 05f56bdd779a 08:46:46 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 08:46:47 + docker inspect -f . ci-base-image-x86_64 08:46:47 . [Pipeline] withDockerContainer 08:46:47 prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container 08:46:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 08:46:48 $ docker top 2bd680bd221a591139be904a3b0b299359ba1281983a36926c9219880777a5ef -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:48 + go version 08:46:48 go version go1.13.5 linux/amd64 [Pipeline] sh 08:46:49 + make test 08:46:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:46:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:47:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:47:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:47:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements 08:47:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.052s coverage: 95.8% of statements 08:47:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3801 in /w/workspace/dgexfoundry_device-sdk-go_PR-483 [Pipeline] { [Pipeline] ws 08:47:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:47:21 using credential edgex-jenkins-ssh 08:47:22 Cloning the remote Git repository 08:47:22 Cloning with configured refspecs honoured and without tags 08:47:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:47:22 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:47:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:47:22 > git --version # timeout=10 08:47:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:47:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:47:23 > git config --add remote.origin.fetch +refs/pull/483/head:refs/remotes/origin/PR-483 # timeout=10 08:47:23 Fetching without tags 08:47:23 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit d4763dc5817b91cc15f2657f9c693df2f3ac1123 08:47:24 Merge succeeded, producing d4763dc5817b91cc15f2657f9c693df2f3ac1123 08:47:24 Checking out Revision d4763dc5817b91cc15f2657f9c693df2f3ac1123 (PR-483) 08:47:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:47:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:47:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:47:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:47:23 > git config core.sparsecheckout # timeout=10 08:47:24 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 08:47:24 > git remote # timeout=10 08:47:24 > git config --get remote.origin.url # timeout=10 08:47:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:24 > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 08:47:24 > git rev-parse HEAD^{commit} # timeout=10 08:47:24 > git config core.sparsecheckout # timeout=10 08:47:24 > git checkout -f d4763dc5817b91cc15f2657f9c693df2f3ac1123 # timeout=10 08:47:28 Commit message: "call updateDevice after updating device profile" 08:47:28 > git --version # timeout=10 08:47:29 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:47:30 ========================================================= 08:47:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:47:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:47:31 + 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 . 08:47:32 Sending build context to Docker daemon 2.888MB 08:47:32 Step 1/8 : ARG BASE=golang:1.13-alpine 08:47:32 Step 2/8 : FROM ${BASE} 08:47:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:47:32 cde5963f3b93: Pulling fs layer 08:47:32 2a23fa8c16f7: Pulling fs layer 08:47:32 777b28850792: Pulling fs layer 08:47:32 8a11ddd9e578: Pulling fs layer 08:47:32 4cf88f913ddb: Pulling fs layer 08:47:32 1df406cf5192: Pulling fs layer 08:47:32 cd6300453558: Pulling fs layer 08:47:32 b9c365052c96: Pulling fs layer 08:47:32 a2d8cc88f415: Pulling fs layer 08:47:32 ea1d1ca13537: Pulling fs layer 08:47:32 3750a50a1c5e: Pulling fs layer 08:47:32 4cf88f913ddb: Waiting 08:47:32 1df406cf5192: Waiting 08:47:32 cd6300453558: Waiting 08:47:32 b9c365052c96: Waiting 08:47:32 a2d8cc88f415: Waiting 08:47:32 ea1d1ca13537: Waiting 08:47:32 8a11ddd9e578: Waiting 08:47:32 3750a50a1c5e: Waiting 08:47:32 777b28850792: Verifying Checksum 08:47:32 777b28850792: Download complete 08:47:32 2a23fa8c16f7: Verifying Checksum 08:47:32 2a23fa8c16f7: Download complete 08:47:32 4cf88f913ddb: Download complete 08:47:32 1df406cf5192: Verifying Checksum 08:47:32 1df406cf5192: Download complete 08:47:33 cde5963f3b93: Verifying Checksum 08:47:33 cde5963f3b93: Download complete 08:47:33 cde5963f3b93: Pull complete 08:47:34 2a23fa8c16f7: Pull complete 08:47:34 777b28850792: Pull complete 08:47:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.016s coverage: 11.4% of statements 08:47:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 22.1% of statements 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:47:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.074s coverage: 38.5% of statements 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:47:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 79.8% of statements 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:47:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 08:47:35 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 08:47:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 71.4% of statements 08:47:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:47:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:47:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:47:35 gofmt -l . 08:47:35 [ "`gofmt -l .`" = "" ] 08:47:35 ./bin/test-attribution-txt.sh 08:47:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:47:35 Stashed 1 file(s) [Pipeline] } 08:47:35 $ docker stop --time=1 2bd680bd221a591139be904a3b0b299359ba1281983a36926c9219880777a5ef 08:47:37 cd6300453558: Verifying Checksum 08:47:37 cd6300453558: Download complete 08:47:37 a2d8cc88f415: Verifying Checksum 08:47:37 a2d8cc88f415: Download complete 08:47:37 $ docker rm -f 2bd680bd221a591139be904a3b0b299359ba1281983a36926c9219880777a5ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:47:39 + ls -al . 08:47:39 total 160 08:47:39 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 14 08:47 . 08:47:39 drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 08:46 .. 08:47:39 drwxrwxr-x. 3 jenkins jenkins 20 Apr 14 08:46 api 08:47:39 drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 08:46 bin 08:47:39 -rw-r--r--. 1 jenkins jenkins 96404 Apr 14 08:47 coverage.out 08:47:39 -rw-rw-r--. 1 jenkins jenkins 936 Apr 14 08:46 Dockerfile.build 08:47:39 -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 08:46 .dockerignore 08:47:39 drwxrwxr-x. 4 jenkins jenkins 31 Apr 14 08:46 example 08:47:39 drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 08:46 .git 08:47:39 drwxrwxr-x. 2 jenkins jenkins 38 Apr 14 08:46 .github 08:47:39 -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 08:46 .gitignore 08:47:39 -rw-r--r--. 1 jenkins jenkins 446 Apr 14 08:47 go.mod 08:47:39 -rw-r--r--. 1 jenkins jenkins 12076 Apr 14 08:47 go.sum 08:47:39 drwxrwxr-x. 14 jenkins jenkins 196 Apr 14 08:46 internal 08:47:39 -rw-rw-r--. 1 jenkins jenkins 808 Apr 14 08:46 Jenkinsfile 08:47:39 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 08:46 LICENSE 08:47:39 -rw-rw-r--. 1 jenkins jenkins 892 Apr 14 08:46 Makefile 08:47:39 drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 08:46 pkg 08:47:39 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 14 08:46 README.md 08:47:39 drwxrwxr-x. 3 jenkins jenkins 58 Apr 14 08:46 .semver 08:47:39 drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 08:46 snap 08:47:39 -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 08:43 VERSION 08:47:39 -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:47:39 + 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=d4763dc5817b91cc15f2657f9c693df2f3ac1123 --label arch=amd64 --label version=0.0.0 . 08:47:39 Sending build context to Docker daemon 3.006MB 08:47:39 Step 1/21 : ARG BASE=golang:1.13-alpine 08:47:39 Step 2/21 : FROM ${BASE} AS builder 08:47:39 ---> 05f56bdd779a 08:47:39 Step 3/21 : ARG MAKE='make build' 08:47:39 ---> Running in aedad76eba44 08:47:39 Removing intermediate container aedad76eba44 08:47:39 ---> 8a4e3a8df680 08:47:39 Step 4/21 : WORKDIR /device-sdk-go 08:47:40 ea1d1ca13537: Verifying Checksum 08:47:40 ea1d1ca13537: Download complete 08:47:40 3750a50a1c5e: Download complete 08:47:40 ---> Running in 2988fefd7b6a 08:47:40 Removing intermediate container 2988fefd7b6a 08:47:40 ---> a42b8275dc4f 08:47:40 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:47:40 ---> Running in 72e27f0c5c31 08:47:40 Removing intermediate container 72e27f0c5c31 08:47:40 ---> aa42be36dea0 08:47:40 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:40 ---> Running in 21ef60cd6706 08:47:40 Removing intermediate container 21ef60cd6706 08:47:40 ---> d540ba875b1d 08:47:40 Step 7/21 : RUN apk add --update --no-cache make git 08:47:41 ---> Running in fb6338a9c614 08:47:41 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:47:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:47:42 OK: 143 MiB in 39 packages 08:47:42 b9c365052c96: Verifying Checksum 08:47:42 b9c365052c96: Download complete 08:47:42 Removing intermediate container fb6338a9c614 08:47:42 ---> 836acff6b783 08:47:42 Step 8/21 : COPY . . 08:47:43 ---> d37c10c1aef3 08:47:43 Step 9/21 : RUN ${MAKE} 08:47:43 ---> Running in 4d0cc985baf1 08:47:43 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 08:47:44 8a11ddd9e578: Verifying Checksum 08:47:44 8a11ddd9e578: Download complete 08:47:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:47:51 Removing intermediate container 4d0cc985baf1 08:47:51 ---> e41555c45370 08:47:51 Step 10/21 : FROM scratch 08:47:51 ---> 08:47:51 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:47:51 ---> Running in 159b5f4123e2 08:47:52 Removing intermediate container 159b5f4123e2 08:47:52 ---> 6c8e14968c84 08:47:52 Step 12/21 : ENV APP_PORT=49990 08:47:52 ---> Running in 251a460b1fef 08:47:52 Removing intermediate container 251a460b1fef 08:47:52 ---> 3309cce9f17a 08:47:52 Step 13/21 : EXPOSE $APP_PORT 08:47:52 ---> Running in d47b3cc2bd10 08:47:52 Removing intermediate container d47b3cc2bd10 08:47:52 ---> a4eed6678053 08:47:52 Step 14/21 : WORKDIR / 08:47:52 ---> Running in 1a570ef2d2b4 08:47:52 Removing intermediate container 1a570ef2d2b4 08:47:52 ---> 5e39dd84184d 08:47:52 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:47:52 ---> 2858bfa55a85 08:47:52 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:47:52 ---> 63448006800a 08:47:52 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:47:53 ---> 02a471cbce01 08:47:53 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:47:53 ---> Running in ae9f9da203ae 08:47:53 Removing intermediate container ae9f9da203ae 08:47:53 ---> 4e606af636ed 08:47:53 Step 19/21 : LABEL arch=amd64 08:47:53 ---> Running in 4d8b3180bed7 08:47:53 Removing intermediate container 4d8b3180bed7 08:47:53 ---> bbf136dcec06 08:47:53 Step 20/21 : LABEL git_sha=d4763dc5817b91cc15f2657f9c693df2f3ac1123 08:47:53 ---> Running in 93694de0834f 08:47:53 Removing intermediate container 93694de0834f 08:47:53 ---> b5596d539a1a 08:47:53 Step 21/21 : LABEL version=0.0.0 08:47:53 ---> Running in cbf72249e203 08:47:53 Removing intermediate container cbf72249e203 08:47:53 ---> cf052ed7c229 08:47:53 [Warning] One or more build-args [ARCH] were not consumed 08:47:53 Successfully built cf052ed7c229 08:47:53 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] } 08:47:56 8a11ddd9e578: Pull complete 08:47:56 4cf88f913ddb: Pull complete 08:47:56 1df406cf5192: Pull complete 08:48:01 cd6300453558: Pull complete 08:48:06 b9c365052c96: Pull complete 08:48:06 a2d8cc88f415: Pull complete 08:48:08 ea1d1ca13537: Pull complete 08:48:08 3750a50a1c5e: Pull complete 08:48:08 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:48:08 ---> 78745c68409d 08:48:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:48:12 ---> Running in f7c7a491d244 08:48:13 Removing intermediate container f7c7a491d244 08:48:13 ---> 94c56b064b37 08:48:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:13 ---> Running in e331e56b7564 08:48:15 Removing intermediate container e331e56b7564 08:48:15 ---> ca9164c35fbb 08:48:15 Step 5/8 : RUN apk add --no-cache make git 08:48:15 ---> Running in 11adf33ef648 08:48:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:48:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:48:17 OK: 125 MiB in 39 packages 08:48:19 Removing intermediate container 11adf33ef648 08:48:19 ---> 2c6d5200e63f 08:48:19 Step 6/8 : WORKDIR /device-sdk-go 08:48:19 ---> Running in e82594b522f2 08:48:19 Removing intermediate container e82594b522f2 08:48:19 ---> 4c73fdfca71f 08:48:19 Step 7/8 : COPY . . 08:48:20 ---> ace75ac35d4e 08:48:20 Step 8/8 : RUN go mod download 08:48:20 ---> Running in a06ea6242f80 08:48:29 go: finding github.com/BurntSushi/toml v0.3.1 08:48:29 go: finding github.com/OneOfOne/xxhash v1.2.6 08:48:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:48:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:48:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:48:29 go: finding github.com/bgentry/speakeasy v0.1.0 08:48:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:48:29 go: finding github.com/davecgh/go-spew v1.1.1 08:48:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 08:48:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:48:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:48:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:48:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:48:29 go: finding github.com/fatih/color v1.7.0 08:48:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:48:29 go: finding github.com/go-kit/kit v0.8.0 08:48:29 go: finding github.com/go-logfmt/logfmt v0.4.0 08:48:29 go: finding github.com/go-stack/stack v1.8.0 08:48:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:48:29 go: finding github.com/google/uuid v1.1.0 08:48:29 go: finding github.com/gorilla/mux v1.7.1 08:48:29 go: finding github.com/hashicorp/consul/api v1.1.0 08:48:29 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:48:29 go: finding github.com/hashicorp/errwrap v1.0.0 08:48:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:48:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:48:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:48:29 go: finding github.com/hashicorp/go-multierror v1.0.0 08:48:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:48:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:48:29 go: finding github.com/hashicorp/go-syslog v1.0.0 08:48:29 go: finding github.com/hashicorp/go-uuid v1.0.1 08:48:29 go: finding github.com/hashicorp/go.net v0.0.1 08:48:29 go: finding github.com/hashicorp/golang-lru v0.5.0 08:48:29 go: finding github.com/hashicorp/logutils v1.0.0 08:48:29 go: finding github.com/hashicorp/mdns v1.0.0 08:48:29 go: finding github.com/hashicorp/memberlist v0.1.3 08:48:29 go: finding github.com/hashicorp/serf v0.8.2 08:48:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:48:29 go: finding github.com/mattn/go-colorable v0.0.9 08:48:29 go: finding github.com/mattn/go-isatty v0.0.3 08:48:29 go: finding github.com/miekg/dns v1.0.14 08:48:29 go: finding github.com/mitchellh/cli v1.0.0 08:48:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:48:29 go: finding github.com/mitchellh/copystructure v1.0.0 08:48:29 go: finding github.com/mitchellh/go-homedir v1.0.0 08:48:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:48:29 go: finding github.com/mitchellh/gox v0.4.0 08:48:29 go: finding github.com/mitchellh/iochan v1.0.0 08:48:29 go: finding github.com/mitchellh/mapstructure v1.1.2 08:48:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:48:29 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:48:29 go: finding github.com/pelletier/go-toml v1.2.0 08:48:29 go: finding github.com/pkg/errors v0.8.1 08:48:29 go: finding github.com/pmezard/go-difflib v1.0.0 08:48:29 go: finding github.com/posener/complete v1.1.1 08:48:29 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:48:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:48:29 go: finding github.com/stretchr/objx v0.1.0 08:48:29 go: finding github.com/stretchr/testify v1.5.1 08:48:29 go: finding github.com/ugorji/go v1.1.4 08:48:29 go: finding github.com/x448/float16 v0.8.4 08:48:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:48:29 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:48:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:48:29 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:48:29 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:48:29 go: finding gopkg.in/yaml.v2 v2.2.8 08:48:37 Removing intermediate container a06ea6242f80 08:48:37 ---> c57668758d77 08:48:37 Successfully built c57668758d77 08:48:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:48:38 + docker inspect -f . ci-base-image-arm64 08:48:38 . [Pipeline] withDockerContainer 08:48:38 prd-ubuntu18.04-docker-arm64-4c-16g-3801 does not seem to be running inside a container 08:48:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 08:48:40 $ docker top eedacd8b4505a546e7caf43697a42508c4dceaf4ae523ebe9f00f0b9009206e1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:41 + go version 08:48:41 go version go1.13.5 linux/arm64 [Pipeline] sh 08:48:42 + make test 08:48:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:48:43 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:49:15 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:49:15 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:49:15 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 22.1% of statements 08:49:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.153s coverage: 95.8% of statements 08:49:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 11.4% of statements 08:49:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.1% of statements 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:49:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.150s coverage: 38.5% of statements 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 08:49:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.564s coverage: 79.8% of statements 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:49:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.085s coverage: 52.6% of statements 08:49:48 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 08:49:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.348s coverage: 71.4% of statements 08:49:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:49:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:49:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:49:50 gofmt -l . 08:49:51 [ "`gofmt -l .`" = "" ] 08:49:51 ./bin/test-attribution-txt.sh 08:49:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:49:52 Warning: overwriting stash ‘coverage-report’ 08:49:53 Stashed 1 file(s) [Pipeline] } 08:49:53 $ docker stop --time=1 eedacd8b4505a546e7caf43697a42508c4dceaf4ae523ebe9f00f0b9009206e1 08:49:55 $ docker rm -f eedacd8b4505a546e7caf43697a42508c4dceaf4ae523ebe9f00f0b9009206e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:49:57 + ls -al . 08:49:57 total 200 08:49:57 drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 08:49 . 08:49:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:47 .. 08:49:57 -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 08:47 .dockerignore 08:49:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 08:47 .git 08:49:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:47 .github 08:49:57 -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 08:47 .gitignore 08:49:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 08:47 .semver 08:49:57 -rw-rw-r-- 1 jenkins jenkins 936 Apr 14 08:47 Dockerfile.build 08:49:57 -rw-rw-r-- 1 jenkins jenkins 808 Apr 14 08:47 Jenkinsfile 08:49:57 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 08:47 LICENSE 08:49:57 -rw-rw-r-- 1 jenkins jenkins 892 Apr 14 08:47 Makefile 08:49:57 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 14 08:47 README.md 08:49:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 08:43 VERSION 08:49:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 08:47 api 08:49:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:47 bin 08:49:57 -rw-r--r-- 1 jenkins jenkins 96404 Apr 14 08:49 coverage.out 08:49:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:47 example 08:49:57 -rw-r--r-- 1 jenkins jenkins 446 Apr 14 08:49 go.mod 08:49:57 -rw-r--r-- 1 jenkins jenkins 12076 Apr 14 08:49 go.sum 08:49:57 drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 08:47 internal 08:49:57 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 08:47 pkg 08:49:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:47 snap 08:49:57 -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 08:47 version.go [Pipeline] isUnix [Pipeline] sh 08:49:57 + 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=d4763dc5817b91cc15f2657f9c693df2f3ac1123 --label arch=arm64 --label version=0.0.0 . 08:49:58 Sending build context to Docker daemon 3.006MB 08:49:58 Step 1/21 : ARG BASE=golang:1.13-alpine 08:49:58 Step 2/21 : FROM ${BASE} AS builder 08:49:58 ---> c57668758d77 08:49:58 Step 3/21 : ARG MAKE='make build' 08:49:58 ---> Running in 5fe76295fa15 08:49:58 Removing intermediate container 5fe76295fa15 08:49:58 ---> 28c72146f268 08:49:58 Step 4/21 : WORKDIR /device-sdk-go 08:49:58 ---> Running in fa967297f86b 08:49:58 Removing intermediate container fa967297f86b 08:49:58 ---> 6114d656c83f 08:49:58 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:49:59 ---> Running in 06cdc45a3822 08:49:59 Removing intermediate container 06cdc45a3822 08:49:59 ---> 1c452d66d9d0 08:49:59 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:59 ---> Running in 69ee4d5202da 08:50:01 Removing intermediate container 69ee4d5202da 08:50:01 ---> ace1e889624c 08:50:01 Step 7/21 : RUN apk add --update --no-cache make git 08:50:01 ---> Running in 08a083be11a0 08:50:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:50:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:50:03 OK: 125 MiB in 39 packages 08:50:04 Removing intermediate container 08a083be11a0 08:50:04 ---> 6bf771c46c6f 08:50:04 Step 8/21 : COPY . . 08:50:05 ---> eb1dcd33d883 08:50:05 Step 9/21 : RUN ${MAKE} 08:50:06 ---> Running in 2418b982768b 08:50:07 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 08:50:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:50:33 Removing intermediate container 2418b982768b 08:50:33 ---> 4f4136f8348e 08:50:33 Step 10/21 : FROM scratch 08:50:33 ---> 08:50:33 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:33 ---> Running in 73a3dffd8a47 08:50:33 Removing intermediate container 73a3dffd8a47 08:50:33 ---> 390ff7c0597b 08:50:33 Step 12/21 : ENV APP_PORT=49990 08:50:33 ---> Running in ed9cb3bea7de 08:50:33 Removing intermediate container ed9cb3bea7de 08:50:33 ---> 13abb4b9e6a2 08:50:33 Step 13/21 : EXPOSE $APP_PORT 08:50:33 ---> Running in 38e802aa110f 08:50:33 Removing intermediate container 38e802aa110f 08:50:33 ---> c7c902b2c341 08:50:33 Step 14/21 : WORKDIR / 08:50:33 ---> Running in b158963bbf9c 08:50:34 Removing intermediate container b158963bbf9c 08:50:34 ---> ef5d4605bc0b 08:50:34 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:50:35 ---> f363773c604a 08:50:35 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:50:35 ---> ed91263492f1 08:50:35 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:50:36 ---> 9b2906ce28a4 08:50:36 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:36 ---> Running in bd7fd51e00b1 08:50:36 Removing intermediate container bd7fd51e00b1 08:50:36 ---> 4ebc13bc5336 08:50:36 Step 19/21 : LABEL arch=arm64 08:50:36 ---> Running in 0697100e2c59 08:50:37 Removing intermediate container 0697100e2c59 08:50:37 ---> e377c350454a 08:50:37 Step 20/21 : LABEL git_sha=d4763dc5817b91cc15f2657f9c693df2f3ac1123 08:50:37 ---> Running in c6670b42b1c0 08:50:37 Removing intermediate container c6670b42b1c0 08:50:37 ---> afa400317721 08:50:37 Step 21/21 : LABEL version=0.0.0 08:50:37 ---> Running in b63aff217dee 08:50:38 Removing intermediate container b63aff217dee 08:50:38 ---> d48fd7fb5903 08:50:38 [Warning] One or more build-args [ARCH] were not consumed 08:50:38 Successfully built d48fd7fb5903 08:50:38 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 08:50:39 provisioning config files... 08:50:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config6735894397763233186tmp [Pipeline] { [Pipeline] sh 08:50:40 + curl -s https://codecov.io/bash 08:50:40 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config6735894397763233186tmp 08:50:40 08:50:40 _____ _ 08:50:40 / ____| | | 08:50:40 | | ___ __| | ___ ___ _____ __ 08:50:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:50:40 | |___| (_) | (_| | __/ (_| (_) \ V / 08:50:40 \_____\___/ \__,_|\___|\___\___/ \_/ 08:50:40 Bash-20200410-0786dee 08:50:40 08:50:40 08:50:40 ==> Jenkins CI detected. 08:50:40 project root: . 08:50:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:50:40 ==> Running gcov in . (disable via -X gcov) 08:50:40 ==> Python coveragepy not found 08:50:40 ==> Searching for coverage reports in: 08:50:40 + . 08:50:40 -> Found 1 reports 08:50:40 ==> Detecting git/mercurial file structure 08:50:40 ==> Reading reports 08:50:40 + ./coverage.out bytes=96404 08:50:40 ==> Appending adjustments 08:50:40 http://docs.codecov.io/docs/fixing-reports 08:50:41 + Found adjustments 08:50:41 ==> Gzipping contents 08:50:41 ==> Uploading reports 08:50:41 url: https://codecov.io 08:50:41 query: branch=PR-483&commit=d4763dc5817b91cc15f2657f9c693df2f3ac1123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= 08:50:41 -> Pinging Codecov 08:50:41 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-483&commit=d4763dc5817b91cc15f2657f9c693df2f3ac1123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-483%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=483&job= 08:50:41 -> Uploading 08:50:41 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d4763dc5817b91cc15f2657f9c693df2f3ac1123 [Pipeline] } 08:50:41 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 08:50:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:50:44 ---> package-listing.sh 08:50:44 ++ facter osfamily 08:50:44 ++ tr '[:upper:]' '[:lower:]' 08:50:44 + OS_FAMILY=redhat 08:50:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-483 08:50:44 + START_PACKAGES=/tmp/packages_start.txt 08:50:44 + END_PACKAGES=/tmp/packages_end.txt 08:50:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:50:44 + PACKAGES=/tmp/packages_start.txt 08:50:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' 08:50:44 + PACKAGES=/tmp/packages_end.txt 08:50:44 + case "${OS_FAMILY}" in 08:50:44 + rpm -qa 08:50:44 + sort 08:50:52 + '[' -f /tmp/packages_start.txt ']' 08:50:52 + '[' -f /tmp/packages_end.txt ']' 08:50:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:50:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-483 ']' 08:50:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ 08:50:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-483/archives/ [Pipeline] isUnix [Pipeline] sh 08:50:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:54 08:50:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:50:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:54 alpine: Pulling from edgex-lftools-log-publisher 08:50:54 c9b1b535fdd9: Pulling fs layer 08:50:54 2cc5ad85d9ab: Pulling fs layer 08:50:54 756a868c4378: Pulling fs layer 08:50:54 444b2fc9a129: Pulling fs layer 08:50:54 ea15f1150254: Pulling fs layer 08:50:54 41b27a9f41bf: Pulling fs layer 08:50:54 28c525ee5125: Pulling fs layer 08:50:54 094b1ea09ed8: Pulling fs layer 08:50:54 138eaada9080: Pulling fs layer 08:50:54 0622d0fa9048: Pulling fs layer 08:50:54 41b27a9f41bf: Waiting 08:50:54 28c525ee5125: Waiting 08:50:54 094b1ea09ed8: Waiting 08:50:54 138eaada9080: Waiting 08:50:54 0622d0fa9048: Waiting 08:50:54 444b2fc9a129: Waiting 08:50:54 ea15f1150254: Waiting 08:50:54 2cc5ad85d9ab: Verifying Checksum 08:50:54 2cc5ad85d9ab: Download complete 08:50:54 444b2fc9a129: Verifying Checksum 08:50:54 444b2fc9a129: Download complete 08:50:54 c9b1b535fdd9: Verifying Checksum 08:50:54 c9b1b535fdd9: Download complete 08:50:55 ea15f1150254: Verifying Checksum 08:50:55 ea15f1150254: Download complete 08:50:56 c9b1b535fdd9: Pull complete 08:50:56 2cc5ad85d9ab: Pull complete 08:50:56 28c525ee5125: Verifying Checksum 08:50:56 28c525ee5125: Download complete 08:50:59 756a868c4378: Verifying Checksum 08:50:59 756a868c4378: Download complete 08:50:59 138eaada9080: Verifying Checksum 08:50:59 138eaada9080: Download complete 08:50:59 0622d0fa9048: Verifying Checksum 08:50:59 0622d0fa9048: Download complete 08:50:59 094b1ea09ed8: Verifying Checksum 08:50:59 094b1ea09ed8: Download complete 08:51:00 41b27a9f41bf: Verifying Checksum 08:51:00 41b27a9f41bf: Download complete 08:51:03 756a868c4378: Pull complete 08:51:03 444b2fc9a129: Pull complete 08:51:03 ea15f1150254: Pull complete 08:51:09 41b27a9f41bf: Pull complete 08:51:09 28c525ee5125: Pull complete 08:51:12 094b1ea09ed8: Pull complete 08:51:13 138eaada9080: Pull complete 08:51:13 0622d0fa9048: Pull complete 08:51:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:51:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:51:13 prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container 08:51:13 $ 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-483 -v /w/workspace/dgexfoundry_device-sdk-go_PR-483:/w/workspace/dgexfoundry_device-sdk-go_PR-483:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:51:15 $ docker top 5c4aa2a9cc23b028014cba818d262312af66baa44e3747da6aa7dcca5a057345 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:15 provisioning config files... 08:51:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-483@tmp/config4958176095837832506tmp [Pipeline] { [Pipeline] echo 08:51:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:51:16 ---> create-netrc.sh [Pipeline] echo 08:51:16 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:51:16 ---> logs-deploy.sh 08:51:16 + ARCHIVE_ARTIFACTS= 08:51:16 + LOGS_SERVER=https://logs.edgexfoundry.org 08:51:16 + '[' https://logs.edgexfoundry.org == None ']' 08:51:16 + NEXUS_URL=https://nexus.edgexfoundry.org 08:51:16 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/1 08:51:16 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/1/ 08:51:16 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/1 /w/workspace/dgexfoundry_device-sdk-go_PR-483 08:51:18 Archives upload complete. 08:51:18 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-483/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-483/1/