Push event to branch issue-495 Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e 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/issue-495/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-4990 in /w/workspace/xfoundry_device-sdk-go_issue-495 [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/xfoundry_device-sdk-go_issue-495 # 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/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/issue-495:refs/remotes/origin/issue-495 # 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/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 Checking out Revision 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e (issue-495) > git config core.sparsecheckout # timeout=10 > git checkout -f 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e # timeout=10 Commit message: "fix: pass ctx into client initialization function" 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-12T08:47:07.419Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-12T08:47:07.745Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-12T08:47:07.967Z] ========================================================= [2020-08-12T08:47:07.967Z] EdgeX Global Pipelines Version Info [2020-08-12T08:47:07.967Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-12T08:47:09.475Z] ------------------- [2020-08-12T08:47:09.475Z] stable info: [2020-08-12T08:47:09.476Z] ------------------- [2020-08-12T08:47:09.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-12T08:47:09.476Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-12T08:47:09.476Z] Message: update stable to v1.0.106 [2020-08-12T08:47:10.420Z] ------------------- [2020-08-12T08:47:10.420Z] experimental info: [2020-08-12T08:47:10.420Z] ------------------- [2020-08-12T08:47:10.420Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-12T08:47:10.420Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-12T08:47:10.420Z] 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-12T08:47:12.955Z] + git log --format=format:%s -1 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e [Pipeline] echo [2020-08-12T08:47:13.035Z] GIT_COMMIT: 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e, Commit Message: fix: pass ctx into client initialization function [Pipeline] echo [2020-08-12T08:47:13.105Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:47:13.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-12T08:47:14.182Z] [2020-08-12T08:47:14.182Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:47:14.568Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-12T08:47:14.568Z] latest: Pulling from edgex-devops/git-semver [2020-08-12T08:47:14.568Z] 31603596830f: Pulling fs layer [2020-08-12T08:47:14.568Z] 2a8b12db71e7: Pulling fs layer [2020-08-12T08:47:14.568Z] 6ca5941a6612: Pulling fs layer [2020-08-12T08:47:14.568Z] ecc8261a40a4: Pulling fs layer [2020-08-12T08:47:14.568Z] ecc8261a40a4: Waiting [2020-08-12T08:47:14.568Z] 2a8b12db71e7: Download complete [2020-08-12T08:47:14.834Z] 31603596830f: Verifying Checksum [2020-08-12T08:47:14.834Z] 31603596830f: Download complete [2020-08-12T08:47:14.834Z] ecc8261a40a4: Verifying Checksum [2020-08-12T08:47:14.834Z] ecc8261a40a4: Download complete [2020-08-12T08:47:14.834Z] 6ca5941a6612: Verifying Checksum [2020-08-12T08:47:14.834Z] 6ca5941a6612: Download complete [2020-08-12T08:47:15.099Z] 31603596830f: Pull complete [2020-08-12T08:47:15.099Z] 2a8b12db71e7: Pull complete [2020-08-12T08:47:16.045Z] 6ca5941a6612: Pull complete [2020-08-12T08:47:16.045Z] ecc8261a40a4: Pull complete [2020-08-12T08:47:16.045Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-12T08:47:16.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-12T08:47:16.045Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-12T08:47:16.159Z] prd-centos7-docker-4c-2g-4990 does not seem to be running inside a container [2020-08-12T08:47:16.203Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-sdk-go_issue-495 -v /w/workspace/xfoundry_device-sdk-go_issue-495:/w/workspace/xfoundry_device-sdk-go_issue-495:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-495@tmp:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-12T08:47:18.715Z] $ docker top b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-12T08:47:19.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-12T08:47:19.054Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-12T08:47:19.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-12T08:47:19.243Z] $ docker exec b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent [2020-08-12T08:47:19.403Z] SSH_AUTH_SOCK=/tmp/ssh-nVc2eTFfvuEc/agent.11 [2020-08-12T08:47:19.403Z] SSH_AGENT_PID=17 [2020-08-12T08:47:19.413Z] Running ssh-add (command line suppressed) [2020-08-12T08:47:19.517Z] Identity added: /w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_1844812346221082735.key (/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_1844812346221082735.key) [2020-08-12T08:47:19.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-12T08:47:19.938Z] + git describe --exact-match --tags HEAD [2020-08-12T08:47:19.938Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-12T08:47:19.978Z] $ docker exec --env ******** --env ******** b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent -k [2020-08-12T08:47:20.086Z] unset SSH_AUTH_SOCK; [2020-08-12T08:47:20.087Z] unset SSH_AGENT_PID; [2020-08-12T08:47:20.087Z] echo Agent pid 17 killed; [2020-08-12T08:47:20.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-12T08:47:20.278Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-12T08:47:20.278Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-12T08:47:20.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-12T08:47:20.391Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-12T08:47:20.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-12T08:47:20.540Z] $ docker exec b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent [2020-08-12T08:47:20.689Z] SSH_AUTH_SOCK=/tmp/ssh-ntnYqjd6GgSa/agent.46 [2020-08-12T08:47:20.689Z] SSH_AGENT_PID=51 [2020-08-12T08:47:20.695Z] Running ssh-add (command line suppressed) [2020-08-12T08:47:20.807Z] Identity added: /w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_8691519095279503482.key (/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/private_key_8691519095279503482.key) [2020-08-12T08:47:20.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-12T08:47:21.225Z] + git semver init [2020-08-12T08:47:21.225Z] # -> Open(): unable to determine branch for HEAD [2020-08-12T08:47:21.225Z] # $GIT_DIR = /w/workspace/xfoundry_device-sdk-go_issue-495/.git [2020-08-12T08:47:21.225Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-sdk-go_issue-495 [2020-08-12T08:47:21.225Z] # $SEMVER_REMOTE_NAME = origin [2020-08-12T08:47:21.225Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-12T08:47:21.225Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-12T08:47:21.225Z] # $SEMVER_BRANCH = issue-495 [2020-08-12T08:47:21.225Z] # $SEMVER_TEMP = /tmp/semver-074894682 [2020-08-12T08:47:21.225Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-08-12T08:47:21.796Z] # '/tmp/semver-074894682' -> '/w/workspace/xfoundry_device-sdk-go_issue-495/.semver' [2020-08-12T08:47:21.796Z] # -> Force: false [2020-08-12T08:47:21.796Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-sdk-go_issue-495/.semver [Pipeline] } [2020-08-12T08:47:21.815Z] $ docker exec --env ******** --env ******** b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 ssh-agent -k [2020-08-12T08:47:21.918Z] unset SSH_AUTH_SOCK; [2020-08-12T08:47:21.918Z] unset SSH_AGENT_PID; [2020-08-12T08:47:21.918Z] echo Agent pid 51 killed; [2020-08-12T08:47:21.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-12T08:47:22.567Z] + git semver [Pipeline] } [2020-08-12T08:47:22.636Z] $ docker stop --time=1 b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 [2020-08-12T08:47:24.071Z] $ docker rm -f b89114c5114a28efb3590903915fd9dc0f33eeb4627ff47a12b240d396f06630 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-12T08:47:24.900Z] Stashed 26 file(s) [Pipeline] echo [2020-08-12T08:47:24.924Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-12T08:47:25.034Z] 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-12T08:47:40.679Z] Still waiting to schedule task [2020-08-12T08:47:40.679Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4990’ [2020-08-12T08:47:40.702Z] Still waiting to schedule task [2020-08-12T08:47:40.702Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-12T08:49:37.882Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4991 in /w/workspace/xfoundry_device-sdk-go_issue-495 [Pipeline] { [Pipeline] ws [2020-08-12T08:49:37.965Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-08-12T08:49:42.933Z] using credential edgex-jenkins-ssh [2020-08-12T08:49:42.984Z] Cloning the remote Git repository [2020-08-12T08:49:42.984Z] Cloning with configured refspecs honoured and without tags [2020-08-12T08:49:43.040Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-12T08:49:43.148Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-08-12T08:49:43.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-12T08:49:43.220Z] > git --version # timeout=10 [2020-08-12T08:49:43.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-12T08:49:43.323Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 [2020-08-12T08:49:44.418Z] Fetching without tags [2020-08-12T08:49:44.904Z] Checking out Revision 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e (issue-495) [2020-08-12T08:49:44.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-12T08:49:44.376Z] > git config --add remote.origin.fetch +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 [2020-08-12T08:49:44.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-12T08:49:44.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-12T08:49:44.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-12T08:49:44.439Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 [2020-08-12T08:49:44.923Z] > git config core.sparsecheckout # timeout=10 [2020-08-12T08:49:44.940Z] > git checkout -f 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e # timeout=10 [2020-08-12T08:49:49.254Z] Commit message: "fix: pass ctx into client initialization function" [2020-08-12T08:49:49.319Z] > git --version # timeout=10 [2020-08-12T08:49:49.342Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-12T08:49:50.754Z] ========================================================= [2020-08-12T08:49:50.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-12T08:49:50.754Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:49:51.850Z] + 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-12T08:49:52.843Z] Sending build context to Docker daemon 3.049MB [2020-08-12T08:49:52.843Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-12T08:49:52.843Z] Step 2/8 : FROM ${BASE} [2020-08-12T08:49:53.125Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-12T08:49:53.125Z] b538f80385f9: Pulling fs layer [2020-08-12T08:49:53.125Z] 74f711af9a0d: Pulling fs layer [2020-08-12T08:49:53.125Z] 99f96fe45779: Pulling fs layer [2020-08-12T08:49:53.125Z] fd7a069fd194: Pulling fs layer [2020-08-12T08:49:53.125Z] 66aa3694b03b: Pulling fs layer [2020-08-12T08:49:53.125Z] 170f70906a0f: Pulling fs layer [2020-08-12T08:49:53.125Z] ad7c5574e4b9: Pulling fs layer [2020-08-12T08:49:53.125Z] e772456be8f7: Pulling fs layer [2020-08-12T08:49:53.125Z] c890913d741a: Pulling fs layer [2020-08-12T08:49:53.125Z] 2480fcc9aa5a: Pulling fs layer [2020-08-12T08:49:53.125Z] 09adf4765672: Pulling fs layer [2020-08-12T08:49:53.125Z] fd7a069fd194: Waiting [2020-08-12T08:49:53.125Z] 66aa3694b03b: Waiting [2020-08-12T08:49:53.125Z] ad7c5574e4b9: Waiting [2020-08-12T08:49:53.125Z] 170f70906a0f: Waiting [2020-08-12T08:49:53.125Z] e772456be8f7: Waiting [2020-08-12T08:49:53.125Z] c890913d741a: Waiting [2020-08-12T08:49:53.125Z] 2480fcc9aa5a: Waiting [2020-08-12T08:49:53.125Z] 09adf4765672: Waiting [2020-08-12T08:49:53.125Z] 99f96fe45779: Download complete [2020-08-12T08:49:53.125Z] 74f711af9a0d: Verifying Checksum [2020-08-12T08:49:53.125Z] 74f711af9a0d: Download complete [2020-08-12T08:49:53.125Z] 66aa3694b03b: Verifying Checksum [2020-08-12T08:49:53.125Z] 66aa3694b03b: Download complete [2020-08-12T08:49:53.125Z] 170f70906a0f: Verifying Checksum [2020-08-12T08:49:53.125Z] 170f70906a0f: Download complete [2020-08-12T08:49:53.125Z] b538f80385f9: Verifying Checksum [2020-08-12T08:49:54.124Z] b538f80385f9: Pull complete [2020-08-12T08:49:54.782Z] 74f711af9a0d: Pull complete [2020-08-12T08:49:55.390Z] 99f96fe45779: Pull complete [2020-08-12T08:49:56.378Z] ad7c5574e4b9: Verifying Checksum [2020-08-12T08:49:56.378Z] ad7c5574e4b9: Download complete [2020-08-12T08:49:56.378Z] c890913d741a: Verifying Checksum [2020-08-12T08:49:56.378Z] c890913d741a: Download complete [2020-08-12T08:49:58.363Z] e772456be8f7: Verifying Checksum [2020-08-12T08:49:58.363Z] e772456be8f7: Download complete [2020-08-12T08:49:58.363Z] 2480fcc9aa5a: Download complete [2020-08-12T08:49:58.363Z] 09adf4765672: Download complete [2020-08-12T08:49:58.959Z] fd7a069fd194: Verifying Checksum [2020-08-12T08:49:58.959Z] fd7a069fd194: Download complete [2020-08-12T08:50:11.370Z] fd7a069fd194: Pull complete [2020-08-12T08:50:11.370Z] 66aa3694b03b: Pull complete [2020-08-12T08:50:11.370Z] 170f70906a0f: Pull complete [2020-08-12T08:50:14.006Z] ad7c5574e4b9: Pull complete [2020-08-12T08:50:19.416Z] e772456be8f7: Pull complete [2020-08-12T08:50:19.416Z] c890913d741a: Pull complete [2020-08-12T08:50:21.404Z] 2480fcc9aa5a: Pull complete [2020-08-12T08:50:21.404Z] 09adf4765672: Pull complete [2020-08-12T08:50:21.679Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-12T08:50:21.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-12T08:50:21.679Z] ---> 2248a725d1cf [2020-08-12T08:50:21.679Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-12T08:50:27.100Z] ---> Running in 836408cd0879 [2020-08-12T08:50:27.100Z] Removing intermediate container 836408cd0879 [2020-08-12T08:50:27.100Z] ---> f4b84f85539f [2020-08-12T08:50:27.100Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-12T08:50:27.100Z] ---> Running in 1c539910426a [2020-08-12T08:50:27.676Z] Running on prd-centos7-docker-4c-2g-4992 in /w/workspace/xfoundry_device-sdk-go_issue-495 [Pipeline] { [Pipeline] ws [2020-08-12T08:50:27.752Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-08-12T08:50:29.725Z] Removing intermediate container 1c539910426a [2020-08-12T08:50:29.725Z] ---> 01bf8c95f505 [2020-08-12T08:50:29.725Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-12T08:50:29.725Z] ---> Running in b7cbca169d99 [2020-08-12T08:50:30.474Z] using credential edgex-jenkins-ssh [2020-08-12T08:50:30.538Z] Cloning the remote Git repository [2020-08-12T08:50:30.538Z] Cloning with configured refspecs honoured and without tags [2020-08-12T08:50:31.156Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-12T08:50:30.562Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-12T08:50:30.630Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-08-12T08:50:30.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-12T08:50:30.687Z] > git --version # timeout=10 [2020-08-12T08:50:30.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-12T08:50:30.957Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 [2020-08-12T08:50:32.062Z] Fetching without tags [2020-08-12T08:50:32.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-12T08:50:32.514Z] Checking out Revision 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e (issue-495) [2020-08-12T08:50:32.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-12T08:50:32.036Z] > git config --add remote.origin.fetch +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 [2020-08-12T08:50:32.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-12T08:50:32.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-12T08:50:32.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-12T08:50:32.067Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/issue-495:refs/remotes/origin/issue-495 # timeout=10 [2020-08-12T08:50:32.518Z] > git config core.sparsecheckout # timeout=10 [2020-08-12T08:50:32.525Z] > git checkout -f 3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e # timeout=10 [2020-08-12T08:50:32.729Z] OK: 142 MiB in 39 packages [2020-08-12T08:50:33.709Z] Removing intermediate container b7cbca169d99 [2020-08-12T08:50:33.709Z] ---> 6b4f42b624cd [2020-08-12T08:50:33.709Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-12T08:50:33.985Z] ---> Running in 2ceb61f655f2 [2020-08-12T08:50:34.260Z] Removing intermediate container 2ceb61f655f2 [2020-08-12T08:50:34.260Z] ---> 32b767fc0aa8 [2020-08-12T08:50:34.260Z] Step 7/8 : COPY . . [2020-08-12T08:50:35.692Z] ---> 806bfb897bc9 [2020-08-12T08:50:35.692Z] Step 8/8 : RUN go mod download [2020-08-12T08:50:35.692Z] ---> Running in e81c6e270208 [2020-08-12T08:50:36.068Z] Commit message: "fix: pass ctx into client initialization function" [2020-08-12T08:50:36.099Z] > git --version # timeout=10 [2020-08-12T08:50:36.111Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-12T08:50:37.289Z] ========================================================= [2020-08-12T08:50:37.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-12T08:50:37.289Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:50:37.915Z] + 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-12T08:50:38.303Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-12T08:50:38.498Z] Sending build context to Docker daemon 3.049MB [2020-08-12T08:50:38.498Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-12T08:50:38.498Z] Step 2/8 : FROM ${BASE} [2020-08-12T08:50:38.498Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-12T08:50:38.498Z] df20fa9351a1: Pulling fs layer [2020-08-12T08:50:38.498Z] ed8968b2872e: Pulling fs layer [2020-08-12T08:50:38.498Z] a92cc7c5fd73: Pulling fs layer [2020-08-12T08:50:38.498Z] 2dd03ba5bac4: Pulling fs layer [2020-08-12T08:50:38.498Z] 1e091d79d1de: Pulling fs layer [2020-08-12T08:50:38.498Z] 481702a1767f: Pulling fs layer [2020-08-12T08:50:38.498Z] f64a6f60c768: Pulling fs layer [2020-08-12T08:50:38.498Z] e78d2573fc39: Pulling fs layer [2020-08-12T08:50:38.498Z] e876d2f968b6: Pulling fs layer [2020-08-12T08:50:38.498Z] ce8a83651883: Pulling fs layer [2020-08-12T08:50:38.498Z] 07967f4d0e4b: Pulling fs layer [2020-08-12T08:50:38.498Z] f64a6f60c768: Waiting [2020-08-12T08:50:38.498Z] e78d2573fc39: Waiting [2020-08-12T08:50:38.498Z] e876d2f968b6: Waiting [2020-08-12T08:50:38.498Z] ce8a83651883: Waiting [2020-08-12T08:50:38.498Z] 07967f4d0e4b: Waiting [2020-08-12T08:50:38.498Z] 2dd03ba5bac4: Waiting [2020-08-12T08:50:38.498Z] 1e091d79d1de: Waiting [2020-08-12T08:50:38.498Z] 481702a1767f: Waiting [2020-08-12T08:50:38.498Z] a92cc7c5fd73: Verifying Checksum [2020-08-12T08:50:38.498Z] a92cc7c5fd73: Download complete [2020-08-12T08:50:38.498Z] ed8968b2872e: Verifying Checksum [2020-08-12T08:50:38.498Z] ed8968b2872e: Download complete [2020-08-12T08:50:38.573Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-12T08:50:38.573Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-12T08:50:38.573Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-12T08:50:38.573Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-12T08:50:38.573Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-12T08:50:38.573Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-12T08:50:38.573Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-12T08:50:38.573Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-12T08:50:38.573Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-12T08:50:38.760Z] 1e091d79d1de: Verifying Checksum [2020-08-12T08:50:38.760Z] 1e091d79d1de: Download complete [2020-08-12T08:50:38.760Z] 481702a1767f: Download complete [2020-08-12T08:50:38.760Z] df20fa9351a1: Verifying Checksum [2020-08-12T08:50:38.760Z] df20fa9351a1: Download complete [2020-08-12T08:50:38.842Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-12T08:50:38.842Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-12T08:50:38.842Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-12T08:50:38.842Z] go: finding github.com/fatih/color v1.7.0 [2020-08-12T08:50:38.842Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-12T08:50:38.842Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-12T08:50:38.842Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-12T08:50:38.842Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-12T08:50:39.023Z] df20fa9351a1: Pull complete [2020-08-12T08:50:39.116Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-12T08:50:39.116Z] go: finding github.com/google/uuid v1.1.0 [2020-08-12T08:50:39.116Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-12T08:50:39.116Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-12T08:50:39.116Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-12T08:50:39.116Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-12T08:50:39.116Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-12T08:50:39.116Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-12T08:50:39.116Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-12T08:50:39.298Z] ed8968b2872e: Pull complete [2020-08-12T08:50:39.298Z] a92cc7c5fd73: Pull complete [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-12T08:50:39.397Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-12T08:50:39.670Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-12T08:50:39.670Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-12T08:50:39.670Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-12T08:50:39.670Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-12T08:50:39.670Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-12T08:50:39.898Z] f64a6f60c768: Verifying Checksum [2020-08-12T08:50:39.898Z] f64a6f60c768: Download complete [2020-08-12T08:50:39.898Z] e876d2f968b6: Verifying Checksum [2020-08-12T08:50:39.898Z] e876d2f968b6: Download complete [2020-08-12T08:50:39.941Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-12T08:50:39.941Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-12T08:50:39.941Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-12T08:50:39.941Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-12T08:50:39.941Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-12T08:50:39.941Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-12T08:50:39.941Z] go: finding github.com/posener/complete v1.1.1 [2020-08-12T08:50:39.941Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-12T08:50:39.941Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-12T08:50:39.941Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-12T08:50:40.218Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-12T08:50:40.218Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-12T08:50:40.218Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-12T08:50:40.218Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-12T08:50:40.218Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-12T08:50:40.218Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-12T08:50:40.218Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-12T08:50:40.218Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-12T08:50:40.218Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-12T08:50:40.490Z] 2dd03ba5bac4: Verifying Checksum [2020-08-12T08:50:40.490Z] 2dd03ba5bac4: Download complete [2020-08-12T08:50:40.490Z] 07967f4d0e4b: Verifying Checksum [2020-08-12T08:50:40.490Z] 07967f4d0e4b: Download complete [2020-08-12T08:50:40.757Z] e78d2573fc39: Verifying Checksum [2020-08-12T08:50:40.757Z] e78d2573fc39: Download complete [2020-08-12T08:50:40.757Z] ce8a83651883: Verifying Checksum [2020-08-12T08:50:40.757Z] ce8a83651883: Download complete [2020-08-12T08:50:47.403Z] 2dd03ba5bac4: Pull complete [2020-08-12T08:50:47.403Z] 1e091d79d1de: Pull complete [2020-08-12T08:50:47.403Z] 481702a1767f: Pull complete [2020-08-12T08:50:50.358Z] Removing intermediate container e81c6e270208 [2020-08-12T08:50:50.358Z] ---> bbdeb2b21f36 [2020-08-12T08:50:50.358Z] Successfully built bbdeb2b21f36 [2020-08-12T08:50:50.358Z] 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-12T08:50:51.290Z] + docker inspect -f . ci-base-image-arm64 [2020-08-12T08:50:51.290Z] . [Pipeline] withDockerContainer [2020-08-12T08:50:51.581Z] prd-ubuntu18.04-docker-arm64-4c-16g-4991 does not seem to be running inside a container [2020-08-12T08:50:51.673Z] $ 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 ******** ci-base-image-arm64 cat [2020-08-12T08:50:52.723Z] f64a6f60c768: Pull complete [2020-08-12T08:50:53.515Z] $ docker top 2e96a481080e845c241bbf52d2678d069908396cdeb77c7b6bb5b918769f7bc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-12T08:50:54.958Z] + go version [2020-08-12T08:50:54.958Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-12T08:50:56.021Z] + make test [2020-08-12T08:50:56.021Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-12T08:50:56.054Z] e78d2573fc39: Pull complete [2020-08-12T08:50:56.054Z] e876d2f968b6: Pull complete [2020-08-12T08:50:57.001Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-12T08:50:57.005Z] ce8a83651883: Pull complete [2020-08-12T08:50:57.267Z] 07967f4d0e4b: Pull complete [2020-08-12T08:50:57.268Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-12T08:50:57.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-12T08:50:57.268Z] ---> 5d7c900382c6 [2020-08-12T08:50:57.268Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-12T08:50:57.844Z] ---> Running in 041bd1eaee92 [2020-08-12T08:50:58.107Z] Removing intermediate container 041bd1eaee92 [2020-08-12T08:50:58.107Z] ---> 825341d7213f [2020-08-12T08:50:58.107Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-12T08:50:58.107Z] ---> Running in fa00265151b3 [2020-08-12T08:50:59.507Z] Removing intermediate container fa00265151b3 [2020-08-12T08:50:59.507Z] ---> 6d1e51ace74e [2020-08-12T08:50:59.507Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-12T08:50:59.507Z] ---> Running in d5a4d6b8e302 [2020-08-12T08:51:00.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-12T08:51:00.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-12T08:51:01.612Z] OK: 166 MiB in 39 packages [2020-08-12T08:51:01.875Z] Removing intermediate container d5a4d6b8e302 [2020-08-12T08:51:01.875Z] ---> 56bf44a02437 [2020-08-12T08:51:01.875Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-12T08:51:01.875Z] ---> Running in 20ba87857ba2 [2020-08-12T08:51:02.140Z] Removing intermediate container 20ba87857ba2 [2020-08-12T08:51:02.140Z] ---> 0ed363d930a7 [2020-08-12T08:51:02.140Z] Step 7/8 : COPY . . [2020-08-12T08:51:03.530Z] ---> e8e553fbab16 [2020-08-12T08:51:03.530Z] Step 8/8 : RUN go mod download [2020-08-12T08:51:03.530Z] ---> Running in 13696bb19051 [2020-08-12T08:51:05.453Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-12T08:51:05.453Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-12T08:51:05.453Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-12T08:51:05.453Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-12T08:51:05.453Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-12T08:51:05.453Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-12T08:51:05.453Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-12T08:51:05.716Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-12T08:51:05.716Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-12T08:51:05.716Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-12T08:51:05.716Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-12T08:51:05.716Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-12T08:51:05.716Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-12T08:51:05.716Z] go: finding github.com/fatih/color v1.7.0 [2020-08-12T08:51:05.716Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-12T08:51:05.716Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-12T08:51:05.716Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-12T08:51:05.716Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-12T08:51:05.981Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-12T08:51:05.981Z] go: finding github.com/google/uuid v1.1.0 [2020-08-12T08:51:05.981Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-12T08:51:05.981Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-12T08:51:06.243Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-12T08:51:06.243Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-12T08:51:06.243Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-12T08:51:06.243Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-12T08:51:06.243Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-12T08:51:06.505Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-12T08:51:06.505Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-12T08:51:06.505Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-12T08:51:06.767Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-12T08:51:06.767Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-12T08:51:06.767Z] go: finding github.com/posener/complete v1.1.1 [2020-08-12T08:51:06.767Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-12T08:51:06.767Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-12T08:51:06.767Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-12T08:51:06.767Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-12T08:51:06.767Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-12T08:51:06.767Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-12T08:51:06.767Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-12T08:51:06.767Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-12T08:51:06.767Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-12T08:51:07.034Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-12T08:51:07.034Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-12T08:51:07.034Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-12T08:51:15.193Z] Removing intermediate container 13696bb19051 [2020-08-12T08:51:15.193Z] ---> d9405703f84f [2020-08-12T08:51:15.193Z] Successfully built d9405703f84f [2020-08-12T08:51:15.193Z] 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-12T08:51:16.543Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-12T08:51:16.543Z] . [Pipeline] withDockerContainer [2020-08-12T08:51:16.669Z] prd-centos7-docker-4c-2g-4992 does not seem to be running inside a container [2020-08-12T08:51:16.714Z] $ 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 ******** ci-base-image-x86_64 cat [2020-08-12T08:51:17.538Z] $ docker top 15b67f9fc74715c9b6df1bd10aeaedf6dc8ff3e0a2fa110c7940aa99b3ffb236 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-12T08:51:18.118Z] + go version [2020-08-12T08:51:18.118Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-12T08:51:18.441Z] + make test [2020-08-12T08:51:18.441Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-12T08:51:19.392Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-12T08:51:29.384Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-12T08:51:29.384Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-12T08:51:29.384Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-12T08:51:29.384Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements [2020-08-12T08:51:29.384Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.142s coverage: 95.8% of statements [2020-08-12T08:51:29.487Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-12T08:51:29.487Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-12T08:51:29.487Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-12T08:51:29.795Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements [2020-08-12T08:51:30.390Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements [2020-08-12T08:52:01.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.108s coverage: 11.3% of statements [2020-08-12T08:52:01.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.089s coverage: 21.7% of statements [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-12T08:52:01.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.142s coverage: 36.9% of statements [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-12T08:52:01.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.487s coverage: 65.2% of statements [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-12T08:52:01.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.143s coverage: 52.6% of statements [2020-08-12T08:52:01.693Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 68.9% of statements [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-12T08:52:01.693Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-12T08:52:01.693Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-12T08:52:02.540Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 11.3% of statements [2020-08-12T08:52:02.540Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.7% of statements [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-12T08:52:02.540Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.088s coverage: 36.9% of statements [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-12T08:52:02.540Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.380s coverage: 65.2% of statements [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-12T08:52:02.540Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-08-12T08:52:02.540Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.103s coverage: 68.9% of statements [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-12T08:52:02.540Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-12T08:52:02.540Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-12T08:52:02.540Z] gofmt -l . [2020-08-12T08:52:02.540Z] [ "`gofmt -l .`" = "" ] [2020-08-12T08:52:02.540Z] ./bin/test-attribution-txt.sh [2020-08-12T08:52:02.540Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-12T08:52:03.163Z] Stashed 1 file(s) [Pipeline] } [2020-08-12T08:52:03.178Z] $ docker stop --time=1 15b67f9fc74715c9b6df1bd10aeaedf6dc8ff3e0a2fa110c7940aa99b3ffb236 [2020-08-12T08:52:04.325Z] gofmt -l . [2020-08-12T08:52:04.677Z] $ docker rm -f 15b67f9fc74715c9b6df1bd10aeaedf6dc8ff3e0a2fa110c7940aa99b3ffb236 [2020-08-12T08:52:04.916Z] [ "`gofmt -l .`" = "" ] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-08-12T08:52:05.188Z] ./bin/test-attribution-txt.sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-08-12T08:52:05.785Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-12T08:52:07.286Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] sh [2020-08-12T08:52:07.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-12T08:52:07.918Z] + ls -al . [2020-08-12T08:52:07.918Z] total 188 [2020-08-12T08:52:07.918Z] drwxrwxr-x. 11 jenkins jenkins 4096 Aug 12 08:52 . [2020-08-12T08:52:07.918Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 12 08:50 .. [2020-08-12T08:52:07.918Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 12 08:50 bin [2020-08-12T08:52:07.918Z] -rw-r--r--. 1 jenkins jenkins 111044 Aug 12 08:51 coverage.out [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 936 Aug 12 08:50 Dockerfile.build [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 12 08:50 .dockerignore [2020-08-12T08:52:07.918Z] drwxrwxr-x. 4 jenkins jenkins 48 Aug 12 08:50 example [2020-08-12T08:52:07.918Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 12 08:50 .git [2020-08-12T08:52:07.918Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 12 08:50 .github [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 12 08:50 .gitignore [2020-08-12T08:52:07.918Z] -rw-r--r--. 1 jenkins jenkins 446 Aug 12 08:52 go.mod [2020-08-12T08:52:07.918Z] -rw-r--r--. 1 jenkins jenkins 12179 Aug 12 08:52 go.sum [2020-08-12T08:52:07.918Z] drwxrwxr-x. 13 jenkins jenkins 184 Aug 12 08:50 internal [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 808 Aug 12 08:50 Jenkinsfile [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 12 08:50 LICENSE [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 892 Aug 12 08:50 Makefile [2020-08-12T08:52:07.918Z] drwxrwxr-x. 4 jenkins jenkins 26 Aug 12 08:50 openapi [2020-08-12T08:52:07.918Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 12 08:50 pkg [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 5101 Aug 12 08:50 README.md [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 4291 Aug 12 08:50 RELEASE-NOTES.txt [2020-08-12T08:52:07.918Z] drwxrwxr-x. 3 jenkins jenkins 61 Aug 12 08:50 .semver [2020-08-12T08:52:07.918Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 12 08:50 snap [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 12 08:47 VERSION [2020-08-12T08:52:07.918Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 12 08:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:52:08.132Z] Stashed 1 file(s) [Pipeline] } [2020-08-12T08:52:08.150Z] $ docker stop --time=1 2e96a481080e845c241bbf52d2678d069908396cdeb77c7b6bb5b918769f7bc7 [2020-08-12T08:52:08.259Z] + 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=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e --label arch=amd64 --label version=0.0.0 . [2020-08-12T08:52:08.523Z] Sending build context to Docker daemon 3.177MB [2020-08-12T08:52:08.523Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-12T08:52:08.523Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-12T08:52:08.523Z] ---> d9405703f84f [2020-08-12T08:52:08.523Z] Step 3/23 : ARG MAKE='make build' [2020-08-12T08:52:08.784Z] ---> Running in 58d6fdfb3c1a [2020-08-12T08:52:09.047Z] Removing intermediate container 58d6fdfb3c1a [2020-08-12T08:52:09.047Z] ---> 4979e9971338 [2020-08-12T08:52:09.047Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-12T08:52:09.047Z] ---> Running in 1cc8275542d3 [2020-08-12T08:52:09.309Z] Removing intermediate container 1cc8275542d3 [2020-08-12T08:52:09.309Z] ---> 50f8c11b7cc0 [2020-08-12T08:52:09.309Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-12T08:52:09.309Z] ---> Running in 1982302bb6e6 [2020-08-12T08:52:09.571Z] Removing intermediate container 1982302bb6e6 [2020-08-12T08:52:09.572Z] ---> 58634cfe09ef [2020-08-12T08:52:09.572Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-12T08:52:09.572Z] ---> Running in 145af73c25ae [2020-08-12T08:52:10.353Z] $ docker rm -f 2e96a481080e845c241bbf52d2678d069908396cdeb77c7b6bb5b918769f7bc7 [2020-08-12T08:52:10.530Z] Removing intermediate container 145af73c25ae [2020-08-12T08:52:10.530Z] ---> 02ce760e400f [2020-08-12T08:52:10.530Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-12T08:52:10.530Z] ---> Running in e14924391871 [Pipeline] // withDockerContainer [2020-08-12T08:52:11.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-12T08:52:11.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-12T08:52:11.939Z] OK: 166 MiB in 39 packages [2020-08-12T08:52:11.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-12T08:52:12.381Z] + ls -al . [2020-08-12T08:52:12.381Z] total 228 [2020-08-12T08:52:12.381Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 08:52 . [2020-08-12T08:52:12.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 .. [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 08:49 .dockerignore [2020-08-12T08:52:12.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 08:49 .git [2020-08-12T08:52:12.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 08:49 .github [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 12 08:49 .gitignore [2020-08-12T08:52:12.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 08:49 .semver [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 936 Aug 12 08:49 Dockerfile.build [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 808 Aug 12 08:49 Jenkinsfile [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 08:49 LICENSE [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 892 Aug 12 08:49 Makefile [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 5101 Aug 12 08:49 README.md [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 4291 Aug 12 08:49 RELEASE-NOTES.txt [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 08:47 VERSION [2020-08-12T08:52:12.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 08:49 bin [2020-08-12T08:52:12.381Z] -rw-r--r-- 1 jenkins jenkins 111044 Aug 12 08:51 coverage.out [2020-08-12T08:52:12.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 example [2020-08-12T08:52:12.381Z] -rw-r--r-- 1 jenkins jenkins 446 Aug 12 08:52 go.mod [2020-08-12T08:52:12.381Z] -rw-r--r-- 1 jenkins jenkins 12179 Aug 12 08:52 go.sum [2020-08-12T08:52:12.381Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 12 08:49 internal [2020-08-12T08:52:12.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 openapi [2020-08-12T08:52:12.381Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 08:49 pkg [2020-08-12T08:52:12.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 08:49 snap [2020-08-12T08:52:12.381Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 08:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:52:12.512Z] Removing intermediate container e14924391871 [2020-08-12T08:52:12.512Z] ---> 93aad111e308 [2020-08-12T08:52:12.512Z] Step 8/23 : COPY . . [2020-08-12T08:52:12.784Z] + 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=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e --label arch=arm64 --label version=0.0.0 . [2020-08-12T08:52:13.056Z] Sending build context to Docker daemon 3.177MB [2020-08-12T08:52:13.327Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-08-12T08:52:13.327Z] Step 2/23 : FROM ${BASE} AS builder [2020-08-12T08:52:13.327Z] ---> bbdeb2b21f36 [2020-08-12T08:52:13.327Z] Step 3/23 : ARG MAKE='make build' [2020-08-12T08:52:13.327Z] ---> Running in 1b39e453c85b [2020-08-12T08:52:13.458Z] ---> f895b088a499 [2020-08-12T08:52:13.458Z] Step 9/23 : RUN ${MAKE} [2020-08-12T08:52:13.458Z] ---> Running in 818185afb909 [2020-08-12T08:52:13.721Z] 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-12T08:52:13.922Z] Removing intermediate container 1b39e453c85b [2020-08-12T08:52:13.922Z] ---> bffbbdf0be2d [2020-08-12T08:52:13.922Z] Step 4/23 : WORKDIR /device-sdk-go [2020-08-12T08:52:13.922Z] ---> Running in 59db874676d3 [2020-08-12T08:52:14.515Z] Removing intermediate container 59db874676d3 [2020-08-12T08:52:14.515Z] ---> eed833357bc1 [2020-08-12T08:52:14.515Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-12T08:52:14.515Z] ---> Running in 20a6641cc85a [2020-08-12T08:52:15.113Z] Removing intermediate container 20a6641cc85a [2020-08-12T08:52:15.114Z] ---> 9ea99b1897f4 [2020-08-12T08:52:15.114Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-12T08:52:15.389Z] ---> Running in f70d7458aed6 [2020-08-12T08:52:17.996Z] Removing intermediate container f70d7458aed6 [2020-08-12T08:52:17.996Z] ---> 0509f1653b36 [2020-08-12T08:52:17.996Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-08-12T08:52:17.996Z] ---> Running in 04319e630d6a [2020-08-12T08:52:18.968Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-12T08:52:19.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-12T08:52:20.227Z] OK: 142 MiB in 39 packages [2020-08-12T08:52:21.655Z] Removing intermediate container 04319e630d6a [2020-08-12T08:52:21.655Z] ---> 487714b850db [2020-08-12T08:52:21.655Z] Step 8/23 : COPY . . [2020-08-12T08:52:21.957Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-12T08:52:22.635Z] ---> a3f3b79af079 [2020-08-12T08:52:22.635Z] Step 9/23 : RUN ${MAKE} [2020-08-12T08:52:22.909Z] ---> Running in 01338d7530e6 [2020-08-12T08:52:23.348Z] Removing intermediate container 818185afb909 [2020-08-12T08:52:23.348Z] ---> 4ba764b579e1 [2020-08-12T08:52:23.348Z] Step 10/23 : FROM scratch [2020-08-12T08:52:23.348Z] ---> [2020-08-12T08:52:23.348Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-12T08:52:23.609Z] ---> Running in 57b49c01cefb [2020-08-12T08:52:23.609Z] Removing intermediate container 57b49c01cefb [2020-08-12T08:52:23.609Z] ---> 300a6d518fe4 [2020-08-12T08:52:23.609Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-12T08:52:23.872Z] ---> Running in 443067f8d02b [2020-08-12T08:52:23.872Z] Removing intermediate container 443067f8d02b [2020-08-12T08:52:23.872Z] ---> f462c1d61436 [2020-08-12T08:52:23.872Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-12T08:52:23.872Z] ---> Running in 97b9ddd55e92 [2020-08-12T08:52:24.133Z] Removing intermediate container 97b9ddd55e92 [2020-08-12T08:52:24.133Z] ---> 8e960c1d7065 [2020-08-12T08:52:24.133Z] Step 14/23 : WORKDIR / [2020-08-12T08:52:24.133Z] ---> Running in 48092e6d7a81 [2020-08-12T08:52:24.340Z] 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-12T08:52:24.394Z] Removing intermediate container 48092e6d7a81 [2020-08-12T08:52:24.394Z] ---> 720c1ef4c36b [2020-08-12T08:52:24.394Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-12T08:52:24.660Z] ---> f66ff5fd1076 [2020-08-12T08:52:24.660Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-12T08:52:24.923Z] ---> 99936c647843 [2020-08-12T08:52:24.923Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-12T08:52:25.185Z] ---> 460330b634d1 [2020-08-12T08:52:25.185Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-12T08:52:25.449Z] ---> 74c77ae2b691 [2020-08-12T08:52:25.449Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-12T08:52:25.711Z] ---> a1e8217e9395 [2020-08-12T08:52:25.711Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-12T08:52:25.711Z] ---> Running in d48270e17acf [2020-08-12T08:52:25.975Z] Removing intermediate container d48270e17acf [2020-08-12T08:52:25.975Z] ---> 10ce42427f1d [2020-08-12T08:52:25.975Z] Step 21/23 : LABEL arch=amd64 [2020-08-12T08:52:25.975Z] ---> Running in 81e8f29e8c08 [2020-08-12T08:52:26.236Z] Removing intermediate container 81e8f29e8c08 [2020-08-12T08:52:26.236Z] ---> b772beb5a65c [2020-08-12T08:52:26.236Z] Step 22/23 : LABEL git_sha=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e [2020-08-12T08:52:26.236Z] ---> Running in baa3ec903c09 [2020-08-12T08:52:26.498Z] Removing intermediate container baa3ec903c09 [2020-08-12T08:52:26.498Z] ---> 95fdc0326664 [2020-08-12T08:52:26.498Z] Step 23/23 : LABEL version=0.0.0 [2020-08-12T08:52:26.498Z] ---> Running in 284ee2647a50 [2020-08-12T08:52:26.759Z] Removing intermediate container 284ee2647a50 [2020-08-12T08:52:26.759Z] ---> 13f54d194ade [2020-08-12T08:52:26.759Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-12T08:52:26.759Z] Successfully built 13f54d194ade [2020-08-12T08:52:26.759Z] 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] } [2020-08-12T08:52:51.148Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-08-12T08:52:51.148Z] Removing intermediate container 01338d7530e6 [2020-08-12T08:52:51.148Z] ---> 0968e5bee111 [2020-08-12T08:52:51.148Z] Step 10/23 : FROM scratch [2020-08-12T08:52:51.148Z] ---> [2020-08-12T08:52:51.148Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-12T08:52:51.148Z] ---> Running in e6b98a9a27f1 [2020-08-12T08:52:51.148Z] Removing intermediate container e6b98a9a27f1 [2020-08-12T08:52:51.148Z] ---> 7076aa4dcb22 [2020-08-12T08:52:51.148Z] Step 12/23 : ENV APP_PORT=49990 [2020-08-12T08:52:51.148Z] ---> Running in df5f2d6fe289 [2020-08-12T08:52:51.148Z] Removing intermediate container df5f2d6fe289 [2020-08-12T08:52:51.148Z] ---> 949e11c993d2 [2020-08-12T08:52:51.148Z] Step 13/23 : EXPOSE $APP_PORT [2020-08-12T08:52:51.148Z] ---> Running in 1156f8ea0edc [2020-08-12T08:52:51.741Z] Removing intermediate container 1156f8ea0edc [2020-08-12T08:52:51.741Z] ---> 415e99523307 [2020-08-12T08:52:51.741Z] Step 14/23 : WORKDIR / [2020-08-12T08:52:51.741Z] ---> Running in 864fbf6fe85d [2020-08-12T08:52:52.333Z] Removing intermediate container 864fbf6fe85d [2020-08-12T08:52:52.333Z] ---> a1a4ad0a4acd [2020-08-12T08:52:52.333Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-08-12T08:52:53.308Z] ---> 6406d6b92c4a [2020-08-12T08:52:53.308Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-08-12T08:52:54.282Z] ---> fd9806560009 [2020-08-12T08:52:54.282Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-08-12T08:52:54.877Z] ---> 07a7291b2934 [2020-08-12T08:52:54.877Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-08-12T08:52:55.848Z] ---> 6ea1180ede8c [2020-08-12T08:52:55.848Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-08-12T08:52:56.441Z] ---> c4649a6244ee [2020-08-12T08:52:56.441Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-08-12T08:52:56.713Z] ---> Running in c98741dea836 [2020-08-12T08:52:56.985Z] Removing intermediate container c98741dea836 [2020-08-12T08:52:56.985Z] ---> 4047a9814a12 [2020-08-12T08:52:56.985Z] Step 21/23 : LABEL arch=arm64 [2020-08-12T08:52:57.256Z] ---> Running in fa4d8bf5bda0 [2020-08-12T08:52:57.852Z] Removing intermediate container fa4d8bf5bda0 [2020-08-12T08:52:57.852Z] ---> 1c6583ca3736 [2020-08-12T08:52:57.852Z] Step 22/23 : LABEL git_sha=3818844a6813d0bf2fe9f8ff3bc8e0ca3f678f0e [2020-08-12T08:52:57.852Z] ---> Running in 458739ab9ff1 [2020-08-12T08:52:58.449Z] Removing intermediate container 458739ab9ff1 [2020-08-12T08:52:58.449Z] ---> 2c373ecc5fc0 [2020-08-12T08:52:58.449Z] Step 23/23 : LABEL version=0.0.0 [2020-08-12T08:52:58.449Z] ---> Running in eea9a3e5625b [2020-08-12T08:52:59.040Z] Removing intermediate container eea9a3e5625b [2020-08-12T08:52:59.040Z] ---> d910d99f0078 [2020-08-12T08:52:59.040Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-12T08:52:59.040Z] Successfully built d910d99f0078 [2020-08-12T08:52:59.040Z] 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-12T08:53:01.618Z] provisioning config files... [2020-08-12T08:53:01.632Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/config8778898022150403928tmp [Pipeline] { [Pipeline] sh [2020-08-12T08:53:02.078Z] + curl -s https://codecov.io/bash [2020-08-12T08:53:02.078Z] + bash -s - -t @/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/config8778898022150403928tmp [Pipeline] } [2020-08-12T08:53:02.380Z] 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-12T08:53:05.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-12T08:53:06.256Z] ---> package-listing.sh [2020-08-12T08:53:06.256Z] ++ facter osfamily [2020-08-12T08:53:06.256Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-12T08:53:06.256Z] + OS_FAMILY=redhat [2020-08-12T08:53:06.256Z] + workspace=/w/workspace/xfoundry_device-sdk-go_issue-495 [2020-08-12T08:53:06.256Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-12T08:53:06.256Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-12T08:53:06.256Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-12T08:53:06.256Z] + PACKAGES=/tmp/packages_start.txt [2020-08-12T08:53:06.256Z] + '[' /w/workspace/xfoundry_device-sdk-go_issue-495 ']' [2020-08-12T08:53:06.256Z] + PACKAGES=/tmp/packages_end.txt [2020-08-12T08:53:06.256Z] + case "${OS_FAMILY}" in [2020-08-12T08:53:06.256Z] + rpm -qa [2020-08-12T08:53:06.256Z] + sort [2020-08-12T08:53:10.473Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-12T08:53:10.473Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-12T08:53:10.473Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-12T08:53:10.473Z] + '[' /w/workspace/xfoundry_device-sdk-go_issue-495 ']' [2020-08-12T08:53:10.473Z] + mkdir -p /w/workspace/xfoundry_device-sdk-go_issue-495/archives/ [2020-08-12T08:53:10.473Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-sdk-go_issue-495/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:53:11.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-12T08:53:11.134Z] [2020-08-12T08:53:11.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-12T08:53:11.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-12T08:53:11.560Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-12T08:53:11.560Z] c9b1b535fdd9: Pulling fs layer [2020-08-12T08:53:11.560Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-12T08:53:11.560Z] 756a868c4378: Pulling fs layer [2020-08-12T08:53:11.560Z] 444b2fc9a129: Pulling fs layer [2020-08-12T08:53:11.560Z] ea15f1150254: Pulling fs layer [2020-08-12T08:53:11.560Z] 41b27a9f41bf: Pulling fs layer [2020-08-12T08:53:11.560Z] 28c525ee5125: Pulling fs layer [2020-08-12T08:53:11.560Z] 094b1ea09ed8: Pulling fs layer [2020-08-12T08:53:11.560Z] 138eaada9080: Pulling fs layer [2020-08-12T08:53:11.560Z] 0622d0fa9048: Pulling fs layer [2020-08-12T08:53:11.560Z] ea15f1150254: Waiting [2020-08-12T08:53:11.560Z] 41b27a9f41bf: Waiting [2020-08-12T08:53:11.560Z] 28c525ee5125: Waiting [2020-08-12T08:53:11.560Z] 094b1ea09ed8: Waiting [2020-08-12T08:53:11.560Z] 138eaada9080: Waiting [2020-08-12T08:53:11.560Z] 0622d0fa9048: Waiting [2020-08-12T08:53:11.560Z] 444b2fc9a129: Waiting [2020-08-12T08:53:11.560Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-12T08:53:11.560Z] 2cc5ad85d9ab: Download complete [2020-08-12T08:53:11.560Z] 444b2fc9a129: Verifying Checksum [2020-08-12T08:53:11.560Z] 444b2fc9a129: Download complete [2020-08-12T08:53:11.560Z] c9b1b535fdd9: Verifying Checksum [2020-08-12T08:53:11.560Z] c9b1b535fdd9: Download complete [2020-08-12T08:53:11.560Z] ea15f1150254: Verifying Checksum [2020-08-12T08:53:11.560Z] ea15f1150254: Download complete [2020-08-12T08:53:11.843Z] 28c525ee5125: Verifying Checksum [2020-08-12T08:53:11.843Z] 28c525ee5125: Download complete [2020-08-12T08:53:12.113Z] 756a868c4378: Verifying Checksum [2020-08-12T08:53:12.113Z] 756a868c4378: Download complete [2020-08-12T08:53:12.113Z] c9b1b535fdd9: Pull complete [2020-08-12T08:53:12.113Z] 138eaada9080: Verifying Checksum [2020-08-12T08:53:12.113Z] 138eaada9080: Download complete [2020-08-12T08:53:12.113Z] 094b1ea09ed8: Verifying Checksum [2020-08-12T08:53:12.113Z] 094b1ea09ed8: Download complete [2020-08-12T08:53:12.113Z] 0622d0fa9048: Verifying Checksum [2020-08-12T08:53:12.113Z] 0622d0fa9048: Download complete [2020-08-12T08:53:12.692Z] 2cc5ad85d9ab: Pull complete [2020-08-12T08:53:12.692Z] 41b27a9f41bf: Verifying Checksum [2020-08-12T08:53:12.692Z] 41b27a9f41bf: Download complete [2020-08-12T08:53:14.083Z] 756a868c4378: Pull complete [2020-08-12T08:53:14.084Z] 444b2fc9a129: Pull complete [2020-08-12T08:53:14.344Z] ea15f1150254: Pull complete [2020-08-12T08:53:18.569Z] 41b27a9f41bf: Pull complete [2020-08-12T08:53:18.569Z] 28c525ee5125: Pull complete [2020-08-12T08:53:20.490Z] 094b1ea09ed8: Pull complete [2020-08-12T08:53:20.751Z] 138eaada9080: Pull complete [2020-08-12T08:53:21.012Z] 0622d0fa9048: Pull complete [2020-08-12T08:53:21.012Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-12T08:53:21.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-12T08:53:21.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-12T08:53:21.220Z] prd-centos7-docker-4c-2g-4990 does not seem to be running inside a container [2020-08-12T08:53:21.254Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-sdk-go_issue-495 -v /w/workspace/xfoundry_device-sdk-go_issue-495:/w/workspace/xfoundry_device-sdk-go_issue-495:rw,z -v /w/workspace/xfoundry_device-sdk-go_issue-495@tmp:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-12T08:53:24.111Z] $ docker top 0a5fdbcfdb8a574dc20f1b1849af75b5fd092a2767bec58f8c3e7d5c98b39088 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-12T08:53:24.587Z] provisioning config files... [2020-08-12T08:53:24.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-sdk-go_issue-495@tmp/config232454965897560644tmp [Pipeline] { [Pipeline] echo [2020-08-12T08:53:24.746Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-12T08:53:25.099Z] ---> create-netrc.sh [Pipeline] echo [2020-08-12T08:53:25.141Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-12T08:53:25.493Z] ---> logs-deploy.sh [2020-08-12T08:53:25.494Z] + ARCHIVE_ARTIFACTS= [2020-08-12T08:53:25.494Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-12T08:53:25.494Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-12T08:53:25.494Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-12T08:53:25.494Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-495/1 [2020-08-12T08:53:25.494Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-495/1/ [2020-08-12T08:53:25.494Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-495/1 /w/workspace/xfoundry_device-sdk-go_issue-495 [2020-08-12T08:53:26.436Z] Archives upload complete. [2020-08-12T08:53:26.699Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/issue-495/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/issue-495/1/