Pull request #162 updated 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 aac68ee3218624e25aee617d21101238ddac5a86+3d6b06ce9c8aabcbe3b96acc6656864e00d04358 (a0ba5678d262168ac1e25e25d32e9d538461d7e2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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-138 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-162 # timeout=10 Fetching without tags 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/162/head:refs/remotes/origin/PR-162 +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/162/head:refs/remotes/origin/PR-162 # 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/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 Merge succeeded, producing aac68ee3218624e25aee617d21101238ddac5a86 Checking out Revision aac68ee3218624e25aee617d21101238ddac5a86 (PR-162) > git config core.sparsecheckout # timeout=10 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # 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 aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 Commit message: "feat: Modify Modbus simulator to support device scaling" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:32:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk af1ed75db15f4f7f561b0306b8bfd8d5137b3c01 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:32:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:32:51 ========================================================= 03:32:51 EdgeX Global Pipelines Version Info 03:32:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:32:52 ------------------- 03:32:52 stable info: 03:32:52 ------------------- 03:32:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:32:52 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 03:32:52 Message: update stable to v1.0.106 03:32:53 ------------------- 03:32:53 experimental info: 03:32:53 ------------------- 03:32:53 Commited By: **** collab-it+edgex@linuxfoundation.org 03:32:53 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 03:32:53 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 03:32:55 + git log --format=format:%s -1 aac68ee3218624e25aee617d21101238ddac5a86 [Pipeline] echo 03:32:55 GIT_COMMIT: aac68ee3218624e25aee617d21101238ddac5a86, Commit Message: feat: Modify Modbus simulator to support device scaling [Pipeline] echo 03:32:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:32:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:32:57 03:32:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:32:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:32:57 latest: Pulling from edgex-devops/git-semver 03:32:57 31603596830f: Pulling fs layer 03:32:57 2a8b12db71e7: Pulling fs layer 03:32:57 6ca5941a6612: Pulling fs layer 03:32:57 ecc8261a40a4: Pulling fs layer 03:32:57 ecc8261a40a4: Waiting 03:32:57 2a8b12db71e7: Verifying Checksum 03:32:57 2a8b12db71e7: Download complete 03:32:58 31603596830f: Verifying Checksum 03:32:58 31603596830f: Download complete 03:32:58 ecc8261a40a4: Verifying Checksum 03:32:58 ecc8261a40a4: Download complete 03:32:58 6ca5941a6612: Verifying Checksum 03:32:58 6ca5941a6612: Download complete 03:32:58 31603596830f: Pull complete 03:32:58 2a8b12db71e7: Pull complete 03:32:59 6ca5941a6612: Pull complete 03:32:59 ecc8261a40a4: Pull complete 03:32:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:32:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:32:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:32:59 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 03:32:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-162 -v /w/workspace/xfoundry_device-modbus-go_PR-162:/w/workspace/xfoundry_device-modbus-go_PR-162:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-162@tmp:/w/workspace/xfoundry_device-modbus-go_PR-162@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:33:02 $ docker top 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:33:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:02 [ssh-agent] Looking for ssh-agent implementation... 03:33:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:02 $ docker exec 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f ssh-agent 03:33:03 SSH_AUTH_SOCK=/tmp/ssh-8hkI80NDPSZK/agent.11 03:33:03 SSH_AGENT_PID=16 03:33:03 Running ssh-add (command line suppressed) 03:33:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_280619297721056397.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_280619297721056397.key) 03:33:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:03 + git describe --exact-match --tags HEAD 03:33:03 fatal: No names found, cannot describe anything. [Pipeline] } 03:33:03 $ docker exec --env ******** --env ******** 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f ssh-agent -k 03:33:03 unset SSH_AUTH_SOCK; 03:33:03 unset SSH_AGENT_PID; 03:33:03 echo Agent pid 16 killed; 03:33:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:33:03 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:33:03 This usually means this commit has not been tagged. [Pipeline] sshagent 03:33:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:03 [ssh-agent] Looking for ssh-agent implementation... 03:33:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:04 $ docker exec 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f ssh-agent 03:33:04 SSH_AUTH_SOCK=/tmp/ssh-zIG8hlWfUsNA/agent.45 03:33:04 SSH_AGENT_PID=50 03:33:04 Running ssh-add (command line suppressed) 03:33:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_7162487496245508069.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_7162487496245508069.key) 03:33:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:04 + git semver init 03:33:04 # -> Open(): unable to determine branch for HEAD 03:33:04 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.git 03:33:04 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-162 03:33:04 # $SEMVER_REMOTE_NAME = origin 03:33:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:33:04 # $SEMVER_USER_NAME = edgex-jenkins 03:33:04 # $SEMVER_BRANCH = PR-162 03:33:04 # $SEMVER_TEMP = /tmp/semver-148995372 03:33:04 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 03:33:05 # '/tmp/semver-148995372' -> '/w/workspace/xfoundry_device-modbus-go_PR-162/.semver' 03:33:05 # -> Force: false 03:33:05 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.semver [Pipeline] } 03:33:05 $ docker exec --env ******** --env ******** 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f ssh-agent -k 03:33:05 unset SSH_AUTH_SOCK; 03:33:05 unset SSH_AGENT_PID; 03:33:05 echo Agent pid 50 killed; 03:33:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:33:05 + git semver [Pipeline] } 03:33:05 $ docker stop --time=1 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f 03:33:07 $ docker rm -f 06c158e35b0c65b17655ca21d6e1856ff8552d16c9cae13a7faa929daf7b5c3f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:33:08 Stashed 24 file(s) [Pipeline] echo 03:33:08 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 03:33:08 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 03:33:23 Still waiting to schedule task 03:33:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:33:23 Still waiting to schedule task 03:33:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:35:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-139 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 03:35:11 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 03:35:16 using credential edgex-jenkins-ssh 03:35:16 Cloning the remote Git repository 03:35:16 Cloning with configured refspecs honoured and without tags 03:35:16 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:35:16 > git init /w/workspace/device-modbus-go/3 # timeout=10 03:35:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:35:16 > git --version # timeout=10 03:35:16 > git --version # 'git version 2.17.1' 03:35:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:35:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:35:17 Fetching without tags 03:35:18 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 03:35:18 Merge succeeded, producing aac68ee3218624e25aee617d21101238ddac5a86 03:35:18 Checking out Revision aac68ee3218624e25aee617d21101238ddac5a86 (PR-162) 03:35:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:35:17 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 03:35:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:35:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:35:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:35:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:35:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:35:18 > git config core.sparsecheckout # timeout=10 03:35:18 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 03:35:18 > git remote # timeout=10 03:35:18 > git config --get remote.origin.url # timeout=10 03:35:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:35:18 > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 03:35:18 > git rev-parse HEAD^{commit} # timeout=10 03:35:18 > git config core.sparsecheckout # timeout=10 03:35:18 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 03:35:22 Commit message: "feat: Modify Modbus simulator to support device scaling" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:35:23 ========================================================= 03:35:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:35:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:35:24 + 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 . 03:35:25 Sending build context to Docker daemon 649.2kB 03:35:25 Step 1/8 : ARG BASE=golang:1.13-alpine 03:35:25 Step 2/8 : FROM ${BASE} 03:35:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:35:26 b538f80385f9: Pulling fs layer 03:35:26 74f711af9a0d: Pulling fs layer 03:35:26 99f96fe45779: Pulling fs layer 03:35:26 fd7a069fd194: Pulling fs layer 03:35:26 66aa3694b03b: Pulling fs layer 03:35:26 170f70906a0f: Pulling fs layer 03:35:26 ad7c5574e4b9: Pulling fs layer 03:35:26 e772456be8f7: Pulling fs layer 03:35:26 c890913d741a: Pulling fs layer 03:35:26 2480fcc9aa5a: Pulling fs layer 03:35:26 09adf4765672: Pulling fs layer 03:35:26 fd7a069fd194: Waiting 03:35:26 66aa3694b03b: Waiting 03:35:26 170f70906a0f: Waiting 03:35:26 ad7c5574e4b9: Waiting 03:35:26 e772456be8f7: Waiting 03:35:26 c890913d741a: Waiting 03:35:26 2480fcc9aa5a: Waiting 03:35:26 99f96fe45779: Verifying Checksum 03:35:26 99f96fe45779: Download complete 03:35:26 74f711af9a0d: Verifying Checksum 03:35:26 74f711af9a0d: Download complete 03:35:26 66aa3694b03b: Verifying Checksum 03:35:26 66aa3694b03b: Download complete 03:35:26 170f70906a0f: Verifying Checksum 03:35:26 170f70906a0f: Download complete 03:35:26 b538f80385f9: Verifying Checksum 03:35:26 b538f80385f9: Download complete 03:35:27 b538f80385f9: Pull complete 03:35:27 74f711af9a0d: Pull complete 03:35:28 99f96fe45779: Pull complete 03:35:29 ad7c5574e4b9: Verifying Checksum 03:35:29 ad7c5574e4b9: Download complete 03:35:29 c890913d741a: Download complete 03:35:31 2480fcc9aa5a: Verifying Checksum 03:35:31 2480fcc9aa5a: Download complete 03:35:31 e772456be8f7: Verifying Checksum 03:35:31 e772456be8f7: Download complete 03:35:31 09adf4765672: Verifying Checksum 03:35:31 09adf4765672: Download complete 03:35:31 fd7a069fd194: Verifying Checksum 03:35:31 fd7a069fd194: Download complete 03:35:44 fd7a069fd194: Pull complete 03:35:44 66aa3694b03b: Pull complete 03:35:44 170f70906a0f: Pull complete 03:35:47 ad7c5574e4b9: Pull complete 03:35:52 e772456be8f7: Pull complete 03:35:52 c890913d741a: Pull complete 03:35:55 2480fcc9aa5a: Pull complete 03:35:55 09adf4765672: Pull complete 03:35:55 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 03:35:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:35:55 ---> 2248a725d1cf 03:35:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:35:59 ---> Running in 4822acf53ee3 03:35:59 Removing intermediate container 4822acf53ee3 03:35:59 ---> 7f116687ebdd 03:35:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:59 ---> Running in cc80a85a38fd 03:36:02 Removing intermediate container cc80a85a38fd 03:36:02 ---> faae610b287f 03:36:02 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:36:02 ---> Running in b0715bc7b263 03:36:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:36:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:36:05 (1/14) Installing libmagic (5.38-r0) 03:36:05 (2/14) Installing file (5.38-r0) 03:36:05 (3/14) Installing libc-dev (0.7.2-r3) 03:36:05 (4/14) Installing g++ (9.3.0-r2) 03:36:09 (5/14) Installing fortify-headers (1.1-r0) 03:36:09 (6/14) Installing patch (2.7.6-r6) 03:36:09 (7/14) Installing build-base (0.5-r2) 03:36:09 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:36:09 (9/14) Installing libedit (20191231.3.1-r0) 03:36:09 (10/14) Installing openssh-client (8.3_p1-r0) 03:36:09 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:36:09 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:36:09 (13/14) Installing openssh-server (8.3_p1-r0) 03:36:09 (14/14) Installing openssh (8.3_p1-r0) 03:36:10 Executing busybox-1.31.1-r16.trigger 03:36:10 OK: 221 MiB in 53 packages 03:36:14 Removing intermediate container b0715bc7b263 03:36:14 ---> 7a5a56834ac4 03:36:14 Step 6/8 : WORKDIR /device-modbus-go 03:36:14 ---> Running in cb685367e87f 03:36:15 Removing intermediate container cb685367e87f 03:36:15 ---> 785b43248ba7 03:36:15 Step 7/8 : COPY . . 03:36:16 ---> e0c0b2bb65da 03:36:16 Step 8/8 : RUN go mod download 03:36:16 ---> Running in 2343df8ab2fd 03:36:18 Running on prd-centos7-docker-4c-2g-140 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 03:36:18 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 03:36:19 go: finding github.com/BurntSushi/toml v0.3.1 03:36:19 go: finding github.com/OneOfOne/xxhash v1.2.6 03:36:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:36:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:36:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:36:19 go: finding github.com/bgentry/speakeasy v0.1.0 03:36:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:36:19 go: finding github.com/davecgh/go-spew v1.1.1 03:36:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 03:36:20 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:36:20 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:36:20 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:36:20 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:36:20 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:36:20 go: finding github.com/fatih/color v1.7.0 03:36:20 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:36:20 go: finding github.com/go-kit/kit v0.8.0 03:36:20 go: finding github.com/go-logfmt/logfmt v0.4.0 03:36:20 go: finding github.com/go-stack/stack v1.8.0 03:36:20 go: finding github.com/goburrow/modbus v0.1.0 03:36:20 go: finding github.com/goburrow/serial v0.1.0 03:36:20 using credential edgex-jenkins-ssh 03:36:20 Cloning the remote Git repository 03:36:20 Cloning with configured refspecs honoured and without tags 03:36:20 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:36:20 go: finding github.com/google/uuid v1.1.1 03:36:20 go: finding github.com/gorilla/mux v1.7.1 03:36:20 go: finding github.com/hashicorp/consul/api v1.1.0 03:36:20 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:36:20 go: finding github.com/hashicorp/errwrap v1.0.0 03:36:20 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:36:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:36:20 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:36:20 go: finding github.com/hashicorp/go-multierror v1.0.0 03:36:20 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:36:20 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:36:21 go: finding github.com/hashicorp/go-syslog v1.0.0 03:36:21 go: finding github.com/hashicorp/go-uuid v1.0.1 03:36:21 go: finding github.com/hashicorp/go.net v0.0.1 03:36:21 go: finding github.com/hashicorp/golang-lru v0.5.1 03:36:21 go: finding github.com/hashicorp/logutils v1.0.0 03:36:21 go: finding github.com/hashicorp/mdns v1.0.0 03:36:21 go: finding github.com/hashicorp/memberlist v0.1.3 03:36:21 go: finding github.com/hashicorp/serf v0.8.2 03:36:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:36:21 go: finding github.com/mattn/go-colorable v0.0.9 03:36:21 go: finding github.com/mattn/go-isatty v0.0.3 03:36:21 go: finding github.com/miekg/dns v1.1.4 03:36:21 go: finding github.com/mitchellh/cli v1.0.0 03:36:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:36:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:36:20 > git init /w/workspace/device-modbus-go/3 # timeout=10 03:36:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:36:20 > git --version # timeout=10 03:36:20 > git --version # 'git version 2.16.5' 03:36:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:21 go: finding github.com/mitchellh/copystructure v1.0.0 03:36:21 go: finding github.com/mitchellh/go-homedir v1.1.0 03:36:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:36:21 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:36:21 go: finding github.com/mitchellh/gox v0.4.0 03:36:21 go: finding github.com/mitchellh/iochan v1.0.0 03:36:21 go: finding github.com/mitchellh/mapstructure v1.1.2 03:36:21 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:36:21 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:36:21 go: finding github.com/pelletier/go-toml v1.2.0 03:36:21 go: finding github.com/pkg/errors v0.8.1 03:36:21 go: finding github.com/pmezard/go-difflib v1.0.0 03:36:21 go: finding github.com/posener/complete v1.1.1 03:36:21 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:36:22 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:36:22 go: finding github.com/stretchr/objx v0.1.0 03:36:22 go: finding github.com/stretchr/testify v1.5.1 03:36:22 go: finding github.com/ugorji/go v1.1.4 03:36:22 go: finding github.com/x448/float16 v0.8.4 03:36:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:36:22 Fetching without tags 03:36:22 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:36:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:36:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:36:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:36:22 go: finding gopkg.in/yaml.v2 v2.2.8 03:36:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:36:22 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 03:36:22 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:36:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:36:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:36:22 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 03:36:22 Merge succeeded, producing aac68ee3218624e25aee617d21101238ddac5a86 03:36:22 Checking out Revision aac68ee3218624e25aee617d21101238ddac5a86 (PR-162) 03:36:22 > git config core.sparsecheckout # timeout=10 03:36:22 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 03:36:22 > git remote # timeout=10 03:36:22 > git config --get remote.origin.url # timeout=10 03:36:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:36:22 > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 03:36:22 > git rev-parse HEAD^{commit} # timeout=10 03:36:22 > git config core.sparsecheckout # timeout=10 03:36:22 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 03:36:26 Commit message: "feat: Modify Modbus simulator to support device scaling" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:36:27 ========================================================= 03:36:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:36:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:36:27 + 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 . 03:36:29 Sending build context to Docker daemon 649.2kB 03:36:29 Step 1/8 : ARG BASE=golang:1.13-alpine 03:36:29 Step 2/8 : FROM ${BASE} 03:36:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:36:29 df20fa9351a1: Pulling fs layer 03:36:29 ed8968b2872e: Pulling fs layer 03:36:29 a92cc7c5fd73: Pulling fs layer 03:36:29 2dd03ba5bac4: Pulling fs layer 03:36:29 1e091d79d1de: Pulling fs layer 03:36:29 481702a1767f: Pulling fs layer 03:36:29 f64a6f60c768: Pulling fs layer 03:36:29 e78d2573fc39: Pulling fs layer 03:36:29 e876d2f968b6: Pulling fs layer 03:36:29 ce8a83651883: Pulling fs layer 03:36:29 07967f4d0e4b: Pulling fs layer 03:36:29 f64a6f60c768: Waiting 03:36:29 e78d2573fc39: Waiting 03:36:29 e876d2f968b6: Waiting 03:36:29 ce8a83651883: Waiting 03:36:29 07967f4d0e4b: Waiting 03:36:29 2dd03ba5bac4: Waiting 03:36:29 1e091d79d1de: Waiting 03:36:29 481702a1767f: Waiting 03:36:29 a92cc7c5fd73: Verifying Checksum 03:36:29 a92cc7c5fd73: Download complete 03:36:29 ed8968b2872e: Verifying Checksum 03:36:29 ed8968b2872e: Download complete 03:36:29 1e091d79d1de: Verifying Checksum 03:36:29 1e091d79d1de: Download complete 03:36:29 481702a1767f: Verifying Checksum 03:36:29 481702a1767f: Download complete 03:36:29 df20fa9351a1: Verifying Checksum 03:36:29 df20fa9351a1: Download complete 03:36:29 df20fa9351a1: Pull complete 03:36:29 ed8968b2872e: Pull complete 03:36:29 a92cc7c5fd73: Pull complete 03:36:30 f64a6f60c768: Verifying Checksum 03:36:30 f64a6f60c768: Download complete 03:36:30 e876d2f968b6: Verifying Checksum 03:36:30 e876d2f968b6: Download complete 03:36:30 2dd03ba5bac4: Verifying Checksum 03:36:30 2dd03ba5bac4: Download complete 03:36:30 07967f4d0e4b: Verifying Checksum 03:36:30 07967f4d0e4b: Download complete 03:36:30 e78d2573fc39: Verifying Checksum 03:36:30 e78d2573fc39: Download complete 03:36:30 ce8a83651883: Verifying Checksum 03:36:30 ce8a83651883: Download complete 03:36:32 Removing intermediate container 2343df8ab2fd 03:36:32 ---> 6a57aad9c952 03:36:32 Successfully built 6a57aad9c952 03:36:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:36:33 + docker inspect -f . ci-base-image-arm64 03:36:33 . [Pipeline] withDockerContainer 03:36:33 prd-ubuntu18.04-docker-arm64-4c-16g-139 does not seem to be running inside a container 03:36:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:36:35 $ docker top c3fe70b0296524e2075bd4d3bfca1eaef4d875847e679b07711314122bd81d6d -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:37 + go version 03:36:37 go version go1.13.13 linux/arm64 [Pipeline] sh 03:36:37 2dd03ba5bac4: Pull complete 03:36:37 1e091d79d1de: Pull complete 03:36:37 481702a1767f: Pull complete 03:36:38 + make test 03:36:38 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:36:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:36:42 f64a6f60c768: Pull complete 03:36:44 e78d2573fc39: Pull complete 03:36:44 e876d2f968b6: Pull complete 03:36:46 ce8a83651883: Pull complete 03:36:46 07967f4d0e4b: Pull complete 03:36:46 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 03:36:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:36:47 ---> 5d7c900382c6 03:36:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:36:48 ---> Running in a2ebf30e02c5 03:36:48 Removing intermediate container a2ebf30e02c5 03:36:48 ---> e60d65950209 03:36:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:36:48 ---> Running in c248c0da5e43 03:36:49 Removing intermediate container c248c0da5e43 03:36:49 ---> 24e71455f6af 03:36:49 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:36:49 ---> Running in f9da20f592dd 03:36:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:37:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:37:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.350s coverage: 50.9% of statements 03:37:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:37:11 gofmt -l . 03:37:12 [ "`gofmt -l .`" = "" ] 03:37:12 ./bin/test-attribution-txt.sh 03:37:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:37:14 Stashed 1 file(s) [Pipeline] } 03:37:14 $ docker stop --time=1 c3fe70b0296524e2075bd4d3bfca1eaef4d875847e679b07711314122bd81d6d 03:37:16 $ docker rm -f c3fe70b0296524e2075bd4d3bfca1eaef4d875847e679b07711314122bd81d6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:37:28 + ls -al . 03:37:28 total 140 03:37:28 drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 03:37 . 03:37:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 03:35 .. 03:37:28 -rw-rw-r-- 1 jenkins jenkins 140 Aug 24 03:35 .dockerignore 03:37:28 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 03:35 .git 03:37:28 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 03:35 .github 03:37:28 -rw-rw-r-- 1 jenkins jenkins 330 Aug 24 03:35 .gitignore 03:37:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 03:35 .semver 03:37:28 -rw-rw-r-- 1 jenkins jenkins 5049 Aug 24 03:35 Attribution.txt 03:37:28 -rw-rw-r-- 1 jenkins jenkins 1422 Aug 24 03:35 Dockerfile 03:37:28 -rw-rw-r-- 1 jenkins jenkins 954 Aug 24 03:35 Dockerfile.build 03:37:28 -rw-rw-r-- 1 jenkins jenkins 702 Aug 24 03:35 Jenkinsfile 03:37:28 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 03:35 LICENSE 03:37:28 -rw-rw-r-- 1 jenkins jenkins 880 Aug 24 03:35 Makefile 03:37:28 -rw-rw-r-- 1 jenkins jenkins 591 Aug 24 03:35 README.md 03:37:28 -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 03:33 VERSION 03:37:28 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 03:35 bin 03:37:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 03:35 cmd 03:37:28 -rw-r--r-- 1 jenkins jenkins 22032 Aug 24 03:37 coverage.out 03:37:28 -rw-r--r-- 1 jenkins jenkins 559 Aug 24 03:37 go.mod 03:37:28 -rw-r--r-- 1 jenkins jenkins 13471 Aug 24 03:37 go.sum 03:37:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 03:35 internal 03:37:28 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 03:35 simulator 03:37:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 03:35 snap 03:37:28 -rw-rw-r-- 1 jenkins jenkins 229 Aug 24 03:35 version.go [Pipeline] isUnix [Pipeline] sh 03:37:28 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aac68ee3218624e25aee617d21101238ddac5a86 --label arch=arm64 --label version=0.0.0 . 03:37:29 Sending build context to Docker daemon 680.4kB 03:37:29 Step 1/19 : ARG BASE=golang:1.13-alpine 03:37:29 Step 2/19 : FROM ${BASE} AS builder 03:37:29 ---> 6a57aad9c952 03:37:29 Step 3/19 : ARG MAKE='make build' 03:37:29 ---> Running in aa31ef9e7a6b 03:37:30 Removing intermediate container aa31ef9e7a6b 03:37:30 ---> be27e7e95de4 03:37:30 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:37:30 ---> Running in 16398d075039 03:37:32 Removing intermediate container 16398d075039 03:37:32 ---> ade567b32b9d 03:37:32 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 03:37:32 ---> Running in 822535d6089b 03:37:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:37:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:37:35 OK: 221 MiB in 53 packages 03:37:36 Removing intermediate container 822535d6089b 03:37:36 ---> 15eccf696133 03:37:36 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 03:37:36 ---> Running in 226dd2740844 03:37:37 Removing intermediate container 226dd2740844 03:37:37 ---> 7791d8e2df7e 03:37:37 Step 7/19 : COPY . . 03:37:38 ---> 867bf537b236 03:37:38 Step 8/19 : RUN ${MAKE} 03:37:38 ---> Running in ed24802cb084 03:37:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 03:38:06 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:38:09 Removing intermediate container ed24802cb084 03:38:09 ---> 057231c4cdd8 03:38:09 Step 9/19 : FROM scratch 03:38:09 ---> 03:38:09 Step 10/19 : ENV APP_PORT=49991 03:38:09 ---> Running in c24e3333e566 03:38:10 Removing intermediate container c24e3333e566 03:38:10 ---> c0a8726cfe34 03:38:10 Step 11/19 : EXPOSE $APP_PORT 03:38:10 ---> Running in 71810d48286f 03:38:10 Removing intermediate container 71810d48286f 03:38:10 ---> 01061449f42e 03:38:10 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 03:38:11 ---> 48396becb35b 03:38:11 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 03:38:12 ---> 1adcbf3a93b8 03:38:12 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 03:38:13 ---> 730cbacea276 03:38:13 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 03:38:13 ---> Running in 00a9e6e9597f 03:38:13 Removing intermediate container 00a9e6e9597f 03:38:13 ---> 24a79529bcad 03:38:13 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:38:14 ---> Running in 9e696a5bbd15 03:38:14 Removing intermediate container 9e696a5bbd15 03:38:14 ---> 8910cbfa5cd2 03:38:14 Step 17/19 : LABEL arch=arm64 03:38:14 ---> Running in b1765f4b75af 03:38:15 Removing intermediate container b1765f4b75af 03:38:15 ---> 91c8003f9677 03:38:15 Step 18/19 : LABEL git_sha=aac68ee3218624e25aee617d21101238ddac5a86 03:38:15 ---> Running in a7c411c5508d 03:38:15 Removing intermediate container a7c411c5508d 03:38:15 ---> 3b564637feaf 03:38:15 Step 19/19 : LABEL version=0.0.0 03:38:15 ---> Running in f234c928196d 03:38:16 Removing intermediate container f234c928196d 03:38:16 ---> 1e11bfd609d7 03:38:16 [Warning] One or more build-args [ARCH] were not consumed 03:38:16 Successfully built 1e11bfd609d7 03:38:16 Successfully tagged docker-device-modbus-go-arm64: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 03:38:17 + find /w/workspace/device-modbus-go/3 03:38:17 + grep snapcraft.yaml 03:38:17 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:17 provisioning config files... 03:38:17 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/3@tmp/config4762828485972348534tmp [Pipeline] { [Pipeline] sh 03:38:18 + cp /w/workspace/device-modbus-go/3@tmp/config4762828485972348534tmp /w/workspace/device-modbus-go/3/edgex-snap-store-login [Pipeline] sh 03:38:18 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/3:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 03:38:18 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 03:38:18 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 03:38:18 237528ba509b: Pulling fs layer 03:38:18 393b96f31d8b: Pulling fs layer 03:38:18 4d82b0e39008: Pulling fs layer 03:38:18 e7ca375b8d34: Pulling fs layer 03:38:18 07392d479177: Pulling fs layer 03:38:18 8324981f6117: Pulling fs layer 03:38:18 c3105ce2227d: Pulling fs layer 03:38:18 92aa0e4ab508: Pulling fs layer 03:38:18 ae419ce1c302: Pulling fs layer 03:38:18 c3105ce2227d: Waiting 03:38:18 92aa0e4ab508: Waiting 03:38:18 e7ca375b8d34: Waiting 03:38:18 07392d479177: Waiting 03:38:18 8324981f6117: Waiting 03:38:18 ae419ce1c302: Waiting 03:38:18 4d82b0e39008: Verifying Checksum 03:38:18 4d82b0e39008: Download complete 03:38:18 393b96f31d8b: Verifying Checksum 03:38:18 393b96f31d8b: Download complete 03:38:18 e7ca375b8d34: Verifying Checksum 03:38:18 8324981f6117: Download complete 03:38:18 c3105ce2227d: Verifying Checksum 03:38:18 c3105ce2227d: Download complete 03:38:18 92aa0e4ab508: Verifying Checksum 03:38:18 92aa0e4ab508: Download complete 03:38:18 ae419ce1c302: Verifying Checksum 03:38:18 ae419ce1c302: Download complete 03:38:19 237528ba509b: Verifying Checksum 03:38:19 237528ba509b: Download complete 03:38:22 237528ba509b: Pull complete 03:38:22 393b96f31d8b: Pull complete 03:38:23 4d82b0e39008: Pull complete 03:38:23 e7ca375b8d34: Pull complete 03:38:28 07392d479177: Verifying Checksum 03:38:28 07392d479177: Download complete 03:39:07 07392d479177: Pull complete 03:39:07 8324981f6117: Pull complete 03:39:07 c3105ce2227d: Pull complete 03:39:07 92aa0e4ab508: Pull complete 03:39:07 ae419ce1c302: Pull complete 03:39:07 Digest: sha256:6e406ae1453d9e8d8e9e409efff2bb31ab6f017c918e683fbe291fd96f16a4ed 03:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 03:39:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:39:11 WARNING: Ignoring http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz: operation timed out 03:39:11 ERROR: unsatisfiable constraints: 03:39:11  build-base (missing): 03:39:11 required by: world[build-base] 03:39:11 openssh (missing): 03:39:11 required by: world[openssh] 03:39:11 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] } 03:39:13 Failed in branch amd64 03:39:14 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 03:39:14 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 03:39:14 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 03:39:15 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 03:39:15 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1253 kB] 03:39:15 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [922 kB] 03:39:16 Fetched 2427 kB in 2s (1264 kB/s) 03:39:20 Reading package lists... 03:39:32 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 03:39:32 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 03:39:32 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 03:39:32 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 03:39:38 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 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... 10% Reading package lists... 31% Reading package lists... 52% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 91% Reading package lists... 93% Reading package lists... 93% 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 03:39:45 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 03:39:49 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... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% 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 03:39:49 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 58% Building dependency tree 03:39:49 Reading state information... 0% Reading state information... 0% Reading state information... Done 03:39:50 The following packages were automatically installed and are no longer required: 03:39:50 libjq1 libonig4 03:39:50 Use 'sudo apt autoremove' to remove them. 03:39:50 Suggested packages: 03:39:50 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 03:39:50 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 03:39:50 diffutils-doc perl-doc libterm-readline-gnu-perl 03:39:50 | libterm-readline-perl-perl 03:39:51 The following NEW packages will be installed: 03:39:51 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 03:39:51 libperl5.26 make netbase patch perl perl-modules-5.26 03:39:51 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 03:39:51 Need to get 10.8 MB of archives. 03:39:51 After this operation, 73.6 MB of additional disk space will be used. 03:39:51 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 03:39:52 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 615 kB/2763 kB 22%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 03:39:52 22% [2 libgdbm5 23.1 kB/23.1 kB 100%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 03:39:52 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 03:39:53 25% [4 libperl5.26 10.0 kB/3326 kB 0%] 33% [4 libperl5.26 1073 kB/3326 kB 32%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 03:39:53 51% [5 perl 10.5 kB/201 kB 5%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 03:39:53 54% [6 less 5398 B/99.7 kB 5%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 03:39:53 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 03:39:53 58% [8 curl 3611 B/152 kB 2%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 03:39:53 60% [9 libcurl3-gnutls 0 B/179 kB 0%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 03:39:53 63% [10 liberror-perl 19.7 kB/22.8 kB 86%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 03:39:53 65% [11 git-man 0 B/804 kB 0%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 03:39:54 72% [12 git 0 B/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 03:39:54 96% [13 make 24.6 kB/139 kB 18%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 03:39:54 98% [14 patch 34.3 kB/91.8 kB 37%] 100% [Working] Fetched 10.8 MB in 3s (3387 kB/s) 03:39:54 debconf: delaying package configuration, since apt-utils is not installed 03:39:55 Selecting previously unselected package perl-modules-5.26. 03:39:55 (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 ... 9882 files and directories currently installed.) 03:39:55 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 03:39:55 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 03:39:56 Selecting previously unselected package libgdbm5:arm64. 03:39:56 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 03:39:56 Unpacking libgdbm5:arm64 (1.14.1-6) ... 03:39:56 Selecting previously unselected package libgdbm-compat4:arm64. 03:39:56 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 03:39:56 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 03:39:56 Selecting previously unselected package libperl5.26:arm64. 03:39:56 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 03:39:57 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 03:39:58 Selecting previously unselected package perl. 03:39:58 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 03:39:58 Unpacking perl (5.26.1-6ubuntu0.3) ... 03:39:58 Selecting previously unselected package less. 03:39:58 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 03:39:58 Unpacking less (487-0.1) ... 03:39:58 Selecting previously unselected package netbase. 03:39:58 Preparing to unpack .../06-netbase_5.4_all.deb ... 03:39:58 Unpacking netbase (5.4) ... 03:39:58 Selecting previously unselected package curl. 03:39:58 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 03:39:58 Unpacking curl (7.58.0-2ubuntu3.10) ... 03:39:58 Selecting previously unselected package libcurl3-gnutls:arm64. 03:39:58 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 03:39:59 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 03:39:59 Selecting previously unselected package liberror-perl. 03:39:59 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 03:39:59 Unpacking liberror-perl (0.17025-1) ... 03:39:59 Selecting previously unselected package git-man. 03:39:59 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 03:39:59 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 03:39:59 Selecting previously unselected package git. 03:39:59 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 03:39:59 Unpacking git (1:2.17.1-1ubuntu0.7) ... 03:40:01 Selecting previously unselected package make. 03:40:01 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 03:40:01 Unpacking make (4.1-9.1ubuntu1) ... 03:40:01 Selecting previously unselected package patch. 03:40:01 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 03:40:01 Unpacking patch (2.7.6-2ubuntu1.1) ... 03:40:01 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 03:40:01 Setting up less (487-0.1) ... 03:40:01 Setting up make (4.1-9.1ubuntu1) ... 03:40:01 Setting up curl (7.58.0-2ubuntu3.10) ... 03:40:01 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 03:40:01 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 03:40:01 Setting up libgdbm5:arm64 (1.14.1-6) ... 03:40:01 Setting up patch (2.7.6-2ubuntu1.1) ... 03:40:01 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 03:40:01 Setting up netbase (5.4) ... 03:40:01 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 03:40:01 Setting up perl (5.26.1-6ubuntu0.3) ... 03:40:02 Setting up liberror-perl (0.17025-1) ... 03:40:02 Setting up git (1:2.17.1-1ubuntu0.7) ... 03:40:02 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 03:40:02 Processing triggers for mime-support (3.60ubuntu1) ... 03:40:07 curl set to automatically installed. 03:40:07 git set to automatically installed. 03:40:07 git-man set to automatically installed. 03:40:07 less set to automatically installed. 03:40:07 libcurl3-gnutls set to automatically installed. 03:40:07 liberror-perl set to automatically installed. 03:40:07 libgdbm-compat4 set to automatically installed. 03:40:07 libgdbm5 set to automatically installed. 03:40:07 libperl5.26 set to automatically installed. 03:40:07 make set to automatically installed. 03:40:07 netbase set to automatically installed. 03:40:07 patch set to automatically installed. 03:40:07 perl set to automatically installed. 03:40:07 perl-modules-5.26 set to automatically installed. 03:40:08 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 03:40:08 Please ensure the environment is properly setup before continuing. 03:40:08 Ignore this message if the appropriate measures have already been taken 03:40:08 Pulling go  03:40:12 'device-modbus' has dependencies that need to be staged: go 03:40:12 Skipping pull go (already ran) 03:40:12 Building go  03:40:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:40:12 Dload Upload Total Spent Left Speed 03:40:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 93.0M 0 212k 0 0 440k 0 0:03:36 --:--:-- 0:03:36 439k 34 93.0M 34 32.0M 0 0 21.4M 0 0:00:04 0:00:01 0:00:03 21.4M 72 93.0M 72 67.9M 0 0 27.1M 0 0:00:03 0:00:02 0:00:01 27.1M 100 93.0M 100 93.0M 0 0 29.2M 0 0:00:03 0:00:03 --:--:-- 29.2M 03:40:16 go1.13.5.linux-arm64.tar.gz: OK 03:40:34 Staging go  03:40:36 Pulling device-modbus  03:40:40 Skipping build go (already ran) 03:40:40 Building device-modbus  03:40:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 03:40:41 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 03:40:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:40:41 go: downloading github.com/goburrow/modbus v0.1.0 03:40:41 go: extracting github.com/goburrow/modbus v0.1.0 03:40:41 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 03:40:41 go: downloading github.com/goburrow/serial v0.1.0 03:40:41 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:40:41 go: extracting github.com/goburrow/serial v0.1.0 03:40:41 go: downloading github.com/gorilla/mux v1.7.1 03:40:41 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:40:41 go: downloading github.com/google/uuid v1.1.1 03:40:41 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 03:40:41 go: downloading github.com/OneOfOne/xxhash v1.2.6 03:40:41 go: extracting github.com/gorilla/mux v1.7.1 03:40:41 go: extracting github.com/google/uuid v1.1.1 03:40:41 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:40:41 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 03:40:41 go: downloading github.com/go-kit/kit v0.8.0 03:40:41 go: extracting github.com/OneOfOne/xxhash v1.2.6 03:40:41 go: downloading github.com/pkg/errors v0.8.1 03:40:41 go: downloading gopkg.in/yaml.v2 v2.2.8 03:40:41 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 03:40:41 go: downloading github.com/BurntSushi/toml v0.3.1 03:40:41 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 03:40:41 go: downloading github.com/hashicorp/consul/api v1.1.0 03:40:41 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 03:40:41 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 03:40:41 go: extracting github.com/pkg/errors v0.8.1 03:40:41 go: extracting github.com/BurntSushi/toml v0.3.1 03:40:41 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 03:40:41 go: extracting gopkg.in/yaml.v2 v2.2.8 03:40:41 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 03:40:41 go: downloading github.com/pelletier/go-toml v1.2.0 03:40:41 go: extracting github.com/hashicorp/consul/api v1.1.0 03:40:41 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:40:41 go: downloading github.com/x448/float16 v0.8.4 03:40:41 go: downloading github.com/hashicorp/serf v0.8.2 03:40:41 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 03:40:41 go: downloading github.com/mitchellh/mapstructure v1.1.2 03:40:41 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 03:40:41 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:40:41 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:40:41 go: downloading github.com/mitchellh/copystructure v1.0.0 03:40:41 go: extracting github.com/pelletier/go-toml v1.2.0 03:40:41 go: extracting github.com/go-kit/kit v0.8.0 03:40:41 go: extracting github.com/x448/float16 v0.8.4 03:40:41 go: extracting github.com/mitchellh/mapstructure v1.1.2 03:40:41 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 03:40:41 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 03:40:41 go: extracting github.com/mitchellh/copystructure v1.0.0 03:40:41 go: downloading github.com/mitchellh/reflectwalk v1.0.0 03:40:41 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 03:40:41 go: extracting github.com/mitchellh/reflectwalk v1.0.0 03:40:41 go: extracting github.com/hashicorp/serf v0.8.2 03:40:41 go: downloading github.com/go-logfmt/logfmt v0.4.0 03:40:41 go: extracting github.com/go-logfmt/logfmt v0.4.0 03:40:41 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:40:41 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:40:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 03:40:42 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 03:40:42 go: downloading github.com/hashicorp/golang-lru v0.5.1 03:40:42 go: extracting github.com/hashicorp/golang-lru v0.5.1 03:40:42 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 03:40:42 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 03:40:42 go: finding github.com/goburrow/modbus v0.1.0 03:40:42 go: finding github.com/gorilla/mux v1.7.1 03:40:42 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:40:42 go: finding github.com/go-kit/kit v0.8.0 03:40:42 go: finding github.com/OneOfOne/xxhash v1.2.6 03:40:42 go: finding github.com/goburrow/serial v0.1.0 03:40:42 go: finding github.com/google/uuid v1.1.1 03:40:42 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 03:40:42 go: finding github.com/x448/float16 v0.8.4 03:40:42 go: finding github.com/go-logfmt/logfmt v0.4.0 03:40:42 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:40:42 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 03:40:42 go: finding gopkg.in/yaml.v2 v2.2.8 03:40:42 go: finding github.com/BurntSushi/toml v0.3.1 03:40:42 go: finding github.com/pkg/errors v0.8.1 03:40:42 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:40:42 go: finding github.com/hashicorp/consul/api v1.1.0 03:40:42 go: finding github.com/pelletier/go-toml v1.2.0 03:40:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:40:42 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:40:42 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:40:42 go: finding github.com/hashicorp/serf v0.8.2 03:40:42 go: finding github.com/mitchellh/mapstructure v1.1.2 03:40:42 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:40:42 go: finding github.com/mitchellh/copystructure v1.0.0 03:40:42 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:40:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:40:42 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:40:42 go: finding github.com/hashicorp/golang-lru v0.5.1 03:41:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:41:23 Skipping stage go (already ran) 03:41:23 Staging device-modbus  03:41:23 Priming go  03:41:26 Priming device-modbus  03:41:30 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 03:41:30 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 03:41:30 Determining the version from the project repo (version-script). 03:41:30 The version has been set to '0.0.0-20200824+aac68ee' 03:41:32 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | 03:41:32 Snapped edgex-device-modbus_0.0.0-20200824+aac68ee_arm64.snap [Pipeline] } 03:41:34 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 03:41:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:41:38 ---> package-listing.sh 03:41:38 ++ facter osfamily 03:41:38 ++ tr '[:upper:]' '[:lower:]' 03:41:38 + OS_FAMILY=redhat 03:41:38 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-162 03:41:38 + START_PACKAGES=/tmp/packages_start.txt 03:41:38 + END_PACKAGES=/tmp/packages_end.txt 03:41:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:41:38 + PACKAGES=/tmp/packages_start.txt 03:41:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' 03:41:38 + PACKAGES=/tmp/packages_end.txt 03:41:38 + case "${OS_FAMILY}" in 03:41:38 + rpm -qa 03:41:38 + sort 03:41:42 + '[' -f /tmp/packages_start.txt ']' 03:41:42 + '[' -f /tmp/packages_end.txt ']' 03:41:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:41:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' 03:41:42 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ 03:41:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ [Pipeline] isUnix [Pipeline] sh 03:41:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:43 03:41:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:41:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:43 alpine: Pulling from edgex-lftools-log-publisher 03:41:43 c9b1b535fdd9: Pulling fs layer 03:41:43 2cc5ad85d9ab: Pulling fs layer 03:41:43 756a868c4378: Pulling fs layer 03:41:43 444b2fc9a129: Pulling fs layer 03:41:43 ea15f1150254: Pulling fs layer 03:41:43 41b27a9f41bf: Pulling fs layer 03:41:43 28c525ee5125: Pulling fs layer 03:41:43 094b1ea09ed8: Pulling fs layer 03:41:43 138eaada9080: Pulling fs layer 03:41:43 0622d0fa9048: Pulling fs layer 03:41:43 41b27a9f41bf: Waiting 03:41:43 28c525ee5125: Waiting 03:41:43 094b1ea09ed8: Waiting 03:41:43 138eaada9080: Waiting 03:41:43 444b2fc9a129: Waiting 03:41:43 0622d0fa9048: Waiting 03:41:43 2cc5ad85d9ab: Download complete 03:41:43 444b2fc9a129: Verifying Checksum 03:41:43 444b2fc9a129: Download complete 03:41:43 c9b1b535fdd9: Verifying Checksum 03:41:43 ea15f1150254: Verifying Checksum 03:41:43 ea15f1150254: Download complete 03:41:43 28c525ee5125: Verifying Checksum 03:41:43 28c525ee5125: Download complete 03:41:44 756a868c4378: Verifying Checksum 03:41:44 756a868c4378: Download complete 03:41:44 c9b1b535fdd9: Pull complete 03:41:44 138eaada9080: Verifying Checksum 03:41:44 138eaada9080: Download complete 03:41:44 0622d0fa9048: Verifying Checksum 03:41:44 0622d0fa9048: Download complete 03:41:44 094b1ea09ed8: Verifying Checksum 03:41:44 094b1ea09ed8: Download complete 03:41:44 2cc5ad85d9ab: Pull complete 03:41:44 41b27a9f41bf: Verifying Checksum 03:41:44 41b27a9f41bf: Download complete 03:41:46 756a868c4378: Pull complete 03:41:46 444b2fc9a129: Pull complete 03:41:46 ea15f1150254: Pull complete 03:41:50 41b27a9f41bf: Pull complete 03:41:50 28c525ee5125: Pull complete 03:41:53 094b1ea09ed8: Pull complete 03:41:53 138eaada9080: Pull complete 03:41:53 0622d0fa9048: Pull complete 03:41:53 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:41:53 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 03:41:53 $ 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-162 -v /w/workspace/xfoundry_device-modbus-go_PR-162:/w/workspace/xfoundry_device-modbus-go_PR-162:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-162@tmp:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:41:57 $ docker top 893bb666fff6cc71bf000bc9c85670652025edcad757040cfa726b568601373b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:41:57 provisioning config files... 03:41:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config783802068279211114tmp [Pipeline] { [Pipeline] echo 03:41:58 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:41:58 ---> create-netrc.sh [Pipeline] echo 03:41:58 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:41:58 ---> logs-deploy.sh 03:41:58 + ARCHIVE_ARTIFACTS= 03:41:58 + LOGS_SERVER=https://logs.edgexfoundry.org 03:41:58 + '[' https://logs.edgexfoundry.org == None ']' 03:41:58 + NEXUS_URL=https://nexus.edgexfoundry.org 03:41:58 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/3 03:41:58 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-162/3/ 03:41:58 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/3 /w/workspace/xfoundry_device-modbus-go_PR-162 03:41:59 Archives upload complete. 03:41:59 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-162/3/