Branch indexing 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 456d5ef00ab241b4b10710decef5552b6e387823+7ebf8157bed3f29606eb8346b104e57a74818c1e (b68902d119b22cdd04f3661a5fa23c4e0706e3ba) 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > 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 BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1054 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 456d5ef00ab241b4b10710decef5552b6e387823 Merge succeeded, producing dd45ee1d33517379af7a2613d740017d12760131 Checking out Revision dd45ee1d33517379af7a2613d740017d12760131 (PR-570) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 456d5ef00ab241b4b10710decef5552b6e387823 # 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 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd45ee1d33517379af7a2613d740017d12760131 # timeout=10 Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e98247ef685175dd9da6834984c6f3ae57ce11fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-01T18:43:41.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-01T18:43:41.756Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-01T18:43:41.849Z] ========================================================= [2020-09-01T18:43:41.849Z] EdgeX Global Pipelines Version Info [2020-09-01T18:43:41.849Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:43:43.826Z] ------------------- [2020-09-01T18:43:43.826Z] stable info: [2020-09-01T18:43:43.826Z] ------------------- [2020-09-01T18:43:43.826Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-01T18:43:43.826Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T18:43:43.826Z] Message: update stable to v1.0.115 [2020-09-01T18:43:44.780Z] ------------------- [2020-09-01T18:43:44.780Z] experimental info: [2020-09-01T18:43:44.780Z] ------------------- [2020-09-01T18:43:44.780Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-01T18:43:44.780Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T18:43:44.780Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-01T18:43:45.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-01T18:43:45.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-01T18:43:45.372Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-01T18:43:45.506Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-01T18:43:45.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-01T18:43:45.664Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-01T18:43:45.768Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-01T18:43:45.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-01T18:43:45.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-01T18:43:46.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-01T18:43:46.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-01T18:43:46.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-01T18:43:46.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-01T18:43:46.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-01T18:43:46.483Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T18:43:46.565Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T18:43:46.649Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T18:43:46.727Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T18:43:46.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-01T18:43:46.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-01T18:43:46.983Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-01T18:43:47.062Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-01T18:43:47.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-570 [Pipeline] echo [2020-09-01T18:43:47.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-570 [Pipeline] echo [2020-09-01T18:43:47.339Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-570 [Pipeline] echo [2020-09-01T18:43:47.449Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd45ee1d33517379af7a2613d740017d12760131 [Pipeline] echo [2020-09-01T18:43:47.552Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd45ee1 [Pipeline] echo [2020-09-01T18:43:47.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T18:43:48.193Z] + git log --format=format:%s -1 dd45ee1d33517379af7a2613d740017d12760131 [Pipeline] echo [2020-09-01T18:43:48.253Z] GIT_COMMIT: dd45ee1d33517379af7a2613d740017d12760131, Commit Message: Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD [Pipeline] echo [2020-09-01T18:43:48.295Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:43:48.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T18:43:49.077Z] [2020-09-01T18:43:49.077Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:43:49.466Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T18:43:49.466Z] latest: Pulling from edgex-devops/git-semver [2020-09-01T18:43:49.466Z] 31603596830f: Pulling fs layer [2020-09-01T18:43:49.466Z] 2a8b12db71e7: Pulling fs layer [2020-09-01T18:43:49.466Z] 6ca5941a6612: Pulling fs layer [2020-09-01T18:43:49.466Z] ecc8261a40a4: Pulling fs layer [2020-09-01T18:43:49.466Z] ecc8261a40a4: Waiting [2020-09-01T18:43:49.466Z] 2a8b12db71e7: Verifying Checksum [2020-09-01T18:43:49.466Z] 2a8b12db71e7: Download complete [2020-09-01T18:43:49.466Z] 31603596830f: Verifying Checksum [2020-09-01T18:43:49.466Z] 31603596830f: Download complete [2020-09-01T18:43:49.734Z] ecc8261a40a4: Verifying Checksum [2020-09-01T18:43:49.734Z] ecc8261a40a4: Download complete [2020-09-01T18:43:49.734Z] 6ca5941a6612: Verifying Checksum [2020-09-01T18:43:49.734Z] 6ca5941a6612: Download complete [2020-09-01T18:43:49.997Z] 31603596830f: Pull complete [2020-09-01T18:43:49.997Z] 2a8b12db71e7: Pull complete [2020-09-01T18:43:51.011Z] 6ca5941a6612: Pull complete [2020-09-01T18:43:51.275Z] ecc8261a40a4: Pull complete [2020-09-01T18:43:51.539Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-01T18:43:51.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T18:43:51.539Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-01T18:43:51.667Z] prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container [2020-09-01T18:43:51.756Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-570 -v /w/workspace/dgexfoundry_device-sdk-go_PR-570:/w/workspace/dgexfoundry_device-sdk-go_PR-570:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-01T18:43:53.856Z] $ docker top 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-01T18:43:54.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T18:43:54.136Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T18:43:54.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T18:43:54.466Z] $ docker exec 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b ssh-agent [2020-09-01T18:43:54.642Z] SSH_AUTH_SOCK=/tmp/ssh-x9FsqJhZlfSQ/agent.12 [2020-09-01T18:43:54.642Z] SSH_AGENT_PID=17 [2020-09-01T18:43:54.654Z] Running ssh-add (command line suppressed) [2020-09-01T18:43:54.802Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_5015011819714244935.key (/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_5015011819714244935.key) [2020-09-01T18:43:54.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T18:43:55.222Z] + git describe --exact-match --tags HEAD [2020-09-01T18:43:55.222Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-01T18:43:55.253Z] $ docker exec --env ******** --env ******** 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b ssh-agent -k [2020-09-01T18:43:55.555Z] unset SSH_AUTH_SOCK; [2020-09-01T18:43:55.555Z] unset SSH_AGENT_PID; [2020-09-01T18:43:55.555Z] echo Agent pid 17 killed; [2020-09-01T18:43:55.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-01T18:43:55.760Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-01T18:43:55.760Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-01T18:43:55.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T18:43:55.852Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T18:43:56.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T18:43:56.246Z] $ docker exec 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b ssh-agent [2020-09-01T18:43:56.490Z] SSH_AUTH_SOCK=/tmp/ssh-8ZyX8zg28Arv/agent.46 [2020-09-01T18:43:56.491Z] SSH_AGENT_PID=52 [2020-09-01T18:43:56.499Z] Running ssh-add (command line suppressed) [2020-09-01T18:43:56.684Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_3131355441357130162.key (/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/private_key_3131355441357130162.key) [2020-09-01T18:43:56.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T18:43:57.108Z] + git semver init [2020-09-01T18:43:57.370Z] # -> Open(): unable to determine branch for HEAD [2020-09-01T18:43:57.370Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-570/.git [2020-09-01T18:43:57.370Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-570 [2020-09-01T18:43:57.370Z] # $SEMVER_REMOTE_NAME = origin [2020-09-01T18:43:57.370Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-01T18:43:57.370Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-01T18:43:57.370Z] # $SEMVER_BRANCH = PR-570 [2020-09-01T18:43:57.370Z] # $SEMVER_TEMP = /tmp/semver-587370450 [2020-09-01T18:43:57.370Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-01T18:43:57.950Z] # '/tmp/semver-587370450' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-570/.semver' [2020-09-01T18:43:57.950Z] # -> Force: false [2020-09-01T18:43:57.950Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-570/.semver [Pipeline] } [2020-09-01T18:43:58.000Z] $ docker exec --env ******** --env ******** 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b ssh-agent -k [2020-09-01T18:43:58.155Z] unset SSH_AUTH_SOCK; [2020-09-01T18:43:58.155Z] unset SSH_AGENT_PID; [2020-09-01T18:43:58.155Z] echo Agent pid 52 killed; [2020-09-01T18:43:58.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-01T18:43:58.661Z] + git semver [Pipeline] } [2020-09-01T18:43:58.685Z] $ docker stop --time=1 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b [2020-09-01T18:44:00.072Z] $ docker rm -f 3950a1111719e37fe7899a07a1ab181add2cd831b1088ab1767ad6336f43198b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-01T18:44:01.756Z] Stashed 32 file(s) [Pipeline] echo [2020-09-01T18:44:01.758Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-01T18:44:01.840Z] 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-09-01T18:44:17.217Z] Still waiting to schedule task [2020-09-01T18:44:17.217Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-01T18:44:17.219Z] Still waiting to schedule task [2020-09-01T18:44:17.219Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1051’ is offline [2020-09-01T18:46:53.281Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1057 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] ws [2020-09-01T18:46:53.325Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-01T18:46:58.328Z] using credential edgex-jenkins-ssh [2020-09-01T18:46:58.380Z] Cloning the remote Git repository [2020-09-01T18:46:58.380Z] Cloning with configured refspecs honoured and without tags [2020-09-01T18:46:58.437Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:46:58.544Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-09-01T18:46:58.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:46:58.618Z] > git --version # timeout=10 [2020-09-01T18:46:58.638Z] > git --version # 'git version 2.17.1' [2020-09-01T18:46:58.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:46:58.712Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:46:59.765Z] Fetching without tags [2020-09-01T18:47:00.268Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 456d5ef00ab241b4b10710decef5552b6e387823 [2020-09-01T18:47:00.708Z] Merge succeeded, producing e40215d20b5b9098ce32ee6e9aa5369356b0c15d [2020-09-01T18:47:00.708Z] Checking out Revision e40215d20b5b9098ce32ee6e9aa5369356b0c15d (PR-570) [2020-09-01T18:46:59.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:46:59.677Z] > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # timeout=10 [2020-09-01T18:46:59.702Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:46:59.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:46:59.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:46:59.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:46:59.792Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:47:00.289Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:47:00.319Z] > git checkout -f 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 [2020-09-01T18:47:00.439Z] > git remote # timeout=10 [2020-09-01T18:47:00.525Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T18:47:00.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:47:00.561Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-01T18:47:00.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T18:47:00.714Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:47:00.751Z] > git checkout -f e40215d20b5b9098ce32ee6e9aa5369356b0c15d # timeout=10 [2020-09-01T18:47:05.043Z] Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" [2020-09-01T18:47:05.068Z] First time build. Skipping changelog. [2020-09-01T18:47:05.047Z] > git rev-list --no-walk e98247ef685175dd9da6834984c6f3ae57ce11fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T18:47:06.293Z] ========================================================= [2020-09-01T18:47:06.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-01T18:47:06.293Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:47:07.532Z] + 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-09-01T18:47:08.528Z] Sending build context to Docker daemon 3.145MB [2020-09-01T18:47:08.528Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T18:47:08.528Z] Step 2/8 : FROM ${BASE} [2020-09-01T18:47:08.804Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-01T18:47:08.804Z] b538f80385f9: Pulling fs layer [2020-09-01T18:47:08.804Z] 74f711af9a0d: Pulling fs layer [2020-09-01T18:47:08.804Z] 99f96fe45779: Pulling fs layer [2020-09-01T18:47:08.804Z] fd7a069fd194: Pulling fs layer [2020-09-01T18:47:08.804Z] 66aa3694b03b: Pulling fs layer [2020-09-01T18:47:08.804Z] 170f70906a0f: Pulling fs layer [2020-09-01T18:47:08.804Z] ad7c5574e4b9: Pulling fs layer [2020-09-01T18:47:08.804Z] e772456be8f7: Pulling fs layer [2020-09-01T18:47:08.804Z] c890913d741a: Pulling fs layer [2020-09-01T18:47:08.804Z] 2480fcc9aa5a: Pulling fs layer [2020-09-01T18:47:08.804Z] 09adf4765672: Pulling fs layer [2020-09-01T18:47:08.804Z] ad7c5574e4b9: Waiting [2020-09-01T18:47:08.804Z] e772456be8f7: Waiting [2020-09-01T18:47:08.804Z] fd7a069fd194: Waiting [2020-09-01T18:47:08.804Z] 66aa3694b03b: Waiting [2020-09-01T18:47:08.804Z] 170f70906a0f: Waiting [2020-09-01T18:47:08.804Z] c890913d741a: Waiting [2020-09-01T18:47:08.804Z] 09adf4765672: Waiting [2020-09-01T18:47:08.804Z] 2480fcc9aa5a: Waiting [2020-09-01T18:47:08.804Z] 99f96fe45779: Verifying Checksum [2020-09-01T18:47:08.804Z] 99f96fe45779: Download complete [2020-09-01T18:47:08.804Z] 74f711af9a0d: Download complete [2020-09-01T18:47:08.804Z] 66aa3694b03b: Verifying Checksum [2020-09-01T18:47:08.804Z] 66aa3694b03b: Download complete [2020-09-01T18:47:08.804Z] 170f70906a0f: Verifying Checksum [2020-09-01T18:47:08.804Z] 170f70906a0f: Download complete [2020-09-01T18:47:08.804Z] b538f80385f9: Verifying Checksum [2020-09-01T18:47:08.804Z] b538f80385f9: Download complete [2020-09-01T18:47:09.796Z] b538f80385f9: Pull complete [2020-09-01T18:47:10.409Z] 74f711af9a0d: Pull complete [2020-09-01T18:47:10.686Z] 99f96fe45779: Pull complete [2020-09-01T18:47:11.678Z] ad7c5574e4b9: Verifying Checksum [2020-09-01T18:47:11.678Z] ad7c5574e4b9: Download complete [2020-09-01T18:47:11.678Z] c890913d741a: Verifying Checksum [2020-09-01T18:47:11.678Z] c890913d741a: Download complete [2020-09-01T18:47:13.137Z] 2480fcc9aa5a: Verifying Checksum [2020-09-01T18:47:13.137Z] 2480fcc9aa5a: Download complete [2020-09-01T18:47:13.137Z] 09adf4765672: Verifying Checksum [2020-09-01T18:47:13.137Z] 09adf4765672: Download complete [2020-09-01T18:47:14.118Z] e772456be8f7: Verifying Checksum [2020-09-01T18:47:14.118Z] e772456be8f7: Download complete [2020-09-01T18:47:14.724Z] fd7a069fd194: Verifying Checksum [2020-09-01T18:47:14.724Z] fd7a069fd194: Download complete [2020-09-01T18:47:27.141Z] fd7a069fd194: Pull complete [2020-09-01T18:47:27.141Z] 66aa3694b03b: Pull complete [2020-09-01T18:47:27.141Z] 170f70906a0f: Pull complete [2020-09-01T18:47:30.539Z] ad7c5574e4b9: Pull complete [2020-09-01T18:47:34.865Z] e772456be8f7: Pull complete [2020-09-01T18:47:35.143Z] c890913d741a: Pull complete [2020-09-01T18:47:37.793Z] 2480fcc9aa5a: Pull complete [2020-09-01T18:47:38.078Z] 09adf4765672: Pull complete [2020-09-01T18:47:38.078Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-01T18:47:38.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-01T18:47:38.078Z] ---> 2248a725d1cf [2020-09-01T18:47:38.078Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:47:42.408Z] ---> Running in 32507b91b934 [2020-09-01T18:47:42.408Z] Removing intermediate container 32507b91b934 [2020-09-01T18:47:42.408Z] ---> cc911fb8f1d8 [2020-09-01T18:47:42.408Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T18:47:42.408Z] ---> Running in cda39f3899c6 [2020-09-01T18:47:45.020Z] Removing intermediate container cda39f3899c6 [2020-09-01T18:47:45.020Z] ---> 99a977190bd6 [2020-09-01T18:47:45.020Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-01T18:47:45.020Z] ---> Running in 0d6c3a91fc53 [2020-09-01T18:47:46.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T18:47:47.439Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T18:47:48.033Z] OK: 142 MiB in 39 packages [2020-09-01T18:47:49.014Z] Removing intermediate container 0d6c3a91fc53 [2020-09-01T18:47:49.014Z] ---> f7023c2a0112 [2020-09-01T18:47:49.014Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-01T18:47:49.286Z] ---> Running in 8bb7b87119b5 [2020-09-01T18:47:49.564Z] Removing intermediate container 8bb7b87119b5 [2020-09-01T18:47:49.564Z] ---> 6425ac2774b4 [2020-09-01T18:47:49.564Z] Step 7/8 : COPY . . [2020-09-01T18:47:50.992Z] ---> 2552a349b0e0 [2020-09-01T18:47:50.993Z] Step 8/8 : RUN go mod download [2020-09-01T18:47:50.993Z] ---> Running in aba28f57939d [2020-09-01T18:47:54.374Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T18:47:54.374Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T18:47:54.374Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T18:47:54.374Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T18:47:54.374Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T18:47:54.374Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T18:47:54.374Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T18:47:54.374Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T18:47:54.374Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-01T18:47:54.374Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T18:47:54.374Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T18:47:54.374Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T18:47:54.374Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T18:47:54.647Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T18:47:54.647Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T18:47:54.647Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T18:47:54.647Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T18:47:54.647Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T18:47:54.918Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T18:47:54.918Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T18:47:54.918Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T18:47:54.918Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T18:47:54.918Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T18:47:54.918Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T18:47:54.918Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T18:47:55.190Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T18:47:55.190Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T18:47:55.190Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T18:47:55.190Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T18:47:55.190Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T18:47:55.190Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T18:47:55.461Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T18:47:55.730Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T18:47:55.730Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T18:47:55.730Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T18:47:55.730Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T18:47:55.730Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T18:47:55.730Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T18:47:55.730Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T18:47:56.001Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T18:47:56.001Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T18:47:56.001Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T18:47:56.001Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T18:47:56.001Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T18:47:56.001Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T18:47:56.001Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T18:47:56.271Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T18:47:56.271Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T18:47:56.271Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T18:47:56.271Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T18:47:56.271Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T18:47:56.271Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T18:47:56.271Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T18:47:56.540Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T18:47:56.540Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T18:47:56.540Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T18:47:56.540Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T18:47:56.540Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T18:47:56.540Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T18:47:56.540Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T18:47:56.811Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T18:47:56.811Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T18:47:56.980Z] Running on prd-centos7-docker-4c-2g-1058 in /w/workspace/dgexfoundry_device-sdk-go_PR-570 [Pipeline] { [Pipeline] ws [2020-09-01T18:47:57.029Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-01T18:47:59.823Z] using credential edgex-jenkins-ssh [2020-09-01T18:47:59.870Z] Cloning the remote Git repository [2020-09-01T18:47:59.870Z] Cloning with configured refspecs honoured and without tags [2020-09-01T18:47:59.900Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:47:59.962Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-09-01T18:48:00.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:48:00.008Z] > git --version # timeout=10 [2020-09-01T18:48:00.016Z] > git --version # 'git version 2.16.5' [2020-09-01T18:48:00.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:48:00.044Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:48:01.147Z] Fetching without tags [2020-09-01T18:48:01.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:48:01.128Z] > git config --add remote.origin.fetch +refs/pull/570/head:refs/remotes/origin/PR-570 # timeout=10 [2020-09-01T18:48:01.134Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:48:01.142Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:48:01.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:48:01.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:48:01.162Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:48:02.000Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 456d5ef00ab241b4b10710decef5552b6e387823 [2020-09-01T18:48:02.142Z] Merge succeeded, producing b8ee7d79966f0a82d0eb0ff9b044c3bc470a8a08 [2020-09-01T18:48:02.142Z] Checking out Revision b8ee7d79966f0a82d0eb0ff9b044c3bc470a8a08 (PR-570) [2020-09-01T18:48:02.009Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:48:02.016Z] > git checkout -f 456d5ef00ab241b4b10710decef5552b6e387823 # timeout=10 [2020-09-01T18:48:02.067Z] > git remote # timeout=10 [2020-09-01T18:48:02.075Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T18:48:02.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:48:02.087Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-01T18:48:02.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T18:48:02.145Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:48:02.154Z] > git checkout -f b8ee7d79966f0a82d0eb0ff9b044c3bc470a8a08 # timeout=10 [2020-09-01T18:48:05.749Z] Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" [2020-09-01T18:48:05.760Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T18:48:06.639Z] ========================================================= [2020-09-01T18:48:06.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-01T18:48:06.639Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:48:05.753Z] > git rev-list --no-walk e98247ef685175dd9da6834984c6f3ae57ce11fb # timeout=10 [2020-09-01T18:48:06.981Z] Removing intermediate container aba28f57939d [2020-09-01T18:48:06.981Z] ---> b0af4b8d0bb9 [2020-09-01T18:48:06.981Z] Successfully built b0af4b8d0bb9 [2020-09-01T18:48:06.981Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-01T18:48:07.235Z] + 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 . [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:48:07.499Z] Sending build context to Docker daemon 3.145MB [2020-09-01T18:48:07.499Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T18:48:07.499Z] Step 2/8 : FROM ${BASE} [2020-09-01T18:48:07.691Z] + docker inspect -f . ci-base-image-arm64 [2020-09-01T18:48:07.691Z] . [Pipeline] withDockerContainer [2020-09-01T18:48:07.772Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-01T18:48:07.772Z] df20fa9351a1: Pulling fs layer [2020-09-01T18:48:07.772Z] ed8968b2872e: Pulling fs layer [2020-09-01T18:48:07.772Z] a92cc7c5fd73: Pulling fs layer [2020-09-01T18:48:07.772Z] 2dd03ba5bac4: Pulling fs layer [2020-09-01T18:48:07.772Z] 1e091d79d1de: Pulling fs layer [2020-09-01T18:48:07.772Z] 481702a1767f: Pulling fs layer [2020-09-01T18:48:07.772Z] f64a6f60c768: Pulling fs layer [2020-09-01T18:48:07.772Z] e78d2573fc39: Pulling fs layer [2020-09-01T18:48:07.772Z] e876d2f968b6: Pulling fs layer [2020-09-01T18:48:07.772Z] ce8a83651883: Pulling fs layer [2020-09-01T18:48:07.772Z] 07967f4d0e4b: Pulling fs layer [2020-09-01T18:48:07.772Z] f64a6f60c768: Waiting [2020-09-01T18:48:07.772Z] e78d2573fc39: Waiting [2020-09-01T18:48:07.772Z] e876d2f968b6: Waiting [2020-09-01T18:48:07.772Z] ce8a83651883: Waiting [2020-09-01T18:48:07.772Z] 07967f4d0e4b: Waiting [2020-09-01T18:48:07.772Z] 1e091d79d1de: Waiting [2020-09-01T18:48:07.772Z] 2dd03ba5bac4: Waiting [2020-09-01T18:48:07.772Z] 481702a1767f: Waiting [2020-09-01T18:48:07.772Z] a92cc7c5fd73: Verifying Checksum [2020-09-01T18:48:07.772Z] a92cc7c5fd73: Download complete [2020-09-01T18:48:07.772Z] ed8968b2872e: Verifying Checksum [2020-09-01T18:48:07.772Z] ed8968b2872e: Download complete [2020-09-01T18:48:07.772Z] 1e091d79d1de: Verifying Checksum [2020-09-01T18:48:07.772Z] 1e091d79d1de: Download complete [2020-09-01T18:48:07.772Z] 481702a1767f: Verifying Checksum [2020-09-01T18:48:07.772Z] 481702a1767f: Download complete [2020-09-01T18:48:07.772Z] df20fa9351a1: Verifying Checksum [2020-09-01T18:48:07.772Z] df20fa9351a1: Download complete [2020-09-01T18:48:07.925Z] prd-ubuntu18.04-docker-arm64-4c-16g-1057 does not seem to be running inside a container [2020-09-01T18:48:08.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-01T18:48:08.740Z] f64a6f60c768: Verifying Checksum [2020-09-01T18:48:08.740Z] f64a6f60c768: Download complete [2020-09-01T18:48:08.740Z] e876d2f968b6: Verifying Checksum [2020-09-01T18:48:08.740Z] e876d2f968b6: Download complete [2020-09-01T18:48:09.330Z] ce8a83651883: Verifying Checksum [2020-09-01T18:48:09.330Z] ce8a83651883: Download complete [2020-09-01T18:48:09.330Z] 2dd03ba5bac4: Verifying Checksum [2020-09-01T18:48:09.330Z] 2dd03ba5bac4: Download complete [2020-09-01T18:48:09.330Z] e78d2573fc39: Download complete [2020-09-01T18:48:09.330Z] 07967f4d0e4b: Verifying Checksum [2020-09-01T18:48:09.330Z] 07967f4d0e4b: Download complete [2020-09-01T18:48:09.824Z] $ docker top eb6ff567c14d668d40954a109685cb295b1dabd899540a5d370ff3fd6423ef0b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T18:48:10.722Z] df20fa9351a1: Pull complete [2020-09-01T18:48:10.722Z] ed8968b2872e: Pull complete [2020-09-01T18:48:10.987Z] a92cc7c5fd73: Pull complete [2020-09-01T18:48:11.221Z] + go version [2020-09-01T18:48:11.221Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-01T18:48:12.276Z] + make test [2020-09-01T18:48:12.276Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-01T18:48:17.596Z] 2dd03ba5bac4: Pull complete [2020-09-01T18:48:17.596Z] 1e091d79d1de: Pull complete [2020-09-01T18:48:17.596Z] 481702a1767f: Pull complete [2020-09-01T18:48:17.691Z] # runtime/race [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::GetArgv()': [2020-09-01T18:48:17.691Z] gotsan.cc:(.text+0x48b8): undefined reference to `__libc_stack_end' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: gotsan.cc:(.text+0x48bc): undefined reference to `__libc_stack_end' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::GetEnviron()': [2020-09-01T18:48:17.691Z] gotsan.cc:(.text+0x48d0): undefined reference to `__libc_stack_end' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: gotsan.cc:(.text+0x48d4): undefined reference to `__libc_stack_end' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::WriteOneLineToSyslog(char const*)': [2020-09-01T18:48:17.691Z] gotsan.cc:(.text+0x507c): undefined reference to `__syslog_chk' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::InternalAlloc(unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*, unsigned long)': [2020-09-01T18:48:17.691Z] gotsan.cc:(.text+0x5c14): undefined reference to `__libc_malloc' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::InternalRealloc(void*, unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': [2020-09-01T18:48:17.691Z] gotsan.cc:(.text+0x7614): undefined reference to `__libc_realloc' [2020-09-01T18:48:17.691Z] /usr/lib/gcc/aarch64-alpine-linux-musl/9.3.0/../../../../aarch64-alpine-linux-musl/bin/ld: race_linux_arm64.syso: in function `__sanitizer::InternalFree(void*, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': [2020-09-01T18:48:17.691Z] gotsan.cc:(.text+0x7694): undefined reference to `__libc_free' [2020-09-01T18:48:17.691Z] collect2: error: ld returned 1 exit status [2020-09-01T18:48:22.919Z] f64a6f60c768: Pull complete [2020-09-01T18:48:26.255Z] e78d2573fc39: Pull complete [2020-09-01T18:48:26.255Z] e876d2f968b6: Pull complete [2020-09-01T18:48:27.202Z] ce8a83651883: Pull complete [2020-09-01T18:48:27.202Z] 07967f4d0e4b: Pull complete [2020-09-01T18:48:27.202Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-01T18:48:27.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-01T18:48:27.202Z] ---> 5d7c900382c6 [2020-09-01T18:48:27.202Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:48:28.597Z] ---> Running in 188c61d9f066 [2020-09-01T18:48:28.860Z] Removing intermediate container 188c61d9f066 [2020-09-01T18:48:28.860Z] ---> 867dfccd8b28 [2020-09-01T18:48:28.860Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T18:48:28.860Z] ---> Running in e68dc4fce67d [2020-09-01T18:48:30.084Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-01T18:48:30.252Z] Removing intermediate container e68dc4fce67d [2020-09-01T18:48:30.252Z] ---> 9e439c08c0f8 [2020-09-01T18:48:30.252Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-01T18:48:30.252Z] ---> Running in 24837aa596f2 [2020-09-01T18:48:30.827Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T18:48:31.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T18:48:31.980Z] OK: 166 MiB in 39 packages [2020-09-01T18:48:32.555Z] Removing intermediate container 24837aa596f2 [2020-09-01T18:48:32.555Z] ---> 130a126a6260 [2020-09-01T18:48:32.555Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-01T18:48:32.555Z] ---> Running in adba8dee3591 [2020-09-01T18:48:32.555Z] Removing intermediate container adba8dee3591 [2020-09-01T18:48:32.555Z] ---> c51965f3d09f [2020-09-01T18:48:32.555Z] Step 7/8 : COPY . . [2020-09-01T18:48:33.945Z] ---> 3ab3c67541eb [2020-09-01T18:48:33.945Z] Step 8/8 : RUN go mod download [2020-09-01T18:48:33.945Z] ---> Running in d86cb373f1b5 [2020-09-01T18:48:35.867Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T18:48:35.867Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T18:48:35.867Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T18:48:35.867Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T18:48:35.867Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T18:48:35.867Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T18:48:35.867Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T18:48:35.867Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T18:48:35.867Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-01T18:48:35.867Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T18:48:36.131Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T18:48:36.131Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T18:48:36.131Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T18:48:36.131Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T18:48:36.131Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T18:48:36.131Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T18:48:36.392Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T18:48:36.392Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T18:48:36.392Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T18:48:36.392Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T18:48:36.392Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T18:48:36.392Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T18:48:36.392Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T18:48:36.654Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T18:48:36.915Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T18:48:37.176Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T18:48:37.176Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T18:48:37.176Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T18:48:37.176Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T18:48:37.176Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T18:48:37.176Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T18:48:37.176Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T18:48:37.437Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T18:48:37.437Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T18:48:37.437Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T18:48:37.437Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T18:48:37.437Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T18:48:37.437Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T18:48:37.437Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T18:48:37.698Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T18:48:37.698Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T18:48:37.698Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T18:48:37.698Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T18:48:37.698Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T18:48:37.698Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T18:48:37.698Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T18:48:37.979Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T18:48:37.979Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T18:48:37.979Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T18:48:37.979Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T18:48:37.979Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T18:48:37.979Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T18:48:37.979Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T18:48:38.268Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T18:48:38.268Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T18:48:46.467Z] Removing intermediate container d86cb373f1b5 [2020-09-01T18:48:46.467Z] ---> 62abe444ff39 [2020-09-01T18:48:46.467Z] Successfully built 62abe444ff39 [2020-09-01T18:48:46.467Z] 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-09-01T18:48:47.086Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-01T18:48:47.086Z] . [Pipeline] withDockerContainer [2020-09-01T18:48:47.182Z] prd-centos7-docker-4c-2g-1058 does not seem to be running inside a container [2020-09-01T18:48:47.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-01T18:48:48.033Z] $ docker top 93eb4518e36124569fdb08fec357d30d966b14d05030740a944e5817acac14ed -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T18:48:48.587Z] + go version [2020-09-01T18:48:48.587Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-01T18:48:48.887Z] + make test [2020-09-01T18:48:48.887Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-01T18:48:51.453Z] # runtime/race [2020-09-01T18:48:51.453Z] /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::GetArgv()': [2020-09-01T18:48:51.453Z] gotsan.cc:(.text+0x4183): undefined reference to `__libc_stack_end' [2020-09-01T18:48:51.453Z] /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::ReExec()': [2020-09-01T18:48:51.453Z] gotsan.cc:(.text+0x9797): undefined reference to `__libc_stack_end' [2020-09-01T18:48:51.453Z] /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::InternalAlloc(unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*, unsigned long)': [2020-09-01T18:48:51.453Z] gotsan.cc:(.text+0xaac1): undefined reference to `__libc_malloc' [2020-09-01T18:48:51.453Z] /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::InternalRealloc(void*, unsigned long, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': [2020-09-01T18:48:51.453Z] gotsan.cc:(.text+0xca20): undefined reference to `__libc_realloc' [2020-09-01T18:48:51.453Z] /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: race_linux_amd64.syso: in function `__sanitizer::InternalFree(void*, __sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator32<__sanitizer::AP32> >*)': [2020-09-01T18:48:51.453Z] gotsan.cc:(.text+0x66e8): undefined reference to `__libc_free' [2020-09-01T18:48:51.453Z] collect2: error: ld returned 1 exit status [2020-09-01T18:48:55.708Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-01T18:49:09.129Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/models [build failed] [2020-09-01T18:49:09.129Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2020-09-01T18:49:09.158Z] $ docker stop --time=1 eb6ff567c14d668d40954a109685cb295b1dabd899540a5d370ff3fd6423ef0b [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2020-09-01T18:49:10.745Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/models [build failed] [2020-09-01T18:49:10.745Z] make: *** [Makefile:32: test] Error 2 [2020-09-01T18:49:11.410Z] $ docker rm -f eb6ff567c14d668d40954a109685cb295b1dabd899540a5d370ff3fd6423ef0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2020-09-01T18:49:12.021Z] $ docker stop --time=1 93eb4518e36124569fdb08fec357d30d966b14d05030740a944e5817acac14ed [2020-09-01T18:49:13.773Z] $ docker rm -f 93eb4518e36124569fdb08fec357d30d966b14d05030740a944e5817acac14ed [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-01T18:49:16.378Z] Failed in branch arm64 [Pipeline] // stage [Pipeline] } [2020-09-01T18:49:16.473Z] 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-09-01T18:49:18.520Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:49:19.102Z] ---> package-listing.sh [2020-09-01T18:49:19.102Z] ++ facter osfamily [2020-09-01T18:49:19.102Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-01T18:49:19.102Z] + OS_FAMILY=redhat [2020-09-01T18:49:19.102Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-570 [2020-09-01T18:49:19.102Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-01T18:49:19.102Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-01T18:49:19.102Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-01T18:49:19.102Z] + PACKAGES=/tmp/packages_start.txt [2020-09-01T18:49:19.102Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-570 ']' [2020-09-01T18:49:19.102Z] + PACKAGES=/tmp/packages_end.txt [2020-09-01T18:49:19.102Z] + case "${OS_FAMILY}" in [2020-09-01T18:49:19.102Z] + rpm -qa [2020-09-01T18:49:19.102Z] + sort [2020-09-01T18:49:23.331Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-01T18:49:23.331Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-01T18:49:23.331Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-01T18:49:23.331Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-570 ']' [2020-09-01T18:49:23.331Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-570/archives/ [2020-09-01T18:49:23.331Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-570/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:49:23.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T18:49:23.873Z] [2020-09-01T18:49:23.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:49:24.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T18:49:24.237Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-01T18:49:24.237Z] c9b1b535fdd9: Pulling fs layer [2020-09-01T18:49:24.237Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-01T18:49:24.237Z] 756a868c4378: Pulling fs layer [2020-09-01T18:49:24.237Z] 444b2fc9a129: Pulling fs layer [2020-09-01T18:49:24.237Z] ea15f1150254: Pulling fs layer [2020-09-01T18:49:24.237Z] 41b27a9f41bf: Pulling fs layer [2020-09-01T18:49:24.237Z] 28c525ee5125: Pulling fs layer [2020-09-01T18:49:24.237Z] 094b1ea09ed8: Pulling fs layer [2020-09-01T18:49:24.237Z] 138eaada9080: Pulling fs layer [2020-09-01T18:49:24.237Z] 0622d0fa9048: Pulling fs layer [2020-09-01T18:49:24.237Z] 28c525ee5125: Waiting [2020-09-01T18:49:24.237Z] 138eaada9080: Waiting [2020-09-01T18:49:24.237Z] 094b1ea09ed8: Waiting [2020-09-01T18:49:24.237Z] 0622d0fa9048: Waiting [2020-09-01T18:49:24.237Z] 444b2fc9a129: Waiting [2020-09-01T18:49:24.237Z] ea15f1150254: Waiting [2020-09-01T18:49:24.237Z] 41b27a9f41bf: Waiting [2020-09-01T18:49:24.237Z] 2cc5ad85d9ab: Download complete [2020-09-01T18:49:24.237Z] 444b2fc9a129: Verifying Checksum [2020-09-01T18:49:24.237Z] 444b2fc9a129: Download complete [2020-09-01T18:49:24.237Z] c9b1b535fdd9: Verifying Checksum [2020-09-01T18:49:24.237Z] c9b1b535fdd9: Download complete [2020-09-01T18:49:24.237Z] ea15f1150254: Verifying Checksum [2020-09-01T18:49:24.237Z] ea15f1150254: Download complete [2020-09-01T18:49:24.520Z] 28c525ee5125: Verifying Checksum [2020-09-01T18:49:24.520Z] 28c525ee5125: Download complete [2020-09-01T18:49:24.797Z] 756a868c4378: Verifying Checksum [2020-09-01T18:49:24.797Z] 756a868c4378: Download complete [2020-09-01T18:49:24.797Z] 138eaada9080: Verifying Checksum [2020-09-01T18:49:24.797Z] 138eaada9080: Download complete [2020-09-01T18:49:24.797Z] 0622d0fa9048: Verifying Checksum [2020-09-01T18:49:24.797Z] 0622d0fa9048: Download complete [2020-09-01T18:49:24.797Z] c9b1b535fdd9: Pull complete [2020-09-01T18:49:25.073Z] 094b1ea09ed8: Verifying Checksum [2020-09-01T18:49:25.073Z] 094b1ea09ed8: Download complete [2020-09-01T18:49:25.337Z] 2cc5ad85d9ab: Pull complete [2020-09-01T18:49:25.602Z] 41b27a9f41bf: Verifying Checksum [2020-09-01T18:49:25.602Z] 41b27a9f41bf: Download complete [2020-09-01T18:49:27.551Z] 756a868c4378: Pull complete [2020-09-01T18:49:27.551Z] 444b2fc9a129: Pull complete [2020-09-01T18:49:27.892Z] ea15f1150254: Pull complete [2020-09-01T18:49:33.282Z] 41b27a9f41bf: Pull complete [2020-09-01T18:49:33.282Z] 28c525ee5125: Pull complete [2020-09-01T18:49:36.636Z] 094b1ea09ed8: Pull complete [2020-09-01T18:49:36.636Z] 138eaada9080: Pull complete [2020-09-01T18:49:36.907Z] 0622d0fa9048: Pull complete [2020-09-01T18:49:36.907Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-01T18:49:36.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T18:49:36.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-01T18:49:37.161Z] prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container [2020-09-01T18:49:37.223Z] $ 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-570 -v /w/workspace/dgexfoundry_device-sdk-go_PR-570:/w/workspace/dgexfoundry_device-sdk-go_PR-570:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-01T18:49:41.108Z] $ docker top bf377f694c14952c8d11a4e23660930c443a2a2dec4e65b3f8b2b1a648ea5d63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T18:49:41.422Z] provisioning config files... [2020-09-01T18:49:41.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-570@tmp/config1623204704526812898tmp [Pipeline] { [Pipeline] echo [2020-09-01T18:49:41.519Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:49:41.826Z] ---> create-netrc.sh [Pipeline] echo [2020-09-01T18:49:41.837Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:49:42.146Z] ---> logs-deploy.sh [2020-09-01T18:49:42.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-570/4 [2020-09-01T18:49:42.146Z] INFO: archiving workspace using pattern(s): [2020-09-01T18:49:43.548Z] Archives upload complete. [2020-09-01T18:49:43.810Z] INFO: archiving logs to Nexus