Pull request #166 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 dec6cac7ad3741578ee4319335a22747a71d0cbd+3d6b06ce9c8aabcbe3b96acc6656864e00d04358 (8b59844a32633913d52a2874861cadf6aa928718) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-166/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-177 in /w/workspace/xfoundry_device-modbus-go_PR-166 [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-166 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +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/166/head:refs/remotes/origin/PR-166 # 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/166/head:refs/remotes/origin/PR-166 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit dec6cac7ad3741578ee4319335a22747a71d0cbd Merge succeeded, producing dec6cac7ad3741578ee4319335a22747a71d0cbd Checking out Revision dec6cac7ad3741578ee4319335a22747a71d0cbd (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f dec6cac7ad3741578ee4319335a22747a71d0cbd # 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 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dec6cac7ad3741578ee4319335a22747a71d0cbd # timeout=10 Commit message: "fix: Lock Modbus TCP address with IP and Port" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:31 ========================================================= 07:51:31 EdgeX Global Pipelines Version Info 07:51:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:33 ------------------- 07:51:33 stable info: 07:51:33 ------------------- 07:51:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:51:33 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 07:51:33 Message: update stable to v1.0.106 07:51:34 ------------------- 07:51:34 experimental info: 07:51:34 ------------------- 07:51:34 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:34 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 07:51:34 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:36 + git log --format=format:%s -1 dec6cac7ad3741578ee4319335a22747a71d0cbd [Pipeline] echo 07:51:36 GIT_COMMIT: dec6cac7ad3741578ee4319335a22747a71d0cbd, Commit Message: fix: Lock Modbus TCP address with IP and Port [Pipeline] echo 07:51:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:51:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:38 07:51:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:51:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:38 latest: Pulling from edgex-devops/git-semver 07:51:38 31603596830f: Pulling fs layer 07:51:38 2a8b12db71e7: Pulling fs layer 07:51:38 6ca5941a6612: Pulling fs layer 07:51:38 ecc8261a40a4: Pulling fs layer 07:51:38 ecc8261a40a4: Waiting 07:51:38 2a8b12db71e7: Verifying Checksum 07:51:38 2a8b12db71e7: Download complete 07:51:38 31603596830f: Verifying Checksum 07:51:38 31603596830f: Download complete 07:51:38 ecc8261a40a4: Verifying Checksum 07:51:38 ecc8261a40a4: Download complete 07:51:38 6ca5941a6612: Verifying Checksum 07:51:38 6ca5941a6612: Download complete 07:51:39 31603596830f: Pull complete 07:51:39 2a8b12db71e7: Pull complete 07:51:39 6ca5941a6612: Pull complete 07:51:39 ecc8261a40a4: Pull complete 07:51:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:51:40 prd-centos7-docker-4c-2g-177 does not seem to be running inside a container 07:51:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-166 -v /w/workspace/xfoundry_device-modbus-go_PR-166:/w/workspace/xfoundry_device-modbus-go_PR-166:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-166@tmp:/w/workspace/xfoundry_device-modbus-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:51:43 $ docker top a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:43 [ssh-agent] Looking for ssh-agent implementation... 07:51:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:43 $ docker exec a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc ssh-agent 07:51:43 SSH_AUTH_SOCK=/tmp/ssh-bwfjtBO7ElJO/agent.11 07:51:43 SSH_AGENT_PID=16 07:51:43 Running ssh-add (command line suppressed) 07:51:43 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-166@tmp/private_key_5520713070123389142.key (/w/workspace/xfoundry_device-modbus-go_PR-166@tmp/private_key_5520713070123389142.key) 07:51:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:44 + git describe --exact-match --tags HEAD 07:51:44 fatal: No names found, cannot describe anything. [Pipeline] } 07:51:44 $ docker exec --env ******** --env ******** a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc ssh-agent -k 07:51:44 unset SSH_AUTH_SOCK; 07:51:44 unset SSH_AGENT_PID; 07:51:44 echo Agent pid 16 killed; 07:51:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:51:44 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:51:44 This usually means this commit has not been tagged. [Pipeline] sshagent 07:51:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:44 [ssh-agent] Looking for ssh-agent implementation... 07:51:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:45 $ docker exec a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc ssh-agent 07:51:45 SSH_AUTH_SOCK=/tmp/ssh-Jr64ttOXCFTn/agent.46 07:51:45 SSH_AGENT_PID=51 07:51:45 Running ssh-add (command line suppressed) 07:51:45 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-166@tmp/private_key_8996851778665905866.key (/w/workspace/xfoundry_device-modbus-go_PR-166@tmp/private_key_8996851778665905866.key) 07:51:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:45 + git semver init 07:51:45 # -> Open(): unable to determine branch for HEAD 07:51:45 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-166/.git 07:51:45 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-166 07:51:45 # $SEMVER_REMOTE_NAME = origin 07:51:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:51:45 # $SEMVER_USER_NAME = edgex-jenkins 07:51:45 # $SEMVER_BRANCH = PR-166 07:51:45 # $SEMVER_TEMP = /tmp/semver-217196750 07:51:45 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 07:51:46 # '/tmp/semver-217196750' -> '/w/workspace/xfoundry_device-modbus-go_PR-166/.semver' 07:51:46 # -> Force: false 07:51:46 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-166/.semver [Pipeline] } 07:51:46 $ docker exec --env ******** --env ******** a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc ssh-agent -k 07:51:46 unset SSH_AUTH_SOCK; 07:51:46 unset SSH_AGENT_PID; 07:51:46 echo Agent pid 51 killed; 07:51:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:51:47 + git semver [Pipeline] } 07:51:47 $ docker stop --time=1 a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc 07:51:48 $ docker rm -f a4a5bc63050328293e66d286328f43ecbf09d64c845c74cac4c3124b51cac5cc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:51:49 Stashed 24 file(s) [Pipeline] echo 07:51:49 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 07:51:49 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:52:04 Still waiting to schedule task 07:52:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:52:04 Still waiting to schedule task 07:52:04 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:54:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-178 in /w/workspace/xfoundry_device-modbus-go_PR-166 [Pipeline] { [Pipeline] ws 07:54:01 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 07:54:06 using credential edgex-jenkins-ssh 07:54:06 Cloning the remote Git repository 07:54:06 Cloning with configured refspecs honoured and without tags 07:54:06 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:54:06 > git init /w/workspace/device-modbus-go/1 # timeout=10 07:54:07 Fetching without tags 07:54:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:54:07 > git --version # timeout=10 07:54:07 > git --version # 'git version 2.17.1' 07:54:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:54:07 > git config --add remote.origin.fetch +refs/pull/166/head:refs/remotes/origin/PR-166 # timeout=10 07:54:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:54:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:54:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:08 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit dec6cac7ad3741578ee4319335a22747a71d0cbd 07:54:08 Merge succeeded, producing dec6cac7ad3741578ee4319335a22747a71d0cbd 07:54:08 Checking out Revision dec6cac7ad3741578ee4319335a22747a71d0cbd (PR-166) 07:54:08 > git config core.sparsecheckout # timeout=10 07:54:08 > git checkout -f dec6cac7ad3741578ee4319335a22747a71d0cbd # timeout=10 07:54:08 > git remote # timeout=10 07:54:08 > git config --get remote.origin.url # timeout=10 07:54:08 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:08 > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 07:54:08 > git rev-parse HEAD^{commit} # timeout=10 07:54:08 > git config core.sparsecheckout # timeout=10 07:54:08 > git checkout -f dec6cac7ad3741578ee4319335a22747a71d0cbd # timeout=10 07:54:12 Commit message: "fix: Lock Modbus TCP address with IP and Port" 07:54:12 > git --version # timeout=10 07:54:13 > git --version # 'git version 2.17.1' 07:54:13 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:54:14 ========================================================= 07:54:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:54:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:54:15 + 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 . 07:54:16 Sending build context to Docker daemon 644.6kB 07:54:16 Step 1/8 : ARG BASE=golang:1.13-alpine 07:54:16 Step 2/8 : FROM ${BASE} 07:54:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:54:17 b538f80385f9: Pulling fs layer 07:54:17 74f711af9a0d: Pulling fs layer 07:54:17 99f96fe45779: Pulling fs layer 07:54:17 fd7a069fd194: Pulling fs layer 07:54:17 66aa3694b03b: Pulling fs layer 07:54:17 170f70906a0f: Pulling fs layer 07:54:17 ad7c5574e4b9: Pulling fs layer 07:54:17 e772456be8f7: Pulling fs layer 07:54:17 c890913d741a: Pulling fs layer 07:54:17 2480fcc9aa5a: Pulling fs layer 07:54:17 09adf4765672: Pulling fs layer 07:54:17 fd7a069fd194: Waiting 07:54:17 66aa3694b03b: Waiting 07:54:17 170f70906a0f: Waiting 07:54:17 2480fcc9aa5a: Waiting 07:54:17 ad7c5574e4b9: Waiting 07:54:17 e772456be8f7: Waiting 07:54:17 c890913d741a: Waiting 07:54:17 09adf4765672: Waiting 07:54:17 99f96fe45779: Verifying Checksum 07:54:17 99f96fe45779: Download complete 07:54:17 74f711af9a0d: Download complete 07:54:17 66aa3694b03b: Verifying Checksum 07:54:17 66aa3694b03b: Download complete 07:54:17 170f70906a0f: Verifying Checksum 07:54:17 170f70906a0f: Download complete 07:54:17 b538f80385f9: Verifying Checksum 07:54:17 b538f80385f9: Download complete 07:54:18 b538f80385f9: Pull complete 07:54:18 74f711af9a0d: Pull complete 07:54:18 99f96fe45779: Pull complete 07:54:20 ad7c5574e4b9: Verifying Checksum 07:54:20 ad7c5574e4b9: Download complete 07:54:20 c890913d741a: Verifying Checksum 07:54:20 c890913d741a: Download complete 07:54:21 2480fcc9aa5a: Verifying Checksum 07:54:21 2480fcc9aa5a: Download complete 07:54:21 09adf4765672: Verifying Checksum 07:54:21 09adf4765672: Download complete 07:54:22 e772456be8f7: Verifying Checksum 07:54:22 e772456be8f7: Download complete 07:54:23 fd7a069fd194: Verifying Checksum 07:54:23 fd7a069fd194: Download complete 07:54:35 fd7a069fd194: Pull complete 07:54:35 66aa3694b03b: Pull complete 07:54:35 170f70906a0f: Pull complete 07:54:38 ad7c5574e4b9: Pull complete 07:54:43 e772456be8f7: Pull complete 07:54:43 c890913d741a: Pull complete 07:54:45 2480fcc9aa5a: Pull complete 07:54:45 09adf4765672: Pull complete 07:54:45 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 07:54:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:54:45 ---> 2248a725d1cf 07:54:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:54:51 ---> Running in d51ea467a5b3 07:54:51 Removing intermediate container d51ea467a5b3 07:54:51 ---> 6f6435c68335 07:54:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:51 ---> Running in d34f05f225b9 07:54:53 Removing intermediate container d34f05f225b9 07:54:53 ---> 39efde89d8a9 07:54:53 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:54:53 ---> Running in bc7022d6d042 07:54:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:55:01 Running on prd-centos7-docker-4c-2g-179 in /w/workspace/xfoundry_device-modbus-go_PR-166 [Pipeline] { [Pipeline] ws 07:55:01 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 07:55:03 using credential edgex-jenkins-ssh 07:55:03 Cloning the remote Git repository 07:55:03 Cloning with configured refspecs honoured and without tags 07:55:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:55:03 > git init /w/workspace/device-modbus-go/1 # timeout=10 07:55:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:55:03 > git --version # timeout=10 07:55:03 > git --version # 'git version 2.16.5' 07:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:55:05 Fetching without tags 07:55:06 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit dec6cac7ad3741578ee4319335a22747a71d0cbd 07:55:06 Merge succeeded, producing dec6cac7ad3741578ee4319335a22747a71d0cbd 07:55:06 Checking out Revision dec6cac7ad3741578ee4319335a22747a71d0cbd (PR-166) 07:55:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:55:05 > git config --add remote.origin.fetch +refs/pull/166/head:refs/remotes/origin/PR-166 # timeout=10 07:55:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:55:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:55:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:55:06 > git config core.sparsecheckout # timeout=10 07:55:06 > git checkout -f dec6cac7ad3741578ee4319335a22747a71d0cbd # timeout=10 07:55:06 > git remote # timeout=10 07:55:06 > git config --get remote.origin.url # timeout=10 07:55:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:06 > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 07:55:06 > git rev-parse HEAD^{commit} # timeout=10 07:55:06 > git config core.sparsecheckout # timeout=10 07:55:06 > git checkout -f dec6cac7ad3741578ee4319335a22747a71d0cbd # timeout=10 07:55:09 Commit message: "fix: Lock Modbus TCP address with IP and Port" 07:55:09 > git --version # timeout=10 07:55:09 > git --version # 'git version 2.16.5' 07:55:09 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:55:10 ========================================================= 07:55:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:55:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:55:11 + 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 . 07:55:11 Sending build context to Docker daemon 644.6kB 07:55:11 Step 1/8 : ARG BASE=golang:1.13-alpine 07:55:11 Step 2/8 : FROM ${BASE} 07:55:11 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:55:11 df20fa9351a1: Pulling fs layer 07:55:11 ed8968b2872e: Pulling fs layer 07:55:11 a92cc7c5fd73: Pulling fs layer 07:55:11 2dd03ba5bac4: Pulling fs layer 07:55:11 1e091d79d1de: Pulling fs layer 07:55:11 481702a1767f: Pulling fs layer 07:55:11 f64a6f60c768: Pulling fs layer 07:55:11 e78d2573fc39: Pulling fs layer 07:55:11 e876d2f968b6: Pulling fs layer 07:55:11 ce8a83651883: Pulling fs layer 07:55:11 07967f4d0e4b: Pulling fs layer 07:55:11 f64a6f60c768: Waiting 07:55:11 e78d2573fc39: Waiting 07:55:11 2dd03ba5bac4: Waiting 07:55:11 1e091d79d1de: Waiting 07:55:11 481702a1767f: Waiting 07:55:11 e876d2f968b6: Waiting 07:55:11 ce8a83651883: Waiting 07:55:11 07967f4d0e4b: Waiting 07:55:11 a92cc7c5fd73: Download complete 07:55:12 ed8968b2872e: Verifying Checksum 07:55:12 ed8968b2872e: Download complete 07:55:12 1e091d79d1de: Verifying Checksum 07:55:12 1e091d79d1de: Download complete 07:55:12 481702a1767f: Verifying Checksum 07:55:12 481702a1767f: Download complete 07:55:12 df20fa9351a1: Verifying Checksum 07:55:12 df20fa9351a1: Download complete 07:55:12 df20fa9351a1: Pull complete 07:55:12 f64a6f60c768: Verifying Checksum 07:55:12 f64a6f60c768: Download complete 07:55:12 e876d2f968b6: Verifying Checksum 07:55:12 e876d2f968b6: Download complete 07:55:13 2dd03ba5bac4: Verifying Checksum 07:55:13 2dd03ba5bac4: Download complete 07:55:13 ce8a83651883: Verifying Checksum 07:55:13 ce8a83651883: Download complete 07:55:13 07967f4d0e4b: Verifying Checksum 07:55:13 07967f4d0e4b: Download complete 07:55:13 e78d2573fc39: Verifying Checksum 07:55:13 e78d2573fc39: Download complete 07:55:14 ed8968b2872e: Pull complete 07:55:14 a92cc7c5fd73: Pull complete 07:55:19 2dd03ba5bac4: Pull complete 07:55:19 1e091d79d1de: Pull complete 07:55:19 481702a1767f: Pull complete 07:55:27 f64a6f60c768: Pull complete 07:55:29 e78d2573fc39: Pull complete 07:55:29 e876d2f968b6: Pull complete 07:55:30 ce8a83651883: Pull complete 07:55:30 07967f4d0e4b: Pull complete 07:55:30 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 07:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:55:30 ---> 5d7c900382c6 07:55:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:55:32 ---> Running in 3a987d37c542 07:55:32 Removing intermediate container 3a987d37c542 07:55:32 ---> 59b153f154b4 07:55:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:32 ---> Running in 3df116a0d8d8 07:55:34 Removing intermediate container 3df116a0d8d8 07:55:34 ---> 72156eda0d55 07:55:34 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:55:34 ---> Running in 0148b7d8cbe5 07:55:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:55:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:55:36 (1/14) Installing libmagic (5.38-r0) 07:55:36 (2/14) Installing file (5.38-r0) 07:55:36 (3/14) Installing libc-dev (0.7.2-r3) 07:55:36 (4/14) Installing g++ (9.3.0-r2) 07:55:38 (5/14) Installing fortify-headers (1.1-r0) 07:55:38 (6/14) Installing patch (2.7.6-r6) 07:55:39 (7/14) Installing build-base (0.5-r2) 07:55:39 (8/14) Installing openssh-keygen (8.3_p1-r0) 07:55:39 (9/14) Installing libedit (20191231.3.1-r0) 07:55:39 (10/14) Installing openssh-client (8.3_p1-r0) 07:55:39 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 07:55:39 (12/14) Installing openssh-server-common (8.3_p1-r0) 07:55:39 (13/14) Installing openssh-server (8.3_p1-r0) 07:55:39 (14/14) Installing openssh (8.3_p1-r0) 07:55:39 Executing busybox-1.31.1-r16.trigger 07:55:39 OK: 237 MiB in 53 packages 07:55:43 Removing intermediate container 0148b7d8cbe5 07:55:43 ---> d757ef6ddb17 07:55:43 Step 6/8 : WORKDIR /device-modbus-go 07:55:43 ---> Running in 854a4db1f7b5 07:55:43 Removing intermediate container 854a4db1f7b5 07:55:43 ---> 3281ae2e31a2 07:55:43 Step 7/8 : COPY . . 07:55:44 ---> c7c2f607554e 07:55:44 Step 8/8 : RUN go mod download 07:55:44 ---> Running in 416f3a4e9209 07:55:46 go: finding github.com/BurntSushi/toml v0.3.1 07:55:46 go: finding github.com/OneOfOne/xxhash v1.2.6 07:55:46 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:55:46 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:55:46 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:55:46 go: finding github.com/bgentry/speakeasy v0.1.0 07:55:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:55:46 go: finding github.com/davecgh/go-spew v1.1.1 07:55:46 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:55:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:55:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:55:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:55:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:55:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:55:46 go: finding github.com/fatih/color v1.7.0 07:55:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:55:47 go: finding github.com/go-kit/kit v0.8.0 07:55:47 go: finding github.com/go-logfmt/logfmt v0.4.0 07:55:47 go: finding github.com/go-stack/stack v1.8.0 07:55:47 go: finding github.com/goburrow/modbus v0.1.0 07:55:47 go: finding github.com/goburrow/serial v0.1.0 07:55:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:55:47 go: finding github.com/google/uuid v1.1.1 07:55:47 go: finding github.com/gorilla/mux v1.7.1 07:55:47 go: finding github.com/hashicorp/consul/api v1.1.0 07:55:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:55:47 go: finding github.com/hashicorp/errwrap v1.0.0 07:55:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:55:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:55:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:55:47 go: finding github.com/hashicorp/go-multierror v1.0.0 07:55:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:55:47 go: finding github.com/hashicorp/go-sockaddr v1.0.1 07:55:48 go: finding github.com/hashicorp/go-syslog v1.0.0 07:55:48 go: finding github.com/hashicorp/go-uuid v1.0.1 07:55:48 go: finding github.com/hashicorp/go.net v0.0.1 07:55:48 go: finding github.com/hashicorp/golang-lru v0.5.1 07:55:48 go: finding github.com/hashicorp/logutils v1.0.0 07:55:48 go: finding github.com/hashicorp/mdns v1.0.0 07:55:48 go: finding github.com/hashicorp/memberlist v0.1.3 07:55:48 go: finding github.com/hashicorp/serf v0.8.2 07:55:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:55:48 go: finding github.com/mattn/go-colorable v0.0.9 07:55:48 go: finding github.com/mattn/go-isatty v0.0.3 07:55:48 go: finding github.com/miekg/dns v1.1.4 07:55:48 go: finding github.com/mitchellh/cli v1.0.0 07:55:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:55:48 go: finding github.com/mitchellh/copystructure v1.0.0 07:55:48 go: finding github.com/mitchellh/go-homedir v1.1.0 07:55:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:55:48 go: finding github.com/mitchellh/go-wordwrap v1.0.0 07:55:48 go: finding github.com/mitchellh/gox v0.4.0 07:55:48 go: finding github.com/mitchellh/iochan v1.0.0 07:55:48 go: finding github.com/mitchellh/mapstructure v1.1.2 07:55:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:55:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:55:48 go: finding github.com/pelletier/go-toml v1.2.0 07:55:48 go: finding github.com/pkg/errors v0.8.1 07:55:48 go: finding github.com/pmezard/go-difflib v1.0.0 07:55:48 go: finding github.com/posener/complete v1.1.1 07:55:48 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 07:55:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:55:49 go: finding github.com/stretchr/objx v0.1.0 07:55:49 go: finding github.com/stretchr/testify v1.5.1 07:55:49 go: finding github.com/ugorji/go v1.1.4 07:55:49 go: finding github.com/x448/float16 v0.8.4 07:55:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:55:49 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 07:55:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:55:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:55:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:55:49 go: finding gopkg.in/yaml.v2 v2.2.8 07:55:57 Removing intermediate container 416f3a4e9209 07:55:57 ---> 7e44a7cf7e72 07:55:57 Successfully built 7e44a7cf7e72 07:55:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:55:58 + docker inspect -f . ci-base-image-x86_64 07:55:58 . [Pipeline] withDockerContainer 07:55:58 prd-centos7-docker-4c-2g-179 does not seem to be running inside a container 07:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:55:59 $ docker top 3a1f010bb642cd4108624c7e6307a917f21e3361e046b8e9480d5ba2f989ac00 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:00 + go version 07:56:00 go version go1.13.13 linux/amd64 [Pipeline] sh 07:56:00 + make test 07:56:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:56:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:56:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:56:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.212s coverage: 50.3% of statements 07:56:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:56:12 gofmt -l . 07:56:12 [ "`gofmt -l .`" = "" ] 07:56:12 ./bin/test-attribution-txt.sh 07:56:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:56:13 Stashed 1 file(s) [Pipeline] } 07:56:13 $ docker stop --time=1 3a1f010bb642cd4108624c7e6307a917f21e3361e046b8e9480d5ba2f989ac00 07:56:15 $ docker rm -f 3a1f010bb642cd4108624c7e6307a917f21e3361e046b8e9480d5ba2f989ac00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:19 + ls -al . 07:56:19 total 104 07:56:19 drwxrwxr-x. 10 jenkins jenkins 4096 Aug 24 07:56 . 07:56:19 drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 07:55 .. 07:56:19 -rw-rw-r--. 1 jenkins jenkins 5049 Aug 24 07:55 Attribution.txt 07:56:19 drwxrwxr-x. 2 jenkins jenkins 87 Aug 24 07:55 bin 07:56:19 drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 07:55 cmd 07:56:19 -rw-r--r--. 1 jenkins jenkins 22364 Aug 24 07:56 coverage.out 07:56:19 -rw-rw-r--. 1 jenkins jenkins 1422 Aug 24 07:55 Dockerfile 07:56:19 -rw-rw-r--. 1 jenkins jenkins 954 Aug 24 07:55 Dockerfile.build 07:56:19 -rw-rw-r--. 1 jenkins jenkins 140 Aug 24 07:55 .dockerignore 07:56:19 drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 07:55 .git 07:56:19 drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 07:55 .github 07:56:19 -rw-rw-r--. 1 jenkins jenkins 330 Aug 24 07:55 .gitignore 07:56:19 -rw-r--r--. 1 jenkins jenkins 559 Aug 24 07:56 go.mod 07:56:19 -rw-r--r--. 1 jenkins jenkins 13471 Aug 24 07:56 go.sum 07:56:19 drwxrwxr-x. 3 jenkins jenkins 20 Aug 24 07:55 internal 07:56:19 -rw-rw-r--. 1 jenkins jenkins 702 Aug 24 07:55 Jenkinsfile 07:56:19 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 07:55 LICENSE 07:56:19 -rw-rw-r--. 1 jenkins jenkins 880 Aug 24 07:55 Makefile 07:56:19 -rw-rw-r--. 1 jenkins jenkins 591 Aug 24 07:55 README.md 07:56:19 drwxrwxr-x. 3 jenkins jenkins 58 Aug 24 07:55 .semver 07:56:19 drwxrwxr-x. 2 jenkins jenkins 35 Aug 24 07:55 simulator 07:56:19 drwxrwxr-x. 4 jenkins jenkins 54 Aug 24 07:55 snap 07:56:19 -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 07:51 VERSION 07:56:19 -rw-rw-r--. 1 jenkins jenkins 229 Aug 24 07:55 version.go [Pipeline] isUnix [Pipeline] sh 07:56:19 + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=dec6cac7ad3741578ee4319335a22747a71d0cbd --label arch=amd64 --label version=0.0.0 . 07:56:19 Sending build context to Docker daemon 675.8kB 07:56:19 Step 1/19 : ARG BASE=golang:1.13-alpine 07:56:19 Step 2/19 : FROM ${BASE} AS builder 07:56:19 ---> 7e44a7cf7e72 07:56:19 Step 3/19 : ARG MAKE='make build' 07:56:19 ---> Running in 5fdf2f5dd074 07:56:19 Removing intermediate container 5fdf2f5dd074 07:56:19 ---> 78ca534ac267 07:56:19 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:19 ---> Running in ddee7cc8578c 07:56:20 Removing intermediate container ddee7cc8578c 07:56:20 ---> f219e44ebc20 07:56:20 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 07:56:20 ---> Running in ef33fcee11f0 07:56:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:57:16 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz: operation timed out 07:57:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:58:42 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz: operation timed out 07:58:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:59:23 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz: operation timed out 07:59:23 ERROR: unsatisfiable constraints: 07:59:23  build-base (missing): 07:59:23 required by: world[build-base] 07:59:23 openssh (missing): 07:59:23 required by: world[openssh] 07:59:23 The command '/bin/sh -c apk add --update --no-cache make git openssh build-base' returned a non-zero code: 2 [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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:59:25 Failed in branch arm64 08:00:49 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz: operation timed out 08:00:49 OK: 237 MiB in 53 packages 08:00:49 Removing intermediate container ef33fcee11f0 08:00:49 ---> ef4af1086f67 08:00:49 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:00:49 ---> Running in 4c06a75604c8 08:00:49 Removing intermediate container 4c06a75604c8 08:00:49 ---> e6b6866d7ed2 08:00:49 Step 7/19 : COPY . . 08:00:49 ---> 6182fd2a1a97 08:00:49 Step 8/19 : RUN ${MAKE} 08:00:49 ---> Running in 0820b5df3186 08:00:49 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:00:49 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:00:49 Removing intermediate container 0820b5df3186 08:00:49 ---> 458d69b5914d 08:00:49 Step 9/19 : FROM scratch 08:00:49 ---> 08:00:49 Step 10/19 : ENV APP_PORT=49991 08:00:49 ---> Running in 382dcf42f93e 08:00:49 Removing intermediate container 382dcf42f93e 08:00:49 ---> b9ea4c8c8abe 08:00:49 Step 11/19 : EXPOSE $APP_PORT 08:00:49 ---> Running in e9ed06c88983 08:00:49 Removing intermediate container e9ed06c88983 08:00:49 ---> de0c7b3c6a88 08:00:49 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:00:49 ---> c56319163594 08:00:49 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:00:50 ---> 27fa036e787e 08:00:50 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:00:50 ---> 094f9e061cf9 08:00:50 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:00:50 ---> Running in eb2b81dc7082 08:00:50 Removing intermediate container eb2b81dc7082 08:00:50 ---> 8dca5428b929 08:00:50 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 08:00:50 ---> Running in 491fb1085266 08:00:51 Removing intermediate container 491fb1085266 08:00:51 ---> 4cada0c5df6e 08:00:51 Step 17/19 : LABEL arch=amd64 08:00:51 ---> Running in 3762c1c26595 08:00:51 Removing intermediate container 3762c1c26595 08:00:51 ---> 24580262e9f7 08:00:51 Step 18/19 : LABEL git_sha=dec6cac7ad3741578ee4319335a22747a71d0cbd 08:00:51 ---> Running in 9fe61df045b5 08:00:51 Removing intermediate container 9fe61df045b5 08:00:51 ---> 3f12de472ba2 08:00:51 Step 19/19 : LABEL version=0.0.0 08:00:51 ---> Running in c8a49b1791f1 08:00:51 Removing intermediate container c8a49b1791f1 08:00:51 ---> 679b1c7f1e44 08:00:51 [Warning] One or more build-args [ARCH] were not consumed 08:00:51 Successfully built 679b1c7f1e44 08:00:51 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:53 ++ find /w/workspace/device-modbus-go/1 08:00:53 ++ grep snapcraft.yaml 08:00:53 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:00:53 provisioning config files... 08:00:53 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config968133590843608099tmp [Pipeline] { [Pipeline] sh 08:00:53 + cp /w/workspace/device-modbus-go/1@tmp/config968133590843608099tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 08:00:53 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 08:00:53 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 08:00:53 latest: Pulling from edgex-devops/edgex-snap-builder 08:00:53 f08d8e2a3ba1: Pulling fs layer 08:00:53 3baa9cb2483b: Pulling fs layer 08:00:53 94e5ff4c0b15: Pulling fs layer 08:00:53 1860925334f9: Pulling fs layer 08:00:53 59c17e3da0e4: Pulling fs layer 08:00:53 7daec384fcf6: Pulling fs layer 08:00:53 7a29a85643c4: Pulling fs layer 08:00:53 94438e9460a9: Pulling fs layer 08:00:53 812cffafd64f: Pulling fs layer 08:00:53 7daec384fcf6: Waiting 08:00:53 7a29a85643c4: Waiting 08:00:53 94438e9460a9: Waiting 08:00:53 812cffafd64f: Waiting 08:00:53 1860925334f9: Waiting 08:00:53 59c17e3da0e4: Waiting 08:00:53 94e5ff4c0b15: Verifying Checksum 08:00:53 94e5ff4c0b15: Download complete 08:00:53 3baa9cb2483b: Download complete 08:00:53 1860925334f9: Verifying Checksum 08:00:53 1860925334f9: Download complete 08:00:53 7daec384fcf6: Verifying Checksum 08:00:53 7daec384fcf6: Download complete 08:00:54 7a29a85643c4: Verifying Checksum 08:00:54 7a29a85643c4: Download complete 08:00:54 94438e9460a9: Download complete 08:00:54 812cffafd64f: Verifying Checksum 08:00:54 812cffafd64f: Download complete 08:00:54 f08d8e2a3ba1: Verifying Checksum 08:00:54 f08d8e2a3ba1: Download complete 08:00:58 59c17e3da0e4: Verifying Checksum 08:00:58 59c17e3da0e4: Download complete 08:00:59 f08d8e2a3ba1: Pull complete 08:00:59 3baa9cb2483b: Pull complete 08:00:59 94e5ff4c0b15: Pull complete 08:00:59 1860925334f9: Pull complete 08:01:26 59c17e3da0e4: Pull complete 08:01:26 7daec384fcf6: Pull complete 08:01:26 7a29a85643c4: Pull complete 08:01:26 94438e9460a9: Pull complete 08:01:26 812cffafd64f: Pull complete 08:01:26 Digest: sha256:af8a54c7bc77af20a24fc779da6a179edb230b027a9915447f6ddb0093e77608 08:01:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 08:01:29 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 08:01:29 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:01:29 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 08:01:29 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 08:01:29 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1341 kB] 08:01:30 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1417 kB] 08:01:30 Fetched 3010 kB in 1s (2186 kB/s) 08:01:32 Reading package lists... 08:01:36 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 08:01:36 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:01:36 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 08:01:36 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 08:01:38 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 53% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 08:01:40 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 08:01:41 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 54% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 08:01:41 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 87% Building dependency tree 08:01:41 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:01:41 The following packages were automatically installed and are no longer required: 08:01:41 libjq1 libonig4 08:01:41 Use 'sudo apt autoremove' to remove them. 08:01:41 Suggested packages: 08:01:41 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:01:41 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:01:41 diffutils-doc perl-doc libterm-readline-gnu-perl 08:01:41 | libterm-readline-perl-perl 08:01:41 The following NEW packages will be installed: 08:01:41 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:01:41 libperl5.26 make netbase patch perl perl-modules-5.26 08:01:41 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 08:01:41 Need to get 12.0 MB of archives. 08:01:41 After this operation, 77.5 MB of additional disk space will be used. 08:01:42 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 08:01:42 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 637 kB/2763 kB 23%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 08:01:42 20% [2 libgdbm5 8192 B/26.0 kB 31%] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 08:01:42 23% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 08:01:43 23% [4 libperl5.26 22.2 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 08:01:43 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 08:01:43 51% [6 less 28.4 kB/112 kB 25%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 08:01:43 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 08:01:43 54% [8 curl 16.4 kB/159 kB 10%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 08:01:43 57% [9 libcurl3-gnutls 41.0 kB/213 kB 19%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 08:01:43 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 08:01:43 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 08:01:43 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 08:01:43 96% [13 make 65.5 kB/154 kB 43%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 08:01:43 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9004 kB/s) 08:01:43 debconf: delaying package configuration, since apt-utils is not installed 08:01:43 Selecting previously unselected package perl-modules-5.26. 08:01:43 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 08:01:43 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:01:43 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:01:47 Selecting previously unselected package libgdbm5:amd64. 08:01:47 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 08:01:47 Unpacking libgdbm5:amd64 (1.14.1-6) ... 08:01:47 Selecting previously unselected package libgdbm-compat4:amd64. 08:01:47 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 08:01:47 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 08:01:47 Selecting previously unselected package libperl5.26:amd64. 08:01:47 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 08:01:47 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:01:48 Selecting previously unselected package perl. 08:01:48 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 08:01:48 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:01:48 Selecting previously unselected package less. 08:01:48 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 08:01:48 Unpacking less (487-0.1) ... 08:01:48 Selecting previously unselected package netbase. 08:01:48 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:01:48 Unpacking netbase (5.4) ... 08:01:48 Selecting previously unselected package curl. 08:01:48 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 08:01:48 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:01:48 Selecting previously unselected package libcurl3-gnutls:amd64. 08:01:48 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 08:01:48 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:01:48 Selecting previously unselected package liberror-perl. 08:01:48 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:01:48 Unpacking liberror-perl (0.17025-1) ... 08:01:48 Selecting previously unselected package git-man. 08:01:48 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:01:48 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:01:48 Selecting previously unselected package git. 08:01:48 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 08:01:48 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:01:49 Selecting previously unselected package make. 08:01:49 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 08:01:49 Unpacking make (4.1-9.1ubuntu1) ... 08:01:49 Selecting previously unselected package patch. 08:01:49 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 08:01:49 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:01:49 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:01:49 Setting up less (487-0.1) ... 08:01:50 Setting up make (4.1-9.1ubuntu1) ... 08:01:50 Setting up curl (7.58.0-2ubuntu3.10) ... 08:01:50 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:01:50 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:01:50 Setting up libgdbm5:amd64 (1.14.1-6) ... 08:01:50 Setting up patch (2.7.6-2ubuntu1.1) ... 08:01:50 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 08:01:50 Setting up netbase (5.4) ... 08:01:50 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:01:50 Setting up perl (5.26.1-6ubuntu0.3) ... 08:01:50 Setting up liberror-perl (0.17025-1) ... 08:01:50 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:01:50 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:01:50 Processing triggers for mime-support (3.60ubuntu1) ... 08:01:52 curl set to automatically installed. 08:01:52 git set to automatically installed. 08:01:52 git-man set to automatically installed. 08:01:52 less set to automatically installed. 08:01:52 libcurl3-gnutls set to automatically installed. 08:01:52 liberror-perl set to automatically installed. 08:01:52 libgdbm-compat4 set to automatically installed. 08:01:52 libgdbm5 set to automatically installed. 08:01:52 libperl5.26 set to automatically installed. 08:01:52 make set to automatically installed. 08:01:52 netbase set to automatically installed. 08:01:52 patch set to automatically installed. 08:01:52 perl set to automatically installed. 08:01:52 perl-modules-5.26 set to automatically installed. 08:01:52 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:01:52 Please ensure the environment is properly setup before continuing. 08:01:52 Ignore this message if the appropriate measures have already been taken 08:01:53 Pulling go  08:01:54 'device-modbus' has dependencies that need to be staged: go 08:01:54 Skipping pull go (already ran) 08:01:54 Building go  08:01:54 % Total % Received % Xferd Average Speed Time Time Time Current 08:01:54 Dload Upload Total Spent Left Speed 08:01:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 114M 3 4255k 0 0 5720k 0 0:00:20 --:--:-- 0:00:20 5720k 57 114M 57 65.3M 0 0 37.4M 0 0:00:03 0:00:01 0:00:02 37.4M 100 114M 100 114M 0 0 44.9M 0 0:00:02 0:00:02 --:--:-- 44.9M 08:01:57 go1.13.5.linux-amd64.tar.gz: OK 08:02:04 Staging go  08:02:05 Pulling device-modbus  08:02:06 Skipping build go (already ran) 08:02:06 Building device-modbus  08:02:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:02:08 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:02:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:02:08 go: downloading github.com/goburrow/modbus v0.1.0 08:02:08 go: extracting github.com/goburrow/modbus v0.1.0 08:02:08 go: downloading github.com/goburrow/serial v0.1.0 08:02:08 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 08:02:08 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:02:08 go: downloading github.com/gorilla/mux v1.7.1 08:02:08 go: downloading github.com/google/uuid v1.1.1 08:02:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:02:08 go: extracting github.com/goburrow/serial v0.1.0 08:02:08 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:02:08 go: extracting github.com/google/uuid v1.1.1 08:02:08 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:02:08 go: extracting github.com/gorilla/mux v1.7.1 08:02:08 go: downloading github.com/go-kit/kit v0.8.0 08:02:08 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:02:08 go: downloading github.com/pkg/errors v0.8.1 08:02:08 go: downloading github.com/pelletier/go-toml v1.2.0 08:02:08 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:02:08 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:02:08 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 08:02:08 go: downloading gopkg.in/yaml.v2 v2.2.8 08:02:08 go: extracting github.com/pkg/errors v0.8.1 08:02:08 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:02:08 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 08:02:08 go: extracting github.com/pelletier/go-toml v1.2.0 08:02:08 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 08:02:08 go: downloading github.com/x448/float16 v0.8.4 08:02:08 go: extracting gopkg.in/yaml.v2 v2.2.8 08:02:08 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 08:02:08 go: downloading github.com/BurntSushi/toml v0.3.1 08:02:08 go: downloading github.com/hashicorp/consul/api v1.1.0 08:02:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:02:08 go: extracting github.com/OneOfOne/xxhash v1.2.6 08:02:08 go: extracting github.com/go-kit/kit v0.8.0 08:02:08 go: extracting github.com/x448/float16 v0.8.4 08:02:08 go: extracting github.com/BurntSushi/toml v0.3.1 08:02:08 go: extracting github.com/hashicorp/consul/api v1.1.0 08:02:08 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:02:08 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:02:08 go: downloading github.com/hashicorp/serf v0.8.2 08:02:08 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:02:08 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:02:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:02:08 go: downloading github.com/mitchellh/copystructure v1.0.0 08:02:08 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:02:09 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 08:02:09 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 08:02:09 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 08:02:09 go: extracting github.com/go-logfmt/logfmt v0.4.0 08:02:09 go: extracting github.com/mitchellh/copystructure v1.0.0 08:02:09 go: extracting github.com/hashicorp/serf v0.8.2 08:02:09 go: extracting github.com/mitchellh/mapstructure v1.1.2 08:02:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:02:09 go: extracting github.com/mitchellh/reflectwalk v1.0.0 08:02:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:02:09 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:02:09 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:02:10 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 08:02:10 go: downloading github.com/hashicorp/golang-lru v0.5.1 08:02:10 go: extracting github.com/hashicorp/golang-lru v0.5.1 08:02:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:02:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:02:10 go: finding github.com/goburrow/modbus v0.1.0 08:02:10 go: finding github.com/gorilla/mux v1.7.1 08:02:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:02:10 go: finding github.com/go-kit/kit v0.8.0 08:02:10 go: finding github.com/google/uuid v1.1.1 08:02:10 go: finding github.com/goburrow/serial v0.1.0 08:02:10 go: finding github.com/OneOfOne/xxhash v1.2.6 08:02:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:02:10 go: finding github.com/x448/float16 v0.8.4 08:02:10 go: finding github.com/go-logfmt/logfmt v0.4.0 08:02:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:02:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:02:10 go: finding gopkg.in/yaml.v2 v2.2.8 08:02:10 go: finding github.com/BurntSushi/toml v0.3.1 08:02:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:02:10 go: finding github.com/pkg/errors v0.8.1 08:02:10 go: finding github.com/hashicorp/consul/api v1.1.0 08:02:10 go: finding github.com/pelletier/go-toml v1.2.0 08:02:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:02:10 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:02:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:02:10 go: finding github.com/mitchellh/copystructure v1.0.0 08:02:10 go: finding github.com/mitchellh/mapstructure v1.1.2 08:02:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:02:10 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:02:10 go: finding github.com/hashicorp/serf v0.8.2 08:02:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:02:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:02:10 go: finding github.com/hashicorp/golang-lru v0.5.1 08:02:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:02:24 Skipping stage go (already ran) 08:02:24 Staging device-modbus  08:02:24 Priming go  08:02:25 Priming device-modbus  08:02:25 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:02:25 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:02:25 Determining the version from the project repo (version-script). 08:02:26 The version has been set to '0.0.0-20200824+dec6cac' 08:02:27 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | 08:02:27 Snapped edgex-device-modbus_0.0.0-20200824+dec6cac_amd64.snap [Pipeline] } 08:02:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:02:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:02:35 ---> package-listing.sh 08:02:35 ++ facter osfamily 08:02:35 ++ tr '[:upper:]' '[:lower:]' 08:02:35 + OS_FAMILY=redhat 08:02:35 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-166 08:02:35 + START_PACKAGES=/tmp/packages_start.txt 08:02:35 + END_PACKAGES=/tmp/packages_end.txt 08:02:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:02:35 + PACKAGES=/tmp/packages_start.txt 08:02:35 + '[' /w/workspace/xfoundry_device-modbus-go_PR-166 ']' 08:02:35 + PACKAGES=/tmp/packages_end.txt 08:02:35 + case "${OS_FAMILY}" in 08:02:35 + rpm -qa 08:02:35 + sort 08:02:39 + '[' -f /tmp/packages_start.txt ']' 08:02:39 + '[' -f /tmp/packages_end.txt ']' 08:02:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:02:39 + '[' /w/workspace/xfoundry_device-modbus-go_PR-166 ']' 08:02:39 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-166/archives/ 08:02:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-166/archives/ [Pipeline] isUnix [Pipeline] sh 08:02:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:02:39 08:02:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:02:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:02:40 alpine: Pulling from edgex-lftools-log-publisher 08:02:40 c9b1b535fdd9: Pulling fs layer 08:02:40 2cc5ad85d9ab: Pulling fs layer 08:02:40 756a868c4378: Pulling fs layer 08:02:40 444b2fc9a129: Pulling fs layer 08:02:40 ea15f1150254: Pulling fs layer 08:02:40 41b27a9f41bf: Pulling fs layer 08:02:40 28c525ee5125: Pulling fs layer 08:02:40 094b1ea09ed8: Pulling fs layer 08:02:40 138eaada9080: Pulling fs layer 08:02:40 0622d0fa9048: Pulling fs layer 08:02:40 444b2fc9a129: Waiting 08:02:40 ea15f1150254: Waiting 08:02:40 41b27a9f41bf: Waiting 08:02:40 28c525ee5125: Waiting 08:02:40 094b1ea09ed8: Waiting 08:02:40 138eaada9080: Waiting 08:02:40 0622d0fa9048: Waiting 08:02:40 2cc5ad85d9ab: Verifying Checksum 08:02:40 2cc5ad85d9ab: Download complete 08:02:40 444b2fc9a129: Verifying Checksum 08:02:40 444b2fc9a129: Download complete 08:02:40 c9b1b535fdd9: Download complete 08:02:40 ea15f1150254: Verifying Checksum 08:02:40 ea15f1150254: Download complete 08:02:40 28c525ee5125: Verifying Checksum 08:02:40 28c525ee5125: Download complete 08:02:40 756a868c4378: Verifying Checksum 08:02:40 756a868c4378: Download complete 08:02:40 c9b1b535fdd9: Pull complete 08:02:40 138eaada9080: Verifying Checksum 08:02:40 138eaada9080: Download complete 08:02:40 0622d0fa9048: Verifying Checksum 08:02:40 0622d0fa9048: Download complete 08:02:40 094b1ea09ed8: Verifying Checksum 08:02:40 094b1ea09ed8: Download complete 08:02:41 2cc5ad85d9ab: Pull complete 08:02:41 41b27a9f41bf: Verifying Checksum 08:02:41 41b27a9f41bf: Download complete 08:02:42 756a868c4378: Pull complete 08:02:42 444b2fc9a129: Pull complete 08:02:43 ea15f1150254: Pull complete 08:02:47 41b27a9f41bf: Pull complete 08:02:47 28c525ee5125: Pull complete 08:02:50 094b1ea09ed8: Pull complete 08:02:50 138eaada9080: Pull complete 08:02:50 0622d0fa9048: Pull complete 08:02:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:02:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:02:50 prd-centos7-docker-4c-2g-177 does not seem to be running inside a container 08:02:50 $ 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-166 -v /w/workspace/xfoundry_device-modbus-go_PR-166:/w/workspace/xfoundry_device-modbus-go_PR-166:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-166@tmp:/w/workspace/xfoundry_device-modbus-go_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:02:53 $ docker top 71c035f151588d3741098691ee15ac1ce3e3d39f85549a3f9c7c4a8d610bd3b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:54 provisioning config files... 08:02:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-166@tmp/config4389721124409749219tmp [Pipeline] { [Pipeline] echo 08:02:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:02:54 ---> create-netrc.sh [Pipeline] echo 08:02:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:02:55 ---> logs-deploy.sh 08:02:55 + ARCHIVE_ARTIFACTS= 08:02:55 + LOGS_SERVER=https://logs.edgexfoundry.org 08:02:55 + '[' https://logs.edgexfoundry.org == None ']' 08:02:55 + NEXUS_URL=https://nexus.edgexfoundry.org 08:02:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-166/1 08:02:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-166/1/ 08:02:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-166/1 /w/workspace/xfoundry_device-modbus-go_PR-166 08:02:56 Archives upload complete. 08:02:56 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-166/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-166/1/ 08:02:56 ---> uname -a: 08:02:56 Linux 71c035f15158 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 08:02:56 08:02:56