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 08:44:52 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 08:44:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:54 08:44:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:44:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:55 latest: Pulling from edgex-devops/git-semver 08:44:55 9123ac7c32f7: Pulling fs layer 08:44:55 b8cc5d1170e3: Pulling fs layer 08:44:55 2924cbbf6a41: Pulling fs layer 08:44:55 93b08a4f1073: Pulling fs layer 08:44:55 93b08a4f1073: Waiting 08:44:55 b8cc5d1170e3: Verifying Checksum 08:44:55 b8cc5d1170e3: Download complete 08:44:55 9123ac7c32f7: Download complete 08:44:55 93b08a4f1073: Verifying Checksum 08:44:55 93b08a4f1073: Download complete 08:44:55 2924cbbf6a41: Verifying Checksum 08:44:55 2924cbbf6a41: Download complete 08:44:55 9123ac7c32f7: Pull complete 08:44:55 b8cc5d1170e3: Pull complete 08:44:56 2924cbbf6a41: Pull complete 08:44:56 93b08a4f1073: Pull complete 08:44:56 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:44:56 prd-centos7-docker-4c-2g-4006 does not seem to be running inside a container 08:44:56 $ 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 08:44:57 $ docker top fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:57 [ssh-agent] Looking for ssh-agent implementation... 08:44:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:58 $ docker exec fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent 08:44:58 SSH_AUTH_SOCK=/tmp/ssh-nSz7ViiwoiOI/agent.15 08:44:58 SSH_AGENT_PID=22 08:44:58 Running ssh-add (command line suppressed) 08:44:58 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) 08:44:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:58 + git describe --exact-match --tags HEAD 08:44:58 fatal: No names found, cannot describe anything. [Pipeline] } 08:44:58 $ docker exec --env ******** --env ******** fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent -k 08:44:59 unset SSH_AUTH_SOCK; 08:44:59 unset SSH_AGENT_PID; 08:44:59 echo Agent pid 22 killed; 08:44:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:44:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:44:59 This usually means this commit has not been tagged. [Pipeline] sshagent 08:44:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:59 [ssh-agent] Looking for ssh-agent implementation... 08:44:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:59 $ docker exec fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent 08:44:59 SSH_AUTH_SOCK=/tmp/ssh-t4ywnQCtRoGq/agent.56 08:44:59 SSH_AGENT_PID=63 08:44:59 Running ssh-add (command line suppressed) 08:44:59 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) 08:44:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:45:00 + git semver init 08:45:00 # -> Open(): unable to determine branch for HEAD 08:45:00 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-136/.git 08:45:00 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-136 08:45:00 # $SEMVER_REMOTE_NAME = origin 08:45:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:45:00 # $SEMVER_USER_NAME = edgex-jenkins 08:45:00 # $SEMVER_BRANCH = PR-136 08:45:00 # $SEMVER_TEMP = /tmp/semver-682996370 08:45:00 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 08:45:00 # '/tmp/semver-682996370' -> '/w/workspace/xfoundry_device-modbus-go_PR-136/.semver' 08:45:00 # -> Force: false 08:45:00 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-136/.semver [Pipeline] } 08:45:00 $ docker exec --env ******** --env ******** fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 ssh-agent -k 08:45:00 unset SSH_AUTH_SOCK; 08:45:00 unset SSH_AGENT_PID; 08:45:00 echo Agent pid 63 killed; 08:45:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:45:01 + git semver [Pipeline] } 08:45:01 $ docker stop --time=1 fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 08:45:02 $ docker rm -f fb40cc1120a36a62a1252e52f13f3e540bb17d35e17d25a41701777a99a30280 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:45:03 Stashed 22 file(s) [Pipeline] echo 08:45:03 [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 08:45:19 Still waiting to schedule task 08:45:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:45:19 Still waiting to schedule task 08:45:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:47:37 Running on prd-centos7-docker-4c-2g-4007 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] ws 08:47:37 Running in /w/workspace/edgex-modbus-simulator/1 [Pipeline] { [Pipeline] checkout 08:47:46 using credential edgex-jenkins-ssh 08:47:46 Cloning the remote Git repository 08:47:46 Cloning with configured refspecs honoured and without tags 08:47:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:47:46 > git init /w/workspace/edgex-modbus-simulator/1 # timeout=10 08:47:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:47:46 > git --version # timeout=10 08:47:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:47 > 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 08:47:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:47:47 > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # timeout=10 08:47:48 Fetching without tags 08:47:48 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 08:47:49 Merge succeeded, producing 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 08:47:49 Checking out Revision 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 (PR-136) 08:47:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:47:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:47:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:47:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:48 > 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 08:47:48 > git config core.sparsecheckout # timeout=10 08:47:48 > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 08:47:48 > git remote # timeout=10 08:47:48 > git config --get remote.origin.url # timeout=10 08:47:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:48 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 08:47:48 > git rev-parse HEAD^{commit} # timeout=10 08:47:49 > git config core.sparsecheckout # timeout=10 08:47:49 > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 08:47:55 Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" 08:47:55 > git --version # timeout=10 08:47:56 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:47:57 ========================================================= 08:47:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:47:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:47:59 + 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 . 08:47:59 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] } 08:48:01 Failed in branch amd64 08:48:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4008 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] ws 08:48:36 Running in /w/workspace/edgex-modbus-simulator/1 [Pipeline] { [Pipeline] checkout 08:48:42 using credential edgex-jenkins-ssh 08:48:42 Cloning the remote Git repository 08:48:42 Cloning with configured refspecs honoured and without tags 08:48:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:48:43 > git init /w/workspace/edgex-modbus-simulator/1 # timeout=10 08:48:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:48:43 > git --version # timeout=10 08:48:43 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:44 Fetching without tags 08:48:43 > 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 08:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:48:44 > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # timeout=10 08:48:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:48:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:48:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:44 > 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 08:48:44 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 08:48:45 Merge succeeded, producing 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 08:48:45 Checking out Revision 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 (PR-136) 08:48:44 > git config core.sparsecheckout # timeout=10 08:48:44 > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 08:48:45 > git remote # timeout=10 08:48:45 > git config --get remote.origin.url # timeout=10 08:48:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:45 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 08:48:45 > git rev-parse HEAD^{commit} # timeout=10 08:48:45 > git config core.sparsecheckout # timeout=10 08:48:45 > git checkout -f 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 08:48:49 Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" 08:48:49 > git --version # timeout=10 08:48:49 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:48:50 ========================================================= 08:48:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:48:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:48:52 + 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 . 08:48:52 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] } 08:48:54 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 08:48:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:48:56 ---> package-listing.sh 08:48:56 ++ facter osfamily 08:48:56 ++ tr '[:upper:]' '[:lower:]' 08:48:56 + OS_FAMILY=redhat 08:48:56 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-136 08:48:56 + START_PACKAGES=/tmp/packages_start.txt 08:48:56 + END_PACKAGES=/tmp/packages_end.txt 08:48:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:48:56 + PACKAGES=/tmp/packages_start.txt 08:48:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-136 ']' 08:48:56 + PACKAGES=/tmp/packages_end.txt 08:48:56 + case "${OS_FAMILY}" in 08:48:56 + rpm -qa 08:48:56 + sort 08:49:01 + '[' -f /tmp/packages_start.txt ']' 08:49:01 + '[' -f /tmp/packages_end.txt ']' 08:49:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:49:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-136 ']' 08:49:01 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-136/archives/ 08:49:01 + 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 08:49:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:49:01 08:49:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:49:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:49:02 alpine: Pulling from edgex-lftools-log-publisher 08:49:02 c9b1b535fdd9: Pulling fs layer 08:49:02 2cc5ad85d9ab: Pulling fs layer 08:49:02 756a868c4378: Pulling fs layer 08:49:02 444b2fc9a129: Pulling fs layer 08:49:02 ea15f1150254: Pulling fs layer 08:49:02 41b27a9f41bf: Pulling fs layer 08:49:02 28c525ee5125: Pulling fs layer 08:49:02 094b1ea09ed8: Pulling fs layer 08:49:02 138eaada9080: Pulling fs layer 08:49:02 0622d0fa9048: Pulling fs layer 08:49:02 41b27a9f41bf: Waiting 08:49:02 28c525ee5125: Waiting 08:49:02 094b1ea09ed8: Waiting 08:49:02 138eaada9080: Waiting 08:49:02 0622d0fa9048: Waiting 08:49:02 444b2fc9a129: Waiting 08:49:02 ea15f1150254: Waiting 08:49:02 2cc5ad85d9ab: Verifying Checksum 08:49:02 2cc5ad85d9ab: Download complete 08:49:02 444b2fc9a129: Verifying Checksum 08:49:02 444b2fc9a129: Download complete 08:49:02 c9b1b535fdd9: Verifying Checksum 08:49:02 c9b1b535fdd9: Download complete 08:49:02 ea15f1150254: Verifying Checksum 08:49:02 ea15f1150254: Download complete 08:49:02 28c525ee5125: Verifying Checksum 08:49:02 28c525ee5125: Download complete 08:49:02 756a868c4378: Verifying Checksum 08:49:02 756a868c4378: Download complete 08:49:02 c9b1b535fdd9: Pull complete 08:49:02 138eaada9080: Verifying Checksum 08:49:02 138eaada9080: Download complete 08:49:02 0622d0fa9048: Verifying Checksum 08:49:02 0622d0fa9048: Download complete 08:49:02 094b1ea09ed8: Verifying Checksum 08:49:02 094b1ea09ed8: Download complete 08:49:02 2cc5ad85d9ab: Pull complete 08:49:03 41b27a9f41bf: Verifying Checksum 08:49:03 41b27a9f41bf: Download complete 08:49:04 756a868c4378: Pull complete 08:49:04 444b2fc9a129: Pull complete 08:49:04 ea15f1150254: Pull complete 08:49:08 41b27a9f41bf: Pull complete 08:49:08 28c525ee5125: Pull complete 08:49:10 094b1ea09ed8: Pull complete 08:49:10 138eaada9080: Pull complete 08:49:10 0622d0fa9048: Pull complete 08:49:10 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:49:10 prd-centos7-docker-4c-2g-4006 does not seem to be running inside a container 08:49:10 $ 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 08:49:12 $ docker top 4a6d863c6e20c97e16e35b14539a7cd27bdee11b03bce95e3b81cc242fcac733 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:12 provisioning config files... 08:49:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-136@tmp/config2844737197850211909tmp [Pipeline] { [Pipeline] echo 08:49:12 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:49:12 ---> create-netrc.sh [Pipeline] echo 08:49:12 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:49:13 ---> logs-deploy.sh 08:49:13 + ARCHIVE_ARTIFACTS= 08:49:13 + LOGS_SERVER=https://logs.edgexfoundry.org 08:49:13 + '[' https://logs.edgexfoundry.org == None ']' 08:49:13 + NEXUS_URL=https://nexus.edgexfoundry.org 08:49:13 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/1 08:49:13 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-136/1/ 08:49:13 + 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 08:49:14 Archives upload complete. 08:49:14 + 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/