Pull request #136 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 6836bb5979b98a1d30f9933377cf4afb5ccbbd95+251ac84f7228ae0fb6e27216846c283c9f5cee26 (2276a24346cb811189b0427374bff5efeae43dc9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-136/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-modbus-simulator, goVersion:1.13, dockerImageName:edgex-modbus-simulator, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[0.0.1], releaseBranchOverride:edgex-modbus-simulator] ========================================================= [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: edgex-modbus-simulator-settings PROJECT: edgex-modbus-simulator USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-modbus-simulator DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4006 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-136 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # 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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 Merge succeeded, producing 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 Checking out Revision 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 (PR-136) > git config core.sparsecheckout # timeout=10 > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # 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 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-15T08:44:52.511Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-15T08:44:54.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-15T08:44:54.885Z] [2020-04-15T08:44:54.885Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-15T08:44:55.260Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-15T08:44:55.260Z] latest: Pulling from edgex-devops/git-semver [2020-04-15T08:44:55.260Z] 9123ac7c32f7: Pulling fs layer [2020-04-15T08:44:55.260Z] b8cc5d1170e3: Pulling fs layer [2020-04-15T08:44:55.260Z] 2924cbbf6a41: Pulling fs layer [2020-04-15T08:44:55.260Z] 93b08a4f1073: Pulling fs layer [2020-04-15T08:44:55.260Z] 93b08a4f1073: Waiting [2020-04-15T08:44:55.260Z] b8cc5d1170e3: Verifying Checksum [2020-04-15T08:44:55.260Z] b8cc5d1170e3: Download complete [2020-04-15T08:44:55.523Z] 9123ac7c32f7: Download complete [2020-04-15T08:44:55.523Z] 93b08a4f1073: Verifying Checksum [2020-04-15T08:44:55.523Z] 93b08a4f1073: Download complete [2020-04-15T08:44:55.523Z] 2924cbbf6a41: Verifying Checksum [2020-04-15T08:44:55.523Z] 2924cbbf6a41: Download complete [2020-04-15T08:44:55.784Z] 9123ac7c32f7: Pull complete [2020-04-15T08:44:55.784Z] b8cc5d1170e3: Pull complete [2020-04-15T08:44:56.354Z] 2924cbbf6a41: Pull complete [2020-04-15T08:44:56.614Z] 93b08a4f1073: Pull complete [2020-04-15T08:44:56.614Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-15T08:44:56.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-15T08:44:56.764Z] prd-centos7-docker-4c-2g-4006 does not seem to be running inside a container [2020-04-15T08:44:56.805Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-136 -v /w/workspace/xfoundry_device-modbus-go_PR-136:/w/workspace/xfoundry_device-modbus-go_PR-136:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-136@tmp:/w/workspace/xfoundry_device-modbus-go_PR-136@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-15T08:44:57.429Z] $ docker top fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-15T08:44:57.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-15T08:44:57.785Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-15T08:44:58.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-15T08:44:58.022Z] $ docker exec fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent [2020-04-15T08:44:58.214Z] SSH_AUTH_SOCK=/tmp/ssh-nSz7ViiwoiOI/agent.15 [2020-04-15T08:44:58.214Z] SSH_AGENT_PID=22 [2020-04-15T08:44:58.228Z] Running ssh-add (command line suppressed) [2020-04-15T08:44:58.395Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-136@tmp/private_key_4776108978526548703.key (/w/workspace/xfoundry_device-modbus-go_PR-136@tmp/private_key_4776108978526548703.key) [2020-04-15T08:44:58.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-15T08:44:58.811Z] + git describe --exact-match --tags HEAD [2020-04-15T08:44:58.811Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-15T08:44:58.888Z] $ docker exec --env ******** --env ******** fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent -k [2020-04-15T08:44:59.030Z] unset SSH_AUTH_SOCK; [2020-04-15T08:44:59.031Z] unset SSH_AGENT_PID; [2020-04-15T08:44:59.031Z] echo Agent pid 22 killed; [2020-04-15T08:44:59.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-15T08:44:59.190Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-15T08:44:59.190Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-15T08:44:59.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-15T08:44:59.283Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-15T08:44:59.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-15T08:44:59.501Z] $ docker exec fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent [2020-04-15T08:44:59.693Z] SSH_AUTH_SOCK=/tmp/ssh-t4ywnQCtRoGq/agent.56 [2020-04-15T08:44:59.693Z] SSH_AGENT_PID=63 [2020-04-15T08:44:59.703Z] Running ssh-add (command line suppressed) [2020-04-15T08:44:59.848Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-136@tmp/private_key_6946147740352936113.key (/w/workspace/xfoundry_device-modbus-go_PR-136@tmp/private_key_6946147740352936113.key) [2020-04-15T08:44:59.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-15T08:45:00.258Z] + git semver init [2020-04-15T08:45:00.258Z] # -> Open(): unable to determine branch for HEAD [2020-04-15T08:45:00.258Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-136/.git [2020-04-15T08:45:00.258Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-136 [2020-04-15T08:45:00.258Z] # $SEMVER_REMOTE_NAME = origin [2020-04-15T08:45:00.258Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-15T08:45:00.258Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-15T08:45:00.258Z] # $SEMVER_BRANCH = PR-136 [2020-04-15T08:45:00.258Z] # $SEMVER_TEMP = /tmp/semver-682996370 [2020-04-15T08:45:00.258Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-15T08:45:00.518Z] # '/tmp/semver-682996370' -> '/w/workspace/xfoundry_device-modbus-go_PR-136/.semver' [2020-04-15T08:45:00.518Z] # -> Force: false [2020-04-15T08:45:00.777Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-136/.semver [Pipeline] } [2020-04-15T08:45:00.796Z] $ docker exec --env ******** --env ******** fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent -k [2020-04-15T08:45:00.936Z] unset SSH_AUTH_SOCK; [2020-04-15T08:45:00.936Z] unset SSH_AGENT_PID; [2020-04-15T08:45:00.936Z] echo Agent pid 63 killed; [2020-04-15T08:45:00.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-15T08:45:01.503Z] + git semver [Pipeline] } [2020-04-15T08:45:01.539Z] $ docker stop --time=1 fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 [2020-04-15T08:45:02.880Z] $ docker rm -f fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-15T08:45:03.662Z] Stashed 22 file(s) [Pipeline] echo [2020-04-15T08:45:03.678Z] [edgeXSemver] initialized semver on version 0.0.0 [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-04-15T08:45:19.172Z] Still waiting to schedule task [2020-04-15T08:45:19.172Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-15T08:45:19.192Z] Still waiting to schedule task [2020-04-15T08:45:19.193Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-15T08:47:37.662Z] Running on prd-centos7-docker-4c-2g-4007 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] ws [2020-04-15T08:47:37.756Z] Running in /w/workspace/edgex-modbus-simulator/1 [Pipeline] { [Pipeline] checkout [2020-04-15T08:47:46.381Z] using credential edgex-jenkins-ssh [2020-04-15T08:47:46.538Z] Cloning the remote Git repository [2020-04-15T08:47:46.538Z] Cloning with configured refspecs honoured and without tags [2020-04-15T08:47:46.710Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T08:47:46.781Z] > git init /w/workspace/edgex-modbus-simulator/1 # timeout=10 [2020-04-15T08:47:46.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T08:47:46.940Z] > git --version # timeout=10 [2020-04-15T08:47:46.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T08:47:47.077Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-15T08:47:47.845Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T08:47:47.911Z] > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # timeout=10 [2020-04-15T08:47:48.102Z] Fetching without tags [2020-04-15T08:47:48.638Z] Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 [2020-04-15T08:47:49.098Z] Merge succeeded, producing 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 [2020-04-15T08:47:49.098Z] Checking out Revision 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 (PR-136) [2020-04-15T08:47:48.008Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-15T08:47:48.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T08:47:48.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T08:47:48.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T08:47:48.145Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-15T08:47:48.656Z] > git config core.sparsecheckout # timeout=10 [2020-04-15T08:47:48.688Z] > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 [2020-04-15T08:47:48.790Z] > git remote # timeout=10 [2020-04-15T08:47:48.878Z] > git config --get remote.origin.url # timeout=10 [2020-04-15T08:47:48.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T08:47:48.902Z] > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-15T08:47:48.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-15T08:47:49.123Z] > git config core.sparsecheckout # timeout=10 [2020-04-15T08:47:49.158Z] > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 [2020-04-15T08:47:55.931Z] Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" [2020-04-15T08:47:55.999Z] > git --version # timeout=10 [2020-04-15T08:47:56.080Z] fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-15T08:47:57.387Z] ========================================================= [2020-04-15T08:47:57.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-15T08:47:57.387Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-15T08:47:59.138Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-15T08:47:59.508Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-modbus-simulator/1/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-15T08:48:01.132Z] Failed in branch amd64 [2020-04-15T08:48:36.862Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4008 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] ws [2020-04-15T08:48:36.933Z] Running in /w/workspace/edgex-modbus-simulator/1 [Pipeline] { [Pipeline] checkout [2020-04-15T08:48:42.714Z] using credential edgex-jenkins-ssh [2020-04-15T08:48:42.763Z] Cloning the remote Git repository [2020-04-15T08:48:42.763Z] Cloning with configured refspecs honoured and without tags [2020-04-15T08:48:43.150Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T08:48:43.239Z] > git init /w/workspace/edgex-modbus-simulator/1 # timeout=10 [2020-04-15T08:48:43.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T08:48:43.315Z] > git --version # timeout=10 [2020-04-15T08:48:43.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T08:48:44.374Z] Fetching without tags [2020-04-15T08:48:43.459Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-15T08:48:44.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T08:48:44.249Z] > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # timeout=10 [2020-04-15T08:48:44.282Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-15T08:48:44.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-15T08:48:44.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-15T08:48:44.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T08:48:44.399Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-15T08:48:44.878Z] Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 [2020-04-15T08:48:45.322Z] Merge succeeded, producing 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 [2020-04-15T08:48:45.322Z] Checking out Revision 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 (PR-136) [2020-04-15T08:48:44.889Z] > git config core.sparsecheckout # timeout=10 [2020-04-15T08:48:44.931Z] > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 [2020-04-15T08:48:45.006Z] > git remote # timeout=10 [2020-04-15T08:48:45.111Z] > git config --get remote.origin.url # timeout=10 [2020-04-15T08:48:45.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-15T08:48:45.182Z] > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-15T08:48:45.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-15T08:48:45.322Z] > git config core.sparsecheckout # timeout=10 [2020-04-15T08:48:45.372Z] > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 [2020-04-15T08:48:49.786Z] Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" [2020-04-15T08:48:49.834Z] > git --version # timeout=10 [2020-04-15T08:48:49.873Z] fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-15T08:48:50.909Z] ========================================================= [2020-04-15T08:48:50.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-15T08:48:50.909Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-15T08:48:52.103Z] + 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-04-15T08:48:52.689Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/edgex-modbus-simulator/1/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-15T08:48:54.293Z] Failed in branch arm64 [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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-15T08:48:56.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-15T08:48:56.946Z] ---> package-listing.sh [2020-04-15T08:48:56.947Z] ++ facter osfamily [2020-04-15T08:48:56.947Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-15T08:48:56.947Z] + OS_FAMILY=redhat [2020-04-15T08:48:56.947Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-136 [2020-04-15T08:48:56.947Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-15T08:48:56.947Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-15T08:48:56.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-15T08:48:56.947Z] + PACKAGES=/tmp/packages_start.txt [2020-04-15T08:48:56.947Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-136 ']' [2020-04-15T08:48:56.947Z] + PACKAGES=/tmp/packages_end.txt [2020-04-15T08:48:56.947Z] + case "${OS_FAMILY}" in [2020-04-15T08:48:56.947Z] + rpm -qa [2020-04-15T08:48:56.947Z] + sort [2020-04-15T08:49:01.144Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-15T08:49:01.144Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-15T08:49:01.144Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-15T08:49:01.144Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-136 ']' [2020-04-15T08:49:01.144Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-136/archives/ [2020-04-15T08:49:01.144Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-136/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-15T08:49:01.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-15T08:49:01.653Z] [2020-04-15T08:49:01.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-15T08:49:02.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-15T08:49:02.038Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-15T08:49:02.038Z] c9b1b535fdd9: Pulling fs layer [2020-04-15T08:49:02.038Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-15T08:49:02.038Z] 756a868c4378: Pulling fs layer [2020-04-15T08:49:02.038Z] 444b2fc9a129: Pulling fs layer [2020-04-15T08:49:02.038Z] ea15f1150254: Pulling fs layer [2020-04-15T08:49:02.038Z] 41b27a9f41bf: Pulling fs layer [2020-04-15T08:49:02.038Z] 28c525ee5125: Pulling fs layer [2020-04-15T08:49:02.038Z] 094b1ea09ed8: Pulling fs layer [2020-04-15T08:49:02.038Z] 138eaada9080: Pulling fs layer [2020-04-15T08:49:02.038Z] 0622d0fa9048: Pulling fs layer [2020-04-15T08:49:02.038Z] 41b27a9f41bf: Waiting [2020-04-15T08:49:02.038Z] 28c525ee5125: Waiting [2020-04-15T08:49:02.038Z] 094b1ea09ed8: Waiting [2020-04-15T08:49:02.038Z] 138eaada9080: Waiting [2020-04-15T08:49:02.038Z] 0622d0fa9048: Waiting [2020-04-15T08:49:02.038Z] 444b2fc9a129: Waiting [2020-04-15T08:49:02.038Z] ea15f1150254: Waiting [2020-04-15T08:49:02.038Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-15T08:49:02.038Z] 2cc5ad85d9ab: Download complete [2020-04-15T08:49:02.038Z] 444b2fc9a129: Verifying Checksum [2020-04-15T08:49:02.038Z] 444b2fc9a129: Download complete [2020-04-15T08:49:02.038Z] c9b1b535fdd9: Verifying Checksum [2020-04-15T08:49:02.038Z] c9b1b535fdd9: Download complete [2020-04-15T08:49:02.038Z] ea15f1150254: Verifying Checksum [2020-04-15T08:49:02.038Z] ea15f1150254: Download complete [2020-04-15T08:49:02.308Z] 28c525ee5125: Verifying Checksum [2020-04-15T08:49:02.308Z] 28c525ee5125: Download complete [2020-04-15T08:49:02.576Z] 756a868c4378: Verifying Checksum [2020-04-15T08:49:02.576Z] 756a868c4378: Download complete [2020-04-15T08:49:02.576Z] c9b1b535fdd9: Pull complete [2020-04-15T08:49:02.576Z] 138eaada9080: Verifying Checksum [2020-04-15T08:49:02.576Z] 138eaada9080: Download complete [2020-04-15T08:49:02.576Z] 0622d0fa9048: Verifying Checksum [2020-04-15T08:49:02.576Z] 0622d0fa9048: Download complete [2020-04-15T08:49:02.837Z] 094b1ea09ed8: Verifying Checksum [2020-04-15T08:49:02.837Z] 094b1ea09ed8: Download complete [2020-04-15T08:49:02.837Z] 2cc5ad85d9ab: Pull complete [2020-04-15T08:49:03.103Z] 41b27a9f41bf: Verifying Checksum [2020-04-15T08:49:03.103Z] 41b27a9f41bf: Download complete [2020-04-15T08:49:04.040Z] 756a868c4378: Pull complete [2020-04-15T08:49:04.040Z] 444b2fc9a129: Pull complete [2020-04-15T08:49:04.301Z] ea15f1150254: Pull complete [2020-04-15T08:49:08.502Z] 41b27a9f41bf: Pull complete [2020-04-15T08:49:08.502Z] 28c525ee5125: Pull complete [2020-04-15T08:49:10.415Z] 094b1ea09ed8: Pull complete [2020-04-15T08:49:10.415Z] 138eaada9080: Pull complete [2020-04-15T08:49:10.679Z] 0622d0fa9048: Pull complete [2020-04-15T08:49:10.679Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-15T08:49:10.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-15T08:49:10.852Z] prd-centos7-docker-4c-2g-4006 does not seem to be running inside a container [2020-04-15T08:49:10.893Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-136 -v /w/workspace/xfoundry_device-modbus-go_PR-136:/w/workspace/xfoundry_device-modbus-go_PR-136:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-136@tmp:/w/workspace/xfoundry_device-modbus-go_PR-136@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-15T08:49:12.117Z] $ docker top 4a6d863c6e20c97e16e35b14539a7cd27bdee11b03bce95e3b81cc242fcac733 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-15T08:49:12.404Z] provisioning config files... [2020-04-15T08:49:12.419Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-136@tmp/config2844737197850211909tmp [Pipeline] { [Pipeline] echo [2020-04-15T08:49:12.504Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-15T08:49:12.830Z] ---> create-netrc.sh [Pipeline] echo [2020-04-15T08:49:12.855Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-15T08:49:13.174Z] ---> logs-deploy.sh [2020-04-15T08:49:13.174Z] + ARCHIVE_ARTIFACTS= [2020-04-15T08:49:13.174Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-15T08:49:13.174Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-15T08:49:13.174Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-15T08:49:13.174Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/1 [2020-04-15T08:49:13.174Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-136/1/ [2020-04-15T08:49:13.174Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/1 /w/workspace/xfoundry_device-modbus-go_PR-136 [2020-04-15T08:49:14.557Z] Archives upload complete. [2020-04-15T08:49:14.557Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-136/1/