Pull request #562 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 ea2f983e788a845427826f536ae2e979748197ae+b22d9636647f710822cdca9c1d6c1c597e4fa962 (6e338840c97c336107e93770935d59170c2545b7) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 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-562/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 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 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-3237 in /w/workspace/dgexfoundry_device-sdk-go_PR-562 [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-562 # 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/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ea2f983e788a845427826f536ae2e979748197ae Merge succeeded, producing ea2f983e788a845427826f536ae2e979748197ae Checking out Revision ea2f983e788a845427826f536ae2e979748197ae (PR-562) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/562/head:refs/remotes/origin/PR-562 # 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/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # 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 b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 Commit message: "fix: allow startup duration/interval to be overridden via env vars" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-10T07:59:42.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-10T07:59:42.695Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-10T07:59:42.908Z] ========================================================= [2020-08-10T07:59:42.908Z] EdgeX Global Pipelines Version Info [2020-08-10T07:59:42.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-10T07:59:44.340Z] ------------------- [2020-08-10T07:59:44.340Z] stable info: [2020-08-10T07:59:44.340Z] ------------------- [2020-08-10T07:59:44.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-10T07:59:44.340Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-10T07:59:44.340Z] Message: update stable to v1.0.106 [2020-08-10T07:59:45.280Z] ------------------- [2020-08-10T07:59:45.280Z] experimental info: [2020-08-10T07:59:45.280Z] ------------------- [2020-08-10T07:59:45.280Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-10T07:59:45.280Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-10T07:59:45.280Z] 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-10T07:59:47.916Z] + git log --format=format:%s -1 ea2f983e788a845427826f536ae2e979748197ae [Pipeline] echo [2020-08-10T07:59:47.992Z] GIT_COMMIT: ea2f983e788a845427826f536ae2e979748197ae, Commit Message: fix: allow startup duration/interval to be overridden via env vars [Pipeline] echo [2020-08-10T07:59:48.063Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-10T07:59:48.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-10T07:59:49.199Z] [2020-08-10T07:59:49.199Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-10T07:59:49.579Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-10T07:59:49.579Z] latest: Pulling from edgex-devops/git-semver [2020-08-10T07:59:49.579Z] 31603596830f: Pulling fs layer [2020-08-10T07:59:49.579Z] 2a8b12db71e7: Pulling fs layer [2020-08-10T07:59:49.579Z] 6ca5941a6612: Pulling fs layer [2020-08-10T07:59:49.579Z] ecc8261a40a4: Pulling fs layer [2020-08-10T07:59:49.579Z] ecc8261a40a4: Waiting [2020-08-10T07:59:49.579Z] 2a8b12db71e7: Verifying Checksum [2020-08-10T07:59:49.579Z] 2a8b12db71e7: Download complete [2020-08-10T07:59:49.844Z] 31603596830f: Verifying Checksum [2020-08-10T07:59:49.844Z] 31603596830f: Download complete [2020-08-10T07:59:49.844Z] 6ca5941a6612: Verifying Checksum [2020-08-10T07:59:49.844Z] 6ca5941a6612: Download complete [2020-08-10T07:59:49.844Z] ecc8261a40a4: Verifying Checksum [2020-08-10T07:59:50.107Z] 31603596830f: Pull complete [2020-08-10T07:59:50.107Z] 2a8b12db71e7: Pull complete [2020-08-10T07:59:51.063Z] 6ca5941a6612: Pull complete [2020-08-10T07:59:51.325Z] ecc8261a40a4: Pull complete [2020-08-10T07:59:51.325Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-10T07:59:51.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-10T07:59:51.325Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-10T07:59:51.450Z] prd-centos7-docker-4c-2g-3237 does not seem to be running inside a container [2020-08-10T07:59:51.493Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-562 -v /w/workspace/dgexfoundry_device-sdk-go_PR-562:/w/workspace/dgexfoundry_device-sdk-go_PR-562:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-562@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-10T07:59:53.870Z] $ docker top 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-10T07:59:54.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-10T07:59:54.287Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-10T07:59:54.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-10T07:59:54.498Z] $ docker exec 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent [2020-08-10T07:59:54.658Z] SSH_AUTH_SOCK=/tmp/ssh-NIfcoIguUN9P/agent.13 [2020-08-10T07:59:54.658Z] SSH_AGENT_PID=19 [2020-08-10T07:59:54.671Z] Running ssh-add (command line suppressed) [2020-08-10T07:59:54.792Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3662382717641402956.key (/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3662382717641402956.key) [2020-08-10T07:59:54.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-10T07:59:55.226Z] + git describe --exact-match --tags HEAD [2020-08-10T07:59:55.226Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-10T07:59:55.268Z] $ docker exec --env ******** --env ******** 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent -k [2020-08-10T07:59:55.388Z] unset SSH_AUTH_SOCK; [2020-08-10T07:59:55.389Z] unset SSH_AGENT_PID; [2020-08-10T07:59:55.389Z] echo Agent pid 19 killed; [2020-08-10T07:59:55.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-10T07:59:55.590Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-10T07:59:55.590Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-10T07:59:55.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-10T07:59:55.703Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-10T07:59:55.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-10T07:59:55.864Z] $ docker exec 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent [2020-08-10T07:59:56.023Z] SSH_AUTH_SOCK=/tmp/ssh-YGwQPKGvPOUL/agent.48 [2020-08-10T07:59:56.023Z] SSH_AGENT_PID=53 [2020-08-10T07:59:56.030Z] Running ssh-add (command line suppressed) [2020-08-10T07:59:56.148Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3385467115318814216.key (/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/private_key_3385467115318814216.key) [2020-08-10T07:59:56.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-10T07:59:56.583Z] + git semver init [2020-08-10T07:59:56.583Z] # -> Open(): unable to determine branch for HEAD [2020-08-10T07:59:56.583Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-562/.git [2020-08-10T07:59:56.583Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-562 [2020-08-10T07:59:56.583Z] # $SEMVER_REMOTE_NAME = origin [2020-08-10T07:59:56.583Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-10T07:59:56.583Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-10T07:59:56.583Z] # $SEMVER_BRANCH = PR-562 [2020-08-10T07:59:56.583Z] # $SEMVER_TEMP = /tmp/semver-580396975 [2020-08-10T07:59:56.583Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-08-10T07:59:57.155Z] # '/tmp/semver-580396975' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-562/.semver' [2020-08-10T07:59:57.155Z] # -> Force: false [2020-08-10T07:59:57.155Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-562/.semver [Pipeline] } [2020-08-10T07:59:57.180Z] $ docker exec --env ******** --env ******** 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff ssh-agent -k [2020-08-10T07:59:57.310Z] unset SSH_AUTH_SOCK; [2020-08-10T07:59:57.311Z] unset SSH_AGENT_PID; [2020-08-10T07:59:57.311Z] echo Agent pid 53 killed; [2020-08-10T07:59:57.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-10T07:59:57.940Z] + git semver [Pipeline] } [2020-08-10T07:59:57.989Z] $ docker stop --time=1 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff [2020-08-10T07:59:59.397Z] $ docker rm -f 42aecbf0d80c5821e881828ffcce526012f623800d52fc2170298221c69364ff [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-10T08:00:00.290Z] Stashed 25 file(s) [Pipeline] echo [2020-08-10T08:00:00.323Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-10T08:00:00.466Z] 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-10T08:00:16.149Z] Still waiting to schedule task [2020-08-10T08:00:16.149Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3237’ [2020-08-10T08:00:16.176Z] Still waiting to schedule task [2020-08-10T08:00:16.176Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-10T08:02:24.149Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3238 in /w/workspace/dgexfoundry_device-sdk-go_PR-562 [Pipeline] { [Pipeline] ws [2020-08-10T08:02:24.267Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-08-10T08:02:29.393Z] using credential edgex-jenkins-ssh [2020-08-10T08:02:29.439Z] Cloning the remote Git repository [2020-08-10T08:02:29.440Z] Cloning with configured refspecs honoured and without tags [2020-08-10T08:02:29.495Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-10T08:02:29.603Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-08-10T08:02:29.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-10T08:02:29.676Z] > git --version # timeout=10 [2020-08-10T08:02:29.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-10T08:02:29.759Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-10T08:02:30.726Z] Fetching without tags [2020-08-10T08:02:31.243Z] Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ea2f983e788a845427826f536ae2e979748197ae [2020-08-10T08:02:31.460Z] Merge succeeded, producing ea2f983e788a845427826f536ae2e979748197ae [2020-08-10T08:02:31.461Z] Checking out Revision ea2f983e788a845427826f536ae2e979748197ae (PR-562) [2020-08-10T08:02:30.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-10T08:02:30.660Z] > git config --add remote.origin.fetch +refs/pull/562/head:refs/remotes/origin/PR-562 # timeout=10 [2020-08-10T08:02:30.686Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-10T08:02:30.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-10T08:02:30.732Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-10T08:02:30.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-10T08:02:30.746Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-10T08:02:31.258Z] > git config core.sparsecheckout # timeout=10 [2020-08-10T08:02:31.273Z] > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 [2020-08-10T08:02:31.374Z] > git remote # timeout=10 [2020-08-10T08:02:31.390Z] > git config --get remote.origin.url # timeout=10 [2020-08-10T08:02:31.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-10T08:02:31.411Z] > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 [2020-08-10T08:02:31.443Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-10T08:02:31.463Z] > git config core.sparsecheckout # timeout=10 [2020-08-10T08:02:31.478Z] > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 [2020-08-10T08:02:35.800Z] Commit message: "fix: allow startup duration/interval to be overridden via env vars" [2020-08-10T08:02:35.858Z] > git --version # timeout=10 [2020-08-10T08:02:35.890Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-10T08:02:37.366Z] ========================================================= [2020-08-10T08:02:37.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-10T08:02:37.366Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:02:38.563Z] + 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-10T08:02:39.544Z] Sending build context to Docker daemon 3.036MB [2020-08-10T08:02:39.544Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-10T08:02:39.544Z] Step 2/8 : FROM ${BASE} [2020-08-10T08:02:39.821Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-10T08:02:39.821Z] b538f80385f9: Pulling fs layer [2020-08-10T08:02:39.821Z] 74f711af9a0d: Pulling fs layer [2020-08-10T08:02:39.821Z] 99f96fe45779: Pulling fs layer [2020-08-10T08:02:39.821Z] fd7a069fd194: Pulling fs layer [2020-08-10T08:02:39.821Z] 66aa3694b03b: Pulling fs layer [2020-08-10T08:02:39.821Z] 170f70906a0f: Pulling fs layer [2020-08-10T08:02:39.821Z] ad7c5574e4b9: Pulling fs layer [2020-08-10T08:02:39.821Z] e772456be8f7: Pulling fs layer [2020-08-10T08:02:39.821Z] c890913d741a: Pulling fs layer [2020-08-10T08:02:39.821Z] 2480fcc9aa5a: Pulling fs layer [2020-08-10T08:02:39.821Z] 09adf4765672: Pulling fs layer [2020-08-10T08:02:39.821Z] fd7a069fd194: Waiting [2020-08-10T08:02:39.821Z] 66aa3694b03b: Waiting [2020-08-10T08:02:39.821Z] 170f70906a0f: Waiting [2020-08-10T08:02:39.821Z] ad7c5574e4b9: Waiting [2020-08-10T08:02:39.821Z] e772456be8f7: Waiting [2020-08-10T08:02:39.821Z] c890913d741a: Waiting [2020-08-10T08:02:39.821Z] 2480fcc9aa5a: Waiting [2020-08-10T08:02:39.821Z] 09adf4765672: Waiting [2020-08-10T08:02:39.821Z] 99f96fe45779: Verifying Checksum [2020-08-10T08:02:39.821Z] 99f96fe45779: Download complete [2020-08-10T08:02:39.821Z] 74f711af9a0d: Download complete [2020-08-10T08:02:39.821Z] 66aa3694b03b: Verifying Checksum [2020-08-10T08:02:39.821Z] 66aa3694b03b: Download complete [2020-08-10T08:02:39.821Z] 170f70906a0f: Verifying Checksum [2020-08-10T08:02:39.821Z] 170f70906a0f: Download complete [2020-08-10T08:02:40.100Z] b538f80385f9: Verifying Checksum [2020-08-10T08:02:40.100Z] b538f80385f9: Download complete [2020-08-10T08:02:40.700Z] b538f80385f9: Pull complete [2020-08-10T08:02:41.305Z] 74f711af9a0d: Pull complete [2020-08-10T08:02:41.905Z] 99f96fe45779: Pull complete [2020-08-10T08:02:43.356Z] ad7c5574e4b9: Verifying Checksum [2020-08-10T08:02:43.356Z] ad7c5574e4b9: Download complete [2020-08-10T08:02:43.356Z] c890913d741a: Verifying Checksum [2020-08-10T08:02:43.356Z] c890913d741a: Download complete [2020-08-10T08:02:44.803Z] e772456be8f7: Verifying Checksum [2020-08-10T08:02:44.803Z] e772456be8f7: Download complete [2020-08-10T08:02:45.077Z] 2480fcc9aa5a: Verifying Checksum [2020-08-10T08:02:45.077Z] 2480fcc9aa5a: Download complete [2020-08-10T08:02:45.077Z] 09adf4765672: Verifying Checksum [2020-08-10T08:02:45.077Z] 09adf4765672: Download complete [2020-08-10T08:02:45.366Z] fd7a069fd194: Verifying Checksum [2020-08-10T08:02:45.366Z] fd7a069fd194: Download complete [2020-08-10T08:02:57.292Z] Running on prd-centos7-docker-4c-2g-3239 in /w/workspace/dgexfoundry_device-sdk-go_PR-562 [Pipeline] { [Pipeline] ws [2020-08-10T08:02:57.376Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-08-10T08:02:57.755Z] fd7a069fd194: Pull complete [2020-08-10T08:02:57.755Z] 66aa3694b03b: Pull complete [2020-08-10T08:02:57.755Z] 170f70906a0f: Pull complete [2020-08-10T08:02:59.691Z] using credential edgex-jenkins-ssh [2020-08-10T08:02:59.737Z] Cloning the remote Git repository [2020-08-10T08:02:59.737Z] Cloning with configured refspecs honoured and without tags [2020-08-10T08:02:59.760Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-10T08:02:59.827Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-08-10T08:02:59.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-10T08:02:59.877Z] > git --version # timeout=10 [2020-08-10T08:02:59.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-10T08:02:59.910Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-10T08:03:01.164Z] ad7c5574e4b9: Pull complete [2020-08-10T08:03:01.378Z] Fetching without tags [2020-08-10T08:03:01.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-10T08:03:01.344Z] > git config --add remote.origin.fetch +refs/pull/562/head:refs/remotes/origin/PR-562 # timeout=10 [2020-08-10T08:03:01.351Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-10T08:03:01.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-10T08:03:01.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-10T08:03:01.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-10T08:03:01.384Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-10T08:03:02.274Z] Merging remotes/origin/master commit b22d9636647f710822cdca9c1d6c1c597e4fa962 into PR head commit ea2f983e788a845427826f536ae2e979748197ae [2020-08-10T08:03:02.372Z] Merge succeeded, producing ea2f983e788a845427826f536ae2e979748197ae [2020-08-10T08:03:02.372Z] Checking out Revision ea2f983e788a845427826f536ae2e979748197ae (PR-562) [2020-08-10T08:03:02.281Z] > git config core.sparsecheckout # timeout=10 [2020-08-10T08:03:02.288Z] > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 [2020-08-10T08:03:02.338Z] > git remote # timeout=10 [2020-08-10T08:03:02.345Z] > git config --get remote.origin.url # timeout=10 [2020-08-10T08:03:02.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-10T08:03:02.354Z] > git merge b22d9636647f710822cdca9c1d6c1c597e4fa962 # timeout=10 [2020-08-10T08:03:02.362Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-10T08:03:02.372Z] > git config core.sparsecheckout # timeout=10 [2020-08-10T08:03:02.377Z] > git checkout -f ea2f983e788a845427826f536ae2e979748197ae # timeout=10 [2020-08-10T08:03:05.471Z] e772456be8f7: Pull complete [2020-08-10T08:03:05.745Z] c890913d741a: Pull complete [2020-08-10T08:03:05.930Z] Commit message: "fix: allow startup duration/interval to be overridden via env vars" [2020-08-10T08:03:05.950Z] > git --version # timeout=10 [2020-08-10T08:03:05.961Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-10T08:03:07.051Z] ========================================================= [2020-08-10T08:03:07.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-10T08:03:07.051Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:03:07.728Z] + 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-10T08:03:08.387Z] 2480fcc9aa5a: Pull complete [2020-08-10T08:03:08.387Z] 09adf4765672: Pull complete [2020-08-10T08:03:08.387Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-10T08:03:08.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-10T08:03:08.387Z] ---> 2248a725d1cf [2020-08-10T08:03:08.387Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-10T08:03:08.676Z] Sending build context to Docker daemon 3.038MB [2020-08-10T08:03:08.676Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-10T08:03:08.676Z] Step 2/8 : FROM ${BASE} [2020-08-10T08:03:08.940Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-10T08:03:08.940Z] df20fa9351a1: Pulling fs layer [2020-08-10T08:03:08.940Z] ed8968b2872e: Pulling fs layer [2020-08-10T08:03:08.940Z] a92cc7c5fd73: Pulling fs layer [2020-08-10T08:03:08.940Z] 2dd03ba5bac4: Pulling fs layer [2020-08-10T08:03:08.940Z] 1e091d79d1de: Pulling fs layer [2020-08-10T08:03:08.940Z] 481702a1767f: Pulling fs layer [2020-08-10T08:03:08.940Z] f64a6f60c768: Pulling fs layer [2020-08-10T08:03:08.940Z] e78d2573fc39: Pulling fs layer [2020-08-10T08:03:08.940Z] e876d2f968b6: Pulling fs layer [2020-08-10T08:03:08.940Z] ce8a83651883: Pulling fs layer [2020-08-10T08:03:08.940Z] 07967f4d0e4b: Pulling fs layer [2020-08-10T08:03:08.940Z] 2dd03ba5bac4: Waiting [2020-08-10T08:03:08.940Z] 1e091d79d1de: Waiting [2020-08-10T08:03:08.940Z] 481702a1767f: Waiting [2020-08-10T08:03:08.940Z] f64a6f60c768: Waiting [2020-08-10T08:03:08.940Z] e78d2573fc39: Waiting [2020-08-10T08:03:08.940Z] e876d2f968b6: Waiting [2020-08-10T08:03:08.940Z] ce8a83651883: Waiting [2020-08-10T08:03:08.940Z] 07967f4d0e4b: Waiting [2020-08-10T08:03:08.940Z] a92cc7c5fd73: Verifying Checksum [2020-08-10T08:03:08.940Z] a92cc7c5fd73: Download complete [2020-08-10T08:03:08.940Z] ed8968b2872e: Verifying Checksum [2020-08-10T08:03:08.941Z] ed8968b2872e: Download complete [2020-08-10T08:03:08.941Z] 1e091d79d1de: Verifying Checksum [2020-08-10T08:03:08.941Z] 1e091d79d1de: Download complete [2020-08-10T08:03:08.941Z] 481702a1767f: Verifying Checksum [2020-08-10T08:03:08.941Z] 481702a1767f: Download complete [2020-08-10T08:03:08.941Z] df20fa9351a1: Verifying Checksum [2020-08-10T08:03:09.222Z] df20fa9351a1: Pull complete [2020-08-10T08:03:10.188Z] f64a6f60c768: Verifying Checksum [2020-08-10T08:03:10.188Z] f64a6f60c768: Download complete [2020-08-10T08:03:10.188Z] e876d2f968b6: Verifying Checksum [2020-08-10T08:03:10.188Z] e876d2f968b6: Download complete [2020-08-10T08:03:10.457Z] 2dd03ba5bac4: Verifying Checksum [2020-08-10T08:03:10.457Z] 2dd03ba5bac4: Download complete [2020-08-10T08:03:10.718Z] 07967f4d0e4b: Verifying Checksum [2020-08-10T08:03:10.718Z] 07967f4d0e4b: Download complete [2020-08-10T08:03:10.718Z] e78d2573fc39: Verifying Checksum [2020-08-10T08:03:10.718Z] e78d2573fc39: Download complete [2020-08-10T08:03:10.718Z] ce8a83651883: Verifying Checksum [2020-08-10T08:03:10.718Z] ce8a83651883: Download complete [2020-08-10T08:03:12.117Z] ed8968b2872e: Pull complete [2020-08-10T08:03:12.117Z] a92cc7c5fd73: Pull complete [2020-08-10T08:03:13.845Z] ---> Running in 5671b1590bb5 [2020-08-10T08:03:13.845Z] Removing intermediate container 5671b1590bb5 [2020-08-10T08:03:13.845Z] ---> a0177fd760f5 [2020-08-10T08:03:13.845Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-10T08:03:13.845Z] ---> Running in 845edd710641 [2020-08-10T08:03:16.468Z] Removing intermediate container 845edd710641 [2020-08-10T08:03:16.468Z] ---> bf0ac69f85e1 [2020-08-10T08:03:16.468Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-10T08:03:16.745Z] ---> Running in d863e28b8e93 [2020-08-10T08:03:17.434Z] 2dd03ba5bac4: Pull complete [2020-08-10T08:03:17.698Z] 1e091d79d1de: Pull complete [2020-08-10T08:03:17.698Z] 481702a1767f: Pull complete [2020-08-10T08:03:18.176Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-10T08:03:19.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-10T08:03:19.419Z] OK: 142 MiB in 39 packages [2020-08-10T08:03:20.847Z] Removing intermediate container d863e28b8e93 [2020-08-10T08:03:20.847Z] ---> c3565f94a371 [2020-08-10T08:03:20.847Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-10T08:03:20.847Z] ---> Running in 9f929604c1cf [2020-08-10T08:03:21.444Z] Removing intermediate container 9f929604c1cf [2020-08-10T08:03:21.444Z] ---> 4a11c970ee3d [2020-08-10T08:03:21.444Z] Step 7/8 : COPY . . [2020-08-10T08:03:22.880Z] ---> 920456b2da2d [2020-08-10T08:03:22.880Z] Step 8/8 : RUN go mod download [2020-08-10T08:03:22.880Z] ---> Running in 2cefe9740d78 [2020-08-10T08:03:23.008Z] f64a6f60c768: Pull complete [2020-08-10T08:03:25.493Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-10T08:03:25.493Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-10T08:03:25.493Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-10T08:03:25.493Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-10T08:03:25.493Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-10T08:03:25.493Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-10T08:03:25.493Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-10T08:03:25.493Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-10T08:03:25.493Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-10T08:03:25.493Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-10T08:03:25.764Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-10T08:03:25.764Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-10T08:03:25.764Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-10T08:03:25.764Z] go: finding github.com/fatih/color v1.7.0 [2020-08-10T08:03:25.764Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-10T08:03:25.764Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-10T08:03:25.764Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-10T08:03:26.034Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-10T08:03:26.034Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-10T08:03:26.034Z] go: finding github.com/google/uuid v1.1.0 [2020-08-10T08:03:26.034Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-10T08:03:26.034Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-10T08:03:26.304Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-10T08:03:26.304Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-10T08:03:26.304Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-10T08:03:26.332Z] e78d2573fc39: Pull complete [2020-08-10T08:03:26.332Z] e876d2f968b6: Pull complete [2020-08-10T08:03:26.574Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-10T08:03:26.574Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-10T08:03:26.574Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-10T08:03:26.844Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-10T08:03:26.844Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-10T08:03:26.844Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-10T08:03:26.844Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-10T08:03:26.844Z] go: finding github.com/posener/complete v1.1.1 [2020-08-10T08:03:26.844Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-10T08:03:26.844Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-10T08:03:26.844Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-10T08:03:26.844Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-10T08:03:26.844Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-10T08:03:26.844Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-10T08:03:27.116Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-10T08:03:27.116Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-10T08:03:27.116Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-10T08:03:27.116Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-10T08:03:27.116Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-10T08:03:27.116Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-10T08:03:27.276Z] ce8a83651883: Pull complete [2020-08-10T08:03:27.276Z] 07967f4d0e4b: Pull complete [2020-08-10T08:03:27.276Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-10T08:03:27.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-10T08:03:27.276Z] ---> 5d7c900382c6 [2020-08-10T08:03:27.276Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-10T08:03:27.848Z] ---> Running in e440e64dff0d [2020-08-10T08:03:28.119Z] Removing intermediate container e440e64dff0d [2020-08-10T08:03:28.119Z] ---> 0a32b0c58485 [2020-08-10T08:03:28.119Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-10T08:03:28.119Z] ---> Running in 5d712af2c4e7 [2020-08-10T08:03:30.044Z] Removing intermediate container 5d712af2c4e7 [2020-08-10T08:03:30.044Z] ---> 5c76aac42006 [2020-08-10T08:03:30.044Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-10T08:03:30.044Z] ---> Running in 2bddfd0b1254 [2020-08-10T08:03:30.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-10T08:03:31.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-10T08:03:31.518Z] OK: 166 MiB in 39 packages [2020-08-10T08:03:31.779Z] Removing intermediate container 2bddfd0b1254 [2020-08-10T08:03:31.779Z] ---> 37c7cf3d521f [2020-08-10T08:03:31.779Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-10T08:03:32.040Z] ---> Running in 686750b9ddb6 [2020-08-10T08:03:32.302Z] Removing intermediate container 686750b9ddb6 [2020-08-10T08:03:32.302Z] ---> 31b227eaf7b5 [2020-08-10T08:03:32.302Z] Step 7/8 : COPY . . [2020-08-10T08:03:33.247Z] ---> e88f9f773490 [2020-08-10T08:03:33.247Z] Step 8/8 : RUN go mod download [2020-08-10T08:03:33.512Z] ---> Running in d628bf1ed5b3 [2020-08-10T08:03:34.942Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-10T08:03:34.942Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-10T08:03:35.203Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-10T08:03:35.203Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-10T08:03:35.203Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-10T08:03:35.203Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-10T08:03:35.203Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-10T08:03:35.203Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-10T08:03:35.203Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-10T08:03:35.203Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-10T08:03:35.203Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-10T08:03:35.203Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-10T08:03:35.203Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-10T08:03:35.463Z] go: finding github.com/fatih/color v1.7.0 [2020-08-10T08:03:35.463Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-10T08:03:35.463Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-10T08:03:35.463Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-10T08:03:35.463Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-10T08:03:35.463Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-10T08:03:35.463Z] go: finding github.com/google/uuid v1.1.0 [2020-08-10T08:03:35.463Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-10T08:03:35.463Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-10T08:03:35.463Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-10T08:03:35.463Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-10T08:03:35.724Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-10T08:03:35.987Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-10T08:03:35.987Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-10T08:03:35.987Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-10T08:03:35.987Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-10T08:03:35.987Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-10T08:03:35.987Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-10T08:03:35.987Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-10T08:03:35.987Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-10T08:03:35.987Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-10T08:03:35.987Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-10T08:03:35.987Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-10T08:03:36.248Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-10T08:03:36.248Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-10T08:03:36.248Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-10T08:03:36.248Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-10T08:03:36.248Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-10T08:03:36.248Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-10T08:03:36.248Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-10T08:03:36.248Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-10T08:03:36.248Z] go: finding github.com/posener/complete v1.1.1 [2020-08-10T08:03:36.248Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-10T08:03:36.248Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-10T08:03:36.248Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-10T08:03:36.510Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-10T08:03:36.510Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-10T08:03:36.510Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-10T08:03:36.510Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-10T08:03:36.510Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-10T08:03:36.510Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-10T08:03:36.510Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-10T08:03:36.510Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-10T08:03:36.510Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-10T08:03:37.264Z] Removing intermediate container 2cefe9740d78 [2020-08-10T08:03:37.264Z] ---> ab06b8cf2502 [2020-08-10T08:03:37.264Z] Successfully built ab06b8cf2502 [2020-08-10T08:03:37.264Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:03:38.154Z] + docker inspect -f . ci-base-image-arm64 [2020-08-10T08:03:38.154Z] . [Pipeline] withDockerContainer [2020-08-10T08:03:38.424Z] prd-ubuntu18.04-docker-arm64-4c-16g-3238 does not seem to be running inside a container [2020-08-10T08:03:38.502Z] $ 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-10T08:03:40.419Z] $ docker top 4cdef5a8de233b88cd35e6457788e36fd99e827873cd5a711ec2ecc0c644e25c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-10T08:03:41.876Z] + go version [2020-08-10T08:03:41.876Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-10T08:03:42.935Z] + make test [2020-08-10T08:03:42.936Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-10T08:03:43.920Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-10T08:03:44.673Z] Removing intermediate container d628bf1ed5b3 [2020-08-10T08:03:44.673Z] ---> d0b81b1f4424 [2020-08-10T08:03:44.673Z] Successfully built d0b81b1f4424 [2020-08-10T08:03:44.673Z] 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-10T08:03:45.502Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-10T08:03:45.502Z] . [Pipeline] withDockerContainer [2020-08-10T08:03:45.623Z] prd-centos7-docker-4c-2g-3239 does not seem to be running inside a container [2020-08-10T08:03:45.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 ******** ci-base-image-x86_64 cat [2020-08-10T08:03:47.143Z] $ docker top 1d2d110e44a3be99343878fed34dbad3a1ce84b801a2f735ba5327fda35196c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-10T08:03:47.672Z] + go version [2020-08-10T08:03:47.672Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-10T08:03:47.998Z] + make test [2020-08-10T08:03:47.998Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-10T08:03:48.950Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-10T08:03:59.073Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-10T08:03:59.073Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-10T08:03:59.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-10T08:03:59.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.1% of statements [2020-08-10T08:03:59.341Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements [2020-08-10T08:04:10.802Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-10T08:04:10.802Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-10T08:04:10.802Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-10T08:04:12.801Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 22.1% of statements [2020-08-10T08:04:15.465Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.143s coverage: 95.8% of statements [2020-08-10T08:04:31.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.046s coverage: 11.6% of statements [2020-08-10T08:04:31.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 21.7% of statements [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-10T08:04:31.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.165s coverage: 36.9% of statements [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-10T08:04:31.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.473s coverage: 65.2% of statements [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-10T08:04:31.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements [2020-08-10T08:04:31.534Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.095s coverage: 68.9% of statements [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-10T08:04:31.534Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-10T08:04:31.534Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-10T08:04:31.534Z] gofmt -l . [2020-08-10T08:04:31.795Z] [ "`gofmt -l .`" = "" ] [2020-08-10T08:04:31.795Z] ./bin/test-attribution-txt.sh [2020-08-10T08:04:32.369Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-10T08:04:33.025Z] Stashed 1 file(s) [Pipeline] } [2020-08-10T08:04:33.045Z] $ docker stop --time=1 1d2d110e44a3be99343878fed34dbad3a1ce84b801a2f735ba5327fda35196c8 [2020-08-10T08:04:34.604Z] $ docker rm -f 1d2d110e44a3be99343878fed34dbad3a1ce84b801a2f735ba5327fda35196c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-10T08:04:37.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-10T08:04:37.815Z] + ls -al . [2020-08-10T08:04:37.815Z] total 188 [2020-08-10T08:04:37.815Z] drwxrwxr-x. 11 jenkins jenkins 4096 Aug 10 08:04 . [2020-08-10T08:04:37.815Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 10 08:02 .. [2020-08-10T08:04:37.815Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 10 08:03 bin [2020-08-10T08:04:37.815Z] -rw-r--r--. 1 jenkins jenkins 110880 Aug 10 08:04 coverage.out [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 936 Aug 10 08:03 Dockerfile.build [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 10 08:03 .dockerignore [2020-08-10T08:04:37.815Z] drwxrwxr-x. 4 jenkins jenkins 48 Aug 10 08:03 example [2020-08-10T08:04:37.815Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 10 08:03 .git [2020-08-10T08:04:37.815Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 10 08:03 .github [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 10 08:03 .gitignore [2020-08-10T08:04:37.815Z] -rw-r--r--. 1 jenkins jenkins 446 Aug 10 08:04 go.mod [2020-08-10T08:04:37.815Z] -rw-r--r--. 1 jenkins jenkins 12179 Aug 10 08:04 go.sum [2020-08-10T08:04:37.815Z] drwxrwxr-x. 13 jenkins jenkins 184 Aug 10 08:03 internal [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 808 Aug 10 08:03 Jenkinsfile [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 10 08:03 LICENSE [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 892 Aug 10 08:03 Makefile [2020-08-10T08:04:37.815Z] drwxrwxr-x. 4 jenkins jenkins 26 Aug 10 08:03 openapi [2020-08-10T08:04:37.815Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 10 08:03 pkg [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 5101 Aug 10 08:03 README.md [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 4291 Aug 10 08:03 RELEASE-NOTES.txt [2020-08-10T08:04:37.815Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 10 08:03 .semver [2020-08-10T08:04:37.815Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 10 08:03 snap [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 10 07:59 VERSION [2020-08-10T08:04:37.815Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 10 08:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:04:38.158Z] + 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=ea2f983e788a845427826f536ae2e979748197ae --label arch=amd64 --label version=0.0.0 . [2020-08-10T08:04:38.421Z] Sending build context to Docker daemon 3.166MB [2020-08-10T08:04:38.421Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-10T08:04:38.421Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-10T08:04:38.421Z] ---> d0b81b1f4424 [2020-08-10T08:04:38.421Z] Step 3/23 : ARG MAKE='make build' [2020-08-10T08:04:38.682Z] ---> Running in 3527bc1d7c61 [2020-08-10T08:04:38.945Z] Removing intermediate container 3527bc1d7c61 [2020-08-10T08:04:38.945Z] ---> 4e0f9e9c49ab [2020-08-10T08:04:38.945Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-10T08:04:38.945Z] ---> Running in 18b4696888dd [2020-08-10T08:04:39.206Z] Removing intermediate container 18b4696888dd [2020-08-10T08:04:39.206Z] ---> 84e3a9794c88 [2020-08-10T08:04:39.206Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-10T08:04:39.206Z] ---> Running in d89f3c207004 [2020-08-10T08:04:39.467Z] Removing intermediate container d89f3c207004 [2020-08-10T08:04:39.467Z] ---> 08e71f7e2e9f [2020-08-10T08:04:39.467Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-10T08:04:39.467Z] ---> Running in c00c03d4297a [2020-08-10T08:04:40.422Z] Removing intermediate container c00c03d4297a [2020-08-10T08:04:40.422Z] ---> b266e061bedb [2020-08-10T08:04:40.422Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-10T08:04:40.686Z] ---> Running in af1e7cac05ed [2020-08-10T08:04:41.259Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-10T08:04:41.830Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-10T08:04:42.092Z] OK: 166 MiB in 39 packages [2020-08-10T08:04:42.355Z] Removing intermediate container af1e7cac05ed [2020-08-10T08:04:42.355Z] ---> 1509947fac8d [2020-08-10T08:04:42.355Z] Step 8/23 : COPY . . [2020-08-10T08:04:43.299Z] ---> 5537b52a5f69 [2020-08-10T08:04:43.299Z] Step 9/23 : RUN ${MAKE} [2020-08-10T08:04:43.559Z] ---> Running in 7108cbe027b6 [2020-08-10T08:04:43.823Z] 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-10T08:04:47.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 11.6% of statements [2020-08-10T08:04:47.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-10T08:04:47.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.188s coverage: 36.9% of statements [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-10T08:04:47.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.649s coverage: 65.2% of statements [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-10T08:04:47.803Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements [2020-08-10T08:04:47.803Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.358s coverage: 68.9% of statements [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-10T08:04:47.803Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-10T08:04:47.803Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-10T08:04:51.202Z] gofmt -l . [2020-08-10T08:04:51.202Z] [ "`gofmt -l .`" = "" ] [2020-08-10T08:04:51.202Z] ./bin/test-attribution-txt.sh [2020-08-10T08:04:52.066Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-10T08:04:52.182Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-10T08:04:52.500Z] Warning: overwriting stash ‘coverage-report’ [2020-08-10T08:04:53.346Z] Stashed 1 file(s) [Pipeline] } [2020-08-10T08:04:53.359Z] $ docker stop --time=1 4cdef5a8de233b88cd35e6457788e36fd99e827873cd5a711ec2ecc0c644e25c [2020-08-10T08:04:53.458Z] Removing intermediate container 7108cbe027b6 [2020-08-10T08:04:53.458Z] ---> b6e9bc3abd94 [2020-08-10T08:04:53.458Z] Step 10/23 : FROM scratch [2020-08-10T08:04:53.458Z] ---> [2020-08-10T08:04:53.458Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-10T08:04:53.458Z] ---> Running in 6861201d5113 [2020-08-10T08:04:53.458Z] Removing intermediate container 6861201d5113 [2020-08-10T08:04:53.458Z] ---> 58380d9d3279 [2020-08-10T08:04:53.458Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-10T08:04:53.458Z] ---> Running in 07127f45d638 [2020-08-10T08:04:53.719Z] Removing intermediate container 07127f45d638 [2020-08-10T08:04:53.719Z] ---> 7e701f445352 [2020-08-10T08:04:53.719Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-10T08:04:53.719Z] ---> Running in 54a81ada8ea6 [2020-08-10T08:04:53.980Z] Removing intermediate container 54a81ada8ea6 [2020-08-10T08:04:53.980Z] ---> 5bbb5c7fa870 [2020-08-10T08:04:53.980Z] Step 14/23 : WORKDIR / [2020-08-10T08:04:53.980Z] ---> Running in ac793223f1d4 [2020-08-10T08:04:54.247Z] Removing intermediate container ac793223f1d4 [2020-08-10T08:04:54.247Z] ---> 5833356bb3fa [2020-08-10T08:04:54.247Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-10T08:04:54.508Z] ---> d3f228784da8 [2020-08-10T08:04:54.508Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-10T08:04:54.769Z] ---> 2e3b84cd6d9d [2020-08-10T08:04:54.769Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-10T08:04:55.031Z] ---> 653947c42b66 [2020-08-10T08:04:55.031Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-10T08:04:55.293Z] ---> 67cae35015d9 [2020-08-10T08:04:55.293Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-10T08:04:55.553Z] ---> 949c6d0aed48 [2020-08-10T08:04:55.553Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-10T08:04:55.553Z] ---> Running in f34e2658beba [2020-08-10T08:04:55.573Z] $ docker rm -f 4cdef5a8de233b88cd35e6457788e36fd99e827873cd5a711ec2ecc0c644e25c [2020-08-10T08:04:55.814Z] Removing intermediate container f34e2658beba [2020-08-10T08:04:55.814Z] ---> b2f6b0f5cd52 [2020-08-10T08:04:55.814Z] Step 21/23 : LABEL arch=amd64 [2020-08-10T08:04:55.814Z] ---> Running in 5e8778bb12f7 [2020-08-10T08:04:56.077Z] Removing intermediate container 5e8778bb12f7 [2020-08-10T08:04:56.077Z] ---> 4618f4e48545 [2020-08-10T08:04:56.077Z] Step 22/23 : LABEL git_sha=ea2f983e788a845427826f536ae2e979748197ae [2020-08-10T08:04:56.077Z] ---> Running in 0ac896efd048 [2020-08-10T08:04:56.339Z] Removing intermediate container 0ac896efd048 [2020-08-10T08:04:56.339Z] ---> c6c51e9b663d [2020-08-10T08:04:56.339Z] Step 23/23 : LABEL version=0.0.0 [2020-08-10T08:04:56.339Z] ---> Running in 04f3aa74c206 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-08-10T08:04:56.600Z] Removing intermediate container 04f3aa74c206 [2020-08-10T08:04:56.600Z] ---> 551c2f55e1eb [2020-08-10T08:04:56.600Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-10T08:04:56.600Z] Successfully built 551c2f55e1eb [2020-08-10T08:04:56.600Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-08-10T08:04:57.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-08-10T08:04:58.060Z] + ls -al . [2020-08-10T08:04:58.060Z] total 228 [2020-08-10T08:04:58.060Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 08:04 . [2020-08-10T08:04:58.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 .. [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 08:02 .dockerignore [2020-08-10T08:04:58.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 08:02 .git [2020-08-10T08:04:58.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 08:02 .github [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 10 08:02 .gitignore [2020-08-10T08:04:58.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 08:02 .semver [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 936 Aug 10 08:02 Dockerfile.build [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 808 Aug 10 08:02 Jenkinsfile [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 10 08:02 LICENSE [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 892 Aug 10 08:02 Makefile [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 5101 Aug 10 08:02 README.md [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 4291 Aug 10 08:02 RELEASE-NOTES.txt [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 07:59 VERSION [2020-08-10T08:04:58.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 08:02 bin [2020-08-10T08:04:58.060Z] -rw-r--r-- 1 jenkins jenkins 110880 Aug 10 08:04 coverage.out [2020-08-10T08:04:58.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 example [2020-08-10T08:04:58.060Z] -rw-r--r-- 1 jenkins jenkins 446 Aug 10 08:04 go.mod [2020-08-10T08:04:58.060Z] -rw-r--r-- 1 jenkins jenkins 12179 Aug 10 08:04 go.sum [2020-08-10T08:04:58.060Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 10 08:02 internal [2020-08-10T08:04:58.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 openapi [2020-08-10T08:04:58.060Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 10 08:02 pkg [2020-08-10T08:04:58.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 08:02 snap [2020-08-10T08:04:58.060Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 10 08:02 version.go [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:04:58.737Z] + 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=ea2f983e788a845427826f536ae2e979748197ae --label arch=arm64 --label version=0.0.0 . [2020-08-10T08:04:59.338Z] Sending build context to Docker daemon 3.164MB [2020-08-10T08:04:59.338Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-10T08:04:59.338Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-10T08:04:59.338Z] ---> ab06b8cf2502 [2020-08-10T08:04:59.338Z] Step 3/23 : ARG MAKE='make build' [2020-08-10T08:04:59.338Z] ---> Running in 70c2b3eabcf4 [2020-08-10T08:04:59.930Z] Removing intermediate container 70c2b3eabcf4 [2020-08-10T08:04:59.930Z] ---> 60677d8b328e [2020-08-10T08:04:59.930Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-10T08:04:59.930Z] ---> Running in 0f060cccb9d7 [2020-08-10T08:05:00.524Z] Removing intermediate container 0f060cccb9d7 [2020-08-10T08:05:00.524Z] ---> a9eeaf557709 [2020-08-10T08:05:00.524Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-10T08:05:00.796Z] ---> Running in a79510dd3494 [2020-08-10T08:05:01.068Z] Removing intermediate container a79510dd3494 [2020-08-10T08:05:01.068Z] ---> abdf44818a1c [2020-08-10T08:05:01.068Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-10T08:05:01.348Z] ---> Running in 50afbd070b5d [2020-08-10T08:05:03.968Z] Removing intermediate container 50afbd070b5d [2020-08-10T08:05:03.968Z] ---> 53db58dc7500 [2020-08-10T08:05:03.968Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-10T08:05:03.968Z] ---> Running in ab116984f935 [2020-08-10T08:05:05.397Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-10T08:05:05.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-10T08:05:06.584Z] OK: 142 MiB in 39 packages [2020-08-10T08:05:08.023Z] Removing intermediate container ab116984f935 [2020-08-10T08:05:08.023Z] ---> 1a0db767072b [2020-08-10T08:05:08.023Z] Step 8/23 : COPY . . [2020-08-10T08:05:09.001Z] ---> 9673628599c8 [2020-08-10T08:05:09.001Z] Step 9/23 : RUN ${MAKE} [2020-08-10T08:05:09.272Z] ---> Running in 0ab6db8de742 [2020-08-10T08:05:10.704Z] 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-10T08:05:32.884Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-10T08:05:36.259Z] Removing intermediate container 0ab6db8de742 [2020-08-10T08:05:36.259Z] ---> f17bd8352387 [2020-08-10T08:05:36.259Z] Step 10/23 : FROM scratch [2020-08-10T08:05:36.259Z] ---> [2020-08-10T08:05:36.259Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-10T08:05:36.259Z] ---> Running in 1ec3e6ab4e08 [2020-08-10T08:05:36.259Z] Removing intermediate container 1ec3e6ab4e08 [2020-08-10T08:05:36.259Z] ---> 436804c74ded [2020-08-10T08:05:36.259Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-10T08:05:36.259Z] ---> Running in ecbf185c5429 [2020-08-10T08:05:36.853Z] Removing intermediate container ecbf185c5429 [2020-08-10T08:05:36.853Z] ---> 47da12912a1d [2020-08-10T08:05:36.853Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-10T08:05:36.853Z] ---> Running in fbe38bab87f0 [2020-08-10T08:05:37.124Z] Removing intermediate container fbe38bab87f0 [2020-08-10T08:05:37.124Z] ---> 54330166f248 [2020-08-10T08:05:37.124Z] Step 14/23 : WORKDIR / [2020-08-10T08:05:37.402Z] ---> Running in 86a1eeeecac5 [2020-08-10T08:05:37.995Z] Removing intermediate container 86a1eeeecac5 [2020-08-10T08:05:37.995Z] ---> 40f9e7226a0f [2020-08-10T08:05:37.995Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-10T08:05:38.977Z] ---> 8029a6476ab1 [2020-08-10T08:05:38.977Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-10T08:05:39.573Z] ---> f4aed7eaf40c [2020-08-10T08:05:39.573Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-10T08:05:40.550Z] ---> a821bcb0c2c6 [2020-08-10T08:05:40.550Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-10T08:05:41.144Z] ---> f46748ea64d2 [2020-08-10T08:05:41.144Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-10T08:05:41.741Z] ---> 4f3159175472 [2020-08-10T08:05:41.742Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-10T08:05:42.015Z] ---> Running in 0e043e097bb7 [2020-08-10T08:05:42.285Z] Removing intermediate container 0e043e097bb7 [2020-08-10T08:05:42.285Z] ---> fc47d8973bba [2020-08-10T08:05:42.285Z] Step 21/23 : LABEL arch=arm64 [2020-08-10T08:05:42.561Z] ---> Running in 40cde9ea2dea [2020-08-10T08:05:42.835Z] Removing intermediate container 40cde9ea2dea [2020-08-10T08:05:42.835Z] ---> 6f83f1b742b2 [2020-08-10T08:05:42.835Z] Step 22/23 : LABEL git_sha=ea2f983e788a845427826f536ae2e979748197ae [2020-08-10T08:05:43.108Z] ---> Running in fb1c7a060c98 [2020-08-10T08:05:43.704Z] Removing intermediate container fb1c7a060c98 [2020-08-10T08:05:43.704Z] ---> 087d50a57b55 [2020-08-10T08:05:43.704Z] Step 23/23 : LABEL version=0.0.0 [2020-08-10T08:05:43.704Z] ---> Running in 8e7db10c9a3d [2020-08-10T08:05:44.299Z] Removing intermediate container 8e7db10c9a3d [2020-08-10T08:05:44.299Z] ---> 6a0927ffa3b0 [2020-08-10T08:05:44.299Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-10T08:05:44.299Z] Successfully built 6a0927ffa3b0 [2020-08-10T08:05:44.299Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-08-10T08:05:46.622Z] provisioning config files... [2020-08-10T08:05:46.634Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/config6058687156505247323tmp [Pipeline] { [Pipeline] sh [2020-08-10T08:05:47.058Z] + curl -s https://codecov.io/bash [2020-08-10T08:05:47.058Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/config6058687156505247323tmp [Pipeline] } [2020-08-10T08:05:47.345Z] 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-10T08:05:50.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-10T08:05:50.675Z] ---> package-listing.sh [2020-08-10T08:05:50.675Z] ++ facter osfamily [2020-08-10T08:05:50.675Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-10T08:05:50.675Z] + OS_FAMILY=redhat [2020-08-10T08:05:50.675Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-562 [2020-08-10T08:05:50.675Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-10T08:05:50.675Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-10T08:05:50.675Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-10T08:05:50.675Z] + PACKAGES=/tmp/packages_start.txt [2020-08-10T08:05:50.675Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-562 ']' [2020-08-10T08:05:50.675Z] + PACKAGES=/tmp/packages_end.txt [2020-08-10T08:05:50.675Z] + case "${OS_FAMILY}" in [2020-08-10T08:05:50.675Z] + rpm -qa [2020-08-10T08:05:50.675Z] + sort [2020-08-10T08:05:54.904Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-10T08:05:54.904Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-10T08:05:54.904Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-10T08:05:54.904Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-562 ']' [2020-08-10T08:05:54.904Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-562/archives/ [2020-08-10T08:05:54.904Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-562/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:05:55.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-10T08:05:55.596Z] [2020-08-10T08:05:55.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-10T08:05:55.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-10T08:05:55.980Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-10T08:05:55.980Z] c9b1b535fdd9: Pulling fs layer [2020-08-10T08:05:55.980Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-10T08:05:55.980Z] 756a868c4378: Pulling fs layer [2020-08-10T08:05:55.980Z] 444b2fc9a129: Pulling fs layer [2020-08-10T08:05:55.980Z] ea15f1150254: Pulling fs layer [2020-08-10T08:05:55.980Z] 41b27a9f41bf: Pulling fs layer [2020-08-10T08:05:55.980Z] 28c525ee5125: Pulling fs layer [2020-08-10T08:05:55.980Z] 094b1ea09ed8: Pulling fs layer [2020-08-10T08:05:55.980Z] 138eaada9080: Pulling fs layer [2020-08-10T08:05:55.980Z] 0622d0fa9048: Pulling fs layer [2020-08-10T08:05:55.980Z] 41b27a9f41bf: Waiting [2020-08-10T08:05:55.980Z] 28c525ee5125: Waiting [2020-08-10T08:05:55.980Z] 094b1ea09ed8: Waiting [2020-08-10T08:05:55.980Z] 138eaada9080: Waiting [2020-08-10T08:05:55.980Z] 0622d0fa9048: Waiting [2020-08-10T08:05:55.980Z] 444b2fc9a129: Waiting [2020-08-10T08:05:55.980Z] ea15f1150254: Waiting [2020-08-10T08:05:55.980Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-10T08:05:55.980Z] 2cc5ad85d9ab: Download complete [2020-08-10T08:05:55.980Z] 444b2fc9a129: Download complete [2020-08-10T08:05:55.980Z] c9b1b535fdd9: Verifying Checksum [2020-08-10T08:05:55.980Z] c9b1b535fdd9: Download complete [2020-08-10T08:05:55.980Z] ea15f1150254: Verifying Checksum [2020-08-10T08:05:55.980Z] ea15f1150254: Download complete [2020-08-10T08:05:56.251Z] 28c525ee5125: Verifying Checksum [2020-08-10T08:05:56.251Z] 28c525ee5125: Download complete [2020-08-10T08:05:56.522Z] 756a868c4378: Verifying Checksum [2020-08-10T08:05:56.522Z] 756a868c4378: Download complete [2020-08-10T08:05:56.522Z] 138eaada9080: Verifying Checksum [2020-08-10T08:05:56.522Z] 138eaada9080: Download complete [2020-08-10T08:05:56.522Z] 0622d0fa9048: Verifying Checksum [2020-08-10T08:05:56.522Z] 0622d0fa9048: Download complete [2020-08-10T08:05:56.522Z] c9b1b535fdd9: Pull complete [2020-08-10T08:05:56.788Z] 094b1ea09ed8: Verifying Checksum [2020-08-10T08:05:56.788Z] 094b1ea09ed8: Download complete [2020-08-10T08:05:57.052Z] 2cc5ad85d9ab: Pull complete [2020-08-10T08:05:57.052Z] 41b27a9f41bf: Verifying Checksum [2020-08-10T08:05:57.052Z] 41b27a9f41bf: Download complete [2020-08-10T08:05:58.445Z] 756a868c4378: Pull complete [2020-08-10T08:05:58.445Z] 444b2fc9a129: Pull complete [2020-08-10T08:05:58.706Z] ea15f1150254: Pull complete [2020-08-10T08:06:02.949Z] 41b27a9f41bf: Pull complete [2020-08-10T08:06:02.949Z] 28c525ee5125: Pull complete [2020-08-10T08:06:05.502Z] 094b1ea09ed8: Pull complete [2020-08-10T08:06:05.763Z] 138eaada9080: Pull complete [2020-08-10T08:06:06.023Z] 0622d0fa9048: Pull complete [2020-08-10T08:06:06.023Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-10T08:06:06.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-10T08:06:06.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-10T08:06:06.216Z] prd-centos7-docker-4c-2g-3237 does not seem to be running inside a container [2020-08-10T08:06:06.253Z] $ 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-562 -v /w/workspace/dgexfoundry_device-sdk-go_PR-562:/w/workspace/dgexfoundry_device-sdk-go_PR-562:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-562@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-10T08:06:09.998Z] $ docker top 99e6593f9f148b14b52d9cad796b110a1d8ac2a216fa04bd73dca0c83478e6dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-10T08:06:10.414Z] provisioning config files... [2020-08-10T08:06:10.428Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-562@tmp/config3703086117024207579tmp [Pipeline] { [Pipeline] echo [2020-08-10T08:06:10.553Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-10T08:06:10.899Z] ---> create-netrc.sh [Pipeline] echo [2020-08-10T08:06:10.932Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-10T08:06:11.262Z] ---> logs-deploy.sh [2020-08-10T08:06:11.262Z] + ARCHIVE_ARTIFACTS= [2020-08-10T08:06:11.262Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-10T08:06:11.262Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-10T08:06:11.262Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-10T08:06:11.262Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-562/1 [2020-08-10T08:06:11.262Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-562/1/ [2020-08-10T08:06:11.262Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-562/1 /w/workspace/dgexfoundry_device-sdk-go_PR-562 [2020-08-10T08:06:12.649Z] Archives upload complete. [2020-08-10T08:06:12.649Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-562/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-562/1/