Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at b92b1a498a210f23e11ab247bf48f6be566a37ca rather than b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 Obtained Jenkinsfile from b92b1a498a210f23e11ab247bf48f6be566a37ca Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2868’ Running on prd-centos7-docker-4c-2g-2870 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 Fetching 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 > 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 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 Merge succeeded, producing 49bac041c35afc637539a57007bafffe88bf4ea1 Checking out Revision 49bac041c35afc637539a57007bafffe88bf4ea1 (PR-448) > git config core.sparsecheckout # timeout=10 > git checkout -f b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 # 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 b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 49bac041c35afc637539a57007bafffe88bf4ea1 # timeout=10 Commit message: "Merge commit 'b92b1a498a210f23e11ab247bf48f6be566a37ca' into HEAD" > git rev-list --no-walk b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:43:31 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 14:43:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:43:33 14:43:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:43:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:43:33 latest: Pulling from edgex-devops/git-semver 14:43:33 9123ac7c32f7: Pulling fs layer 14:43:33 b8cc5d1170e3: Pulling fs layer 14:43:33 2924cbbf6a41: Pulling fs layer 14:43:33 93b08a4f1073: Pulling fs layer 14:43:33 93b08a4f1073: Waiting 14:43:33 b8cc5d1170e3: Verifying Checksum 14:43:33 b8cc5d1170e3: Download complete 14:43:33 9123ac7c32f7: Verifying Checksum 14:43:33 9123ac7c32f7: Download complete 14:43:33 93b08a4f1073: Verifying Checksum 14:43:33 93b08a4f1073: Download complete 14:43:33 2924cbbf6a41: Verifying Checksum 14:43:33 2924cbbf6a41: Download complete 14:43:34 9123ac7c32f7: Pull complete 14:43:34 b8cc5d1170e3: Pull complete 14:43:35 2924cbbf6a41: Pull complete 14:43:35 93b08a4f1073: Pull complete 14:43:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:43:35 prd-centos7-docker-4c-2g-2870 does not seem to be running inside a container 14:43:35 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:43:35 $ docker top a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:43:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:36 [ssh-agent] Looking for ssh-agent implementation... 14:43:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:36 $ docker exec a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe ssh-agent 14:43:36 SSH_AUTH_SOCK=/tmp/ssh-GeY9MHXhwWek/agent.14 14:43:36 SSH_AGENT_PID=21 14:43:36 Running ssh-add (command line suppressed) 14:43:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_7006109278247085421.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_7006109278247085421.key) 14:43:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:37 + git describe --exact-match --tags HEAD 14:43:37 fatal: No names found, cannot describe anything. [Pipeline] } 14:43:37 $ docker exec --env ******** --env ******** a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe ssh-agent -k 14:43:37 unset SSH_AUTH_SOCK; 14:43:37 unset SSH_AGENT_PID; 14:43:37 echo Agent pid 21 killed; 14:43:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:43:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:43:37 This usually means this commit has not been tagged. [Pipeline] sshagent 14:43:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:37 [ssh-agent] Looking for ssh-agent implementation... 14:43:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:37 $ docker exec a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe ssh-agent 14:43:38 SSH_AUTH_SOCK=/tmp/ssh-EMhZZxHKA1Hz/agent.54 14:43:38 SSH_AGENT_PID=61 14:43:38 Running ssh-add (command line suppressed) 14:43:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3169215127616018907.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3169215127616018907.key) 14:43:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:38 + git semver init 14:43:38 # -> Open(): unable to determine branch for HEAD 14:43:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git 14:43:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:43:38 # $SEMVER_REMOTE_NAME = origin 14:43:38 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 14:43:38 # $SEMVER_USER_NAME = jenkins 14:43:38 # $SEMVER_BRANCH = PR-448 14:43:38 # $SEMVER_TEMP = /tmp/semver-150593479 14:43:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:43:39 # '/tmp/semver-150593479' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' 14:43:39 # -> Force: false 14:43:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } 14:43:39 $ docker exec --env ******** --env ******** a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe ssh-agent -k 14:43:39 unset SSH_AUTH_SOCK; 14:43:39 unset SSH_AGENT_PID; 14:43:39 echo Agent pid 61 killed; 14:43:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:43:40 + git semver [Pipeline] } 14:43:40 $ docker stop --time=1 a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe 14:43:41 $ docker rm -f a55c5dfb715c5ac651dcafe0e53b2df9ae6a09d80c3de2ca02a99eb1ef3b73fe [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:43:42 Stashed 38 file(s) [Pipeline] echo 14:43:42 [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:43:57 Still waiting to schedule task 14:43:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:43:57 Still waiting to schedule task 14:43:57 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 14:46:18 Running on prd-centos7-docker-4c-2g-2871 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:46:18 Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout 14:46:20 using credential edgex-jenkins-ssh 14:46:20 Cloning the remote Git repository 14:46:20 Cloning with configured refspecs honoured and without tags 14:46:21 Fetching without tags 14:46:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:46:20 > git init /w/workspace/device-sdk-go/22 # timeout=10 14:46:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:20 > git --version # timeout=10 14:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:20 > 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:46:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:21 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:46:21 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:46:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:46:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:21 > 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:46:22 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 14:46:22 Merge succeeded, producing ef5d0a45440064544c58de6a0996c0b143b5a51e 14:46:22 Checking out Revision ef5d0a45440064544c58de6a0996c0b143b5a51e (PR-448) 14:46:22 > git config core.sparsecheckout # timeout=10 14:46:22 > git checkout -f b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 # timeout=10 14:46:22 > git remote # timeout=10 14:46:22 > git config --get remote.origin.url # timeout=10 14:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 14:46:22 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 14:46:22 > git rev-parse HEAD^{commit} # timeout=10 14:46:22 > git config core.sparsecheckout # timeout=10 14:46:22 > git checkout -f ef5d0a45440064544c58de6a0996c0b143b5a51e # timeout=10 14:46:27 Commit message: "Merge commit 'b92b1a498a210f23e11ab247bf48f6be566a37ca' into HEAD" 14:46:27 > git rev-list --no-walk b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:46:28 ========================================================= 14:46:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:46:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:29 + 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:46:29 Sending build context to Docker daemon 2.874MB 14:46:29 Step 1/8 : ARG BASE=golang:1.13-alpine 14:46:29 Step 2/8 : FROM ${BASE} 14:46:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:46:29 e6b0cf9c0882: Pulling fs layer 14:46:29 2848faf0eed1: Pulling fs layer 14:46:29 0f37312ad70f: Pulling fs layer 14:46:29 5788d62ee057: Pulling fs layer 14:46:29 0e6b1d234666: Pulling fs layer 14:46:29 bf5d7aec512f: Pulling fs layer 14:46:29 34c802a77dc8: Pulling fs layer 14:46:29 9eb99e56ec68: Pulling fs layer 14:46:29 27c7a5d97fbd: Pulling fs layer 14:46:29 5c102a31e300: Pulling fs layer 14:46:29 dcfb455df0a1: Pulling fs layer 14:46:29 5788d62ee057: Waiting 14:46:29 0e6b1d234666: Waiting 14:46:29 bf5d7aec512f: Waiting 14:46:29 34c802a77dc8: Waiting 14:46:29 9eb99e56ec68: Waiting 14:46:29 27c7a5d97fbd: Waiting 14:46:29 5c102a31e300: Waiting 14:46:29 dcfb455df0a1: Waiting 14:46:29 0f37312ad70f: Verifying Checksum 14:46:29 0f37312ad70f: Download complete 14:46:29 2848faf0eed1: Download complete 14:46:29 0e6b1d234666: Verifying Checksum 14:46:29 0e6b1d234666: Download complete 14:46:29 bf5d7aec512f: Verifying Checksum 14:46:29 bf5d7aec512f: Download complete 14:46:29 e6b0cf9c0882: Verifying Checksum 14:46:29 e6b0cf9c0882: Download complete 14:46:29 e6b0cf9c0882: Pull complete 14:46:30 2848faf0eed1: Pull complete 14:46:30 0f37312ad70f: Pull complete 14:46:30 34c802a77dc8: Verifying Checksum 14:46:30 34c802a77dc8: Download complete 14:46:30 27c7a5d97fbd: Verifying Checksum 14:46:30 27c7a5d97fbd: Download complete 14:46:31 9eb99e56ec68: Verifying Checksum 14:46:31 9eb99e56ec68: Download complete 14:46:31 dcfb455df0a1: Verifying Checksum 14:46:31 dcfb455df0a1: Download complete 14:46:31 5c102a31e300: Verifying Checksum 14:46:31 5c102a31e300: Download complete 14:46:31 5788d62ee057: Verifying Checksum 14:46:31 5788d62ee057: Download complete 14:46:37 5788d62ee057: Pull complete 14:46:37 0e6b1d234666: Pull complete 14:46:37 bf5d7aec512f: Pull complete 14:46:42 34c802a77dc8: Pull complete 14:46:47 9eb99e56ec68: Pull complete 14:46:47 27c7a5d97fbd: Pull complete 14:46:47 5c102a31e300: Pull complete 14:46:47 dcfb455df0a1: Pull complete 14:46:47 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:46:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:46:47 ---> 7c70fe431013 14:46:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:46:47 ---> Running in caaf5f2415da 14:46:47 Removing intermediate container caaf5f2415da 14:46:47 ---> caca2b89829c 14:46:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:46:47 ---> Running in af2514c7d7de 14:46:48 Removing intermediate container af2514c7d7de 14:46:48 ---> 96843cfaa456 14:46:48 Step 5/8 : RUN apk add --no-cache make git 14:46:48 ---> Running in 72de7c2a7054 14:46:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:46:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:46:50 OK: 143 MiB in 39 packages 14:46:50 Removing intermediate container 72de7c2a7054 14:46:50 ---> 49e210baff6d 14:46:50 Step 6/8 : WORKDIR /device-sdk-go 14:46:50 ---> Running in 0c222c10be56 14:46:50 Removing intermediate container 0c222c10be56 14:46:50 ---> d32ba4762097 14:46:50 Step 7/8 : COPY . . 14:46:51 ---> 907b45cf3a24 14:46:51 Step 8/8 : RUN go mod download 14:46:51 ---> Running in e3b6ef5fc9f1 14:46:52 go: finding github.com/BurntSushi/toml v0.3.1 14:46:52 go: finding github.com/OneOfOne/xxhash v1.2.6 14:46:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:46:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:46:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:46:52 go: finding github.com/bgentry/speakeasy v0.1.0 14:46:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:46:52 go: finding github.com/davecgh/go-spew v1.1.1 14:46:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:46:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:46:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:46:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:46:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:46:52 go: finding github.com/fatih/color v1.7.0 14:46:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:46:52 go: finding github.com/go-kit/kit v0.8.0 14:46:52 go: finding github.com/go-logfmt/logfmt v0.4.0 14:46:52 go: finding github.com/go-stack/stack v1.8.0 14:46:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:46:52 go: finding github.com/google/uuid v1.1.0 14:46:52 go: finding github.com/gorilla/mux v1.7.1 14:46:52 go: finding github.com/hashicorp/consul/api v1.1.0 14:46:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:46:52 go: finding github.com/hashicorp/errwrap v1.0.0 14:46:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:46:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:46:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:46:52 go: finding github.com/hashicorp/go-multierror v1.0.0 14:46:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:46:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:46:52 go: finding github.com/hashicorp/go-syslog v1.0.0 14:46:52 go: finding github.com/hashicorp/go-uuid v1.0.1 14:46:52 go: finding github.com/hashicorp/go.net v0.0.1 14:46:52 go: finding github.com/hashicorp/golang-lru v0.5.0 14:46:52 go: finding github.com/hashicorp/logutils v1.0.0 14:46:52 go: finding github.com/hashicorp/mdns v1.0.0 14:46:52 go: finding github.com/hashicorp/memberlist v0.1.3 14:46:52 go: finding github.com/hashicorp/serf v0.8.2 14:46:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:46:52 go: finding github.com/mattn/go-colorable v0.0.9 14:46:52 go: finding github.com/mattn/go-isatty v0.0.3 14:46:52 go: finding github.com/miekg/dns v1.0.14 14:46:52 go: finding github.com/mitchellh/cli v1.0.0 14:46:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:46:52 go: finding github.com/mitchellh/copystructure v1.0.0 14:46:52 go: finding github.com/mitchellh/go-homedir v1.0.0 14:46:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:46:52 go: finding github.com/mitchellh/gox v0.4.0 14:46:52 go: finding github.com/mitchellh/iochan v1.0.0 14:46:52 go: finding github.com/mitchellh/mapstructure v1.1.2 14:46:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:46:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:46:53 go: finding github.com/pelletier/go-toml v1.2.0 14:46:53 go: finding github.com/pkg/errors v0.8.1 14:46:53 go: finding github.com/pmezard/go-difflib v1.0.0 14:46:53 go: finding github.com/posener/complete v1.1.1 14:46:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:46:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:46:53 go: finding github.com/stretchr/objx v0.1.0 14:46:53 go: finding github.com/stretchr/testify v1.5.1 14:46:53 go: finding github.com/ugorji/go v1.1.4 14:46:53 go: finding github.com/x448/float16 v0.8.4 14:46:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:46:53 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:46:53 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:46:53 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:46:53 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:46:53 go: finding gopkg.in/yaml.v2 v2.2.8 14:46:58 Removing intermediate container e3b6ef5fc9f1 14:46:58 ---> b0551be98eda 14:46:58 Successfully built b0551be98eda 14:46:58 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:46:59 + docker inspect -f . ci-base-image-x86_64 14:46:59 . [Pipeline] withDockerContainer 14:46:59 prd-centos7-docker-4c-2g-2871 does not seem to be running inside a container 14:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:46:59 $ docker top 0f035751f7a669da8162001a058fd1516203f03f3bd41ece0432bd30d3cca338 -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:00 + go version 14:47:00 go version go1.13.5 linux/amd64 [Pipeline] sh 14:47:00 + make test 14:47:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:47:03 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:47:11 # github.com/edgexfoundry/device-sdk-go/pkg/service 14:47:11 pkg/service/async.go:140:39: cannot use device (type *"github.com/edgexfoundry/go-mod-core-contracts/models".Device) as type context.Context in argument to common.DeviceClient.Add: 14:47:11 *"github.com/edgexfoundry/go-mod-core-contracts/models".Device does not implement context.Context (missing Deadline method) 14:47:11 pkg/service/async.go:140:39: cannot use ctx (type context.Context) as type *"github.com/edgexfoundry/go-mod-core-contracts/models".Device in argument to common.DeviceClient.Add 14:47:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.6% of statements 14:47:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.060s coverage: 95.8% of statements 14:47:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2872 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws 14:47:41 Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout 14:47:47 using credential edgex-jenkins-ssh 14:47:47 Cloning the remote Git repository 14:47:47 Cloning with configured refspecs honoured and without tags 14:47:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:47:47 > git init /w/workspace/device-sdk-go/22 # timeout=10 14:47:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:47:47 > git --version # timeout=10 14:47:47 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:47 > 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:47:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.4% of statements 14:47:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 22.7% of statements 14:47:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.113s coverage: 36.9% of statements 14:47:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.306s coverage: 75.0% of statements 14:47:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements 14:47:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 76.1% of statements 14:47:48 make: *** [Makefile:29: test] Error 2 [Pipeline] } 14:47:48 $ docker stop --time=1 0f035751f7a669da8162001a058fd1516203f03f3bd41ece0432bd30d3cca338 14:47:49 Fetching without tags 14:47:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:47:49 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 14:47:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:47:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:47:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:47:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:49 Merging remotes/origin/master commit b92b1a498a210f23e11ab247bf48f6be566a37ca into PR head commit b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 14:47:50 Merge succeeded, producing 806f9b12fefa3beca9195c57f57bf25da330840d 14:47:50 Checking out Revision 806f9b12fefa3beca9195c57f57bf25da330840d (PR-448) 14:47:50 $ docker rm -f 0f035751f7a669da8162001a058fd1516203f03f3bd41ece0432bd30d3cca338 [Pipeline] // withDockerContainer [Pipeline] } 14:47:49 > 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:47:49 > git config core.sparsecheckout # timeout=10 14:47:49 > git checkout -f b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 # timeout=10 14:47:49 > git remote # timeout=10 14:47:50 > git config --get remote.origin.url # timeout=10 14:47:50 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:50 > git merge b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 14:47:50 > git rev-parse HEAD^{commit} # timeout=10 14:47:50 > git config core.sparsecheckout # timeout=10 14:47:50 > git checkout -f 806f9b12fefa3beca9195c57f57bf25da330840d # timeout=10 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:47:51 Failed in branch amd64 14:47:55 Commit message: "Merge commit 'b92b1a498a210f23e11ab247bf48f6be566a37ca' into HEAD" 14:47:55 > git rev-list --no-walk b52d478855b886b4e0a1b1ed7cd3eb0ad9a95428 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:47:56 ========================================================= 14:47:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:47:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:47:57 + 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:47:58 Sending build context to Docker daemon 2.874MB 14:47:58 Step 1/8 : ARG BASE=golang:1.13-alpine 14:47:58 Step 2/8 : FROM ${BASE} 14:47:58 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:47:58 cde5963f3b93: Pulling fs layer 14:47:58 2a23fa8c16f7: Pulling fs layer 14:47:58 777b28850792: Pulling fs layer 14:47:58 8a11ddd9e578: Pulling fs layer 14:47:58 4cf88f913ddb: Pulling fs layer 14:47:58 1df406cf5192: Pulling fs layer 14:47:58 cd6300453558: Pulling fs layer 14:47:58 b9c365052c96: Pulling fs layer 14:47:58 a2d8cc88f415: Pulling fs layer 14:47:58 ea1d1ca13537: Pulling fs layer 14:47:58 3750a50a1c5e: Pulling fs layer 14:47:58 cd6300453558: Waiting 14:47:58 b9c365052c96: Waiting 14:47:58 a2d8cc88f415: Waiting 14:47:58 ea1d1ca13537: Waiting 14:47:58 8a11ddd9e578: Waiting 14:47:58 4cf88f913ddb: Waiting 14:47:58 3750a50a1c5e: Waiting 14:47:58 1df406cf5192: Waiting 14:47:58 777b28850792: Verifying Checksum 14:47:58 777b28850792: Download complete 14:47:58 2a23fa8c16f7: Verifying Checksum 14:47:58 2a23fa8c16f7: Download complete 14:47:58 4cf88f913ddb: Verifying Checksum 14:47:58 4cf88f913ddb: Download complete 14:47:58 1df406cf5192: Verifying Checksum 14:47:58 1df406cf5192: Download complete 14:47:59 cde5963f3b93: Verifying Checksum 14:48:00 cde5963f3b93: Pull complete 14:48:00 2a23fa8c16f7: Pull complete 14:48:00 777b28850792: Pull complete 14:48:03 cd6300453558: Verifying Checksum 14:48:03 cd6300453558: Download complete 14:48:03 a2d8cc88f415: Verifying Checksum 14:48:03 a2d8cc88f415: Download complete 14:48:06 ea1d1ca13537: Verifying Checksum 14:48:06 ea1d1ca13537: Download complete 14:48:06 3750a50a1c5e: Verifying Checksum 14:48:06 3750a50a1c5e: Download complete 14:48:08 b9c365052c96: Verifying Checksum 14:48:08 b9c365052c96: Download complete 14:48:10 8a11ddd9e578: Verifying Checksum 14:48:10 8a11ddd9e578: Download complete 14:48:22 8a11ddd9e578: Pull complete 14:48:22 4cf88f913ddb: Pull complete 14:48:22 1df406cf5192: Pull complete 14:48:25 cd6300453558: Pull complete 14:48:31 b9c365052c96: Pull complete 14:48:31 a2d8cc88f415: Pull complete 14:48:33 ea1d1ca13537: Pull complete 14:48:33 3750a50a1c5e: Pull complete 14:48:33 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:48:33 ---> 78745c68409d 14:48:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:48:38 ---> Running in 5ed8fa2cdcec 14:48:38 Removing intermediate container 5ed8fa2cdcec 14:48:38 ---> 8c88f276b6f5 14:48:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:48:38 ---> Running in 66254481a8bb 14:48:40 Removing intermediate container 66254481a8bb 14:48:40 ---> c5d276b65e70 14:48:40 Step 5/8 : RUN apk add --no-cache make git 14:48:40 ---> Running in 7c11d464aeeb 14:48:41 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:48:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:48:42 OK: 125 MiB in 39 packages 14:48:44 Removing intermediate container 7c11d464aeeb 14:48:44 ---> 3f4d011d56dd 14:48:44 Step 6/8 : WORKDIR /device-sdk-go 14:48:44 ---> Running in 3494e97cfaa6 14:48:44 Removing intermediate container 3494e97cfaa6 14:48:44 ---> 416a339b5d9a 14:48:44 Step 7/8 : COPY . . 14:48:45 ---> b80c5271a722 14:48:45 Step 8/8 : RUN go mod download 14:48:45 ---> Running in 40a628ce6007 14:48:47 go: finding github.com/BurntSushi/toml v0.3.1 14:48:47 go: finding github.com/OneOfOne/xxhash v1.2.6 14:48:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:48:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:48:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:48:47 go: finding github.com/bgentry/speakeasy v0.1.0 14:48:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:48:47 go: finding github.com/davecgh/go-spew v1.1.1 14:48:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 14:48:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:48:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 14:48:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 14:48:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:48:47 go: finding github.com/fatih/color v1.7.0 14:48:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:48:47 go: finding github.com/go-kit/kit v0.8.0 14:48:47 go: finding github.com/go-logfmt/logfmt v0.4.0 14:48:47 go: finding github.com/go-stack/stack v1.8.0 14:48:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:48:47 go: finding github.com/google/uuid v1.1.0 14:48:47 go: finding github.com/gorilla/mux v1.7.1 14:48:47 go: finding github.com/hashicorp/consul/api v1.1.0 14:48:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:48:48 go: finding github.com/hashicorp/errwrap v1.0.0 14:48:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:48:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:48:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:48:48 go: finding github.com/hashicorp/go-multierror v1.0.0 14:48:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:48:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:48:48 go: finding github.com/hashicorp/go-syslog v1.0.0 14:48:48 go: finding github.com/hashicorp/go-uuid v1.0.1 14:48:48 go: finding github.com/hashicorp/go.net v0.0.1 14:48:48 go: finding github.com/hashicorp/golang-lru v0.5.0 14:48:48 go: finding github.com/hashicorp/logutils v1.0.0 14:48:48 go: finding github.com/hashicorp/mdns v1.0.0 14:48:48 go: finding github.com/hashicorp/memberlist v0.1.3 14:48:48 go: finding github.com/hashicorp/serf v0.8.2 14:48:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:48:48 go: finding github.com/mattn/go-colorable v0.0.9 14:48:48 go: finding github.com/mattn/go-isatty v0.0.3 14:48:48 go: finding github.com/miekg/dns v1.0.14 14:48:48 go: finding github.com/mitchellh/cli v1.0.0 14:48:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:48:48 go: finding github.com/mitchellh/copystructure v1.0.0 14:48:48 go: finding github.com/mitchellh/go-homedir v1.0.0 14:48:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:48:48 go: finding github.com/mitchellh/gox v0.4.0 14:48:48 go: finding github.com/mitchellh/iochan v1.0.0 14:48:48 go: finding github.com/mitchellh/mapstructure v1.1.2 14:48:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:48:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:48:48 go: finding github.com/pelletier/go-toml v1.2.0 14:48:48 go: finding github.com/pkg/errors v0.8.1 14:48:48 go: finding github.com/pmezard/go-difflib v1.0.0 14:48:48 go: finding github.com/posener/complete v1.1.1 14:48:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:48:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:48:48 go: finding github.com/stretchr/objx v0.1.0 14:48:48 go: finding github.com/stretchr/testify v1.5.1 14:48:48 go: finding github.com/ugorji/go v1.1.4 14:48:48 go: finding github.com/x448/float16 v0.8.4 14:48:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:48:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:48:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:48:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:48:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:48:48 go: finding gopkg.in/yaml.v2 v2.2.8 14:48:58 Removing intermediate container 40a628ce6007 14:48:58 ---> 8794fb52761c 14:48:58 Successfully built 8794fb52761c 14:48:58 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:48:59 + docker inspect -f . ci-base-image-arm64 14:48:59 . [Pipeline] withDockerContainer 14:48:59 prd-ubuntu18.04-docker-arm64-4c-16g-2872 does not seem to be running inside a container 14:48:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:49:01 $ docker top 60e0235348cf22341eb8dc381d329fdbb2c8bbd368d88e26e69fc2aa20adcd03 -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:02 + go version 14:49:02 go version go1.13.5 linux/arm64 [Pipeline] sh 14:49:03 + make test 14:49:03 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:49:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 14:49:31 # github.com/edgexfoundry/device-sdk-go/pkg/service 14:49:31 pkg/service/async.go:140:39: cannot use device (type *"github.com/edgexfoundry/go-mod-core-contracts/models".Device) as type context.Context in argument to common.DeviceClient.Add: 14:49:31 *"github.com/edgexfoundry/go-mod-core-contracts/models".Device does not implement context.Context (missing Deadline method) 14:49:31 pkg/service/async.go:140:39: cannot use ctx (type context.Context) as type *"github.com/edgexfoundry/go-mod-core-contracts/models".Device in argument to common.DeviceClient.Add 14:49:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.6% of statements 14:49:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.141s coverage: 95.8% of statements 14:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.097s coverage: 11.4% of statements 14:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.015s coverage: 22.7% of statements 14:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.122s coverage: 36.9% of statements 14:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.619s coverage: 75.0% of statements 14:50:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements 14:50:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.323s coverage: 76.1% of statements 14:50:06 make: *** [Makefile:29: test] Error 2 [Pipeline] } 14:50:06 $ docker stop --time=1 60e0235348cf22341eb8dc381d329fdbb2c8bbd368d88e26e69fc2aa20adcd03 14:50:08 $ docker rm -f 60e0235348cf22341eb8dc381d329fdbb2c8bbd368d88e26e69fc2aa20adcd03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:50:10 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:50:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:50:11 ---> package-listing.sh 14:50:11 ++ tr '[:upper:]' '[:lower:]' 14:50:11 ++ facter osfamily 14:50:11 + OS_FAMILY=redhat 14:50:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 14:50:11 + START_PACKAGES=/tmp/packages_start.txt 14:50:11 + END_PACKAGES=/tmp/packages_end.txt 14:50:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:50:11 + PACKAGES=/tmp/packages_start.txt 14:50:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:50:11 + PACKAGES=/tmp/packages_end.txt 14:50:11 + case "${OS_FAMILY}" in 14:50:11 + rpm -qa 14:50:11 + sort 14:50:15 + '[' -f /tmp/packages_start.txt ']' 14:50:15 + '[' -f /tmp/packages_end.txt ']' 14:50:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:50:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' 14:50:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ 14:50:15 + 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:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:50:15 14:50:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:50:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:50:16 alpine: Pulling from edgex-lftools-log-publisher 14:50:16 c9b1b535fdd9: Pulling fs layer 14:50:16 2cc5ad85d9ab: Pulling fs layer 14:50:16 756a868c4378: Pulling fs layer 14:50:16 444b2fc9a129: Pulling fs layer 14:50:16 ea15f1150254: Pulling fs layer 14:50:16 41b27a9f41bf: Pulling fs layer 14:50:16 28c525ee5125: Pulling fs layer 14:50:16 094b1ea09ed8: Pulling fs layer 14:50:16 138eaada9080: Pulling fs layer 14:50:16 0622d0fa9048: Pulling fs layer 14:50:16 444b2fc9a129: Waiting 14:50:16 ea15f1150254: Waiting 14:50:16 28c525ee5125: Waiting 14:50:16 094b1ea09ed8: Waiting 14:50:16 41b27a9f41bf: Waiting 14:50:16 138eaada9080: Waiting 14:50:16 0622d0fa9048: Waiting 14:50:16 2cc5ad85d9ab: Verifying Checksum 14:50:16 2cc5ad85d9ab: Download complete 14:50:16 444b2fc9a129: Verifying Checksum 14:50:16 444b2fc9a129: Download complete 14:50:16 c9b1b535fdd9: Verifying Checksum 14:50:16 ea15f1150254: Verifying Checksum 14:50:16 ea15f1150254: Download complete 14:50:16 28c525ee5125: Verifying Checksum 14:50:16 28c525ee5125: Download complete 14:50:16 756a868c4378: Verifying Checksum 14:50:16 756a868c4378: Download complete 14:50:16 c9b1b535fdd9: Pull complete 14:50:16 138eaada9080: Verifying Checksum 14:50:16 138eaada9080: Download complete 14:50:16 0622d0fa9048: Verifying Checksum 14:50:16 0622d0fa9048: Download complete 14:50:16 2cc5ad85d9ab: Pull complete 14:50:16 094b1ea09ed8: Verifying Checksum 14:50:16 094b1ea09ed8: Download complete 14:50:17 41b27a9f41bf: Verifying Checksum 14:50:17 41b27a9f41bf: Download complete 14:50:18 756a868c4378: Pull complete 14:50:18 444b2fc9a129: Pull complete 14:50:18 ea15f1150254: Pull complete 14:50:22 41b27a9f41bf: Pull complete 14:50:22 28c525ee5125: Pull complete 14:50:25 094b1ea09ed8: Pull complete 14:50:25 138eaada9080: Pull complete 14:50:25 0622d0fa9048: Pull complete 14:50:25 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:50:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:50:25 prd-centos7-docker-4c-2g-2870 does not seem to be running inside a container 14:50:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:50:25 $ docker top a0b04dbff9d173d4eb663bcdf4a3c09549bf452dca1e43bd8e5a6d34380fd2cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:50:26 provisioning config files... 14:50:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config4638490767821513806tmp [Pipeline] { [Pipeline] echo 14:50:26 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:50:26 ---> create-netrc.sh [Pipeline] echo 14:50:26 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:50:26 ---> logs-deploy.sh 14:50:26 + ARCHIVE_ARTIFACTS= 14:50:26 + LOGS_SERVER=https://logs.edgexfoundry.org 14:50:26 + '[' https://logs.edgexfoundry.org == None ']' 14:50:26 + NEXUS_URL=https://nexus.edgexfoundry.org 14:50:26 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/22 14:50:26 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/22/ 14:50:26 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/22 /w/workspace/dgexfoundry_device-sdk-go_PR-448 14:50:28 Archives upload complete. 14:50:28 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/22 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/22/