Pull request #571 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0bb4af0a0b39c2f747a5c469e7288e784fdbd304+108cafbdc36a33829f2cd6e77abc07459d29f393 (11e7372f30f607e15f570e59df2884adb48b1fe0) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-571/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-378 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 Merge succeeded, producing 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 Checking out Revision 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 (PR-571) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # 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 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-26T07:19:37.974Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-26T07:19:38.283Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-26T07:19:38.480Z] ========================================================= [2020-08-26T07:19:38.480Z] EdgeX Global Pipelines Version Info [2020-08-26T07:19:38.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:19:39.928Z] ------------------- [2020-08-26T07:19:39.928Z] stable info: [2020-08-26T07:19:39.928Z] ------------------- [2020-08-26T07:19:39.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-26T07:19:39.928Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-26T07:19:39.928Z] Message: update stable to v1.0.106 [2020-08-26T07:19:40.870Z] ------------------- [2020-08-26T07:19:40.870Z] experimental info: [2020-08-26T07:19:40.870Z] ------------------- [2020-08-26T07:19:40.870Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-26T07:19:40.870Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-26T07:19:40.870Z] Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-26T07:19:43.482Z] + git log --format=format:%s -1 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [Pipeline] echo [2020-08-26T07:19:43.557Z] GIT_COMMIT: 0bb4af0a0b39c2f747a5c469e7288e784fdbd304, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo [2020-08-26T07:19:43.635Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:19:44.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-26T07:19:45.052Z] [2020-08-26T07:19:45.052Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:19:45.442Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-26T07:19:45.442Z] latest: Pulling from edgex-devops/git-semver [2020-08-26T07:19:45.442Z] 31603596830f: Pulling fs layer [2020-08-26T07:19:45.442Z] 2a8b12db71e7: Pulling fs layer [2020-08-26T07:19:45.442Z] 6ca5941a6612: Pulling fs layer [2020-08-26T07:19:45.442Z] ecc8261a40a4: Pulling fs layer [2020-08-26T07:19:45.442Z] ecc8261a40a4: Waiting [2020-08-26T07:19:45.442Z] 2a8b12db71e7: Verifying Checksum [2020-08-26T07:19:45.442Z] 2a8b12db71e7: Download complete [2020-08-26T07:19:45.712Z] 31603596830f: Verifying Checksum [2020-08-26T07:19:45.712Z] 31603596830f: Download complete [2020-08-26T07:19:45.712Z] ecc8261a40a4: Verifying Checksum [2020-08-26T07:19:45.712Z] ecc8261a40a4: Download complete [2020-08-26T07:19:45.712Z] 6ca5941a6612: Verifying Checksum [2020-08-26T07:19:45.712Z] 6ca5941a6612: Download complete [2020-08-26T07:19:45.975Z] 31603596830f: Pull complete [2020-08-26T07:19:45.975Z] 2a8b12db71e7: Pull complete [2020-08-26T07:19:46.932Z] 6ca5941a6612: Pull complete [2020-08-26T07:19:46.932Z] ecc8261a40a4: Pull complete [2020-08-26T07:19:46.932Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-26T07:19:46.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-26T07:19:46.932Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-26T07:19:47.106Z] prd-centos7-docker-4c-2g-378 does not seem to be running inside a container [2020-08-26T07:19:47.154Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-26T07:19:49.638Z] $ docker top 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-26T07:19:50.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-26T07:19:50.047Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-26T07:19:50.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-26T07:19:50.271Z] $ docker exec 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 ssh-agent [2020-08-26T07:19:50.421Z] SSH_AUTH_SOCK=/tmp/ssh-oRRzeH87QdRm/agent.11 [2020-08-26T07:19:50.421Z] SSH_AGENT_PID=16 [2020-08-26T07:19:50.434Z] Running ssh-add (command line suppressed) [2020-08-26T07:19:50.551Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4603952419103463481.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4603952419103463481.key) [2020-08-26T07:19:50.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-26T07:19:50.997Z] + git describe --exact-match --tags HEAD [2020-08-26T07:19:50.997Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-26T07:19:51.122Z] $ docker exec --env ******** --env ******** 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 ssh-agent -k [2020-08-26T07:19:51.243Z] unset SSH_AUTH_SOCK; [2020-08-26T07:19:51.244Z] unset SSH_AGENT_PID; [2020-08-26T07:19:51.244Z] echo Agent pid 16 killed; [2020-08-26T07:19:51.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-26T07:19:51.464Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-26T07:19:51.464Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-26T07:19:51.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-26T07:19:51.659Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-26T07:19:51.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-26T07:19:51.826Z] $ docker exec 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 ssh-agent [2020-08-26T07:19:51.976Z] SSH_AUTH_SOCK=/tmp/ssh-5plkGo20t29H/agent.44 [2020-08-26T07:19:51.976Z] SSH_AGENT_PID=49 [2020-08-26T07:19:51.983Z] Running ssh-add (command line suppressed) [2020-08-26T07:19:52.110Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_2239576109491188057.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_2239576109491188057.key) [2020-08-26T07:19:52.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-26T07:19:52.527Z] + git semver init [2020-08-26T07:19:52.527Z] # -> Open(): unable to determine branch for HEAD [2020-08-26T07:19:52.527Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-08-26T07:19:52.527Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-08-26T07:19:52.527Z] # $SEMVER_REMOTE_NAME = origin [2020-08-26T07:19:52.527Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-26T07:19:52.527Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-26T07:19:52.527Z] # $SEMVER_BRANCH = PR-571 [2020-08-26T07:19:52.527Z] # $SEMVER_TEMP = /tmp/semver-243323898 [2020-08-26T07:19:52.527Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-08-26T07:19:53.101Z] # '/tmp/semver-243323898' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-08-26T07:19:53.101Z] # -> Force: false [2020-08-26T07:19:53.101Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-08-26T07:19:53.125Z] $ docker exec --env ******** --env ******** 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 ssh-agent -k [2020-08-26T07:19:53.241Z] unset SSH_AUTH_SOCK; [2020-08-26T07:19:53.241Z] unset SSH_AGENT_PID; [2020-08-26T07:19:53.241Z] echo Agent pid 49 killed; [2020-08-26T07:19:53.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-26T07:19:53.837Z] + git semver [Pipeline] } [2020-08-26T07:19:53.868Z] $ docker stop --time=1 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 [2020-08-26T07:19:55.272Z] $ docker rm -f 88d56d16d972d78f7a0b7362ffa8406fb2b4eb23f25921fd2f3f249fc5a0ae17 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-26T07:19:56.113Z] Stashed 30 file(s) [Pipeline] echo [2020-08-26T07:19:56.133Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-26T07:19:56.262Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 [2020-08-26T07:20:12.030Z] Still waiting to schedule task [2020-08-26T07:20:12.030Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-26T07:20:12.056Z] Still waiting to schedule task [2020-08-26T07:20:12.057Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-26T07:21:58.133Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-379 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-08-26T07:21:58.212Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-08-26T07:22:03.314Z] using credential edgex-jenkins-ssh [2020-08-26T07:22:03.483Z] Cloning the remote Git repository [2020-08-26T07:22:03.483Z] Cloning with configured refspecs honoured and without tags [2020-08-26T07:22:03.545Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:22:03.649Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-08-26T07:22:03.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:22:03.719Z] > git --version # timeout=10 [2020-08-26T07:22:03.734Z] > git --version # 'git version 2.17.1' [2020-08-26T07:22:03.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:22:03.823Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:22:04.972Z] Fetching without tags [2020-08-26T07:22:05.504Z] Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [2020-08-26T07:22:05.781Z] Merge succeeded, producing 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [2020-08-26T07:22:05.782Z] Checking out Revision 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 (PR-571) [2020-08-26T07:22:04.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:22:04.900Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-08-26T07:22:04.918Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:22:04.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:22:04.988Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:22:04.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:22:05.005Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:22:05.532Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:22:05.561Z] > git checkout -f 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # timeout=10 [2020-08-26T07:22:05.678Z] > git remote # timeout=10 [2020-08-26T07:22:05.705Z] > git config --get remote.origin.url # timeout=10 [2020-08-26T07:22:05.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:22:05.735Z] > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 [2020-08-26T07:22:05.757Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-26T07:22:05.793Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:22:05.817Z] > git checkout -f 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # timeout=10 [2020-08-26T07:22:10.036Z] Commit message: "Remove globalvars and refactor remaining packages" [2020-08-26T07:22:10.092Z] > git --version # timeout=10 [2020-08-26T07:22:10.100Z] > git --version # 'git version 2.17.1' [2020-08-26T07:22:10.111Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-26T07:22:11.631Z] ========================================================= [2020-08-26T07:22:11.631Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-26T07:22:11.631Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:22:12.736Z] + 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 . [2020-08-26T07:22:13.751Z] Sending build context to Docker daemon 3.163MB [2020-08-26T07:22:13.751Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-26T07:22:13.751Z] Step 2/8 : FROM ${BASE} [2020-08-26T07:22:14.028Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-26T07:22:14.028Z] b538f80385f9: Pulling fs layer [2020-08-26T07:22:14.028Z] 74f711af9a0d: Pulling fs layer [2020-08-26T07:22:14.028Z] 99f96fe45779: Pulling fs layer [2020-08-26T07:22:14.028Z] fd7a069fd194: Pulling fs layer [2020-08-26T07:22:14.028Z] 66aa3694b03b: Pulling fs layer [2020-08-26T07:22:14.028Z] 170f70906a0f: Pulling fs layer [2020-08-26T07:22:14.028Z] ad7c5574e4b9: Pulling fs layer [2020-08-26T07:22:14.028Z] e772456be8f7: Pulling fs layer [2020-08-26T07:22:14.028Z] c890913d741a: Pulling fs layer [2020-08-26T07:22:14.028Z] 2480fcc9aa5a: Pulling fs layer [2020-08-26T07:22:14.028Z] 09adf4765672: Pulling fs layer [2020-08-26T07:22:14.028Z] 66aa3694b03b: Waiting [2020-08-26T07:22:14.028Z] 170f70906a0f: Waiting [2020-08-26T07:22:14.028Z] ad7c5574e4b9: Waiting [2020-08-26T07:22:14.028Z] e772456be8f7: Waiting [2020-08-26T07:22:14.028Z] c890913d741a: Waiting [2020-08-26T07:22:14.028Z] 2480fcc9aa5a: Waiting [2020-08-26T07:22:14.028Z] 09adf4765672: Waiting [2020-08-26T07:22:14.028Z] fd7a069fd194: Waiting [2020-08-26T07:22:14.028Z] 99f96fe45779: Verifying Checksum [2020-08-26T07:22:14.028Z] 99f96fe45779: Download complete [2020-08-26T07:22:14.028Z] 74f711af9a0d: Download complete [2020-08-26T07:22:14.028Z] 66aa3694b03b: Verifying Checksum [2020-08-26T07:22:14.028Z] 66aa3694b03b: Download complete [2020-08-26T07:22:14.028Z] 170f70906a0f: Download complete [2020-08-26T07:22:14.308Z] b538f80385f9: Download complete [2020-08-26T07:22:14.922Z] b538f80385f9: Pull complete [2020-08-26T07:22:15.929Z] 74f711af9a0d: Pull complete [2020-08-26T07:22:16.209Z] 99f96fe45779: Pull complete [2020-08-26T07:22:16.209Z] ad7c5574e4b9: Download complete [2020-08-26T07:22:16.209Z] c890913d741a: Verifying Checksum [2020-08-26T07:22:16.209Z] c890913d741a: Download complete [2020-08-26T07:22:18.205Z] 2480fcc9aa5a: Verifying Checksum [2020-08-26T07:22:18.205Z] 2480fcc9aa5a: Download complete [2020-08-26T07:22:18.205Z] 09adf4765672: Download complete [2020-08-26T07:22:19.637Z] e772456be8f7: Verifying Checksum [2020-08-26T07:22:19.637Z] e772456be8f7: Download complete [2020-08-26T07:22:19.637Z] fd7a069fd194: Verifying Checksum [2020-08-26T07:22:19.637Z] fd7a069fd194: Download complete [2020-08-26T07:22:32.044Z] fd7a069fd194: Pull complete [2020-08-26T07:22:32.044Z] 66aa3694b03b: Pull complete [2020-08-26T07:22:32.044Z] 170f70906a0f: Pull complete [2020-08-26T07:22:35.445Z] ad7c5574e4b9: Pull complete [2020-08-26T07:22:39.767Z] e772456be8f7: Pull complete [2020-08-26T07:22:40.046Z] c890913d741a: Pull complete [2020-08-26T07:22:42.688Z] 2480fcc9aa5a: Pull complete [2020-08-26T07:22:42.688Z] 09adf4765672: Pull complete [2020-08-26T07:22:42.688Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-26T07:22:42.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-26T07:22:42.688Z] ---> 2248a725d1cf [2020-08-26T07:22:42.688Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:22:48.092Z] ---> Running in fa48a0bfb5be [2020-08-26T07:22:48.092Z] Removing intermediate container fa48a0bfb5be [2020-08-26T07:22:48.092Z] ---> 4e2b06a35352 [2020-08-26T07:22:48.092Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-26T07:22:48.092Z] ---> Running in 44cf8c53fd60 [2020-08-26T07:22:50.712Z] Removing intermediate container 44cf8c53fd60 [2020-08-26T07:22:50.712Z] ---> 8f7e98506232 [2020-08-26T07:22:50.712Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-26T07:22:50.712Z] ---> Running in 67f80b234f61 [2020-08-26T07:22:52.148Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-26T07:22:53.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-26T07:22:53.841Z] OK: 142 MiB in 39 packages [2020-08-26T07:22:54.838Z] Removing intermediate container 67f80b234f61 [2020-08-26T07:22:54.838Z] ---> 293391ffb05d [2020-08-26T07:22:54.838Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-26T07:22:55.112Z] ---> Running in 6f964f7acf7b [2020-08-26T07:22:55.398Z] Removing intermediate container 6f964f7acf7b [2020-08-26T07:22:55.398Z] ---> d81fe022e760 [2020-08-26T07:22:55.398Z] Step 7/8 : COPY . . [2020-08-26T07:22:56.834Z] ---> 02e6528de148 [2020-08-26T07:22:56.834Z] Step 8/8 : RUN go mod download [2020-08-26T07:22:57.110Z] ---> Running in 26a679466a0f [2020-08-26T07:22:58.182Z] Running on prd-centos7-docker-4c-2g-380 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-08-26T07:22:58.266Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-08-26T07:23:00.489Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-26T07:23:00.489Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-26T07:23:00.489Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-26T07:23:00.489Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-26T07:23:00.489Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-26T07:23:00.489Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-26T07:23:00.489Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-26T07:23:00.489Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-26T07:23:00.489Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-26T07:23:00.489Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-26T07:23:00.489Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-26T07:23:00.489Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-26T07:23:00.761Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-26T07:23:00.761Z] go: finding github.com/fatih/color v1.7.0 [2020-08-26T07:23:00.761Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-26T07:23:00.761Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-26T07:23:00.761Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-26T07:23:00.761Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-26T07:23:01.030Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-26T07:23:01.030Z] go: finding github.com/google/uuid v1.1.0 [2020-08-26T07:23:01.030Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-26T07:23:01.030Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-26T07:23:01.030Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-26T07:23:01.302Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-26T07:23:01.571Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-26T07:23:01.571Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-26T07:23:01.571Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-26T07:23:01.571Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-26T07:23:01.571Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-26T07:23:01.571Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-26T07:23:01.842Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-26T07:23:01.842Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-26T07:23:01.842Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-26T07:23:01.842Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-26T07:23:01.842Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-26T07:23:01.842Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-26T07:23:02.113Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-26T07:23:02.384Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-26T07:23:02.384Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-26T07:23:02.384Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-26T07:23:02.384Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-26T07:23:02.384Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-26T07:23:02.384Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-26T07:23:02.654Z] go: finding github.com/posener/complete v1.1.1 [2020-08-26T07:23:02.654Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-26T07:23:02.654Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-26T07:23:02.654Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-26T07:23:02.654Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-26T07:23:02.654Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-26T07:23:02.654Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-26T07:23:02.925Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-26T07:23:02.925Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-26T07:23:02.925Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-26T07:23:02.925Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-26T07:23:02.925Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-26T07:23:02.925Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-26T07:23:07.398Z] using credential edgex-jenkins-ssh [2020-08-26T07:23:07.456Z] Cloning the remote Git repository [2020-08-26T07:23:07.456Z] Cloning with configured refspecs honoured and without tags [2020-08-26T07:23:07.558Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:23:07.640Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-08-26T07:23:07.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:23:07.698Z] > git --version # timeout=10 [2020-08-26T07:23:07.716Z] > git --version # 'git version 2.16.5' [2020-08-26T07:23:07.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:23:07.760Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:23:08.584Z] Fetching without tags [2020-08-26T07:23:09.074Z] Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [2020-08-26T07:23:08.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:23:08.480Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-08-26T07:23:08.496Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:23:08.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:23:08.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:23:08.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:23:08.614Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:23:09.088Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:23:09.099Z] > git checkout -f 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # timeout=10 [2020-08-26T07:23:09.226Z] Merge succeeded, producing 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [2020-08-26T07:23:09.226Z] Checking out Revision 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 (PR-571) [2020-08-26T07:23:09.161Z] > git remote # timeout=10 [2020-08-26T07:23:09.176Z] > git config --get remote.origin.url # timeout=10 [2020-08-26T07:23:09.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:23:09.196Z] > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 [2020-08-26T07:23:09.208Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-26T07:23:09.233Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:23:09.266Z] > git checkout -f 0bb4af0a0b39c2f747a5c469e7288e784fdbd304 # timeout=10 [2020-08-26T07:23:13.079Z] Removing intermediate container 26a679466a0f [2020-08-26T07:23:13.079Z] ---> 574d63082d46 [2020-08-26T07:23:13.079Z] Successfully built 574d63082d46 [2020-08-26T07:23:13.079Z] Successfully tagged ci-base-image-arm64:latest [2020-08-26T07:23:13.152Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] } [2020-08-26T07:23:13.187Z] > git --version # timeout=10 [2020-08-26T07:23:13.200Z] > git --version # 'git version 2.16.5' [2020-08-26T07:23:13.208Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-08-26T07:23:14.290Z] + docker inspect -f . ci-base-image-arm64 [2020-08-26T07:23:14.290Z] . [Pipeline] withDockerContainer [2020-08-26T07:23:14.586Z] prd-ubuntu18.04-docker-arm64-4c-16g-379 does not seem to be running inside a container [2020-08-26T07:23:14.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-08-26T07:23:16.527Z] $ docker top 0a9b2ffa5138cdf56f54c434159924543d022a2562d560006c69145da5908daa -eo pid,comm [Pipeline] { [Pipeline] echo [2020-08-26T07:23:16.976Z] ========================================================= [2020-08-26T07:23:16.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-26T07:23:16.976Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:23:17.744Z] + 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 . [2020-08-26T07:23:18.024Z] + go version [2020-08-26T07:23:18.024Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-26T07:23:18.377Z] Sending build context to Docker daemon 3.163MB [2020-08-26T07:23:18.377Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-26T07:23:18.377Z] Step 2/8 : FROM ${BASE} [2020-08-26T07:23:18.377Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-26T07:23:18.377Z] df20fa9351a1: Pulling fs layer [2020-08-26T07:23:18.377Z] ed8968b2872e: Pulling fs layer [2020-08-26T07:23:18.377Z] a92cc7c5fd73: Pulling fs layer [2020-08-26T07:23:18.377Z] 2dd03ba5bac4: Pulling fs layer [2020-08-26T07:23:18.377Z] 1e091d79d1de: Pulling fs layer [2020-08-26T07:23:18.377Z] 481702a1767f: Pulling fs layer [2020-08-26T07:23:18.377Z] f64a6f60c768: Pulling fs layer [2020-08-26T07:23:18.377Z] e78d2573fc39: Pulling fs layer [2020-08-26T07:23:18.377Z] e876d2f968b6: Pulling fs layer [2020-08-26T07:23:18.377Z] ce8a83651883: Pulling fs layer [2020-08-26T07:23:18.377Z] 07967f4d0e4b: Pulling fs layer [2020-08-26T07:23:18.377Z] f64a6f60c768: Waiting [2020-08-26T07:23:18.377Z] e78d2573fc39: Waiting [2020-08-26T07:23:18.377Z] ce8a83651883: Waiting [2020-08-26T07:23:18.377Z] e876d2f968b6: Waiting [2020-08-26T07:23:18.377Z] 07967f4d0e4b: Waiting [2020-08-26T07:23:18.377Z] 2dd03ba5bac4: Waiting [2020-08-26T07:23:18.377Z] 1e091d79d1de: Waiting [2020-08-26T07:23:18.377Z] 481702a1767f: Waiting [2020-08-26T07:23:18.668Z] a92cc7c5fd73: Verifying Checksum [2020-08-26T07:23:18.668Z] a92cc7c5fd73: Download complete [2020-08-26T07:23:18.668Z] ed8968b2872e: Download complete [2020-08-26T07:23:18.668Z] 1e091d79d1de: Verifying Checksum [2020-08-26T07:23:18.668Z] 1e091d79d1de: Download complete [2020-08-26T07:23:18.668Z] 481702a1767f: Verifying Checksum [2020-08-26T07:23:18.668Z] 481702a1767f: Download complete [2020-08-26T07:23:18.668Z] df20fa9351a1: Verifying Checksum [2020-08-26T07:23:18.668Z] df20fa9351a1: Download complete [2020-08-26T07:23:19.087Z] + make test [2020-08-26T07:23:19.087Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-26T07:23:19.409Z] df20fa9351a1: Pull complete [2020-08-26T07:23:19.410Z] ed8968b2872e: Pull complete [2020-08-26T07:23:19.752Z] a92cc7c5fd73: Pull complete [2020-08-26T07:23:20.089Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-26T07:23:20.875Z] f64a6f60c768: Verifying Checksum [2020-08-26T07:23:20.875Z] f64a6f60c768: Download complete [2020-08-26T07:23:20.875Z] e876d2f968b6: Download complete [2020-08-26T07:23:22.087Z] 2dd03ba5bac4: Verifying Checksum [2020-08-26T07:23:22.087Z] 2dd03ba5bac4: Download complete [2020-08-26T07:23:22.087Z] 07967f4d0e4b: Verifying Checksum [2020-08-26T07:23:22.087Z] 07967f4d0e4b: Download complete [2020-08-26T07:23:22.087Z] e78d2573fc39: Verifying Checksum [2020-08-26T07:23:22.087Z] e78d2573fc39: Download complete [2020-08-26T07:23:22.397Z] ce8a83651883: Verifying Checksum [2020-08-26T07:23:22.397Z] ce8a83651883: Download complete [2020-08-26T07:23:29.249Z] 2dd03ba5bac4: Pull complete [2020-08-26T07:23:29.249Z] 1e091d79d1de: Pull complete [2020-08-26T07:23:29.249Z] 481702a1767f: Pull complete [2020-08-26T07:23:34.724Z] f64a6f60c768: Pull complete [2020-08-26T07:23:38.257Z] e78d2573fc39: Pull complete [2020-08-26T07:23:38.257Z] e876d2f968b6: Pull complete [2020-08-26T07:23:39.768Z] ce8a83651883: Pull complete [2020-08-26T07:23:40.387Z] 07967f4d0e4b: Pull complete [2020-08-26T07:23:40.387Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-26T07:23:40.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-26T07:23:40.387Z] ---> 5d7c900382c6 [2020-08-26T07:23:40.387Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:23:40.991Z] ---> Running in 1d95af614a52 [2020-08-26T07:23:41.268Z] Removing intermediate container 1d95af614a52 [2020-08-26T07:23:41.268Z] ---> 1c8f1bb2bfd9 [2020-08-26T07:23:41.268Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-26T07:23:41.268Z] ---> Running in 8f8b422d9cc8 [2020-08-26T07:23:42.714Z] Removing intermediate container 8f8b422d9cc8 [2020-08-26T07:23:42.714Z] ---> 453acb2dec48 [2020-08-26T07:23:42.714Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-26T07:23:42.988Z] ---> Running in d7b55ff457a6 [2020-08-26T07:23:43.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-26T07:23:44.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-26T07:23:44.857Z] OK: 166 MiB in 39 packages [2020-08-26T07:23:45.497Z] Removing intermediate container d7b55ff457a6 [2020-08-26T07:23:45.497Z] ---> bd740a0695c8 [2020-08-26T07:23:45.497Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-26T07:23:45.497Z] ---> Running in 2fd972bc0ea8 [2020-08-26T07:23:45.787Z] Removing intermediate container 2fd972bc0ea8 [2020-08-26T07:23:45.787Z] ---> 716043aaacc0 [2020-08-26T07:23:45.787Z] Step 7/8 : COPY . . [2020-08-26T07:23:46.992Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-26T07:23:46.992Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-26T07:23:46.992Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-26T07:23:47.322Z] ---> d6c5b909cea3 [2020-08-26T07:23:47.322Z] Step 8/8 : RUN go mod download [2020-08-26T07:23:47.322Z] ---> Running in b3ef18b9340a [2020-08-26T07:23:49.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 20.8% of statements [2020-08-26T07:23:49.978Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-26T07:23:49.978Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-26T07:23:49.978Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-26T07:23:49.978Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-26T07:23:49.978Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-26T07:23:49.978Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-26T07:23:49.978Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-26T07:23:49.978Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-26T07:23:49.978Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-26T07:23:49.978Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-26T07:23:49.978Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-26T07:23:49.978Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-26T07:23:49.978Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-26T07:23:50.267Z] go: finding github.com/fatih/color v1.7.0 [2020-08-26T07:23:50.267Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-26T07:23:50.268Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-26T07:23:50.268Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-26T07:23:50.268Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-26T07:23:50.268Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-26T07:23:50.268Z] go: finding github.com/google/uuid v1.1.0 [2020-08-26T07:23:50.535Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-26T07:23:50.535Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-26T07:23:50.535Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-26T07:23:50.535Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-26T07:23:50.535Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-26T07:23:50.535Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-26T07:23:50.535Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-26T07:23:50.800Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-26T07:23:50.800Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-26T07:23:50.800Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-26T07:23:50.800Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-26T07:23:50.800Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-26T07:23:51.065Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-26T07:23:51.065Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-26T07:23:51.065Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-26T07:23:51.065Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-26T07:23:51.065Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-26T07:23:51.065Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-26T07:23:51.346Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-26T07:23:51.346Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-26T07:23:51.346Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-26T07:23:51.346Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-26T07:23:51.346Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-26T07:23:51.346Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-26T07:23:51.620Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-26T07:23:51.620Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-26T07:23:51.620Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-26T07:23:51.620Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-26T07:23:51.620Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-26T07:23:51.620Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-26T07:23:51.907Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-26T07:23:51.907Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-26T07:23:51.907Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-26T07:23:51.907Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-26T07:23:51.907Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-26T07:23:51.907Z] go: finding github.com/posener/complete v1.1.1 [2020-08-26T07:23:52.172Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-26T07:23:52.172Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-26T07:23:52.172Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-26T07:23:52.172Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-26T07:23:52.172Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-26T07:23:52.172Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-26T07:23:52.453Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 97.1% of statements [2020-08-26T07:23:52.455Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-26T07:23:52.455Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-26T07:23:52.455Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-26T07:23:52.455Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-26T07:23:52.455Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-26T07:23:52.455Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-26T07:24:02.905Z] Removing intermediate container b3ef18b9340a [2020-08-26T07:24:02.905Z] ---> 9f3bdc859cd4 [2020-08-26T07:24:02.905Z] Successfully built 9f3bdc859cd4 [2020-08-26T07:24:02.905Z] 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 [2020-08-26T07:24:04.043Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-26T07:24:04.313Z] . [Pipeline] withDockerContainer [2020-08-26T07:24:04.571Z] prd-centos7-docker-4c-2g-380 does not seem to be running inside a container [2020-08-26T07:24:04.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-08-26T07:24:06.246Z] $ docker top 5220cb5899a8ee004dc4e8b7d3c177e58e45ca2f5d91fa8ce12f29f38ee907a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-26T07:24:06.925Z] + go version [2020-08-26T07:24:06.925Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-26T07:24:07.355Z] + make test [2020-08-26T07:24:07.355Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-26T07:24:08.943Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-26T07:24:24.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.016s coverage: 9.4% of statements [2020-08-26T07:24:24.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.9% of statements [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-26T07:24:24.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.076s coverage: 37.0% of statements [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-26T07:24:24.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.118s coverage: 65.4% of statements [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-26T07:24:24.838Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements [2020-08-26T07:24:24.838Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-26T07:24:24.838Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-26T07:24:24.838Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-26T07:24:25.393Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-26T07:24:25.393Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-26T07:24:25.393Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-26T07:24:25.393Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 20.8% of statements [2020-08-26T07:24:25.666Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 97.1% of statements [2020-08-26T07:24:26.850Z] gofmt -l . [2020-08-26T07:24:27.137Z] [ "`gofmt -l .`" = "" ] [2020-08-26T07:24:27.739Z] ./bin/test-attribution-txt.sh [2020-08-26T07:24:28.332Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-26T07:24:29.742Z] Stashed 1 file(s) [Pipeline] } [2020-08-26T07:24:29.762Z] $ docker stop --time=1 0a9b2ffa5138cdf56f54c434159924543d022a2562d560006c69145da5908daa [2020-08-26T07:24:31.939Z] $ docker rm -f 0a9b2ffa5138cdf56f54c434159924543d022a2562d560006c69145da5908daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-26T07:24:35.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-26T07:24:35.599Z] + ls -al . [2020-08-26T07:24:35.599Z] total 228 [2020-08-26T07:24:35.599Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 26 07:24 . [2020-08-26T07:24:35.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 07:22 .. [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 26 07:22 .dockerignore [2020-08-26T07:24:35.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 07:22 .git [2020-08-26T07:24:35.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 07:22 .github [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 26 07:22 .gitignore [2020-08-26T07:24:35.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 07:22 .semver [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 936 Aug 26 07:22 Dockerfile.build [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 808 Aug 26 07:22 Jenkinsfile [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 26 07:22 LICENSE [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 892 Aug 26 07:22 Makefile [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 5101 Aug 26 07:22 README.md [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 4291 Aug 26 07:22 RELEASE-NOTES.txt [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 07:19 VERSION [2020-08-26T07:24:35.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 07:22 bin [2020-08-26T07:24:35.599Z] -rw-r--r-- 1 jenkins jenkins 110898 Aug 26 07:24 coverage.out [2020-08-26T07:24:35.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 07:22 example [2020-08-26T07:24:35.599Z] -rw-r--r-- 1 jenkins jenkins 446 Aug 26 07:24 go.mod [2020-08-26T07:24:35.599Z] -rw-r--r-- 1 jenkins jenkins 12179 Aug 26 07:24 go.sum [2020-08-26T07:24:35.599Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 26 07:22 internal [2020-08-26T07:24:35.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 07:22 openapi [2020-08-26T07:24:35.599Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 26 07:22 pkg [2020-08-26T07:24:35.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 07:22 snap [2020-08-26T07:24:35.599Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 26 07:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:24:35.965Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0bb4af0a0b39c2f747a5c469e7288e784fdbd304 --label arch=arm64 --label version=0.0.0 . [2020-08-26T07:24:36.237Z] Sending build context to Docker daemon 3.274MB [2020-08-26T07:24:36.509Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-26T07:24:36.509Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-26T07:24:36.509Z] ---> 574d63082d46 [2020-08-26T07:24:36.509Z] Step 3/23 : ARG MAKE='make build' [2020-08-26T07:24:36.509Z] ---> Running in 6b9bac3e98d6 [2020-08-26T07:24:37.103Z] Removing intermediate container 6b9bac3e98d6 [2020-08-26T07:24:37.103Z] ---> d2b086186e5d [2020-08-26T07:24:37.103Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-26T07:24:37.103Z] ---> Running in 05e68e6296be [2020-08-26T07:24:37.697Z] Removing intermediate container 05e68e6296be [2020-08-26T07:24:37.697Z] ---> 2ddf9cf77ee9 [2020-08-26T07:24:37.697Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:24:37.697Z] ---> Running in fa9a464a031f [2020-08-26T07:24:38.292Z] Removing intermediate container fa9a464a031f [2020-08-26T07:24:38.292Z] ---> f8b04f2ebcdc [2020-08-26T07:24:38.292Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-26T07:24:38.292Z] ---> Running in b34fecc5773d [2020-08-26T07:24:40.917Z] Removing intermediate container b34fecc5773d [2020-08-26T07:24:40.917Z] ---> 9026201e3ac1 [2020-08-26T07:24:40.917Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-26T07:24:40.917Z] ---> Running in b92eac98c673 [2020-08-26T07:24:42.359Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-26T07:24:42.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-26T07:24:43.926Z] OK: 142 MiB in 39 packages [2020-08-26T07:24:44.899Z] Removing intermediate container b92eac98c673 [2020-08-26T07:24:44.899Z] ---> a805dd03a1db [2020-08-26T07:24:44.899Z] Step 8/23 : COPY . . [2020-08-26T07:24:45.883Z] ---> 43c8f2e13278 [2020-08-26T07:24:45.883Z] Step 9/23 : RUN ${MAKE} [2020-08-26T07:24:46.157Z] ---> Running in 1e5ee954330f [2020-08-26T07:24:47.588Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-08-26T07:24:58.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 9.4% of statements [2020-08-26T07:24:58.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.9% of statements [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-26T07:24:58.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.044s coverage: 37.0% of statements [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-26T07:24:58.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 65.4% of statements [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-26T07:24:58.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.085s coverage: 52.6% of statements [2020-08-26T07:24:58.348Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.306s coverage: 68.9% of statements [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-26T07:24:58.348Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-26T07:24:58.348Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-26T07:25:00.457Z] gofmt -l . [2020-08-26T07:25:00.457Z] [ "`gofmt -l .`" = "" ] [2020-08-26T07:25:00.733Z] ./bin/test-attribution-txt.sh [2020-08-26T07:25:02.171Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-26T07:25:02.493Z] Warning: overwriting stash ‘coverage-report’ [2020-08-26T07:25:03.006Z] Stashed 1 file(s) [Pipeline] } [2020-08-26T07:25:03.030Z] $ docker stop --time=1 5220cb5899a8ee004dc4e8b7d3c177e58e45ca2f5d91fa8ce12f29f38ee907a7 [2020-08-26T07:25:04.744Z] $ docker rm -f 5220cb5899a8ee004dc4e8b7d3c177e58e45ca2f5d91fa8ce12f29f38ee907a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-26T07:25:05.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-26T07:25:06.328Z] + ls -al . [2020-08-26T07:25:06.328Z] total 188 [2020-08-26T07:25:06.328Z] drwxrwxr-x. 11 jenkins jenkins 4096 Aug 26 07:25 . [2020-08-26T07:25:06.328Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 26 07:23 .. [2020-08-26T07:25:06.328Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 26 07:23 bin [2020-08-26T07:25:06.328Z] -rw-r--r--. 1 jenkins jenkins 110898 Aug 26 07:24 coverage.out [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 936 Aug 26 07:23 Dockerfile.build [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 26 07:23 .dockerignore [2020-08-26T07:25:06.328Z] drwxrwxr-x. 4 jenkins jenkins 48 Aug 26 07:23 example [2020-08-26T07:25:06.328Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 26 07:23 .git [2020-08-26T07:25:06.328Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 26 07:23 .github [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 26 07:23 .gitignore [2020-08-26T07:25:06.328Z] -rw-r--r--. 1 jenkins jenkins 446 Aug 26 07:25 go.mod [2020-08-26T07:25:06.328Z] -rw-r--r--. 1 jenkins jenkins 12179 Aug 26 07:25 go.sum [2020-08-26T07:25:06.328Z] drwxrwxr-x. 13 jenkins jenkins 184 Aug 26 07:23 internal [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 808 Aug 26 07:23 Jenkinsfile [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 26 07:23 LICENSE [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 892 Aug 26 07:23 Makefile [2020-08-26T07:25:06.328Z] drwxrwxr-x. 4 jenkins jenkins 26 Aug 26 07:23 openapi [2020-08-26T07:25:06.328Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 26 07:23 pkg [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 5101 Aug 26 07:23 README.md [2020-08-26T07:25:06.328Z] -rw-rw-r--. 1 jenkins jenkins 4291 Aug 26 07:23 RELEASE-NOTES.txt [2020-08-26T07:25:06.328Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 26 07:23 .semver [2020-08-26T07:25:06.329Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 26 07:23 snap [2020-08-26T07:25:06.329Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 26 07:19 VERSION [2020-08-26T07:25:06.329Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 26 07:23 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:25:06.781Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0bb4af0a0b39c2f747a5c469e7288e784fdbd304 --label arch=amd64 --label version=0.0.0 . [2020-08-26T07:25:07.089Z] Sending build context to Docker daemon 3.274MB [2020-08-26T07:25:07.089Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-26T07:25:07.089Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-26T07:25:07.089Z] ---> 9f3bdc859cd4 [2020-08-26T07:25:07.089Z] Step 3/23 : ARG MAKE='make build' [2020-08-26T07:25:07.368Z] ---> Running in 444be81c8065 [2020-08-26T07:25:07.637Z] Removing intermediate container 444be81c8065 [2020-08-26T07:25:07.637Z] ---> 94da41d5d5ab [2020-08-26T07:25:07.637Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-26T07:25:07.637Z] ---> Running in 3f82333dd146 [2020-08-26T07:25:07.905Z] Removing intermediate container 3f82333dd146 [2020-08-26T07:25:07.905Z] ---> d2a3f30abe01 [2020-08-26T07:25:07.905Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:25:07.905Z] ---> Running in b5a279ad3354 [2020-08-26T07:25:08.185Z] Removing intermediate container b5a279ad3354 [2020-08-26T07:25:08.185Z] ---> b9eb322c3c9e [2020-08-26T07:25:08.185Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-26T07:25:08.185Z] ---> Running in 68237eb80a3e [2020-08-26T07:25:09.600Z] Removing intermediate container 68237eb80a3e [2020-08-26T07:25:09.600Z] ---> 32f7c687215a [2020-08-26T07:25:09.600Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-26T07:25:09.600Z] ---> Running in f32774d0c055 [2020-08-26T07:25:09.764Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-26T07:25:11.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-26T07:25:11.307Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-26T07:25:11.982Z] OK: 166 MiB in 39 packages [2020-08-26T07:25:12.604Z] Removing intermediate container f32774d0c055 [2020-08-26T07:25:12.604Z] ---> e1dc84a029b2 [2020-08-26T07:25:12.604Z] Step 8/23 : COPY . . [2020-08-26T07:25:13.138Z] Removing intermediate container 1e5ee954330f [2020-08-26T07:25:13.138Z] ---> 9703e68202ec [2020-08-26T07:25:13.138Z] Step 10/23 : FROM scratch [2020-08-26T07:25:13.138Z] ---> [2020-08-26T07:25:13.138Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:25:13.138Z] ---> Running in 78f9de13132b [2020-08-26T07:25:13.410Z] Removing intermediate container 78f9de13132b [2020-08-26T07:25:13.410Z] ---> 828ba1b292d0 [2020-08-26T07:25:13.410Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-26T07:25:13.410Z] ---> Running in 6169a5c658b0 [2020-08-26T07:25:13.588Z] ---> 508b134be4e0 [2020-08-26T07:25:13.588Z] Step 9/23 : RUN ${MAKE} [2020-08-26T07:25:13.680Z] Removing intermediate container 6169a5c658b0 [2020-08-26T07:25:13.680Z] ---> d5df93586fbe [2020-08-26T07:25:13.680Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-26T07:25:13.876Z] ---> Running in 15f522f41569 [2020-08-26T07:25:13.951Z] ---> Running in 924f32de6949 [2020-08-26T07:25:14.221Z] Removing intermediate container 924f32de6949 [2020-08-26T07:25:14.221Z] ---> e8c03cbabe9e [2020-08-26T07:25:14.221Z] Step 14/23 : WORKDIR / [2020-08-26T07:25:14.221Z] ---> Running in f5a4056d2eb0 [2020-08-26T07:25:14.817Z] Removing intermediate container f5a4056d2eb0 [2020-08-26T07:25:14.817Z] ---> 21251fdc61cd [2020-08-26T07:25:14.817Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-26T07:25:14.900Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-08-26T07:25:15.788Z] ---> 273fff779f98 [2020-08-26T07:25:15.788Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-26T07:25:16.763Z] ---> 59f75341d20f [2020-08-26T07:25:16.763Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-26T07:25:17.357Z] ---> 4f536633352c [2020-08-26T07:25:17.357Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-26T07:25:17.955Z] ---> 3e9fa12ab214 [2020-08-26T07:25:17.955Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-26T07:25:18.930Z] ---> a6fd0c544a11 [2020-08-26T07:25:18.930Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-26T07:25:18.930Z] ---> Running in 0cc5e79d9ab2 [2020-08-26T07:25:19.522Z] Removing intermediate container 0cc5e79d9ab2 [2020-08-26T07:25:19.522Z] ---> 283cd755076d [2020-08-26T07:25:19.522Z] Step 21/23 : LABEL arch=arm64 [2020-08-26T07:25:19.522Z] ---> Running in 83ff5f7d0e22 [2020-08-26T07:25:20.117Z] Removing intermediate container 83ff5f7d0e22 [2020-08-26T07:25:20.117Z] ---> 520e3ede8071 [2020-08-26T07:25:20.117Z] Step 22/23 : LABEL git_sha=0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [2020-08-26T07:25:20.117Z] ---> Running in 106812af211b [2020-08-26T07:25:20.711Z] Removing intermediate container 106812af211b [2020-08-26T07:25:20.711Z] ---> f14a3ed56c04 [2020-08-26T07:25:20.711Z] Step 23/23 : LABEL version=0.0.0 [2020-08-26T07:25:20.711Z] ---> Running in 2c1866e53167 [2020-08-26T07:25:21.304Z] Removing intermediate container 2c1866e53167 [2020-08-26T07:25:21.304Z] ---> 78f8544c4d27 [2020-08-26T07:25:21.304Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-26T07:25:21.304Z] Successfully built 78f8544c4d27 [2020-08-26T07:25:21.304Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-26T07:25:33.591Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-26T07:25:34.173Z] Removing intermediate container 15f522f41569 [2020-08-26T07:25:34.173Z] ---> 79585dc8fc87 [2020-08-26T07:25:34.173Z] Step 10/23 : FROM scratch [2020-08-26T07:25:34.173Z] ---> [2020-08-26T07:25:34.173Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:25:34.173Z] ---> Running in 86e24df8b585 [2020-08-26T07:25:34.435Z] Removing intermediate container 86e24df8b585 [2020-08-26T07:25:34.435Z] ---> 8e0cf4f3fdb6 [2020-08-26T07:25:34.435Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-26T07:25:34.435Z] ---> Running in e563f965cc08 [2020-08-26T07:25:34.698Z] Removing intermediate container e563f965cc08 [2020-08-26T07:25:34.698Z] ---> 3602583d5cdd [2020-08-26T07:25:34.698Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-26T07:25:34.698Z] ---> Running in 3a174a1effce [2020-08-26T07:25:34.698Z] Removing intermediate container 3a174a1effce [2020-08-26T07:25:34.698Z] ---> ad56dd67a2c6 [2020-08-26T07:25:34.698Z] Step 14/23 : WORKDIR / [2020-08-26T07:25:34.970Z] ---> Running in f1b95250cbef [2020-08-26T07:25:34.970Z] Removing intermediate container f1b95250cbef [2020-08-26T07:25:34.970Z] ---> 577fb88a361c [2020-08-26T07:25:34.970Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-26T07:25:35.968Z] ---> f4c104f724f5 [2020-08-26T07:25:35.968Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-26T07:25:35.968Z] ---> 6fcc2bd87237 [2020-08-26T07:25:35.968Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-26T07:25:36.638Z] ---> 6bbd965f5691 [2020-08-26T07:25:36.638Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-26T07:25:36.906Z] ---> 8b5bb62b6c63 [2020-08-26T07:25:36.906Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-26T07:25:37.535Z] ---> 2f0a29a508da [2020-08-26T07:25:37.535Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-26T07:25:37.535Z] ---> Running in df33237962c1 [2020-08-26T07:25:37.806Z] Removing intermediate container df33237962c1 [2020-08-26T07:25:37.806Z] ---> 82fbb2c7bc1b [2020-08-26T07:25:37.806Z] Step 21/23 : LABEL arch=amd64 [2020-08-26T07:25:37.806Z] ---> Running in cfadd5b982b4 [2020-08-26T07:25:38.079Z] Removing intermediate container cfadd5b982b4 [2020-08-26T07:25:38.079Z] ---> 4b9a392d436d [2020-08-26T07:25:38.079Z] Step 22/23 : LABEL git_sha=0bb4af0a0b39c2f747a5c469e7288e784fdbd304 [2020-08-26T07:25:38.079Z] ---> Running in 3d3df4ac6e07 [2020-08-26T07:25:38.351Z] Removing intermediate container 3d3df4ac6e07 [2020-08-26T07:25:38.351Z] ---> 1d89218ec2e1 [2020-08-26T07:25:38.351Z] Step 23/23 : LABEL version=0.0.0 [2020-08-26T07:25:38.351Z] ---> Running in 2cf60eb68a85 [2020-08-26T07:25:38.625Z] Removing intermediate container 2cf60eb68a85 [2020-08-26T07:25:38.625Z] ---> 5fa1dc6f49d2 [2020-08-26T07:25:38.625Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-26T07:25:38.625Z] Successfully built 5fa1dc6f49d2 [2020-08-26T07:25:38.625Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-08-26T07:25:41.180Z] provisioning config files... [2020-08-26T07:25:41.198Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4286628262250460947tmp [Pipeline] { [Pipeline] sh [2020-08-26T07:25:41.629Z] + curl -s https://codecov.io/bash [2020-08-26T07:25:41.629Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4286628262250460947tmp [Pipeline] } [2020-08-26T07:25:42.227Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:25:45.155Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:25:45.760Z] ---> package-listing.sh [2020-08-26T07:25:45.760Z] ++ facter osfamily [2020-08-26T07:25:45.760Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-26T07:25:45.760Z] + OS_FAMILY=redhat [2020-08-26T07:25:45.760Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-08-26T07:25:45.760Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-26T07:25:45.760Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-26T07:25:45.760Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-26T07:25:45.760Z] + PACKAGES=/tmp/packages_start.txt [2020-08-26T07:25:45.760Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-08-26T07:25:45.760Z] + PACKAGES=/tmp/packages_end.txt [2020-08-26T07:25:45.760Z] + case "${OS_FAMILY}" in [2020-08-26T07:25:45.760Z] + rpm -qa [2020-08-26T07:25:45.760Z] + sort [2020-08-26T07:25:49.992Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-26T07:25:49.992Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-26T07:25:49.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-26T07:25:49.992Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-08-26T07:25:49.992Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-08-26T07:25:49.992Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:25:50.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-26T07:25:50.640Z] [2020-08-26T07:25:50.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:25:51.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-26T07:25:51.035Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-26T07:25:51.035Z] c9b1b535fdd9: Pulling fs layer [2020-08-26T07:25:51.035Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-26T07:25:51.035Z] 756a868c4378: Pulling fs layer [2020-08-26T07:25:51.035Z] 444b2fc9a129: Pulling fs layer [2020-08-26T07:25:51.035Z] ea15f1150254: Pulling fs layer [2020-08-26T07:25:51.035Z] 41b27a9f41bf: Pulling fs layer [2020-08-26T07:25:51.035Z] 28c525ee5125: Pulling fs layer [2020-08-26T07:25:51.035Z] 094b1ea09ed8: Pulling fs layer [2020-08-26T07:25:51.035Z] 138eaada9080: Pulling fs layer [2020-08-26T07:25:51.035Z] 0622d0fa9048: Pulling fs layer [2020-08-26T07:25:51.035Z] 28c525ee5125: Waiting [2020-08-26T07:25:51.035Z] 138eaada9080: Waiting [2020-08-26T07:25:51.035Z] 094b1ea09ed8: Waiting [2020-08-26T07:25:51.035Z] ea15f1150254: Waiting [2020-08-26T07:25:51.035Z] 41b27a9f41bf: Waiting [2020-08-26T07:25:51.035Z] 444b2fc9a129: Waiting [2020-08-26T07:25:51.035Z] 2cc5ad85d9ab: Download complete [2020-08-26T07:25:51.035Z] 444b2fc9a129: Verifying Checksum [2020-08-26T07:25:51.035Z] 444b2fc9a129: Download complete [2020-08-26T07:25:51.035Z] c9b1b535fdd9: Verifying Checksum [2020-08-26T07:25:51.035Z] ea15f1150254: Verifying Checksum [2020-08-26T07:25:51.035Z] ea15f1150254: Download complete [2020-08-26T07:25:51.305Z] 28c525ee5125: Verifying Checksum [2020-08-26T07:25:51.305Z] 28c525ee5125: Download complete [2020-08-26T07:25:51.570Z] 756a868c4378: Verifying Checksum [2020-08-26T07:25:51.570Z] 756a868c4378: Download complete [2020-08-26T07:25:51.570Z] c9b1b535fdd9: Pull complete [2020-08-26T07:25:51.570Z] 138eaada9080: Verifying Checksum [2020-08-26T07:25:51.570Z] 138eaada9080: Download complete [2020-08-26T07:25:51.570Z] 0622d0fa9048: Verifying Checksum [2020-08-26T07:25:51.570Z] 0622d0fa9048: Download complete [2020-08-26T07:25:51.570Z] 094b1ea09ed8: Verifying Checksum [2020-08-26T07:25:51.570Z] 094b1ea09ed8: Download complete [2020-08-26T07:25:51.832Z] 2cc5ad85d9ab: Pull complete [2020-08-26T07:25:52.096Z] 41b27a9f41bf: Verifying Checksum [2020-08-26T07:25:52.096Z] 41b27a9f41bf: Download complete [2020-08-26T07:25:53.485Z] 756a868c4378: Pull complete [2020-08-26T07:25:53.750Z] 444b2fc9a129: Pull complete [2020-08-26T07:25:54.013Z] ea15f1150254: Pull complete [2020-08-26T07:25:58.221Z] 41b27a9f41bf: Pull complete [2020-08-26T07:25:58.221Z] 28c525ee5125: Pull complete [2020-08-26T07:26:00.140Z] 094b1ea09ed8: Pull complete [2020-08-26T07:26:01.529Z] 138eaada9080: Pull complete [2020-08-26T07:26:01.529Z] 0622d0fa9048: Pull complete [2020-08-26T07:26:01.529Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-26T07:26:01.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-26T07:26:01.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-26T07:26:01.738Z] prd-centos7-docker-4c-2g-378 does not seem to be running inside a container [2020-08-26T07:26:01.786Z] $ 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-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-26T07:26:05.667Z] $ docker top 58bdf0081f720938bd3afb612c0f4f1ba5a373a64d8d8216d05fb4c008f8a8b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-26T07:26:06.057Z] provisioning config files... [2020-08-26T07:26:06.071Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config883506564401661799tmp [Pipeline] { [Pipeline] echo [2020-08-26T07:26:06.193Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:26:06.521Z] ---> create-netrc.sh [Pipeline] echo [2020-08-26T07:26:06.557Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:26:06.894Z] ---> logs-deploy.sh [2020-08-26T07:26:06.894Z] + ARCHIVE_ARTIFACTS= [2020-08-26T07:26:06.894Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-26T07:26:06.894Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-26T07:26:06.894Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-26T07:26:06.894Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/1 [2020-08-26T07:26:06.894Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/1/ [2020-08-26T07:26:06.894Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/1 /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-08-26T07:26:07.835Z] Archives upload complete. [2020-08-26T07:26:08.105Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/1/