Pull request #571 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e18300a3f6ceaecfdaa66b57914126f93dde72fe+108cafbdc36a33829f2cd6e77abc07459d29f393 (0384aff420475d0b7a8e3fa7920409678f1c1699) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-384 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit e18300a3f6ceaecfdaa66b57914126f93dde72fe Merge succeeded, producing e18300a3f6ceaecfdaa66b57914126f93dde72fe Checking out Revision e18300a3f6ceaecfdaa66b57914126f93dde72fe (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" First time build. Skipping changelog. > git rev-list --no-walk 7bb0d0aaf1e15bdd6a379946a42513b69b2a0ce1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-26T07:51:06.938Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-26T07:51:07.180Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-26T07:51:07.312Z] ========================================================= [2020-08-26T07:51:07.312Z] EdgeX Global Pipelines Version Info [2020-08-26T07:51:07.312Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:51:08.716Z] ------------------- [2020-08-26T07:51:08.716Z] stable info: [2020-08-26T07:51:08.717Z] ------------------- [2020-08-26T07:51:08.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-26T07:51:08.717Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-26T07:51:08.717Z] Message: update stable to v1.0.106 [2020-08-26T07:51:09.660Z] ------------------- [2020-08-26T07:51:09.660Z] experimental info: [2020-08-26T07:51:09.660Z] ------------------- [2020-08-26T07:51:09.660Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-26T07:51:09.660Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-26T07:51:09.660Z] Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-26T07:51:12.165Z] + git log --format=format:%s -1 e18300a3f6ceaecfdaa66b57914126f93dde72fe [Pipeline] echo [2020-08-26T07:51:12.237Z] GIT_COMMIT: e18300a3f6ceaecfdaa66b57914126f93dde72fe, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo [2020-08-26T07:51:12.281Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:51:12.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-26T07:51:13.030Z] [2020-08-26T07:51:13.030Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:51:13.391Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-26T07:51:13.391Z] latest: Pulling from edgex-devops/git-semver [2020-08-26T07:51:13.391Z] 31603596830f: Pulling fs layer [2020-08-26T07:51:13.391Z] 2a8b12db71e7: Pulling fs layer [2020-08-26T07:51:13.391Z] 6ca5941a6612: Pulling fs layer [2020-08-26T07:51:13.391Z] ecc8261a40a4: Pulling fs layer [2020-08-26T07:51:13.391Z] ecc8261a40a4: Waiting [2020-08-26T07:51:13.391Z] 2a8b12db71e7: Verifying Checksum [2020-08-26T07:51:13.391Z] 2a8b12db71e7: Download complete [2020-08-26T07:51:13.391Z] 31603596830f: Verifying Checksum [2020-08-26T07:51:13.391Z] 31603596830f: Download complete [2020-08-26T07:51:13.660Z] ecc8261a40a4: Verifying Checksum [2020-08-26T07:51:13.660Z] ecc8261a40a4: Download complete [2020-08-26T07:51:13.660Z] 6ca5941a6612: Verifying Checksum [2020-08-26T07:51:13.660Z] 6ca5941a6612: Download complete [2020-08-26T07:51:13.660Z] 31603596830f: Pull complete [2020-08-26T07:51:13.923Z] 2a8b12db71e7: Pull complete [2020-08-26T07:51:14.868Z] 6ca5941a6612: Pull complete [2020-08-26T07:51:14.868Z] ecc8261a40a4: Pull complete [2020-08-26T07:51:14.868Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-26T07:51:14.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-26T07:51:14.868Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-26T07:51:14.971Z] prd-centos7-docker-4c-2g-384 does not seem to be running inside a container [2020-08-26T07:51:15.017Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-26T07:51:17.150Z] $ docker top 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-26T07:51:17.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-26T07:51:17.461Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-26T07:51:17.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-26T07:51:17.671Z] $ docker exec 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a ssh-agent [2020-08-26T07:51:17.827Z] SSH_AUTH_SOCK=/tmp/ssh-HQqeJg1rxn2N/agent.11 [2020-08-26T07:51:17.827Z] SSH_AGENT_PID=16 [2020-08-26T07:51:17.838Z] Running ssh-add (command line suppressed) [2020-08-26T07:51:17.954Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_5716350518446576280.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_5716350518446576280.key) [2020-08-26T07:51:17.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-26T07:51:18.325Z] + git describe --exact-match --tags HEAD [2020-08-26T07:51:18.325Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-26T07:51:18.347Z] $ docker exec --env ******** --env ******** 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a ssh-agent -k [2020-08-26T07:51:18.462Z] unset SSH_AUTH_SOCK; [2020-08-26T07:51:18.463Z] unset SSH_AGENT_PID; [2020-08-26T07:51:18.463Z] echo Agent pid 16 killed; [2020-08-26T07:51:18.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-26T07:51:18.590Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-26T07:51:18.590Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-26T07:51:18.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-26T07:51:18.677Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-26T07:51:18.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-26T07:51:18.876Z] $ docker exec 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a ssh-agent [2020-08-26T07:51:19.065Z] SSH_AUTH_SOCK=/tmp/ssh-KOHUeIxZcCra/agent.44 [2020-08-26T07:51:19.065Z] SSH_AGENT_PID=49 [2020-08-26T07:51:19.071Z] Running ssh-add (command line suppressed) [2020-08-26T07:51:19.191Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1671293953603513162.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1671293953603513162.key) [2020-08-26T07:51:19.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-26T07:51:19.561Z] + git semver init [2020-08-26T07:51:19.561Z] # -> Open(): unable to determine branch for HEAD [2020-08-26T07:51:19.561Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-08-26T07:51:19.561Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-08-26T07:51:19.561Z] # $SEMVER_REMOTE_NAME = origin [2020-08-26T07:51:19.561Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-26T07:51:19.561Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-26T07:51:19.561Z] # $SEMVER_BRANCH = PR-571 [2020-08-26T07:51:19.561Z] # $SEMVER_TEMP = /tmp/semver-625126841 [2020-08-26T07:51:19.561Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-08-26T07:51:20.503Z] # '/tmp/semver-625126841' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-08-26T07:51:20.503Z] # -> Force: false [2020-08-26T07:51:20.503Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-08-26T07:51:20.516Z] $ docker exec --env ******** --env ******** 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a ssh-agent -k [2020-08-26T07:51:20.627Z] unset SSH_AUTH_SOCK; [2020-08-26T07:51:20.627Z] unset SSH_AGENT_PID; [2020-08-26T07:51:20.627Z] echo Agent pid 49 killed; [2020-08-26T07:51:20.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-26T07:51:21.142Z] + git semver [Pipeline] } [2020-08-26T07:51:21.158Z] $ docker stop --time=1 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a [2020-08-26T07:51:22.509Z] $ docker rm -f 771a99f9ccf38767722e2aa25c6cd601011bce6e7bb26f752c6dc7b2ea3b429a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-26T07:51:23.361Z] Stashed 30 file(s) [Pipeline] echo [2020-08-26T07:51:23.364Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-26T07:51:23.448Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-08-26T07:51:38.800Z] Still waiting to schedule task [2020-08-26T07:51:38.800Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-26T07:51:38.802Z] Still waiting to schedule task [2020-08-26T07:51:38.802Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-382’ is offline [2020-08-26T07:53:33.255Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-385 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-08-26T07:53:33.359Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-08-26T07:53:38.424Z] using credential edgex-jenkins-ssh [2020-08-26T07:53:38.480Z] Cloning the remote Git repository [2020-08-26T07:53:38.480Z] Cloning with configured refspecs honoured and without tags [2020-08-26T07:53:38.558Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:53:38.681Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-08-26T07:53:38.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:53:38.764Z] > git --version # timeout=10 [2020-08-26T07:53:38.781Z] > git --version # 'git version 2.17.1' [2020-08-26T07:53:38.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:53:38.858Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:53:39.963Z] Fetching without tags [2020-08-26T07:53:40.451Z] Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit e18300a3f6ceaecfdaa66b57914126f93dde72fe [2020-08-26T07:53:40.680Z] Merge succeeded, producing e18300a3f6ceaecfdaa66b57914126f93dde72fe [2020-08-26T07:53:40.680Z] Checking out Revision e18300a3f6ceaecfdaa66b57914126f93dde72fe (PR-571) [2020-08-26T07:53:39.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:53:39.915Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-08-26T07:53:39.934Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:53:39.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:53:39.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:53:39.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:53:39.993Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:53:40.477Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:53:40.491Z] > git checkout -f e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 [2020-08-26T07:53:40.597Z] > git remote # timeout=10 [2020-08-26T07:53:40.614Z] > git config --get remote.origin.url # timeout=10 [2020-08-26T07:53:40.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:53:40.646Z] > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 [2020-08-26T07:53:40.666Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-26T07:53:40.692Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:53:40.703Z] > git checkout -f e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 [2020-08-26T07:53:45.428Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-26T07:53:46.956Z] ========================================================= [2020-08-26T07:53:46.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-26T07:53:46.956Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:53:47.941Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-08-26T07:53:48.942Z] Sending build context to Docker daemon 3.162MB [2020-08-26T07:53:48.942Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-26T07:53:48.942Z] Step 2/8 : FROM ${BASE} [2020-08-26T07:53:49.540Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-26T07:53:49.540Z] b538f80385f9: Pulling fs layer [2020-08-26T07:53:49.540Z] 74f711af9a0d: Pulling fs layer [2020-08-26T07:53:49.540Z] 99f96fe45779: Pulling fs layer [2020-08-26T07:53:49.540Z] fd7a069fd194: Pulling fs layer [2020-08-26T07:53:49.540Z] 66aa3694b03b: Pulling fs layer [2020-08-26T07:53:49.540Z] 170f70906a0f: Pulling fs layer [2020-08-26T07:53:49.540Z] ad7c5574e4b9: Pulling fs layer [2020-08-26T07:53:49.540Z] e772456be8f7: Pulling fs layer [2020-08-26T07:53:49.540Z] c890913d741a: Pulling fs layer [2020-08-26T07:53:49.540Z] 2480fcc9aa5a: Pulling fs layer [2020-08-26T07:53:49.540Z] 09adf4765672: Pulling fs layer [2020-08-26T07:53:49.540Z] fd7a069fd194: Waiting [2020-08-26T07:53:49.540Z] 66aa3694b03b: Waiting [2020-08-26T07:53:49.540Z] 170f70906a0f: Waiting [2020-08-26T07:53:49.540Z] ad7c5574e4b9: Waiting [2020-08-26T07:53:49.540Z] e772456be8f7: Waiting [2020-08-26T07:53:49.540Z] c890913d741a: Waiting [2020-08-26T07:53:49.540Z] 2480fcc9aa5a: Waiting [2020-08-26T07:53:49.540Z] 09adf4765672: Waiting [2020-08-26T07:53:49.540Z] 99f96fe45779: Verifying Checksum [2020-08-26T07:53:49.540Z] 99f96fe45779: Download complete [2020-08-26T07:53:49.540Z] 74f711af9a0d: Download complete [2020-08-26T07:53:49.540Z] 66aa3694b03b: Verifying Checksum [2020-08-26T07:53:49.540Z] 66aa3694b03b: Download complete [2020-08-26T07:53:49.540Z] 170f70906a0f: Download complete [2020-08-26T07:53:49.540Z] b538f80385f9: Verifying Checksum [2020-08-26T07:53:49.540Z] b538f80385f9: Download complete [2020-08-26T07:53:50.159Z] b538f80385f9: Pull complete [2020-08-26T07:53:50.776Z] 74f711af9a0d: Pull complete [2020-08-26T07:53:51.393Z] 99f96fe45779: Pull complete [2020-08-26T07:53:52.859Z] ad7c5574e4b9: Verifying Checksum [2020-08-26T07:53:52.859Z] ad7c5574e4b9: Download complete [2020-08-26T07:53:52.859Z] c890913d741a: Verifying Checksum [2020-08-26T07:53:52.859Z] c890913d741a: Download complete [2020-08-26T07:53:54.846Z] 2480fcc9aa5a: Verifying Checksum [2020-08-26T07:53:54.846Z] 2480fcc9aa5a: Download complete [2020-08-26T07:53:54.846Z] e772456be8f7: Verifying Checksum [2020-08-26T07:53:54.846Z] e772456be8f7: Download complete [2020-08-26T07:53:54.846Z] 09adf4765672: Verifying Checksum [2020-08-26T07:53:54.846Z] 09adf4765672: Download complete [2020-08-26T07:53:55.439Z] fd7a069fd194: Verifying Checksum [2020-08-26T07:53:55.439Z] fd7a069fd194: Download complete [2020-08-26T07:54:07.841Z] fd7a069fd194: Pull complete [2020-08-26T07:54:07.841Z] 66aa3694b03b: Pull complete [2020-08-26T07:54:07.841Z] 170f70906a0f: Pull complete [2020-08-26T07:54:10.468Z] ad7c5574e4b9: Pull complete [2020-08-26T07:54:15.898Z] e772456be8f7: Pull complete [2020-08-26T07:54:15.898Z] c890913d741a: Pull complete [2020-08-26T07:54:17.905Z] 2480fcc9aa5a: Pull complete [2020-08-26T07:54:18.182Z] 09adf4765672: Pull complete [2020-08-26T07:54:18.182Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-26T07:54:18.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-26T07:54:18.182Z] ---> 2248a725d1cf [2020-08-26T07:54:18.182Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:54:23.599Z] ---> Running in 4b972ff356a5 [2020-08-26T07:54:23.599Z] Removing intermediate container 4b972ff356a5 [2020-08-26T07:54:23.599Z] ---> 26c8bd2f48c7 [2020-08-26T07:54:23.599Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-26T07:54:23.599Z] ---> Running in 22323e39db75 [2020-08-26T07:54:26.226Z] Removing intermediate container 22323e39db75 [2020-08-26T07:54:26.226Z] ---> 39543266150e [2020-08-26T07:54:26.226Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-26T07:54:26.226Z] ---> Running in d3d2f699b083 [2020-08-26T07:54:27.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-26T07:54:28.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-26T07:54:29.210Z] OK: 142 MiB in 39 packages [2020-08-26T07:54:30.183Z] Removing intermediate container d3d2f699b083 [2020-08-26T07:54:30.183Z] ---> e5a545fa86bc [2020-08-26T07:54:30.183Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-26T07:54:30.183Z] ---> Running in d0334638eb2d [2020-08-26T07:54:30.821Z] Removing intermediate container d0334638eb2d [2020-08-26T07:54:30.821Z] ---> 5be6f808b386 [2020-08-26T07:54:30.821Z] Step 7/8 : COPY . . [2020-08-26T07:54:32.336Z] ---> fc8b3e18a9ba [2020-08-26T07:54:32.336Z] Step 8/8 : RUN go mod download [2020-08-26T07:54:32.336Z] ---> Running in 1bcd27e8e103 [2020-08-26T07:54:35.715Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-26T07:54:35.715Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-26T07:54:35.715Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-26T07:54:35.715Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-26T07:54:35.715Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-26T07:54:35.986Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-26T07:54:35.986Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-26T07:54:35.986Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-26T07:54:35.986Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-26T07:54:35.986Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-26T07:54:36.255Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-26T07:54:36.255Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-26T07:54:36.255Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-26T07:54:36.255Z] go: finding github.com/fatih/color v1.7.0 [2020-08-26T07:54:36.255Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-26T07:54:36.525Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-26T07:54:36.525Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-26T07:54:36.525Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-26T07:54:36.525Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-26T07:54:36.525Z] go: finding github.com/google/uuid v1.1.0 [2020-08-26T07:54:36.795Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-26T07:54:36.795Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-26T07:54:36.795Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-26T07:54:36.795Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-26T07:54:36.795Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-26T07:54:37.065Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-26T07:54:37.065Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-26T07:54:37.065Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-26T07:54:37.065Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-26T07:54:37.065Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-26T07:54:37.335Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-26T07:54:37.335Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-26T07:54:37.335Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-26T07:54:37.335Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-26T07:54:37.335Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-26T07:54:37.603Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-26T07:54:37.603Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-26T07:54:37.603Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-26T07:54:37.603Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-26T07:54:37.603Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-26T07:54:37.873Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-26T07:54:37.873Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-26T07:54:37.873Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-26T07:54:37.873Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-26T07:54:37.873Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-26T07:54:38.143Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-26T07:54:38.143Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-26T07:54:38.143Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-26T07:54:38.143Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-26T07:54:38.143Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-26T07:54:38.333Z] Running on prd-centos7-docker-4c-2g-386 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-08-26T07:54:38.380Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [2020-08-26T07:54:38.415Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-26T07:54:38.415Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-26T07:54:38.415Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-26T07:54:38.415Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-26T07:54:38.415Z] go: finding github.com/pmezard/go-difflib v1.0.0 [Pipeline] checkout [2020-08-26T07:54:38.685Z] go: finding github.com/posener/complete v1.1.1 [2020-08-26T07:54:38.685Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-26T07:54:38.685Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-26T07:54:38.685Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-26T07:54:38.685Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-26T07:54:38.961Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-26T07:54:38.961Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-26T07:54:38.961Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-26T07:54:38.961Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-26T07:54:38.961Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-26T07:54:39.232Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-26T07:54:39.232Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-26T07:54:39.232Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-26T07:54:44.882Z] using credential edgex-jenkins-ssh [2020-08-26T07:54:44.931Z] Cloning the remote Git repository [2020-08-26T07:54:44.931Z] Cloning with configured refspecs honoured and without tags [2020-08-26T07:54:44.964Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:54:45.033Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-08-26T07:54:45.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:54:45.400Z] > git --version # timeout=10 [2020-08-26T07:54:45.408Z] > git --version # 'git version 2.16.5' [2020-08-26T07:54:45.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:54:45.446Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:54:47.078Z] Fetching without tags [2020-08-26T07:54:47.641Z] Merging remotes/origin/master commit 108cafbdc36a33829f2cd6e77abc07459d29f393 into PR head commit e18300a3f6ceaecfdaa66b57914126f93dde72fe [2020-08-26T07:54:47.787Z] Merge succeeded, producing e18300a3f6ceaecfdaa66b57914126f93dde72fe [2020-08-26T07:54:47.787Z] Checking out Revision e18300a3f6ceaecfdaa66b57914126f93dde72fe (PR-571) [2020-08-26T07:54:47.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:54:47.054Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-08-26T07:54:47.060Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:54:47.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-08-26T07:54:47.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-08-26T07:54:47.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:54:47.095Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-26T07:54:47.656Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:54:47.664Z] > git checkout -f e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 [2020-08-26T07:54:47.725Z] > git remote # timeout=10 [2020-08-26T07:54:47.749Z] > git config --get remote.origin.url # timeout=10 [2020-08-26T07:54:47.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-26T07:54:47.765Z] > git merge 108cafbdc36a33829f2cd6e77abc07459d29f393 # timeout=10 [2020-08-26T07:54:47.780Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-26T07:54:47.793Z] > git config core.sparsecheckout # timeout=10 [2020-08-26T07:54:47.820Z] > git checkout -f e18300a3f6ceaecfdaa66b57914126f93dde72fe # timeout=10 [2020-08-26T07:54:49.426Z] Removing intermediate container 1bcd27e8e103 [2020-08-26T07:54:49.426Z] ---> b37ca5f99ed4 [2020-08-26T07:54:49.426Z] Successfully built b37ca5f99ed4 [2020-08-26T07:54:49.426Z] 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-26T07:54:50.150Z] + docker inspect -f . ci-base-image-arm64 [2020-08-26T07:54:50.150Z] . [Pipeline] withDockerContainer [2020-08-26T07:54:50.422Z] prd-ubuntu18.04-docker-arm64-4c-16g-385 does not seem to be running inside a container [2020-08-26T07:54:50.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-08-26T07:54:52.168Z] Commit message: "Remove globalvars and refactor remaining packages" [2020-08-26T07:54:52.389Z] $ docker top dac4fef227ab1ff94832ad9f4b38edd681f1de9f226e173fc1403224656a9da5 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-26T07:54:53.802Z] ========================================================= [2020-08-26T07:54:53.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-26T07:54:53.802Z] ========================================================= [2020-08-26T07:54:53.813Z] + go version [2020-08-26T07:54:53.813Z] go version go1.13.13 linux/arm64 [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:54:54.883Z] + make test [2020-08-26T07:54:54.883Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-26T07:54:55.012Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-08-26T07:54:55.870Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-26T07:54:56.045Z] Sending build context to Docker daemon 3.162MB [2020-08-26T07:54:56.046Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-26T07:54:56.046Z] Step 2/8 : FROM ${BASE} [2020-08-26T07:54:56.046Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-26T07:54:56.046Z] df20fa9351a1: Pulling fs layer [2020-08-26T07:54:56.046Z] ed8968b2872e: Pulling fs layer [2020-08-26T07:54:56.046Z] a92cc7c5fd73: Pulling fs layer [2020-08-26T07:54:56.046Z] 2dd03ba5bac4: Pulling fs layer [2020-08-26T07:54:56.046Z] 1e091d79d1de: Pulling fs layer [2020-08-26T07:54:56.046Z] 481702a1767f: Pulling fs layer [2020-08-26T07:54:56.046Z] f64a6f60c768: Pulling fs layer [2020-08-26T07:54:56.046Z] e78d2573fc39: Pulling fs layer [2020-08-26T07:54:56.046Z] e876d2f968b6: Pulling fs layer [2020-08-26T07:54:56.046Z] ce8a83651883: Pulling fs layer [2020-08-26T07:54:56.046Z] 07967f4d0e4b: Pulling fs layer [2020-08-26T07:54:56.046Z] f64a6f60c768: Waiting [2020-08-26T07:54:56.046Z] e78d2573fc39: Waiting [2020-08-26T07:54:56.046Z] e876d2f968b6: Waiting [2020-08-26T07:54:56.046Z] ce8a83651883: Waiting [2020-08-26T07:54:56.046Z] 07967f4d0e4b: Waiting [2020-08-26T07:54:56.046Z] 2dd03ba5bac4: Waiting [2020-08-26T07:54:56.046Z] 1e091d79d1de: Waiting [2020-08-26T07:54:56.046Z] 481702a1767f: Waiting [2020-08-26T07:54:56.046Z] a92cc7c5fd73: Verifying Checksum [2020-08-26T07:54:56.046Z] a92cc7c5fd73: Download complete [2020-08-26T07:54:56.046Z] ed8968b2872e: Download complete [2020-08-26T07:54:56.046Z] 1e091d79d1de: Verifying Checksum [2020-08-26T07:54:56.046Z] 1e091d79d1de: Download complete [2020-08-26T07:54:56.046Z] 481702a1767f: Verifying Checksum [2020-08-26T07:54:56.046Z] 481702a1767f: Download complete [2020-08-26T07:54:56.046Z] df20fa9351a1: Verifying Checksum [2020-08-26T07:54:56.046Z] df20fa9351a1: Download complete [2020-08-26T07:54:57.156Z] df20fa9351a1: Pull complete [2020-08-26T07:54:57.891Z] f64a6f60c768: Verifying Checksum [2020-08-26T07:54:57.891Z] f64a6f60c768: Download complete [2020-08-26T07:54:58.281Z] e876d2f968b6: Verifying Checksum [2020-08-26T07:54:58.281Z] e876d2f968b6: Download complete [2020-08-26T07:54:58.641Z] ed8968b2872e: Pull complete [2020-08-26T07:54:59.083Z] ce8a83651883: Verifying Checksum [2020-08-26T07:54:59.083Z] ce8a83651883: Download complete [2020-08-26T07:54:59.467Z] a92cc7c5fd73: Pull complete [2020-08-26T07:54:59.467Z] e78d2573fc39: Verifying Checksum [2020-08-26T07:54:59.467Z] e78d2573fc39: Download complete [2020-08-26T07:54:59.467Z] 07967f4d0e4b: Verifying Checksum [2020-08-26T07:54:59.467Z] 07967f4d0e4b: Download complete [2020-08-26T07:54:59.797Z] 2dd03ba5bac4: Verifying Checksum [2020-08-26T07:54:59.797Z] 2dd03ba5bac4: Download complete [2020-08-26T07:55:10.171Z] 2dd03ba5bac4: Pull complete [2020-08-26T07:55:10.436Z] 1e091d79d1de: Pull complete [2020-08-26T07:55:10.436Z] 481702a1767f: Pull complete [2020-08-26T07:55:18.828Z] f64a6f60c768: Pull complete [2020-08-26T07:55:23.619Z] e78d2573fc39: Pull complete [2020-08-26T07:55:23.619Z] e876d2f968b6: Pull complete [2020-08-26T07:55:25.144Z] ce8a83651883: Pull complete [2020-08-26T07:55:25.144Z] 07967f4d0e4b: Pull complete [2020-08-26T07:55:25.144Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-26T07:55:25.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-26T07:55:25.144Z] ---> 5d7c900382c6 [2020-08-26T07:55:25.144Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-08-26T07:55:26.593Z] ---> Running in 09949783a974 [2020-08-26T07:55:26.860Z] Removing intermediate container 09949783a974 [2020-08-26T07:55:26.860Z] ---> 9af2b99fe18c [2020-08-26T07:55:26.860Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-26T07:55:26.860Z] ---> Running in f747b13ef5e2 [2020-08-26T07:55:28.286Z] Removing intermediate container f747b13ef5e2 [2020-08-26T07:55:28.286Z] ---> 24193d55a2f7 [2020-08-26T07:55:28.286Z] Step 5/8 : RUN apk add --no-cache make git [2020-08-26T07:55:28.289Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-26T07:55:28.290Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-26T07:55:28.290Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-26T07:55:28.290Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.042s coverage: 20.8% of statements [2020-08-26T07:55:28.290Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.163s coverage: 97.1% of statements [2020-08-26T07:55:28.592Z] ---> Running in 8d7f2b0c9503 [2020-08-26T07:55:29.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-26T07:55:29.932Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-26T07:55:30.535Z] OK: 166 MiB in 39 packages [2020-08-26T07:55:31.148Z] Removing intermediate container 8d7f2b0c9503 [2020-08-26T07:55:31.148Z] ---> 7df05c6d4fa6 [2020-08-26T07:55:31.148Z] Step 6/8 : WORKDIR /device-sdk-go [2020-08-26T07:55:31.148Z] ---> Running in e4db9ae7dae8 [2020-08-26T07:55:31.148Z] Removing intermediate container e4db9ae7dae8 [2020-08-26T07:55:31.148Z] ---> b6831aca3a7c [2020-08-26T07:55:31.148Z] Step 7/8 : COPY . . [2020-08-26T07:55:32.573Z] ---> bf8692028b5c [2020-08-26T07:55:32.573Z] Step 8/8 : RUN go mod download [2020-08-26T07:55:32.573Z] ---> Running in 78af6f40ff1a [2020-08-26T07:55:34.544Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-26T07:55:34.544Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-26T07:55:34.544Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-26T07:55:34.810Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-26T07:55:34.810Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-26T07:55:34.810Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-26T07:55:34.810Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-26T07:55:34.810Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-26T07:55:34.810Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-08-26T07:55:35.076Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-26T07:55:35.076Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-26T07:55:35.076Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-26T07:55:35.076Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-26T07:55:35.076Z] go: finding github.com/fatih/color v1.7.0 [2020-08-26T07:55:35.076Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-26T07:55:35.345Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-26T07:55:35.345Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-26T07:55:35.345Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-26T07:55:35.345Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-26T07:55:35.345Z] go: finding github.com/google/uuid v1.1.0 [2020-08-26T07:55:35.345Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-26T07:55:35.630Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-26T07:55:35.630Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-26T07:55:35.630Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-26T07:55:35.630Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-26T07:55:35.630Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-26T07:55:35.630Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-26T07:55:35.907Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-26T07:55:35.907Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-26T07:55:35.907Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-26T07:55:35.907Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-26T07:55:35.907Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-26T07:55:36.172Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-26T07:55:36.172Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-26T07:55:36.172Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-26T07:55:36.172Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-26T07:55:36.172Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-26T07:55:36.172Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-26T07:55:36.440Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-26T07:55:36.440Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-26T07:55:36.440Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-26T07:55:36.440Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-26T07:55:36.440Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-26T07:55:36.440Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-26T07:55:36.440Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-26T07:55:36.714Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-26T07:55:36.714Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-26T07:55:36.714Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-26T07:55:36.714Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-26T07:55:36.714Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-26T07:55:36.714Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-26T07:55:36.981Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-26T07:55:36.981Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-26T07:55:36.981Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-26T07:55:36.981Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-26T07:55:36.981Z] go: finding github.com/posener/complete v1.1.1 [2020-08-26T07:55:36.981Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-26T07:55:37.259Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-26T07:55:37.259Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-26T07:55:37.259Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-26T07:55:37.259Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-26T07:55:37.259Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-26T07:55:37.259Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-26T07:55:37.563Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-26T07:55:37.563Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-26T07:55:37.563Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-26T07:55:37.563Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-26T07:55:37.563Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-26T07:55:46.064Z] Removing intermediate container 78af6f40ff1a [2020-08-26T07:55:46.064Z] ---> d3cedf99b983 [2020-08-26T07:55:46.064Z] Successfully built d3cedf99b983 [2020-08-26T07:55:46.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:55:46.851Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-26T07:55:46.851Z] . [Pipeline] withDockerContainer [2020-08-26T07:55:47.147Z] prd-centos7-docker-4c-2g-386 does not seem to be running inside a container [2020-08-26T07:55:47.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-08-26T07:55:48.787Z] $ docker top 44217ae9a175f5919d9ea732c62073f2d9c9cb8ad703249c1ba83ffc85611546 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-26T07:55:49.456Z] + go version [2020-08-26T07:55:49.456Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-26T07:55:50.033Z] + make test [2020-08-26T07:55:50.033Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-26T07:55:52.985Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-08-26T07:56:00.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.021s coverage: 9.4% of statements [2020-08-26T07:56:00.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.9% of statements [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-26T07:56:00.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.066s coverage: 37.0% of statements [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-26T07:56:00.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.125s coverage: 65.4% of statements [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-26T07:56:00.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.036s coverage: 52.6% of statements [2020-08-26T07:56:00.649Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.333s coverage: 68.9% of statements [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-26T07:56:00.649Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-26T07:56:00.649Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-26T07:56:04.072Z] gofmt -l . [2020-08-26T07:56:04.072Z] pkg/service/init.go [2020-08-26T07:56:04.072Z] [ "`gofmt -l .`" = "" ] [2020-08-26T07:56:04.345Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2020-08-26T07:56:04.363Z] $ docker stop --time=1 dac4fef227ab1ff94832ad9f4b38edd681f1de9f226e173fc1403224656a9da5 [2020-08-26T07:56:06.476Z] $ docker rm -f dac4fef227ab1ff94832ad9f4b38edd681f1de9f226e173fc1403224656a9da5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-26T07:56:08.451Z] Failed in branch arm64 [2020-08-26T07:56:12.374Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-08-26T07:56:12.374Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-08-26T07:56:12.374Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-08-26T07:56:12.374Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 20.8% of statements [2020-08-26T07:56:15.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.168s coverage: 97.1% of statements [2020-08-26T07:56:47.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 9.4% of statements [2020-08-26T07:56:47.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 21.9% of statements [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-08-26T07:56:47.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.032s coverage: 37.0% of statements [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-08-26T07:56:47.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.056s coverage: 65.4% of statements [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-08-26T07:56:47.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.056s coverage: 52.6% of statements [2020-08-26T07:56:47.572Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.254s coverage: 68.9% of statements [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-08-26T07:56:47.572Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-08-26T07:56:47.572Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-26T07:56:49.570Z] gofmt -l . [2020-08-26T07:56:49.570Z] pkg/service/init.go [2020-08-26T07:56:49.570Z] [ "`gofmt -l .`" = "" ] [2020-08-26T07:56:49.570Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2020-08-26T07:56:49.600Z] $ docker stop --time=1 44217ae9a175f5919d9ea732c62073f2d9c9cb8ad703249c1ba83ffc85611546 [2020-08-26T07:56:51.338Z] $ docker rm -f 44217ae9a175f5919d9ea732c62073f2d9c9cb8ad703249c1ba83ffc85611546 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-26T07:56:52.967Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:56:55.589Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:56:56.149Z] ---> package-listing.sh [2020-08-26T07:56:56.149Z] ++ facter osfamily [2020-08-26T07:56:56.149Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-26T07:56:56.149Z] + OS_FAMILY=redhat [2020-08-26T07:56:56.149Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-08-26T07:56:56.149Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-26T07:56:56.149Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-26T07:56:56.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-26T07:56:56.149Z] + PACKAGES=/tmp/packages_start.txt [2020-08-26T07:56:56.149Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-08-26T07:56:56.149Z] + PACKAGES=/tmp/packages_end.txt [2020-08-26T07:56:56.149Z] + case "${OS_FAMILY}" in [2020-08-26T07:56:56.149Z] + rpm -qa [2020-08-26T07:56:56.149Z] + sort [2020-08-26T07:57:00.370Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-26T07:57:00.370Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-26T07:57:00.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-26T07:57:00.370Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-08-26T07:57:00.370Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-08-26T07:57:00.370Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:57:00.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-26T07:57:00.771Z] [2020-08-26T07:57:00.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-26T07:57:01.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-26T07:57:01.116Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-26T07:57:01.116Z] c9b1b535fdd9: Pulling fs layer [2020-08-26T07:57:01.117Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-26T07:57:01.117Z] 756a868c4378: Pulling fs layer [2020-08-26T07:57:01.117Z] 444b2fc9a129: Pulling fs layer [2020-08-26T07:57:01.117Z] ea15f1150254: Pulling fs layer [2020-08-26T07:57:01.117Z] 41b27a9f41bf: Pulling fs layer [2020-08-26T07:57:01.117Z] 28c525ee5125: Pulling fs layer [2020-08-26T07:57:01.117Z] 094b1ea09ed8: Pulling fs layer [2020-08-26T07:57:01.117Z] 138eaada9080: Pulling fs layer [2020-08-26T07:57:01.117Z] 0622d0fa9048: Pulling fs layer [2020-08-26T07:57:01.117Z] 444b2fc9a129: Waiting [2020-08-26T07:57:01.117Z] ea15f1150254: Waiting [2020-08-26T07:57:01.117Z] 41b27a9f41bf: Waiting [2020-08-26T07:57:01.117Z] 28c525ee5125: Waiting [2020-08-26T07:57:01.117Z] 094b1ea09ed8: Waiting [2020-08-26T07:57:01.117Z] 138eaada9080: Waiting [2020-08-26T07:57:01.117Z] 0622d0fa9048: Waiting [2020-08-26T07:57:01.117Z] 2cc5ad85d9ab: Download complete [2020-08-26T07:57:01.117Z] 444b2fc9a129: Verifying Checksum [2020-08-26T07:57:01.117Z] 444b2fc9a129: Download complete [2020-08-26T07:57:01.117Z] c9b1b535fdd9: Verifying Checksum [2020-08-26T07:57:01.117Z] c9b1b535fdd9: Download complete [2020-08-26T07:57:01.117Z] ea15f1150254: Verifying Checksum [2020-08-26T07:57:01.117Z] ea15f1150254: Download complete [2020-08-26T07:57:01.386Z] 28c525ee5125: Verifying Checksum [2020-08-26T07:57:01.386Z] 28c525ee5125: Download complete [2020-08-26T07:57:01.657Z] 756a868c4378: Verifying Checksum [2020-08-26T07:57:01.657Z] 756a868c4378: Download complete [2020-08-26T07:57:01.657Z] c9b1b535fdd9: Pull complete [2020-08-26T07:57:01.657Z] 138eaada9080: Verifying Checksum [2020-08-26T07:57:01.657Z] 138eaada9080: Download complete [2020-08-26T07:57:01.657Z] 094b1ea09ed8: Verifying Checksum [2020-08-26T07:57:01.657Z] 094b1ea09ed8: Download complete [2020-08-26T07:57:01.657Z] 0622d0fa9048: Verifying Checksum [2020-08-26T07:57:01.657Z] 0622d0fa9048: Download complete [2020-08-26T07:57:02.251Z] 2cc5ad85d9ab: Pull complete [2020-08-26T07:57:02.251Z] 41b27a9f41bf: Verifying Checksum [2020-08-26T07:57:02.251Z] 41b27a9f41bf: Download complete [2020-08-26T07:57:03.647Z] 756a868c4378: Pull complete [2020-08-26T07:57:03.647Z] 444b2fc9a129: Pull complete [2020-08-26T07:57:03.910Z] ea15f1150254: Pull complete [2020-08-26T07:57:08.142Z] 41b27a9f41bf: Pull complete [2020-08-26T07:57:08.142Z] 28c525ee5125: Pull complete [2020-08-26T07:57:10.702Z] 094b1ea09ed8: Pull complete [2020-08-26T07:57:10.963Z] 138eaada9080: Pull complete [2020-08-26T07:57:11.224Z] 0622d0fa9048: Pull complete [2020-08-26T07:57:11.224Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-26T07:57:11.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-26T07:57:11.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-26T07:57:11.410Z] prd-centos7-docker-4c-2g-384 does not seem to be running inside a container [2020-08-26T07:57:11.456Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-26T07:57:14.947Z] $ docker top 716d4091147a68754e2170c27fbcd81534d636d6920b9819ca375e7c01a9a9a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-26T07:57:15.171Z] provisioning config files... [2020-08-26T07:57:15.187Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4406312573586903273tmp [Pipeline] { [Pipeline] echo [2020-08-26T07:57:15.254Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:57:15.553Z] ---> create-netrc.sh [Pipeline] echo [2020-08-26T07:57:15.563Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-26T07:57:15.862Z] ---> logs-deploy.sh [2020-08-26T07:57:15.862Z] + ARCHIVE_ARTIFACTS= [2020-08-26T07:57:15.862Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-26T07:57:15.862Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-26T07:57:15.862Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-26T07:57:15.862Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/3 [2020-08-26T07:57:15.862Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/3/ [2020-08-26T07:57:15.862Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/3 /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-08-26T07:57:16.806Z] Archives upload complete. [2020-08-26T07:57:17.068Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-571/3/