Pull request #485 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of worldmaomao for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 40c90adbf9fac26db7d7745c142bac7f98eae2fe rather than e0722f9e20d49a32b5cedf8546d3837b34645e6f Obtained Jenkinsfile from 40c90adbf9fac26db7d7745c142bac7f98eae2fe Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4243’ Running on prd-centos7-docker-4c-2g-4246 in /w/workspace/dgexfoundry_device-sdk-go_PR-485 [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-485 # 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/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit e0722f9e20d49a32b5cedf8546d3837b34645e6f Merge succeeded, producing e0722f9e20d49a32b5cedf8546d3837b34645e6f Checking out Revision e0722f9e20d49a32b5cedf8546d3837b34645e6f (PR-485) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # 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/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # 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 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 Commit message: "fix: add profile delete restful" First time build. Skipping changelog. > git rev-list --no-walk e685b559c50d25f9bb0849bc1a47164607bcc219 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:37:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:37:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:37:30 ========================================================= 09:37:30 EdgeX Global Pipelines Version Info 09:37:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:37:31 ------------------- 09:37:31 stable info: 09:37:31 ------------------- 09:37:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:37:31 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 09:37:31 Message: update stable to v1.0.73 09:37:32 ------------------- 09:37:32 experimental info: 09:37:32 ------------------- 09:37:32 Commited By: **** collab-it+edgex@linuxfoundation.org 09:37:32 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 09:37:32 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:37:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:37:34 09:37:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:37:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:37:34 latest: Pulling from edgex-devops/git-semver 09:37:34 9123ac7c32f7: Pulling fs layer 09:37:34 b8cc5d1170e3: Pulling fs layer 09:37:34 2924cbbf6a41: Pulling fs layer 09:37:34 93b08a4f1073: Pulling fs layer 09:37:34 93b08a4f1073: Waiting 09:37:34 b8cc5d1170e3: Verifying Checksum 09:37:34 b8cc5d1170e3: Download complete 09:37:34 9123ac7c32f7: Verifying Checksum 09:37:34 9123ac7c32f7: Download complete 09:37:34 93b08a4f1073: Verifying Checksum 09:37:34 93b08a4f1073: Download complete 09:37:34 2924cbbf6a41: Verifying Checksum 09:37:34 2924cbbf6a41: Download complete 09:37:34 9123ac7c32f7: Pull complete 09:37:35 b8cc5d1170e3: Pull complete 09:37:35 2924cbbf6a41: Pull complete 09:37:35 93b08a4f1073: Pull complete 09:37:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:37:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:37:35 prd-centos7-docker-4c-2g-4246 does not seem to be running inside a container 09:37:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-485 -v /w/workspace/dgexfoundry_device-sdk-go_PR-485:/w/workspace/dgexfoundry_device-sdk-go_PR-485:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-485@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 09:37:36 $ docker top 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:37:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:36 [ssh-agent] Looking for ssh-agent implementation... 09:37:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:37 $ docker exec 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b ssh-agent 09:37:37 SSH_AUTH_SOCK=/tmp/ssh-h1OXgzAi1lZD/agent.15 09:37:37 SSH_AGENT_PID=22 09:37:37 Running ssh-add (command line suppressed) 09:37:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_1253811887782185731.key (/w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_1253811887782185731.key) 09:37:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:37 + git describe --exact-match --tags HEAD 09:37:37 fatal: No names found, cannot describe anything. [Pipeline] } 09:37:37 $ docker exec --env ******** --env ******** 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b ssh-agent -k 09:37:37 unset SSH_AUTH_SOCK; 09:37:37 unset SSH_AGENT_PID; 09:37:37 echo Agent pid 22 killed; 09:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:37:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:37:38 This usually means this commit has not been tagged. [Pipeline] sshagent 09:37:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:38 [ssh-agent] Looking for ssh-agent implementation... 09:37:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:38 $ docker exec 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b ssh-agent 09:37:38 SSH_AUTH_SOCK=/tmp/ssh-OIZKxKz3aZ4c/agent.57 09:37:38 SSH_AGENT_PID=64 09:37:38 Running ssh-add (command line suppressed) 09:37:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_2435200560708527982.key (/w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/private_key_2435200560708527982.key) 09:37:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:39 + git semver init 09:37:39 # -> Open(): unable to determine branch for HEAD 09:37:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-485/.git 09:37:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-485 09:37:39 # $SEMVER_REMOTE_NAME = origin 09:37:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:37:39 # $SEMVER_USER_NAME = edgex-jenkins 09:37:39 # $SEMVER_BRANCH = PR-485 09:37:39 # $SEMVER_TEMP = /tmp/semver-145353717 09:37:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:37:39 # '/tmp/semver-145353717' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-485/.semver' 09:37:39 # -> Force: false 09:37:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-485/.semver [Pipeline] } 09:37:39 $ docker exec --env ******** --env ******** 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b ssh-agent -k 09:37:39 unset SSH_AUTH_SOCK; 09:37:39 unset SSH_AGENT_PID; 09:37:39 echo Agent pid 64 killed; 09:37:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:37:40 + git semver [Pipeline] } 09:37:40 $ docker stop --time=1 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b 09:37:41 $ docker rm -f 55a972485c96c2aeff4c43f60f8f35dfba7f0e508001b1dca01fc3dea468222b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:37:42 Stashed 43 file(s) [Pipeline] echo 09:37: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 09:37:57 Still waiting to schedule task 09:37:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:37:57 Still waiting to schedule task 09:37:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4244’ is offline 09:38:43 Running on prd-centos7-docker-4c-2g-4247 in /w/workspace/dgexfoundry_device-sdk-go_PR-485 [Pipeline] { [Pipeline] ws 09:38:43 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:38:46 using credential edgex-jenkins-ssh 09:38:46 Cloning the remote Git repository 09:38:46 Cloning with configured refspecs honoured and without tags 09:38:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:38:45 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:38:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:38:45 > git --version # timeout=10 09:38:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:38:47 Fetching without tags 09:38:48 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit e0722f9e20d49a32b5cedf8546d3837b34645e6f 09:38:48 Merge succeeded, producing e0722f9e20d49a32b5cedf8546d3837b34645e6f 09:38:48 Checking out Revision e0722f9e20d49a32b5cedf8546d3837b34645e6f (PR-485) 09:38:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:38:46 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # timeout=10 09:38:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:38:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:38:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:38:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:38:48 > git config core.sparsecheckout # timeout=10 09:38:48 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 09:38:48 > git remote # timeout=10 09:38:48 > git config --get remote.origin.url # timeout=10 09:38:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:48 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 09:38:48 > git rev-parse HEAD^{commit} # timeout=10 09:38:48 > git config core.sparsecheckout # timeout=10 09:38:48 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 09:38:52 Commit message: "fix: add profile delete restful" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:38:53 ========================================================= 09:38:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:38:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:38:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 09:38:54 Sending build context to Docker daemon 2.872MB 09:38:54 Step 1/8 : ARG BASE=golang:1.13-alpine 09:38:54 Step 2/8 : FROM ${BASE} 09:38:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:38:54 e6b0cf9c0882: Pulling fs layer 09:38:54 2848faf0eed1: Pulling fs layer 09:38:54 0f37312ad70f: Pulling fs layer 09:38:54 5788d62ee057: Pulling fs layer 09:38:54 0e6b1d234666: Pulling fs layer 09:38:54 bf5d7aec512f: Pulling fs layer 09:38:54 34c802a77dc8: Pulling fs layer 09:38:54 9eb99e56ec68: Pulling fs layer 09:38:54 27c7a5d97fbd: Pulling fs layer 09:38:54 5c102a31e300: Pulling fs layer 09:38:54 dcfb455df0a1: Pulling fs layer 09:38:54 5788d62ee057: Waiting 09:38:54 0e6b1d234666: Waiting 09:38:54 bf5d7aec512f: Waiting 09:38:54 34c802a77dc8: Waiting 09:38:54 9eb99e56ec68: Waiting 09:38:54 27c7a5d97fbd: Waiting 09:38:54 5c102a31e300: Waiting 09:38:54 dcfb455df0a1: Waiting 09:38:54 0f37312ad70f: Verifying Checksum 09:38:54 0f37312ad70f: Download complete 09:38:54 2848faf0eed1: Verifying Checksum 09:38:54 2848faf0eed1: Download complete 09:38:54 0e6b1d234666: Verifying Checksum 09:38:54 0e6b1d234666: Download complete 09:38:54 bf5d7aec512f: Verifying Checksum 09:38:54 bf5d7aec512f: Download complete 09:38:54 e6b0cf9c0882: Download complete 09:38:54 e6b0cf9c0882: Pull complete 09:38:55 34c802a77dc8: Verifying Checksum 09:38:55 34c802a77dc8: Download complete 09:38:55 27c7a5d97fbd: Verifying Checksum 09:38:55 27c7a5d97fbd: Download complete 09:38:55 5c102a31e300: Verifying Checksum 09:38:55 5c102a31e300: Download complete 09:38:55 dcfb455df0a1: Verifying Checksum 09:38:55 dcfb455df0a1: Download complete 09:38:56 5788d62ee057: Verifying Checksum 09:38:56 5788d62ee057: Download complete 09:38:56 9eb99e56ec68: Verifying Checksum 09:38:56 9eb99e56ec68: Download complete 09:38:57 2848faf0eed1: Pull complete 09:38:57 0f37312ad70f: Pull complete 09:39:03 5788d62ee057: Pull complete 09:39:03 0e6b1d234666: Pull complete 09:39:03 bf5d7aec512f: Pull complete 09:39:09 34c802a77dc8: Pull complete 09:39:12 9eb99e56ec68: Pull complete 09:39:12 27c7a5d97fbd: Pull complete 09:39:13 5c102a31e300: Pull complete 09:39:13 dcfb455df0a1: Pull complete 09:39:13 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:39:13 ---> 7c70fe431013 09:39:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:39:13 ---> Running in c8a79323c6a0 09:39:13 Removing intermediate container c8a79323c6a0 09:39:13 ---> 549f8ce43180 09:39:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:39:13 ---> Running in ccde3862c105 09:39:14 Removing intermediate container ccde3862c105 09:39:14 ---> a454ccdf89f9 09:39:14 Step 5/8 : RUN apk add --no-cache make git 09:39:14 ---> Running in 3f95817a916c 09:39:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:39:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:39:16 OK: 143 MiB in 39 packages 09:39:16 Removing intermediate container 3f95817a916c 09:39:16 ---> 3633c843cc3c 09:39:16 Step 6/8 : WORKDIR /device-sdk-go 09:39:16 ---> Running in b02e2f6eef83 09:39:16 Removing intermediate container b02e2f6eef83 09:39:16 ---> c7fe79fbc551 09:39:16 Step 7/8 : COPY . . 09:39:17 ---> 43d938395167 09:39:17 Step 8/8 : RUN go mod download 09:39:17 ---> Running in 513669d4c84c 09:39:20 go: finding github.com/BurntSushi/toml v0.3.1 09:39:20 go: finding github.com/OneOfOne/xxhash v1.2.6 09:39:20 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:39:20 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:39:20 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:39:20 go: finding github.com/bgentry/speakeasy v0.1.0 09:39:20 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:39:20 go: finding github.com/davecgh/go-spew v1.1.1 09:39:20 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 09:39:20 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:39:20 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:39:20 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:39:20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:39:20 go: finding github.com/fatih/color v1.7.0 09:39:20 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:39:20 go: finding github.com/go-kit/kit v0.8.0 09:39:20 go: finding github.com/go-logfmt/logfmt v0.4.0 09:39:20 go: finding github.com/go-stack/stack v1.8.0 09:39:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:39:21 go: finding github.com/google/uuid v1.1.0 09:39:21 go: finding github.com/gorilla/mux v1.7.1 09:39:21 go: finding github.com/hashicorp/consul/api v1.1.0 09:39:21 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:39:21 go: finding github.com/hashicorp/errwrap v1.0.0 09:39:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:39:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:39:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:39:21 go: finding github.com/hashicorp/go-multierror v1.0.0 09:39:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:39:21 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:39:21 go: finding github.com/hashicorp/go-syslog v1.0.0 09:39:21 go: finding github.com/hashicorp/go-uuid v1.0.1 09:39:21 go: finding github.com/hashicorp/go.net v0.0.1 09:39:21 go: finding github.com/hashicorp/golang-lru v0.5.0 09:39:21 go: finding github.com/hashicorp/logutils v1.0.0 09:39:21 go: finding github.com/hashicorp/mdns v1.0.0 09:39:21 go: finding github.com/hashicorp/memberlist v0.1.3 09:39:21 go: finding github.com/hashicorp/serf v0.8.2 09:39:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:39:21 go: finding github.com/mattn/go-colorable v0.0.9 09:39:21 go: finding github.com/mattn/go-isatty v0.0.3 09:39:21 go: finding github.com/miekg/dns v1.0.14 09:39:21 go: finding github.com/mitchellh/cli v1.0.0 09:39:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:39:21 go: finding github.com/mitchellh/copystructure v1.0.0 09:39:21 go: finding github.com/mitchellh/go-homedir v1.0.0 09:39:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:39:21 go: finding github.com/mitchellh/gox v0.4.0 09:39:21 go: finding github.com/mitchellh/iochan v1.0.0 09:39:21 go: finding github.com/mitchellh/mapstructure v1.1.2 09:39:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:39:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:39:21 go: finding github.com/pelletier/go-toml v1.2.0 09:39:21 go: finding github.com/pkg/errors v0.8.1 09:39:21 go: finding github.com/pmezard/go-difflib v1.0.0 09:39:21 go: finding github.com/posener/complete v1.1.1 09:39:21 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:39:21 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:39:22 go: finding github.com/stretchr/objx v0.1.0 09:39:22 go: finding github.com/stretchr/testify v1.5.1 09:39:22 go: finding github.com/ugorji/go v1.1.4 09:39:22 go: finding github.com/x448/float16 v0.8.4 09:39:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:39:22 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:39:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:39:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:39:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:39:22 go: finding gopkg.in/yaml.v2 v2.2.8 09:39:27 Removing intermediate container 513669d4c84c 09:39:27 ---> 9c4a76ae425b 09:39:27 Successfully built 9c4a76ae425b 09:39:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:39:28 + docker inspect -f . ci-base-image-x86_64 09:39:28 . [Pipeline] withDockerContainer 09:39:28 prd-centos7-docker-4c-2g-4247 does not seem to be running inside a container 09:39:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:39:29 $ docker top e613c0e338f00ebef8593a7851a0acade018261b4e30360ae74e08f0f42226d4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:29 + go version 09:39:29 go version go1.13.5 linux/amd64 [Pipeline] sh 09:39:29 + make test 09:39:29 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:39:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:39:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4248 in /w/workspace/dgexfoundry_device-sdk-go_PR-485 [Pipeline] { [Pipeline] ws 09:39:41 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:39:42 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:39:42 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:39:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements 09:39:45 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 95.8% of statements 09:39:47 using credential edgex-jenkins-ssh 09:39:47 Cloning the remote Git repository 09:39:47 Cloning with configured refspecs honoured and without tags 09:39:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:39:47 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:39:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:39:47 > git --version # timeout=10 09:39:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:39:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:39:48 Fetching without tags 09:39:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:39:48 > git config --add remote.origin.fetch +refs/pull/485/head:refs/remotes/origin/PR-485 # timeout=10 09:39:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:39:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:39:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:39:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:39:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:39:49 Merging remotes/origin/master commit 40c90adbf9fac26db7d7745c142bac7f98eae2fe into PR head commit e0722f9e20d49a32b5cedf8546d3837b34645e6f 09:39:49 Merge succeeded, producing e0722f9e20d49a32b5cedf8546d3837b34645e6f 09:39:49 Checking out Revision e0722f9e20d49a32b5cedf8546d3837b34645e6f (PR-485) 09:39:49 > git config core.sparsecheckout # timeout=10 09:39:49 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 09:39:49 > git remote # timeout=10 09:39:49 > git config --get remote.origin.url # timeout=10 09:39:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:39:49 > git merge 40c90adbf9fac26db7d7745c142bac7f98eae2fe # timeout=10 09:39:49 > git rev-parse HEAD^{commit} # timeout=10 09:39:49 > git config core.sparsecheckout # timeout=10 09:39:49 > git checkout -f e0722f9e20d49a32b5cedf8546d3837b34645e6f # timeout=10 09:39:54 Commit message: "fix: add profile delete restful" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:39:55 ========================================================= 09:39:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:39:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:39:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 09:39:57 Sending build context to Docker daemon 2.872MB 09:39:57 Step 1/8 : ARG BASE=golang:1.13-alpine 09:39:57 Step 2/8 : FROM ${BASE} 09:39:58 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:39:58 cde5963f3b93: Pulling fs layer 09:39:58 2a23fa8c16f7: Pulling fs layer 09:39:58 777b28850792: Pulling fs layer 09:39:58 8a11ddd9e578: Pulling fs layer 09:39:58 4cf88f913ddb: Pulling fs layer 09:39:58 1df406cf5192: Pulling fs layer 09:39:58 cd6300453558: Pulling fs layer 09:39:58 b9c365052c96: Pulling fs layer 09:39:58 a2d8cc88f415: Pulling fs layer 09:39:58 ea1d1ca13537: Pulling fs layer 09:39:58 3750a50a1c5e: Pulling fs layer 09:39:58 8a11ddd9e578: Waiting 09:39:58 b9c365052c96: Waiting 09:39:58 4cf88f913ddb: Waiting 09:39:58 a2d8cc88f415: Waiting 09:39:58 1df406cf5192: Waiting 09:39:58 ea1d1ca13537: Waiting 09:39:58 cd6300453558: Waiting 09:39:58 3750a50a1c5e: Waiting 09:39:58 777b28850792: Verifying Checksum 09:39:58 777b28850792: Download complete 09:39:58 2a23fa8c16f7: Verifying Checksum 09:39:58 2a23fa8c16f7: Download complete 09:39:58 4cf88f913ddb: Verifying Checksum 09:39:58 4cf88f913ddb: Download complete 09:39:58 1df406cf5192: Verifying Checksum 09:39:58 1df406cf5192: Download complete 09:39:58 cde5963f3b93: Verifying Checksum 09:39:58 cde5963f3b93: Download complete 09:39:59 cde5963f3b93: Pull complete 09:39:59 2a23fa8c16f7: Pull complete 09:40:00 777b28850792: Pull complete 09:40:02 cd6300453558: Verifying Checksum 09:40:02 cd6300453558: Download complete 09:40:02 a2d8cc88f415: Verifying Checksum 09:40:02 a2d8cc88f415: Download complete 09:40:05 ea1d1ca13537: Verifying Checksum 09:40:05 ea1d1ca13537: Download complete 09:40:05 3750a50a1c5e: Verifying Checksum 09:40:05 3750a50a1c5e: Download complete 09:40:07 b9c365052c96: Verifying Checksum 09:40:07 b9c365052c96: Download complete 09:40:09 8a11ddd9e578: Verifying Checksum 09:40:09 8a11ddd9e578: Download complete 09:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.022s coverage: 11.4% of statements 09:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.097s coverage: 38.5% of statements 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.286s coverage: 79.8% of statements 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:40:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.054s coverage: 52.6% of statements 09:40:18 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 09:40:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 71.4% of statements 09:40:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:40:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:40:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:40:18 gofmt -l . 09:40:18 internal/handler/callback/profile.go 09:40:18 [ "`gofmt -l .`" = "" ] 09:40:18 make: *** [Makefile:32: test] Error 1 [Pipeline] } 09:40:18 $ docker stop --time=1 e613c0e338f00ebef8593a7851a0acade018261b4e30360ae74e08f0f42226d4 09:40:19 $ docker rm -f e613c0e338f00ebef8593a7851a0acade018261b4e30360ae74e08f0f42226d4 [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] stage [Pipeline] { (Snap) Stage "Snap" 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] } 09:40:20 Failed in branch amd64 09:40:22 8a11ddd9e578: Pull complete 09:40:22 4cf88f913ddb: Pull complete 09:40:22 1df406cf5192: Pull complete 09:40:26 cd6300453558: Pull complete 09:40:31 b9c365052c96: Pull complete 09:40:31 a2d8cc88f415: Pull complete 09:40:33 ea1d1ca13537: Pull complete 09:40:33 3750a50a1c5e: Pull complete 09:40:33 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:40:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:40:33 ---> 78745c68409d 09:40:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:40:37 ---> Running in b7e0b35e0b70 09:40:37 Removing intermediate container b7e0b35e0b70 09:40:37 ---> 4677403ad3b9 09:40:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:40:37 ---> Running in 87da57ddabb6 09:40:39 Removing intermediate container 87da57ddabb6 09:40:39 ---> 13a5813d8cbb 09:40:39 Step 5/8 : RUN apk add --no-cache make git 09:40:39 ---> Running in ae3fb0a68f20 09:40:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:40:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:40:41 OK: 125 MiB in 39 packages 09:40:43 Removing intermediate container ae3fb0a68f20 09:40:43 ---> 30773ecc948f 09:40:43 Step 6/8 : WORKDIR /device-sdk-go 09:40:43 ---> Running in 4637eb28de82 09:40:43 Removing intermediate container 4637eb28de82 09:40:43 ---> 262bee68ee3b 09:40:43 Step 7/8 : COPY . . 09:40:44 ---> 6b0675895f81 09:40:44 Step 8/8 : RUN go mod download 09:40:44 ---> Running in 9b3bfc638940 09:40:52 go: finding github.com/BurntSushi/toml v0.3.1 09:40:52 go: finding github.com/OneOfOne/xxhash v1.2.6 09:40:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:40:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:40:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:40:52 go: finding github.com/bgentry/speakeasy v0.1.0 09:40:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:40:52 go: finding github.com/davecgh/go-spew v1.1.1 09:40:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 09:40:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:40:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:40:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:40:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:40:52 go: finding github.com/fatih/color v1.7.0 09:40:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:40:53 go: finding github.com/go-kit/kit v0.8.0 09:40:53 go: finding github.com/go-logfmt/logfmt v0.4.0 09:40:53 go: finding github.com/go-stack/stack v1.8.0 09:40:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:40:53 go: finding github.com/google/uuid v1.1.0 09:40:53 go: finding github.com/gorilla/mux v1.7.1 09:40:53 go: finding github.com/hashicorp/consul/api v1.1.0 09:40:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:40:53 go: finding github.com/hashicorp/errwrap v1.0.0 09:40:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:40:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:40:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:40:53 go: finding github.com/hashicorp/go-multierror v1.0.0 09:40:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:40:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:40:53 go: finding github.com/hashicorp/go-syslog v1.0.0 09:40:53 go: finding github.com/hashicorp/go-uuid v1.0.1 09:40:53 go: finding github.com/hashicorp/go.net v0.0.1 09:40:53 go: finding github.com/hashicorp/golang-lru v0.5.0 09:40:53 go: finding github.com/hashicorp/logutils v1.0.0 09:40:53 go: finding github.com/hashicorp/mdns v1.0.0 09:40:53 go: finding github.com/hashicorp/memberlist v0.1.3 09:40:53 go: finding github.com/hashicorp/serf v0.8.2 09:40:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:40:53 go: finding github.com/mattn/go-colorable v0.0.9 09:40:53 go: finding github.com/mattn/go-isatty v0.0.3 09:40:53 go: finding github.com/miekg/dns v1.0.14 09:40:53 go: finding github.com/mitchellh/cli v1.0.0 09:40:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:40:54 go: finding github.com/mitchellh/copystructure v1.0.0 09:40:54 go: finding github.com/mitchellh/go-homedir v1.0.0 09:40:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:40:54 go: finding github.com/mitchellh/gox v0.4.0 09:40:54 go: finding github.com/mitchellh/iochan v1.0.0 09:40:54 go: finding github.com/mitchellh/mapstructure v1.1.2 09:40:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:40:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:40:54 go: finding github.com/pelletier/go-toml v1.2.0 09:40:54 go: finding github.com/pkg/errors v0.8.1 09:40:54 go: finding github.com/pmezard/go-difflib v1.0.0 09:40:54 go: finding github.com/posener/complete v1.1.1 09:40:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:40:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:40:54 go: finding github.com/stretchr/objx v0.1.0 09:40:54 go: finding github.com/stretchr/testify v1.5.1 09:40:54 go: finding github.com/ugorji/go v1.1.4 09:40:54 go: finding github.com/x448/float16 v0.8.4 09:40:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:40:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:40:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:40:55 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:40:55 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:40:55 go: finding gopkg.in/yaml.v2 v2.2.8 09:41:05 Removing intermediate container 9b3bfc638940 09:41:05 ---> 491164847ca9 09:41:05 Successfully built 491164847ca9 09:41:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:41:05 + docker inspect -f . ci-base-image-arm64 09:41:06 . [Pipeline] withDockerContainer 09:41:06 prd-ubuntu18.04-docker-arm64-4c-16g-4248 does not seem to be running inside a container 09:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 09:41:07 $ docker top 2493cccb776f2cb62cce00a2f55862ec2577ad5ce35dee6df4202623266d8e83 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:08 + go version 09:41:08 go version go1.13.5 linux/arm64 [Pipeline] sh 09:41:09 + make test 09:41:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:41:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:41:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:41:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:41:39 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.033s coverage: 22.1% of statements 09:41:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.207s coverage: 95.8% of statements 09:42:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 11.4% of statements 09:42:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.027s coverage: 22.1% of statements 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:42:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.146s coverage: 38.5% of statements 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 09:42:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.682s coverage: 79.8% of statements 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:42:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.049s coverage: 52.6% of statements 09:42:12 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 09:42:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.355s coverage: 71.4% of statements 09:42:12 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:42:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:42:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:42:17 gofmt -l . 09:42:17 internal/handler/callback/profile.go 09:42:17 [ "`gofmt -l .`" = "" ] 09:42:17 make: *** [Makefile:32: test] Error 1 [Pipeline] } 09:42:17 $ docker stop --time=1 2493cccb776f2cb62cce00a2f55862ec2577ad5ce35dee6df4202623266d8e83 09:42:19 $ docker rm -f 2493cccb776f2cb62cce00a2f55862ec2577ad5ce35dee6df4202623266d8e83 [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] stage [Pipeline] { (Snap) Stage "Snap" 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] } 09:42:21 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 09:42:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:42:22 ---> package-listing.sh 09:42:22 ++ facter osfamily 09:42:22 ++ tr '[:upper:]' '[:lower:]' 09:42:22 + OS_FAMILY=redhat 09:42:22 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-485 09:42:22 + START_PACKAGES=/tmp/packages_start.txt 09:42:22 + END_PACKAGES=/tmp/packages_end.txt 09:42:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:42:22 + PACKAGES=/tmp/packages_start.txt 09:42:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-485 ']' 09:42:22 + PACKAGES=/tmp/packages_end.txt 09:42:22 + case "${OS_FAMILY}" in 09:42:22 + rpm -qa 09:42:22 + sort 09:42:26 + '[' -f /tmp/packages_start.txt ']' 09:42:26 + '[' -f /tmp/packages_end.txt ']' 09:42:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:42:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-485 ']' 09:42:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-485/archives/ 09:42:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-485/archives/ [Pipeline] isUnix [Pipeline] sh 09:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:42:27 09:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:42:27 alpine: Pulling from edgex-lftools-log-publisher 09:42:27 c9b1b535fdd9: Pulling fs layer 09:42:27 2cc5ad85d9ab: Pulling fs layer 09:42:27 756a868c4378: Pulling fs layer 09:42:27 444b2fc9a129: Pulling fs layer 09:42:27 ea15f1150254: Pulling fs layer 09:42:27 41b27a9f41bf: Pulling fs layer 09:42:27 28c525ee5125: Pulling fs layer 09:42:27 094b1ea09ed8: Pulling fs layer 09:42:27 138eaada9080: Pulling fs layer 09:42:27 0622d0fa9048: Pulling fs layer 09:42:27 28c525ee5125: Waiting 09:42:27 444b2fc9a129: Waiting 09:42:27 094b1ea09ed8: Waiting 09:42:27 41b27a9f41bf: Waiting 09:42:27 ea15f1150254: Waiting 09:42:27 0622d0fa9048: Waiting 09:42:27 138eaada9080: Waiting 09:42:27 2cc5ad85d9ab: Download complete 09:42:27 444b2fc9a129: Verifying Checksum 09:42:27 444b2fc9a129: Download complete 09:42:27 c9b1b535fdd9: Download complete 09:42:27 ea15f1150254: Verifying Checksum 09:42:27 ea15f1150254: Download complete 09:42:27 28c525ee5125: Verifying Checksum 09:42:27 28c525ee5125: Download complete 09:42:27 756a868c4378: Verifying Checksum 09:42:27 756a868c4378: Download complete 09:42:28 c9b1b535fdd9: Pull complete 09:42:28 138eaada9080: Download complete 09:42:28 0622d0fa9048: Verifying Checksum 09:42:28 0622d0fa9048: Download complete 09:42:28 094b1ea09ed8: Verifying Checksum 09:42:28 094b1ea09ed8: Download complete 09:42:28 2cc5ad85d9ab: Pull complete 09:42:28 41b27a9f41bf: Verifying Checksum 09:42:28 41b27a9f41bf: Download complete 09:42:29 756a868c4378: Pull complete 09:42:29 444b2fc9a129: Pull complete 09:42:30 ea15f1150254: Pull complete 09:42:33 41b27a9f41bf: Pull complete 09:42:33 28c525ee5125: Pull complete 09:42:35 094b1ea09ed8: Pull complete 09:42:35 138eaada9080: Pull complete 09:42:35 0622d0fa9048: Pull complete 09:42:35 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:42:35 prd-centos7-docker-4c-2g-4246 does not seem to be running inside a container 09:42:35 $ 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-485 -v /w/workspace/dgexfoundry_device-sdk-go_PR-485:/w/workspace/dgexfoundry_device-sdk-go_PR-485:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-485@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 09:42:36 $ docker top 98f4e7cfb04e71f34a281711e328f5e39175757a28e08fe6c8e498a046a1f91e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:37 provisioning config files... 09:42:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-485@tmp/config3237242013020036722tmp [Pipeline] { [Pipeline] echo 09:42:37 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:42:37 ---> create-netrc.sh [Pipeline] echo 09:42:37 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:42:37 ---> logs-deploy.sh 09:42:37 + ARCHIVE_ARTIFACTS= 09:42:37 + LOGS_SERVER=https://logs.edgexfoundry.org 09:42:37 + '[' https://logs.edgexfoundry.org == None ']' 09:42:37 + NEXUS_URL=https://nexus.edgexfoundry.org 09:42:37 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-485/2 09:42:37 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-485/2/ 09:42:37 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-485/2 /w/workspace/dgexfoundry_device-sdk-go_PR-485 09:42:38 Archives upload complete. 09:42:38 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-485/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-485/2/ 09:42:39 ---> uname -a: 09:42:39 Linux 98f4e7cfb04e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 09:42:39 09:42:39