b'Branch indexing\nConnecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token)\nConnecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go\nObtained Jenkinsfile from 4d621a5a0a71e0d1c4222ddee607c928e40f45bc+a99c5db61b651f614e76455bb851b80a57f32d4d (b89aa7de9fc496cfecd3d68a048bcc4406ff0c3c)\nRunning in Durability level: MAX_SURVIVABILITY\nLoading library edgex-global-pipelines@stable\nExamining edgexfoundry/edgex-global-pipelines\nAttempting to resolve stable as a branch\nAttempting to resolve stable as a tag\nResolved stable as tag stable at revision f257e5cd2e5dbd4b6887b4e47c1eddaebeef2b94\nusing credential edgex-jenkins-access-pat\nCloning the remote Git repository\nCloning with configured refspecs honoured and with tags\nCloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git\n > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-8/workspace@libs/edgex-global-pipelines # timeout=10\nFetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git\n > git --version # timeout=10\nusing GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh\n > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10\n > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10\n > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10\n > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10\nFetching with tags\nFetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git\nusing GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh\n > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10\nChecking out Revision f257e5cd2e5dbd4b6887b4e47c1eddaebeef2b94 (stable)\n > git config core.sparsecheckout # timeout=10\n > git checkout -f f257e5cd2e5dbd4b6887b4e47c1eddaebeef2b94 # timeout=10\nCommit message: "Merge pull request #81 from ernestojeda/bugfix-custom-workspace"\n > git remote # timeout=10\n > git submodule init # timeout=10\n > git submodule sync # timeout=10\n > git config --get remote.origin.url # timeout=10\n > git submodule init # timeout=10\n > git config -f .gitmodules --get-regexp ^submodule\\.(.+)\\.url # timeout=10\n > git config --get submodule.global-jjb.url # timeout=10\n > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10\n > git submodule update --init --recursive global-jjb # timeout=10\n > git --version # timeout=10\n[Pipeline] Start of Pipeline\n[Pipeline] echo\n=========================================================\n [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.12, buildImage:false, pushImage:false, semverBump:patch]\n=========================================================\n[Pipeline] echo\nSetting up nodes based on requested architectures [[amd64, arm64]]\n[Pipeline] echo\nNodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-2g]]\n[Pipeline] echo\n=========================================================\n [edgeXBuildGoApp] Pipeline Parameters:\n=========================================================\n[Pipeline] echo\n MAVEN_SETTINGS: device-rest-go-settings\n PROJECT: device-rest-go\n USE_SEMVER: true\n TEST_SCRIPT: make test\n BUILD_SCRIPT: make build\n GO_VERSION: 1.12\n DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-golang-base:1.12.6-alpine\n DOCKER_FILE_PATH: Dockerfile\n DOCKER_BUILD_FILE_PATH: Dockerfile.build\n DOCKER_BUILD_CONTEXT: .\n DOCKER_IMAGE_NAME: docker-device-rest-go\nDOCKER_REGISTRY_NAMESPACE: \n DOCKER_NEXUS_REPO: staging\n BUILD_DOCKER_IMAGE: false\n PUSH_DOCKER_IMAGE: false\n SEMVER_BUMP_LEVEL: patch\n[Pipeline] node\nStill waiting to schedule task\nAll nodes of label \xe2\x80\x98centos7-docker-4c-2g\xe2\x80\x99 are offline\nRunning on prd-centos7-docker-4c-2g-12936 in /w/workspace/edgexfoundry_device-rest-go_PR-8\n[Pipeline] {\n[Pipeline] stage\n[Pipeline] { (Declarative: Checkout SCM)\n[Pipeline] checkout\nusing credential edgex-jenkins-ssh\nCloning the remote Git repository\nCloning with configured refspecs honoured and without tags\nCloning repository git@github.com:edgexfoundry/device-rest-go.git\n > git init /w/workspace/edgexfoundry_device-rest-go_PR-8 # timeout=10\nFetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git\n > git --version # timeout=10\nusing GIT_SSH to set credentials SSH Credentials for GitHub\n > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/master:refs/remotes/origin/master # timeout=10\nFetching without tags\nMerging remotes/origin/master commit a99c5db61b651f614e76455bb851b80a57f32d4d into PR head commit 4d621a5a0a71e0d1c4222ddee607c928e40f45bc\nMerge succeeded, producing 4d621a5a0a71e0d1c4222ddee607c928e40f45bc\nChecking out Revision 4d621a5a0a71e0d1c4222ddee607c928e40f45bc (PR-8)\n > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10\n > git config --add remote.origin.fetch +refs/pull/8/head:refs/remotes/origin/PR-8 # timeout=10\n > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10\n > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10\nFetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git\nusing GIT_SSH to set credentials SSH Credentials for GitHub\n > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/master:refs/remotes/origin/master # timeout=10\n > git config core.sparsecheckout # timeout=10\n > git checkout -f 4d621a5a0a71e0d1c4222ddee607c928e40f45bc # timeout=10\n > git merge a99c5db61b651f614e76455bb851b80a57f32d4d # timeout=10\n > git rev-parse HEAD^{commit} # timeout=10\n > git config core.sparsecheckout # timeout=10\n > git checkout -f 4d621a5a0a71e0d1c4222ddee607c928e40f45bc # timeout=10\nCommit message: "build(Jenkinsfile): Add Jenkinsfile to enable CI"\nFirst time build. Skipping changelog.\n > git --version # timeout=10\nfatal: bad object f257e5cd2e5dbd4b6887b4e47c1eddaebeef2b94\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] timestamps\n[Pipeline] {\n[Pipeline] timeout\n[2020-01-10T01:34:05.836Z] Timeout set to expire in 6 hr 0 min\n[Pipeline] {\n[Pipeline] stage\n[Pipeline] { (Prepare)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Semver Prep)\n[Pipeline] isUnix\n[Pipeline] sh\n[2020-01-10T01:34:07.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64\n[2020-01-10T01:34:07.417Z] \n[2020-01-10T01:34:07.417Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64\n[Pipeline] isUnix\n[Pipeline] sh\n[2020-01-10T01:34:07.789Z] + docker pull nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64\n[2020-01-10T01:34:07.789Z] latest-x86_64: Pulling from edgexfoundry/git-semver\n[2020-01-10T01:34:07.789Z] e7c96db7181b: Pulling fs layer\n[2020-01-10T01:34:07.789Z] a038dfdf5543: Pulling fs layer\n[2020-01-10T01:34:07.789Z] 8d5d8e63b3c0: Pulling fs layer\n[2020-01-10T01:34:08.059Z] e7c96db7181b: Verifying Checksum\n[2020-01-10T01:34:08.059Z] e7c96db7181b: Download complete\n[2020-01-10T01:34:08.059Z] 8d5d8e63b3c0: Verifying Checksum\n[2020-01-10T01:34:08.059Z] 8d5d8e63b3c0: Download complete\n[2020-01-10T01:34:08.059Z] a038dfdf5543: Verifying Checksum\n[2020-01-10T01:34:08.059Z] a038dfdf5543: Download complete\n[2020-01-10T01:34:08.321Z] e7c96db7181b: Pull complete\n[2020-01-10T01:34:08.889Z] a038dfdf5543: Pull complete\n[2020-01-10T01:34:09.150Z] 8d5d8e63b3c0: Pull complete\n[2020-01-10T01:34:09.150Z] Digest: sha256:05a9b251b02206200c94075b08ee2f72dfb9f54528ed2399686c43a0d6b464fb\n[2020-01-10T01:34:09.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64\n[Pipeline] withDockerContainer\n[2020-01-10T01:34:09.298Z] prd-centos7-docker-4c-2g-12936 does not seem to be running inside a container\n[2020-01-10T01:34:09.342Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_PR-8 -v /w/workspace/edgexfoundry_device-rest-go_PR-8:/w/workspace/edgexfoundry_device-rest-go_PR-8:rw,z -v /w/workspace/edgexfoundry_device-rest-go_PR-8@tmp:/w/workspace/edgexfoundry_device-rest-go_PR-8@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 ******** nexus3.edgexfoundry.org:10004/edgexfoundry/git-semver:latest-x86_64 cat\n[2020-01-10T01:34:10.066Z] $ docker top f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3 -eo pid,comm\n[Pipeline] {\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] sshagent\n[2020-01-10T01:34:10.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)\n[2020-01-10T01:34:10.696Z] [ssh-agent] Looking for ssh-agent implementation...\n[2020-01-10T01:34:10.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)\n[2020-01-10T01:34:10.897Z] $ docker exec f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3 ssh-agent\n[2020-01-10T01:34:11.081Z] SSH_AUTH_SOCK=/tmp/ssh-2b4VYuUwHYjc/agent.15\n[2020-01-10T01:34:11.081Z] SSH_AGENT_PID=22\n[2020-01-10T01:34:11.090Z] Running ssh-add (command line suppressed)\n[2020-01-10T01:34:11.235Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_PR-8@tmp/private_key_9064999974823005125.key (/w/workspace/edgexfoundry_device-rest-go_PR-8@tmp/private_key_9064999974823005125.key)\n[2020-01-10T01:34:11.285Z] [ssh-agent] Started.\n[Pipeline] {\n[Pipeline] sh\n[2020-01-10T01:34:11.614Z] + git describe --exact-match --tags HEAD\n[2020-01-10T01:34:11.614Z] fatal: No names found, cannot describe anything.\n[Pipeline] }\n[2020-01-10T01:34:11.681Z] $ docker exec --env ******** --env ******** f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3 ssh-agent -k\n[2020-01-10T01:34:11.820Z] unset SSH_AUTH_SOCK;\n[2020-01-10T01:34:11.820Z] unset SSH_AGENT_PID;\n[2020-01-10T01:34:11.820Z] echo Agent pid 22 killed;\n[2020-01-10T01:34:11.872Z] [ssh-agent] Stopped.\n[Pipeline] // sshagent\n[Pipeline] echo\n[2020-01-10T01:34:11.935Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128\n[2020-01-10T01:34:11.935Z] This usually means this commit has not been tagged.\n[Pipeline] sshagent\n[2020-01-10T01:34:11.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)\n[2020-01-10T01:34:11.979Z] [ssh-agent] Looking for ssh-agent implementation...\n[2020-01-10T01:34:12.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)\n[2020-01-10T01:34:12.164Z] $ docker exec f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3 ssh-agent\n[2020-01-10T01:34:12.349Z] SSH_AUTH_SOCK=/tmp/ssh-nUKUPkTtgQpt/agent.57\n[2020-01-10T01:34:12.349Z] SSH_AGENT_PID=64\n[2020-01-10T01:34:12.355Z] Running ssh-add (command line suppressed)\n[2020-01-10T01:34:12.486Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_PR-8@tmp/private_key_3029476624163050194.key (/w/workspace/edgexfoundry_device-rest-go_PR-8@tmp/private_key_3029476624163050194.key)\n[2020-01-10T01:34:12.542Z] [ssh-agent] Started.\n[Pipeline] {\n[Pipeline] sh\n[2020-01-10T01:34:12.866Z] + git semver init\n[2020-01-10T01:34:12.866Z] # -> Open(): unable to determine branch for HEAD\n[2020-01-10T01:34:12.866Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_PR-8/.git\n[2020-01-10T01:34:12.866Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_PR-8\n[2020-01-10T01:34:12.866Z] # $SEMVER_REMOTE_NAME = origin\n[2020-01-10T01:34:12.866Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org\n[2020-01-10T01:34:12.866Z] # $SEMVER_USER_NAME = jenkins\n[2020-01-10T01:34:12.866Z] # $SEMVER_BRANCH = PR-8\n[2020-01-10T01:34:12.866Z] # $SEMVER_TEMP = /tmp/semver-383491395\n[2020-01-10T01:34:12.866Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP\n[2020-01-10T01:34:13.129Z] # \'/tmp/semver-383491395\' -> \'/w/workspace/edgexfoundry_device-rest-go_PR-8/.semver\'\n[2020-01-10T01:34:13.129Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_PR-8/.semver\n[Pipeline] }\n[2020-01-10T01:34:13.138Z] $ docker exec --env ******** --env ******** f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3 ssh-agent -k\n[2020-01-10T01:34:13.271Z] unset SSH_AUTH_SOCK;\n[2020-01-10T01:34:13.271Z] unset SSH_AGENT_PID;\n[2020-01-10T01:34:13.271Z] echo Agent pid 64 killed;\n[2020-01-10T01:34:13.320Z] [ssh-agent] Stopped.\n[Pipeline] // sshagent\n[Pipeline] }\n[Pipeline] // withEnv\n[Pipeline] sh\n[2020-01-10T01:34:13.704Z] + git semver\n[Pipeline] }\n[2020-01-10T01:34:13.725Z] $ docker stop --time=1 f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3\n[2020-01-10T01:34:15.123Z] $ docker rm -f f9a5446b0f054d5d050e01dccf59edd6464f1af9ea86533c185002d55ef47cd3\n[Pipeline] // withDockerContainer\n[Pipeline] writeFile\n[Pipeline] stash\n[2020-01-10T01:34:15.694Z] Stashed 13 file(s)\n[Pipeline] echo\n[2020-01-10T01:34:15.714Z] [edgeXSemver] initialized semver on version 0.0.0\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Build)\n[Pipeline] parallel\n[Pipeline] { (Branch: amd64)\n[Pipeline] { (Branch: arm64)\n[Pipeline] stage\n[Pipeline] { (amd64)\n[Pipeline] stage\n[Pipeline] { (arm64)\n[Pipeline] node\n[Pipeline] node\n[2020-01-10T01:34:30.960Z] Still waiting to schedule task\n[2020-01-10T01:34:30.960Z] Waiting for next available executor on \xe2\x80\x98prd-centos7-docker-4c-2g-12936\xe2\x80\x99\n[2020-01-10T01:34:30.989Z] Still waiting to schedule task\n[2020-01-10T01:34:30.989Z] Waiting for next available executor on \xe2\x80\x98prd-ubuntu18.04-docker-arm64-4c-2g-12935\xe2\x80\x99\n[2020-01-10T01:36:37.428Z] Running on prd-centos7-docker-4c-2g-12937 in /w/workspace/edgexfoundry_device-rest-go_PR-8\n[Pipeline] {\n[Pipeline] ws\n[2020-01-10T01:36:37.461Z] Running in /w/workspace/device-rest-go/1\n[Pipeline] {\n[Pipeline] checkout\n[2020-01-10T01:36:39.515Z] using credential edgex-jenkins-ssh\n[2020-01-10T01:36:39.537Z] Cloning the remote Git repository\n[2020-01-10T01:36:39.537Z] Cloning with configured refspecs honoured and without tags\n[2020-01-10T01:36:39.139Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git\n[2020-01-10T01:36:39.172Z] > git init /w/workspace/device-rest-go/1 # timeout=10\n[2020-01-10T01:36:39.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git\n[2020-01-10T01:36:39.218Z] > git --version # timeout=10\n[2020-01-10T01:36:39.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub\n[2020-01-10T01:36:39.270Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/master:refs/remotes/origin/master # timeout=10\n[2020-01-10T01:36:41.162Z] Fetching without tags\n[2020-01-10T01:36:41.523Z] Merging remotes/origin/master commit a99c5db61b651f614e76455bb851b80a57f32d4d into PR head commit 4d621a5a0a71e0d1c4222ddee607c928e40f45bc\n[2020-01-10T01:36:41.598Z] Merge succeeded, producing 4d621a5a0a71e0d1c4222ddee607c928e40f45bc\n[2020-01-10T01:36:41.599Z] Checking out Revision 4d621a5a0a71e0d1c4222ddee607c928e40f45bc (PR-8)\n[2020-01-10T01:36:40.815Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10\n[2020-01-10T01:36:40.824Z] > git config --add remote.origin.fetch +refs/pull/8/head:refs/remotes/origin/PR-8 # timeout=10\n[2020-01-10T01:36:40.829Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10\n[2020-01-10T01:36:40.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10\n[2020-01-10T01:36:40.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git\n[2020-01-10T01:36:40.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub\n[2020-01-10T01:36:40.860Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/master:refs/remotes/origin/master # timeout=10\n[2020-01-10T01:36:41.252Z] > git config core.sparsecheckout # timeout=10\n[2020-01-10T01:36:41.262Z] > git checkout -f 4d621a5a0a71e0d1c4222ddee607c928e40f45bc # timeout=10\n[2020-01-10T01:36:41.298Z] > git merge a99c5db61b651f614e76455bb851b80a57f32d4d # timeout=10\n[2020-01-10T01:36:41.313Z] > git rev-parse HEAD^{commit} # timeout=10\n[2020-01-10T01:36:41.326Z] > git config core.sparsecheckout # timeout=10\n[2020-01-10T01:36:41.331Z] > git checkout -f 4d621a5a0a71e0d1c4222ddee607c928e40f45bc # timeout=10\n[2020-01-10T01:36:44.889Z] Commit message: "build(Jenkinsfile): Add Jenkinsfile to enable CI"\n[2020-01-10T01:36:44.908Z] > git --version # timeout=10\n[2020-01-10T01:36:44.926Z] fatal: bad object f257e5cd2e5dbd4b6887b4e47c1eddaebeef2b94\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] stage\n[Pipeline] { (Prep)\n[Pipeline] script\n[Pipeline] {\n[Pipeline] unstash\n[Pipeline] echo\n[2020-01-10T01:36:45.782Z] =========================================================\n[2020-01-10T01:36:45.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-golang-base:1.12.6-alpine]\n[2020-01-10T01:36:45.782Z] =========================================================\n[Pipeline] isUnix\n[Pipeline] sh\n[2020-01-10T01:36:46.380Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-golang-base:1.12.6-alpine .\n[2020-01-10T01:36:46.381Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/device-rest-go/1/Dockerfile.build: no such file or directory\n[Pipeline] }\n[Pipeline] // script\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Test)\nStage "Test" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Build)\nStage "Build" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Docker Push)\nStage "Docker Push" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] }\n[Pipeline] // withEnv\n[Pipeline] }\n[Pipeline] // withEnv\n[Pipeline] }\n[Pipeline] // ws\n[Pipeline] }\n[Pipeline] // node\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] }\n[2020-01-10T01:36:47.123Z] Failed in branch amd64\n[2020-01-10T01:38:08.036Z] Running on prd-ubuntu18.04-docker-arm64-4c-2g-12939 in /w/workspace/edgexfoundry_device-rest-go_PR-8\n[Pipeline] {\n[Pipeline] ws\n[2020-01-10T01:38:08.076Z] Running in /w/workspace/device-rest-go/1\n[Pipeline] {\n[Pipeline] checkout\n[2020-01-10T01:38:14.887Z] using credential edgex-jenkins-ssh\n[2020-01-10T01:38:14.910Z] Cloning the remote Git repository\n[2020-01-10T01:38:14.910Z] Cloning with configured refspecs honoured and without tags\n[2020-01-10T01:38:14.972Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git\n[2020-01-10T01:38:15.087Z] > git init /w/workspace/device-rest-go/1 # timeout=10\n[2020-01-10T01:38:15.154Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git\n[2020-01-10T01:38:15.155Z] > git --version # timeout=10\n[2020-01-10T01:38:15.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub\n[2020-01-10T01:38:15.254Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/master:refs/remotes/origin/master # timeout=10\n[2020-01-10T01:38:18.136Z] Fetching without tags\n[2020-01-10T01:38:18.620Z] Merging remotes/origin/master commit a99c5db61b651f614e76455bb851b80a57f32d4d into PR head commit 4d621a5a0a71e0d1c4222ddee607c928e40f45bc\n[2020-01-10T01:38:18.850Z] Merge succeeded, producing 4d621a5a0a71e0d1c4222ddee607c928e40f45bc\n[2020-01-10T01:38:18.850Z] Checking out Revision 4d621a5a0a71e0d1c4222ddee607c928e40f45bc (PR-8)\n[2020-01-10T01:38:18.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10\n[2020-01-10T01:38:18.035Z] > git config --add remote.origin.fetch +refs/pull/8/head:refs/remotes/origin/PR-8 # timeout=10\n[2020-01-10T01:38:18.052Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10\n[2020-01-10T01:38:18.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10\n[2020-01-10T01:38:18.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git\n[2020-01-10T01:38:18.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub\n[2020-01-10T01:38:18.159Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/master:refs/remotes/origin/master # timeout=10\n[2020-01-10T01:38:18.634Z] > git config core.sparsecheckout # timeout=10\n[2020-01-10T01:38:18.675Z] > git checkout -f 4d621a5a0a71e0d1c4222ddee607c928e40f45bc # timeout=10\n[2020-01-10T01:38:18.775Z] > git merge a99c5db61b651f614e76455bb851b80a57f32d4d # timeout=10\n[2020-01-10T01:38:18.809Z] > git rev-parse HEAD^{commit} # timeout=10\n[2020-01-10T01:38:18.850Z] > git config core.sparsecheckout # timeout=10\n[2020-01-10T01:38:18.873Z] > git checkout -f 4d621a5a0a71e0d1c4222ddee607c928e40f45bc # timeout=10\n[2020-01-10T01:38:23.074Z] Commit message: "build(Jenkinsfile): Add Jenkinsfile to enable CI"\n[2020-01-10T01:38:23.125Z] > git --version # timeout=10\n[2020-01-10T01:38:23.166Z] fatal: bad object f257e5cd2e5dbd4b6887b4e47c1eddaebeef2b94\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] stage\n[Pipeline] { (Prep)\n[Pipeline] script\n[Pipeline] {\n[Pipeline] unstash\n[Pipeline] echo\n[2020-01-10T01:38:24.350Z] =========================================================\n[2020-01-10T01:38:24.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-golang-base:1.12.6-alpine-arm64]\n[2020-01-10T01:38:24.350Z] =========================================================\n[Pipeline] isUnix\n[Pipeline] sh\n[2020-01-10T01:38:25.898Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-golang-base:1.12.6-alpine-arm64 .\n[2020-01-10T01:38:26.498Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/device-rest-go/1/Dockerfile.build: no such file or directory\n[Pipeline] }\n[Pipeline] // script\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Test)\nStage "Test" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Build)\nStage "Build" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Docker Push)\nStage "Docker Push" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] }\n[Pipeline] // withEnv\n[Pipeline] }\n[Pipeline] // withEnv\n[Pipeline] }\n[Pipeline] // ws\n[Pipeline] }\n[Pipeline] // node\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] }\n[2020-01-10T01:38:27.276Z] Failed in branch arm64\n[Pipeline] // parallel\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (CodeCov)\nStage "CodeCov" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Snyk Scan)\nStage "Snyk Scan" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Clair Scan)\nStage "Clair Scan" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Semver)\nStage "Semver" skipped due to earlier failure(s)\n[Pipeline] stage\n[Pipeline] { (Tag)\nStage "Semver" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Bump Pre-Release Version)\nStage "Semver" skipped due to earlier failure(s)\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] }\n[Pipeline] // stage\n[Pipeline] stage\n[Pipeline] { (Declarative: Post Actions)\n[Pipeline] stage\n[Pipeline] { (LF Post Build Actions)\n[Pipeline] libraryResource\n[Pipeline] sh\n[2020-01-10T01:38:28.485Z] ---> sysstat.sh\n[Pipeline] libraryResource\n[Pipeline] sh\n[2020-01-10T01:38:28.819Z] ---> package-listing.sh\n[2020-01-10T01:38:28.819Z] ++ facter osfamily\n[2020-01-10T01:38:28.819Z] ++ tr \'[:upper:]\' \'[:lower:]\'\n[2020-01-10T01:38:28.819Z] + OS_FAMILY=redhat\n[2020-01-10T01:38:28.819Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_PR-8\n[2020-01-10T01:38:28.819Z] + START_PACKAGES=/tmp/packages_start.txt\n[2020-01-10T01:38:28.819Z] + END_PACKAGES=/tmp/packages_end.txt\n[2020-01-10T01:38:28.819Z] + DIFF_PACKAGES=/tmp/packages_diff.txt\n[2020-01-10T01:38:28.819Z] + PACKAGES=/tmp/packages_start.txt\n[2020-01-10T01:38:28.819Z] + \'[\' /w/workspace/edgexfoundry_device-rest-go_PR-8 \']\'\n[2020-01-10T01:38:28.819Z] + PACKAGES=/tmp/packages_end.txt\n[2020-01-10T01:38:28.819Z] + case "${OS_FAMILY}" in\n[2020-01-10T01:38:28.819Z] + rpm -qa\n[2020-01-10T01:38:28.819Z] + sort\n[2020-01-10T01:38:33.020Z] + \'[\' -f /tmp/packages_start.txt \']\'\n[2020-01-10T01:38:33.020Z] + \'[\' -f /tmp/packages_end.txt \']\'\n[2020-01-10T01:38:33.020Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt\n[2020-01-10T01:38:33.020Z] + \'[\' /w/workspace/edgexfoundry_device-rest-go_PR-8 \']\'\n[2020-01-10T01:38:33.020Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_PR-8/archives/\n[2020-01-10T01:38:33.020Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_PR-8/archives/\n[Pipeline] isUnix\n[Pipeline] sh\n[2020-01-10T01:38:33.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine\n[2020-01-10T01:38:33.522Z] \n[2020-01-10T01:38:33.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine\n[Pipeline] isUnix\n[Pipeline] sh\n[2020-01-10T01:38:33.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine\n[2020-01-10T01:38:33.853Z] alpine: Pulling from edgex-lftools-log-publisher\n[2020-01-10T01:38:33.853Z] e6b0cf9c0882: Pulling fs layer\n[2020-01-10T01:38:33.853Z] da0e9bf0cc60: Pulling fs layer\n[2020-01-10T01:38:33.853Z] c9ea274ed700: Pulling fs layer\n[2020-01-10T01:38:33.853Z] 9cfac6ba3733: Pulling fs layer\n[2020-01-10T01:38:33.853Z] f6a933c9cadc: Pulling fs layer\n[2020-01-10T01:38:33.853Z] 61811dbd4963: Pulling fs layer\n[2020-01-10T01:38:33.853Z] a6eb2c9e2280: Pulling fs layer\n[2020-01-10T01:38:33.853Z] 095dd8b7b4d8: Pulling fs layer\n[2020-01-10T01:38:33.853Z] dc21a1d4508b: Pulling fs layer\n[2020-01-10T01:38:33.853Z] 363af2e989c4: Pulling fs layer\n[2020-01-10T01:38:33.853Z] 9cfac6ba3733: Waiting\n[2020-01-10T01:38:33.853Z] f6a933c9cadc: Waiting\n[2020-01-10T01:38:33.853Z] 61811dbd4963: Waiting\n[2020-01-10T01:38:33.853Z] a6eb2c9e2280: Waiting\n[2020-01-10T01:38:33.853Z] 095dd8b7b4d8: Waiting\n[2020-01-10T01:38:33.853Z] dc21a1d4508b: Waiting\n[2020-01-10T01:38:33.853Z] 363af2e989c4: Waiting\n[2020-01-10T01:38:33.853Z] da0e9bf0cc60: Download complete\n[2020-01-10T01:38:33.853Z] 9cfac6ba3733: Verifying Checksum\n[2020-01-10T01:38:33.853Z] 9cfac6ba3733: Download complete\n[2020-01-10T01:38:33.853Z] e6b0cf9c0882: Download complete\n[2020-01-10T01:38:33.853Z] f6a933c9cadc: Verifying Checksum\n[2020-01-10T01:38:33.853Z] f6a933c9cadc: Download complete\n[2020-01-10T01:38:34.116Z] a6eb2c9e2280: Verifying Checksum\n[2020-01-10T01:38:34.116Z] a6eb2c9e2280: Download complete\n[2020-01-10T01:38:34.376Z] e6b0cf9c0882: Pull complete\n[2020-01-10T01:38:34.376Z] c9ea274ed700: Verifying Checksum\n[2020-01-10T01:38:34.376Z] c9ea274ed700: Download complete\n[2020-01-10T01:38:34.376Z] 095dd8b7b4d8: Verifying Checksum\n[2020-01-10T01:38:34.376Z] 095dd8b7b4d8: Download complete\n[2020-01-10T01:38:34.376Z] 363af2e989c4: Verifying Checksum\n[2020-01-10T01:38:34.376Z] 363af2e989c4: Download complete\n[2020-01-10T01:38:34.376Z] dc21a1d4508b: Verifying Checksum\n[2020-01-10T01:38:34.376Z] dc21a1d4508b: Download complete\n[2020-01-10T01:38:34.639Z] da0e9bf0cc60: Pull complete\n[2020-01-10T01:38:34.904Z] 61811dbd4963: Verifying Checksum\n[2020-01-10T01:38:34.904Z] 61811dbd4963: Download complete\n[2020-01-10T01:38:36.281Z] c9ea274ed700: Pull complete\n[2020-01-10T01:38:36.281Z] 9cfac6ba3733: Pull complete\n[2020-01-10T01:38:36.541Z] f6a933c9cadc: Pull complete\n[2020-01-10T01:38:39.837Z] 61811dbd4963: Pull complete\n[2020-01-10T01:38:39.837Z] a6eb2c9e2280: Pull complete\n[2020-01-10T01:38:41.220Z] 095dd8b7b4d8: Pull complete\n[2020-01-10T01:38:41.478Z] dc21a1d4508b: Pull complete\n[2020-01-10T01:38:41.478Z] 363af2e989c4: Pull complete\n[2020-01-10T01:38:41.478Z] Digest: sha256:add8188b58b49eaf945790de1a8bc2588125c85e750a42d0a8acc29426f6ed5f\n[2020-01-10T01:38:41.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine\n[Pipeline] withDockerContainer\n[2020-01-10T01:38:41.666Z] prd-centos7-docker-4c-2g-12936 does not seem to be running inside a container\n[2020-01-10T01:38:41.705Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-rest-go_PR-8 -v /w/workspace/edgexfoundry_device-rest-go_PR-8:/w/workspace/edgexfoundry_device-rest-go_PR-8:rw,z -v /w/workspace/edgexfoundry_device-rest-go_PR-8@tmp:/w/workspace/edgexfoundry_device-rest-go_PR-8@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat\n[2020-01-10T01:38:42.759Z] $ docker top 92ad2909b872c20d6481658a0294d5f1778f1ef1c9135c20c3982acc342fea92 -eo pid,comm\n[Pipeline] {\n[Pipeline] withEnv\n[Pipeline] {\n[Pipeline] wrap\n[2020-01-10T01:38:43.375Z] provisioning config files...\n[2020-01-10T01:38:43.390Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_PR-8@tmp/config299100999479379133tmp\n[Pipeline] {\n[Pipeline] echo\n[2020-01-10T01:38:43.430Z] Running global-jjb/create-netrc.sh\n[Pipeline] libraryResource\n[Pipeline] sh\n[2020-01-10T01:38:43.750Z] ---> create-netrc.sh\n[Pipeline] echo\n[2020-01-10T01:38:43.775Z] Running global-jjb/logs-deploy.sh\n[Pipeline] libraryResource\n[Pipeline] sh\n[2020-01-10T01:38:44.099Z] ---> logs-deploy.sh\n[2020-01-10T01:38:44.099Z] + ARCHIVE_ARTIFACTS=\n[2020-01-10T01:38:44.099Z] + LOGS_SERVER=https://logs.edgexfoundry.org\n[2020-01-10T01:38:44.099Z] + \'[\' https://logs.edgexfoundry.org == None \']\'\n[2020-01-10T01:38:44.099Z] + NEXUS_URL=https://nexus.edgexfoundry.org\n[2020-01-10T01:38:44.099Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-8/1\n[2020-01-10T01:38:44.099Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-8/1/\n[2020-01-10T01:38:44.099Z] + lftools deploy archives -p \'\' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-8/1 /w/workspace/edgexfoundry_device-rest-go_PR-8\n[2020-01-10T01:38:45.475Z] Archives upload complete.\n[2020-01-10T01:38:45.475Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-8/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-8/1/\n'