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 416b042f5817cb4804ca998bdf32c73a7cceafc6+0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b (3a1827e7c340108ed300e6c09039380253e63a8e) 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > 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 BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1147 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 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 Fetching without tags Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit 416b042f5817cb4804ca998bdf32c73a7cceafc6 Merge succeeded, producing 416b042f5817cb4804ca998bdf32c73a7cceafc6 Checking out Revision 416b042f5817cb4804ca998bdf32c73a7cceafc6 (PR-162) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # 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 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # 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 07:54:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 704bf5a967d25df179441fcd4e0dcd1e4b08ea67 # timeout=10 07:54:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:54:09 ========================================================= 07:54:09 EdgeX Global Pipelines Version Info 07:54:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:54:11 ------------------- 07:54:11 stable info: 07:54:11 ------------------- 07:54:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:54:11 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 07:54:11 Message: update stable to v1.0.115 07:54:12 ------------------- 07:54:12 experimental info: 07:54:12 ------------------- 07:54:12 Commited By: **** collab-it+edgex@linuxfoundation.org 07:54:12 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 07:54:12 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 07:54:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:54:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 07:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 07:54:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 07:54:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 416b042f5817cb4804ca998bdf32c73a7cceafc6 [Pipeline] echo 07:54:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 416b042 [Pipeline] echo 07:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:14 + git log --format=format:%s -1 416b042f5817cb4804ca998bdf32c73a7cceafc6 [Pipeline] echo 07:54:15 GIT_COMMIT: 416b042f5817cb4804ca998bdf32c73a7cceafc6, Commit Message: feat: Modify Modbus simulator to support device scaling [Pipeline] echo 07:54:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:54:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:54:16 07:54:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:54:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:54:16 latest: Pulling from edgex-devops/git-semver 07:54:16 31603596830f: Pulling fs layer 07:54:16 2a8b12db71e7: Pulling fs layer 07:54:16 6ca5941a6612: Pulling fs layer 07:54:16 ecc8261a40a4: Pulling fs layer 07:54:16 ecc8261a40a4: Waiting 07:54:16 2a8b12db71e7: Verifying Checksum 07:54:16 2a8b12db71e7: Download complete 07:54:16 31603596830f: Verifying Checksum 07:54:16 31603596830f: Download complete 07:54:16 ecc8261a40a4: Verifying Checksum 07:54:16 ecc8261a40a4: Download complete 07:54:16 6ca5941a6612: Verifying Checksum 07:54:16 6ca5941a6612: Download complete 07:54:17 31603596830f: Pull complete 07:54:17 2a8b12db71e7: Pull complete 07:54:17 6ca5941a6612: Pull complete 07:54:17 ecc8261a40a4: Pull complete 07:54:17 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:54:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:54:18 prd-centos7-docker-4c-2g-1147 does not seem to be running inside a container 07:54:18 $ 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 07:54:20 $ docker top 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:20 [ssh-agent] Looking for ssh-agent implementation... 07:54:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:20 $ docker exec 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb ssh-agent 07:54:21 SSH_AUTH_SOCK=/tmp/ssh-ZCS7xEG8PfuH/agent.11 07:54:21 SSH_AGENT_PID=17 07:54:21 Running ssh-add (command line suppressed) 07:54:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_1714329940045816008.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_1714329940045816008.key) 07:54:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:21 + git describe --exact-match --tags HEAD 07:54:21 fatal: No names found, cannot describe anything. [Pipeline] } 07:54:21 $ docker exec --env ******** --env ******** 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb ssh-agent -k 07:54:21 unset SSH_AUTH_SOCK; 07:54:21 unset SSH_AGENT_PID; 07:54:21 echo Agent pid 17 killed; 07:54:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:54:21 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:54:21 This usually means this commit has not been tagged. [Pipeline] sshagent 07:54:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:22 [ssh-agent] Looking for ssh-agent implementation... 07:54:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:22 $ docker exec 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb ssh-agent 07:54:22 SSH_AUTH_SOCK=/tmp/ssh-UUAuSHJjB2ek/agent.45 07:54:22 SSH_AGENT_PID=50 07:54:22 Running ssh-add (command line suppressed) 07:54:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_336893026463570406.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_336893026463570406.key) 07:54:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:22 + git semver init 07:54:22 # -> Open(): unable to determine branch for HEAD 07:54:22 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.git 07:54:22 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-162 07:54:22 # $SEMVER_REMOTE_NAME = origin 07:54:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:54:22 # $SEMVER_USER_NAME = edgex-jenkins 07:54:22 # $SEMVER_BRANCH = PR-162 07:54:22 # $SEMVER_TEMP = /tmp/semver-101391393 07:54:22 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 07:54:23 # '/tmp/semver-101391393' -> '/w/workspace/xfoundry_device-modbus-go_PR-162/.semver' 07:54:23 # -> Force: false 07:54:23 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.semver [Pipeline] } 07:54:23 $ docker exec --env ******** --env ******** 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb ssh-agent -k 07:54:23 unset SSH_AUTH_SOCK; 07:54:23 unset SSH_AGENT_PID; 07:54:23 echo Agent pid 50 killed; 07:54:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:24 + git semver [Pipeline] } 07:54:24 $ docker stop --time=1 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb 07:54:25 $ docker rm -f 9d451cdcc8bdfd261cb3b7c179d3ef8edb876fdbf449d175fcf5f1a2e7cb5bfb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:54:26 Stashed 27 file(s) [Pipeline] echo 07:54:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 07:54:26 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:54:41 Still waiting to schedule task 07:54:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:54:41 Still waiting to schedule task 07:54:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:56:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1148 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 07:56:26 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 07:56:32 using credential edgex-jenkins-ssh 07:56:32 Cloning the remote Git repository 07:56:32 Cloning with configured refspecs honoured and without tags 07:56:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:56:32 > git init /w/workspace/device-modbus-go/8 # timeout=10 07:56:33 Fetching without tags 07:56:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:56:33 > git --version # timeout=10 07:56:33 > git --version # 'git version 2.17.1' 07:56:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:33 > 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 07:56:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:56:33 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 07:56:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:56:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:56:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:56:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:33 > 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 07:56:34 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit 416b042f5817cb4804ca998bdf32c73a7cceafc6 07:56:34 Merge succeeded, producing 416b042f5817cb4804ca998bdf32c73a7cceafc6 07:56:34 Checking out Revision 416b042f5817cb4804ca998bdf32c73a7cceafc6 (PR-162) 07:56:34 > git config core.sparsecheckout # timeout=10 07:56:34 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 07:56:34 > git remote # timeout=10 07:56:34 > git config --get remote.origin.url # timeout=10 07:56:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:34 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 07:56:34 > git rev-parse HEAD^{commit} # timeout=10 07:56:34 > git config core.sparsecheckout # timeout=10 07:56:34 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 07:56:39 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 07:56:40 ========================================================= 07:56:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:56:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:56:41 + 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:56:42 Sending build context to Docker daemon 669.7kB 07:56:42 Step 1/8 : ARG BASE=golang:1.13-alpine 07:56:42 Step 2/8 : FROM ${BASE} 07:56:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:56:42 b538f80385f9: Pulling fs layer 07:56:42 74f711af9a0d: Pulling fs layer 07:56:42 99f96fe45779: Pulling fs layer 07:56:42 fd7a069fd194: Pulling fs layer 07:56:42 66aa3694b03b: Pulling fs layer 07:56:42 170f70906a0f: Pulling fs layer 07:56:42 ad7c5574e4b9: Pulling fs layer 07:56:42 e772456be8f7: Pulling fs layer 07:56:42 c890913d741a: Pulling fs layer 07:56:42 2480fcc9aa5a: Pulling fs layer 07:56:42 09adf4765672: Pulling fs layer 07:56:42 e772456be8f7: Waiting 07:56:42 ad7c5574e4b9: Waiting 07:56:42 c890913d741a: Waiting 07:56:42 09adf4765672: Waiting 07:56:42 2480fcc9aa5a: Waiting 07:56:42 fd7a069fd194: Waiting 07:56:42 66aa3694b03b: Waiting 07:56:42 99f96fe45779: Verifying Checksum 07:56:42 99f96fe45779: Download complete 07:56:42 74f711af9a0d: Verifying Checksum 07:56:42 74f711af9a0d: Download complete 07:56:42 66aa3694b03b: Verifying Checksum 07:56:42 66aa3694b03b: Download complete 07:56:42 170f70906a0f: Download complete 07:56:42 b538f80385f9: Verifying Checksum 07:56:43 b538f80385f9: Pull complete 07:56:43 74f711af9a0d: Pull complete 07:56:44 99f96fe45779: Pull complete 07:56:45 ad7c5574e4b9: Verifying Checksum 07:56:45 ad7c5574e4b9: Download complete 07:56:45 c890913d741a: Download complete 07:56:47 2480fcc9aa5a: Download complete 07:56:47 09adf4765672: Download complete 07:56:47 e772456be8f7: Verifying Checksum 07:56:47 e772456be8f7: Download complete 07:56:48 fd7a069fd194: Download complete 07:57:00 fd7a069fd194: Pull complete 07:57:00 66aa3694b03b: Pull complete 07:57:00 170f70906a0f: Pull complete 07:57:04 ad7c5574e4b9: Pull complete 07:57:09 e772456be8f7: Pull complete 07:57:09 c890913d741a: Pull complete 07:57:11 2480fcc9aa5a: Pull complete 07:57:11 09adf4765672: Pull complete 07:57:11 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 07:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:57:11 ---> 2248a725d1cf 07:57:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:57:16 ---> Running in b06b47dc4832 07:57:16 Removing intermediate container b06b47dc4832 07:57:16 ---> d4e3f60148a0 07:57:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:57:16 ---> Running in 9f7b0b0b9993 07:57:18 Removing intermediate container 9f7b0b0b9993 07:57:18 ---> b50b88fe3577 07:57:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:57:18 ---> Running in 2d17209aeba4 07:57:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:57:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:57:21 (1/14) Installing libmagic (5.38-r0) 07:57:21 (2/14) Installing file (5.38-r0) 07:57:21 (3/14) Installing libc-dev (0.7.2-r3) 07:57:21 (4/14) Installing g++ (9.3.0-r2) 07:57:26 (5/14) Installing fortify-headers (1.1-r0) 07:57:26 (6/14) Installing patch (2.7.6-r6) 07:57:26 (7/14) Installing build-base (0.5-r2) 07:57:26 (8/14) Installing openssh-keygen (8.3_p1-r0) 07:57:26 (9/14) Installing libedit (20191231.3.1-r0) 07:57:26 (10/14) Installing openssh-client (8.3_p1-r0) 07:57:26 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 07:57:26 (12/14) Installing openssh-server-common (8.3_p1-r0) 07:57:26 (13/14) Installing openssh-server (8.3_p1-r0) 07:57:27 (14/14) Installing openssh (8.3_p1-r0) 07:57:27 Executing busybox-1.31.1-r16.trigger 07:57:27 OK: 221 MiB in 53 packages 07:57:31 Removing intermediate container 2d17209aeba4 07:57:31 ---> 7857997f0565 07:57:31 Step 6/8 : WORKDIR /device-modbus-go 07:57:31 ---> Running in 45cfa79585a3 07:57:31 Removing intermediate container 45cfa79585a3 07:57:31 ---> 314da1c983a1 07:57:31 Step 7/8 : COPY . . 07:57:32 ---> ad6fd5cb6285 07:57:32 Step 8/8 : RUN go mod download 07:57:32 ---> Running in 04529dcda769 07:57:36 go: finding github.com/BurntSushi/toml v0.3.1 07:57:36 go: finding github.com/OneOfOne/xxhash v1.2.6 07:57:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:57:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:57:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:57:36 go: finding github.com/bgentry/speakeasy v0.1.0 07:57:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:57:36 go: finding github.com/davecgh/go-spew v1.1.1 07:57:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:57:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:57:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:57:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:57:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:57:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:57:36 go: finding github.com/fatih/color v1.7.0 07:57:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:57:36 go: finding github.com/go-kit/kit v0.8.0 07:57:36 go: finding github.com/go-logfmt/logfmt v0.4.0 07:57:37 go: finding github.com/go-stack/stack v1.8.0 07:57:37 go: finding github.com/goburrow/modbus v0.1.0 07:57:37 go: finding github.com/goburrow/serial v0.1.0 07:57:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:57:37 go: finding github.com/google/uuid v1.1.1 07:57:37 go: finding github.com/gorilla/mux v1.7.1 07:57:37 go: finding github.com/hashicorp/consul/api v1.1.0 07:57:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:57:37 go: finding github.com/hashicorp/errwrap v1.0.0 07:57:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:57:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:57:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:57:37 go: finding github.com/hashicorp/go-multierror v1.0.0 07:57:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:57:37 go: finding github.com/hashicorp/go-sockaddr v1.0.1 07:57:37 go: finding github.com/hashicorp/go-syslog v1.0.0 07:57:37 go: finding github.com/hashicorp/go-uuid v1.0.1 07:57:37 go: finding github.com/hashicorp/go.net v0.0.1 07:57:37 go: finding github.com/hashicorp/golang-lru v0.5.1 07:57:37 go: finding github.com/hashicorp/logutils v1.0.0 07:57:37 go: finding github.com/hashicorp/mdns v1.0.0 07:57:37 go: finding github.com/hashicorp/memberlist v0.1.3 07:57:37 go: finding github.com/hashicorp/serf v0.8.2 07:57:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:57:37 go: finding github.com/mattn/go-colorable v0.0.9 07:57:37 go: finding github.com/mattn/go-isatty v0.0.3 07:57:38 go: finding github.com/miekg/dns v1.1.4 07:57:38 go: finding github.com/mitchellh/cli v1.0.0 07:57:38 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:57:38 go: finding github.com/mitchellh/copystructure v1.0.0 07:57:38 go: finding github.com/mitchellh/go-homedir v1.1.0 07:57:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:57:38 go: finding github.com/mitchellh/go-wordwrap v1.0.0 07:57:38 go: finding github.com/mitchellh/gox v0.4.0 07:57:38 go: finding github.com/mitchellh/iochan v1.0.0 07:57:38 go: finding github.com/mitchellh/mapstructure v1.1.2 07:57:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:57:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:57:38 go: finding github.com/pelletier/go-toml v1.2.0 07:57:38 go: finding github.com/pkg/errors v0.8.1 07:57:38 go: finding github.com/pmezard/go-difflib v1.0.0 07:57:38 go: finding github.com/posener/complete v1.1.1 07:57:38 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 07:57:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:57:38 go: finding github.com/stretchr/objx v0.1.0 07:57:38 go: finding github.com/stretchr/testify v1.5.1 07:57:39 go: finding github.com/ugorji/go v1.1.4 07:57:39 go: finding github.com/x448/float16 v0.8.4 07:57:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:57:39 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 07:57:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:57:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:57:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:57:39 go: finding gopkg.in/yaml.v2 v2.2.8 07:57:40 Running on prd-centos7-docker-4c-2g-1149 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 07:57:40 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 07:57:46 using credential edgex-jenkins-ssh 07:57:46 Cloning the remote Git repository 07:57:46 Cloning with configured refspecs honoured and without tags 07:57:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:57:46 > git init /w/workspace/device-modbus-go/8 # timeout=10 07:57:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:57:46 > git --version # timeout=10 07:57:46 > git --version # 'git version 2.16.5' 07:57:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:46 > 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 07:57:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:57:47 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 07:57:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:57:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:57:47 Fetching without tags 07:57:47 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit 416b042f5817cb4804ca998bdf32c73a7cceafc6 07:57:47 Merge succeeded, producing 416b042f5817cb4804ca998bdf32c73a7cceafc6 07:57:47 Checking out Revision 416b042f5817cb4804ca998bdf32c73a7cceafc6 (PR-162) 07:57:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:57:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:47 > 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 07:57:47 > git config core.sparsecheckout # timeout=10 07:57:47 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 07:57:47 > git remote # timeout=10 07:57:47 > git config --get remote.origin.url # timeout=10 07:57:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:47 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 07:57:47 > git rev-parse HEAD^{commit} # timeout=10 07:57:47 > git config core.sparsecheckout # timeout=10 07:57:47 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 07:57:49 Removing intermediate container 04529dcda769 07:57:49 ---> a815608d20c3 07:57:49 Successfully built a815608d20c3 07:57:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:57:50 + docker inspect -f . ci-base-image-arm64 07:57:50 . [Pipeline] withDockerContainer 07:57:50 prd-ubuntu18.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container 07:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:51 Commit message: "feat: Modify Modbus simulator to support device scaling" 07:57:52 $ docker top 1e4047d8722e43d71096c63e1f27a54d377fa9715d4cfec34cf6af758a6790cf -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:57:53 ========================================================= 07:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:57:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:57:53 + go version 07:57:53 go version go1.13.13 linux/arm64 [Pipeline] sh 07:57:54 + 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:57:54 + make test 07:57:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:57:54 Sending build context to Docker daemon 669.7kB 07:57:54 Step 1/8 : ARG BASE=golang:1.13-alpine 07:57:54 Step 2/8 : FROM ${BASE} 07:57:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:57:55 df20fa9351a1: Pulling fs layer 07:57:55 ed8968b2872e: Pulling fs layer 07:57:55 a92cc7c5fd73: Pulling fs layer 07:57:55 2dd03ba5bac4: Pulling fs layer 07:57:55 1e091d79d1de: Pulling fs layer 07:57:55 481702a1767f: Pulling fs layer 07:57:55 f64a6f60c768: Pulling fs layer 07:57:55 e78d2573fc39: Pulling fs layer 07:57:55 e876d2f968b6: Pulling fs layer 07:57:55 ce8a83651883: Pulling fs layer 07:57:55 07967f4d0e4b: Pulling fs layer 07:57:55 2dd03ba5bac4: Waiting 07:57:55 1e091d79d1de: Waiting 07:57:55 481702a1767f: Waiting 07:57:55 f64a6f60c768: Waiting 07:57:55 e78d2573fc39: Waiting 07:57:55 e876d2f968b6: Waiting 07:57:55 ce8a83651883: Waiting 07:57:55 07967f4d0e4b: Waiting 07:57:55 a92cc7c5fd73: Verifying Checksum 07:57:55 a92cc7c5fd73: Download complete 07:57:55 ed8968b2872e: Verifying Checksum 07:57:55 ed8968b2872e: Download complete 07:57:55 1e091d79d1de: Verifying Checksum 07:57:55 1e091d79d1de: Download complete 07:57:55 df20fa9351a1: Download complete 07:57:55 481702a1767f: Verifying Checksum 07:57:55 481702a1767f: Download complete 07:57:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:57:56 df20fa9351a1: Pull complete 07:57:56 ed8968b2872e: Pull complete 07:57:57 f64a6f60c768: Verifying Checksum 07:57:57 f64a6f60c768: Download complete 07:57:57 e876d2f968b6: Verifying Checksum 07:57:57 e876d2f968b6: Download complete 07:57:57 a92cc7c5fd73: Pull complete 07:57:57 e78d2573fc39: Verifying Checksum 07:57:57 e78d2573fc39: Download complete 07:57:57 07967f4d0e4b: Verifying Checksum 07:57:57 07967f4d0e4b: Download complete 07:57:58 2dd03ba5bac4: Verifying Checksum 07:57:58 2dd03ba5bac4: Download complete 07:57:58 ce8a83651883: Verifying Checksum 07:57:58 ce8a83651883: Download complete 07:58:06 2dd03ba5bac4: Pull complete 07:58:06 1e091d79d1de: Pull complete 07:58:06 481702a1767f: Pull complete 07:58:11 f64a6f60c768: Pull complete 07:58:16 e78d2573fc39: Pull complete 07:58:16 e876d2f968b6: Pull complete 07:58:17 ce8a83651883: Pull complete 07:58:17 07967f4d0e4b: Pull complete 07:58:17 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 07:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:58:17 ---> 5d7c900382c6 07:58:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:58:19 ---> Running in fbf99788b483 07:58:19 Removing intermediate container fbf99788b483 07:58:19 ---> 2e389e7e5631 07:58:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:19 ---> Running in f60dbbccfa19 07:58:20 Removing intermediate container f60dbbccfa19 07:58:20 ---> 67791c144522 07:58:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:58:20 ---> Running in cbd26bdc61a9 07:58:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:58:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:58:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:58:23 (1/14) Installing libmagic (5.38-r0) 07:58:23 (2/14) Installing file (5.38-r0) 07:58:23 (3/14) Installing libc-dev (0.7.2-r3) 07:58:23 (4/14) Installing g++ (9.3.0-r2) 07:58:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.335s coverage: 50.3% of statements 07:58:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:58:28 (5/14) Installing fortify-headers (1.1-r0) 07:58:28 (6/14) Installing patch (2.7.6-r6) 07:58:28 (7/14) Installing build-base (0.5-r2) 07:58:28 (8/14) Installing openssh-keygen (8.3_p1-r0) 07:58:28 (9/14) Installing libedit (20191231.3.1-r0) 07:58:28 (10/14) Installing openssh-client (8.3_p1-r0) 07:58:29 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 07:58:29 (12/14) Installing openssh-server-common (8.3_p1-r0) 07:58:29 (13/14) Installing openssh-server (8.3_p1-r0) 07:58:29 (14/14) Installing openssh (8.3_p1-r0) 07:58:29 Executing busybox-1.31.1-r16.trigger 07:58:29 OK: 237 MiB in 53 packages 07:58:30 gofmt -l . 07:58:30 [ "`gofmt -l .`" = "" ] 07:58:30 ./bin/test-attribution-txt.sh 07:58:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:58:32 Stashed 1 file(s) [Pipeline] } 07:58:32 $ docker stop --time=1 1e4047d8722e43d71096c63e1f27a54d377fa9715d4cfec34cf6af758a6790cf 07:58:33 Removing intermediate container cbd26bdc61a9 07:58:33 ---> 416e353d2504 07:58:33 Step 6/8 : WORKDIR /device-modbus-go 07:58:33 ---> Running in ae2411e54e82 07:58:33 Removing intermediate container ae2411e54e82 07:58:33 ---> f76411cecdd1 07:58:33 Step 7/8 : COPY . . 07:58:34 ---> 2cb59857ab8f 07:58:34 Step 8/8 : RUN go mod download 07:58:34 ---> Running in 8f74bfc1ac07 07:58:34 $ docker rm -f 1e4047d8722e43d71096c63e1f27a54d377fa9715d4cfec34cf6af758a6790cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 07:58:36 go: finding github.com/BurntSushi/toml v0.3.1 07:58:36 go: finding github.com/OneOfOne/xxhash v1.2.6 07:58:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:58:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:58:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:58:36 go: finding github.com/bgentry/speakeasy v0.1.0 07:58:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:58:36 go: finding github.com/davecgh/go-spew v1.1.1 07:58:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:58:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:58:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:58:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [Pipeline] sh 07:58:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:58:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:58:37 go: finding github.com/fatih/color v1.7.0 07:58:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:58:37 go: finding github.com/go-kit/kit v0.8.0 07:58:37 go: finding github.com/go-logfmt/logfmt v0.4.0 07:58:37 go: finding github.com/go-stack/stack v1.8.0 07:58:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:58:37 go: finding github.com/goburrow/modbus v0.1.0 07:58:37 go: finding github.com/goburrow/serial v0.1.0 07:58:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:58:37 go: finding github.com/google/uuid v1.1.1 07:58:37 go: finding github.com/gorilla/mux v1.7.1 07:58:37 go: finding github.com/hashicorp/consul/api v1.1.0 07:58:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:58:37 + ls -al . 07:58:37 total 140 07:58:37 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 07:58 . 07:58:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 07:56 .. 07:58:37 -rw-rw-r-- 1 jenkins jenkins 140 Sep 2 07:56 .dockerignore 07:58:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 07:56 .git 07:58:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 07:56 .github 07:58:37 -rw-rw-r-- 1 jenkins jenkins 330 Sep 2 07:56 .gitignore 07:58:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 07:56 .semver 07:58:37 -rw-rw-r-- 1 jenkins jenkins 4564 Sep 2 07:56 Attribution.txt 07:58:37 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 2 07:56 Dockerfile 07:58:37 -rw-rw-r-- 1 jenkins jenkins 954 Sep 2 07:56 Dockerfile.build 07:58:37 -rw-rw-r-- 1 jenkins jenkins 702 Sep 2 07:56 Jenkinsfile 07:58:37 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 2 07:56 LICENSE 07:58:37 -rw-rw-r-- 1 jenkins jenkins 880 Sep 2 07:56 Makefile 07:58:37 -rw-rw-r-- 1 jenkins jenkins 591 Sep 2 07:56 README.md 07:58:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 07:54 VERSION 07:58:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 07:56 bin 07:58:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 07:56 cmd 07:58:37 -rw-r--r-- 1 jenkins jenkins 22364 Sep 2 07:58 coverage.out 07:58:37 -rw-r--r-- 1 jenkins jenkins 559 Sep 2 07:58 go.mod 07:58:37 -rw-r--r-- 1 jenkins jenkins 13471 Sep 2 07:58 go.sum 07:58:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 07:56 internal 07:58:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 07:56 simulator 07:58:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 07:56 snap 07:58:37 -rw-rw-r-- 1 jenkins jenkins 229 Sep 2 07:56 version.go [Pipeline] isUnix [Pipeline] sh 07:58:37 go: finding github.com/hashicorp/errwrap v1.0.0 07:58:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:58:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:58:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:58:37 go: finding github.com/hashicorp/go-multierror v1.0.0 07:58:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:58:37 go: finding github.com/hashicorp/go-sockaddr v1.0.1 07:58:38 + 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=416b042f5817cb4804ca998bdf32c73a7cceafc6 --label arch=arm64 --label version=0.0.0 . 07:58:38 go: finding github.com/hashicorp/go-syslog v1.0.0 07:58:38 go: finding github.com/hashicorp/go-uuid v1.0.1 07:58:38 go: finding github.com/hashicorp/go.net v0.0.1 07:58:38 go: finding github.com/hashicorp/golang-lru v0.5.1 07:58:38 go: finding github.com/hashicorp/logutils v1.0.0 07:58:38 go: finding github.com/hashicorp/mdns v1.0.0 07:58:38 go: finding github.com/hashicorp/memberlist v0.1.3 07:58:38 Sending build context to Docker daemon 700.9kB 07:58:38 Step 1/20 : ARG BASE=golang:1.13-alpine 07:58:38 Step 2/20 : FROM ${BASE} AS builder 07:58:38 ---> a815608d20c3 07:58:38 Step 3/20 : ARG MAKE='make build' 07:58:38 go: finding github.com/hashicorp/serf v0.8.2 07:58:38 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:58:38 go: finding github.com/mattn/go-colorable v0.0.9 07:58:38 go: finding github.com/mattn/go-isatty v0.0.3 07:58:38 go: finding github.com/miekg/dns v1.1.4 07:58:38 go: finding github.com/mitchellh/cli v1.0.0 07:58:38 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:58:38 ---> Running in d35bfc851704 07:58:38 go: finding github.com/mitchellh/copystructure v1.0.0 07:58:38 go: finding github.com/mitchellh/go-homedir v1.1.0 07:58:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:58:38 go: finding github.com/mitchellh/go-wordwrap v1.0.0 07:58:38 go: finding github.com/mitchellh/gox v0.4.0 07:58:38 go: finding github.com/mitchellh/iochan v1.0.0 07:58:38 go: finding github.com/mitchellh/mapstructure v1.1.2 07:58:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:58:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:58:38 go: finding github.com/pelletier/go-toml v1.2.0 07:58:38 go: finding github.com/pkg/errors v0.8.1 07:58:38 go: finding github.com/pmezard/go-difflib v1.0.0 07:58:38 go: finding github.com/posener/complete v1.1.1 07:58:39 Removing intermediate container d35bfc851704 07:58:39 ---> 1e0b3fec2f7f 07:58:39 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:39 ---> Running in 0b18600d9ede 07:58:39 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 07:58:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:58:39 go: finding github.com/stretchr/objx v0.1.0 07:58:39 go: finding github.com/stretchr/testify v1.5.1 07:58:39 go: finding github.com/ugorji/go v1.1.4 07:58:39 go: finding github.com/x448/float16 v0.8.4 07:58:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:58:39 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 07:58:39 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:58:39 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:58:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:58:39 go: finding gopkg.in/yaml.v2 v2.2.8 07:58:41 Removing intermediate container 0b18600d9ede 07:58:41 ---> e33efe6a2416 07:58:41 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 07:58:41 ---> Running in bcdd43f63e69 07:58:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:58:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:58:44 OK: 221 MiB in 53 packages 07:58:45 Removing intermediate container bcdd43f63e69 07:58:45 ---> 582e59d17cef 07:58:45 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 07:58:45 ---> Running in 10390eefafe6 07:58:46 Removing intermediate container 10390eefafe6 07:58:46 ---> 2bf8c2d49df2 07:58:46 Step 7/20 : COPY . . 07:58:47 ---> 8b59cc73c1e2 07:58:47 Step 8/20 : RUN ${MAKE} 07:58:47 ---> Running in b4221ca2a373 07:58:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 07:58:49 Removing intermediate container 8f74bfc1ac07 07:58:49 ---> 86db0119f01f 07:58:49 Successfully built 86db0119f01f 07:58:49 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:58:50 + docker inspect -f . ci-base-image-x86_64 07:58:50 . [Pipeline] withDockerContainer 07:58:51 prd-centos7-docker-4c-2g-1149 does not seem to be running inside a container 07:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:58:52 $ docker top afef8379a4494b7810e870dc079d2067ac64cd09cf9efab83ff20e75e50d5691 -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:53 + go version 07:58:53 go version go1.13.13 linux/amd64 [Pipeline] sh 07:58:53 + make test 07:58:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:58:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:59:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:59:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.233s coverage: 50.3% of statements 07:59:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:59:13 gofmt -l . 07:59:13 [ "`gofmt -l .`" = "" ] 07:59:13 ./bin/test-attribution-txt.sh 07:59:14 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:59:15 Warning: overwriting stash ‘coverage-report’ 07:59:15 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:59:15 Stashed 1 file(s) [Pipeline] } 07:59:15 $ docker stop --time=1 afef8379a4494b7810e870dc079d2067ac64cd09cf9efab83ff20e75e50d5691 07:59:18 $ docker rm -f afef8379a4494b7810e870dc079d2067ac64cd09cf9efab83ff20e75e50d5691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:59:19 + ls -al . 07:59:19 total 104 07:59:19 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 2 07:59 . 07:59:19 drwxrwxr-x. 4 jenkins jenkins 28 Sep 2 07:57 .. 07:59:19 -rw-rw-r--. 1 jenkins jenkins 4564 Sep 2 07:57 Attribution.txt 07:59:19 drwxrwxr-x. 2 jenkins jenkins 87 Sep 2 07:57 bin 07:59:19 drwxrwxr-x. 3 jenkins jenkins 32 Sep 2 07:57 cmd 07:59:19 -rw-r--r--. 1 jenkins jenkins 22364 Sep 2 07:59 coverage.out 07:59:19 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 2 07:57 Dockerfile 07:59:19 -rw-rw-r--. 1 jenkins jenkins 954 Sep 2 07:57 Dockerfile.build 07:59:19 -rw-rw-r--. 1 jenkins jenkins 140 Sep 2 07:57 .dockerignore 07:59:19 drwxrwxr-x. 8 jenkins jenkins 179 Sep 2 07:57 .git 07:59:19 drwxrwxr-x. 2 jenkins jenkins 38 Sep 2 07:57 .github 07:59:19 -rw-rw-r--. 1 jenkins jenkins 330 Sep 2 07:57 .gitignore 07:59:19 -rw-r--r--. 1 jenkins jenkins 559 Sep 2 07:59 go.mod 07:59:19 -rw-r--r--. 1 jenkins jenkins 13471 Sep 2 07:59 go.sum 07:59:19 drwxrwxr-x. 3 jenkins jenkins 20 Sep 2 07:57 internal 07:59:19 -rw-rw-r--. 1 jenkins jenkins 702 Sep 2 07:57 Jenkinsfile 07:59:19 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 2 07:57 LICENSE 07:59:19 -rw-rw-r--. 1 jenkins jenkins 880 Sep 2 07:57 Makefile 07:59:19 -rw-rw-r--. 1 jenkins jenkins 591 Sep 2 07:57 README.md 07:59:19 drwxrwxr-x. 3 jenkins jenkins 58 Sep 2 07:57 .semver 07:59:19 drwxrwxr-x. 2 jenkins jenkins 52 Sep 2 07:57 simulator 07:59:19 drwxrwxr-x. 4 jenkins jenkins 54 Sep 2 07:57 snap 07:59:19 -rw-rw-r--. 1 jenkins jenkins 5 Sep 2 07:54 VERSION 07:59:19 -rw-rw-r--. 1 jenkins jenkins 229 Sep 2 07:57 version.go [Pipeline] isUnix [Pipeline] sh 07:59: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=416b042f5817cb4804ca998bdf32c73a7cceafc6 --label arch=amd64 --label version=0.0.0 . 07:59:19 Removing intermediate container b4221ca2a373 07:59:19 ---> 2ac99e9463e3 07:59:19 Step 9/20 : FROM scratch 07:59:19 ---> 07:59:19 Step 10/20 : ENV APP_PORT=49991 07:59:19 ---> Running in 5ba177015f74 07:59:19 Removing intermediate container 5ba177015f74 07:59:19 ---> d4bdfd0cf72b 07:59:19 Step 11/20 : EXPOSE $APP_PORT 07:59:19 ---> Running in 0603f24ec1d6 07:59:20 Sending build context to Docker daemon 700.9kB 07:59:20 Step 1/20 : ARG BASE=golang:1.13-alpine 07:59:20 Step 2/20 : FROM ${BASE} AS builder 07:59:20 ---> 86db0119f01f 07:59:20 Step 3/20 : ARG MAKE='make build' 07:59:20 Removing intermediate container 0603f24ec1d6 07:59:20 ---> 35770dd0ebf8 07:59:20 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 07:59:20 ---> Running in 2c710ebe35df 07:59:20 Removing intermediate container 2c710ebe35df 07:59:20 ---> 510d2309ae26 07:59:20 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:59:20 ---> Running in 5254683e2bf6 07:59:21 ---> 84cb89c03dff 07:59:21 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 07:59:22 ---> 9003f751a7ae 07:59:22 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 07:59:22 Removing intermediate container 5254683e2bf6 07:59:22 ---> 21f030aa7850 07:59:22 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 07:59:22 ---> Running in 4f87fe1187b4 07:59:22 ---> 73b5f1fffca1 07:59:22 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 07:59:22 ---> Running in e7a26a4a535d 07:59:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:59:23 Removing intermediate container e7a26a4a535d 07:59:23 ---> fb4b37d4e2f0 07:59:23 Step 16/20 : ENTRYPOINT ["/device-modbus"] 07:59:23 ---> Running in b7c5ebae84c9 07:59:23 Removing intermediate container b7c5ebae84c9 07:59:23 ---> aeb946974ce3 07:59:23 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:59:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:59:23 ---> Running in 7d26a5588e38 07:59:24 Removing intermediate container 7d26a5588e38 07:59:24 ---> ce33450430a0 07:59:24 Step 18/20 : LABEL arch=arm64 07:59:24 OK: 237 MiB in 53 packages 07:59:24 ---> Running in e55ff17a2324 07:59:24 Removing intermediate container e55ff17a2324 07:59:24 ---> bdb38463a56d 07:59:24 Step 19/20 : LABEL git_sha=416b042f5817cb4804ca998bdf32c73a7cceafc6 07:59:24 ---> Running in 646b36a00d38 07:59:25 Removing intermediate container 4f87fe1187b4 07:59:25 ---> 7603f884a298 07:59:25 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 07:59:25 ---> Running in 7fd373afc1c9 07:59:25 Removing intermediate container 646b36a00d38 07:59:25 ---> 8bc65c1aaad9 07:59:25 Step 20/20 : LABEL version=0.0.0 07:59:25 Removing intermediate container 7fd373afc1c9 07:59:25 ---> 27358dbd1ceb 07:59:25 Step 7/20 : COPY . . 07:59:25 ---> Running in 6851b63cd2fe 07:59:25 Removing intermediate container 6851b63cd2fe 07:59:25 ---> fedddbb579d0 07:59:25 [Warning] One or more build-args [ARCH] were not consumed 07:59:25 Successfully built fedddbb579d0 07:59:25 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] node 07:59:26 ---> 1d10b6fe2b65 07:59:26 Step 8/20 : RUN ${MAKE} 07:59:26 ---> Running in ef329d19e371 07:59:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 07:59:41 Still waiting to schedule task 07:59:41 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 07:59:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:59:47 Removing intermediate container ef329d19e371 07:59:47 ---> c86ca9a6fde3 07:59:47 Step 9/20 : FROM scratch 07:59:47 ---> 07:59:47 Step 10/20 : ENV APP_PORT=49991 07:59:47 ---> Running in 9fbdbc298f66 07:59:47 Removing intermediate container 9fbdbc298f66 07:59:47 ---> 3b953b0b9eaf 07:59:47 Step 11/20 : EXPOSE $APP_PORT 07:59:47 ---> Running in 644a659615df 07:59:47 Removing intermediate container 644a659615df 07:59:47 ---> 8887752a8c7a 07:59:47 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 07:59:48 ---> 1f8eefc0b7bc 07:59:48 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 07:59:48 ---> dceed3f2729b 07:59:48 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 07:59:49 ---> 6db7176391d0 07:59:49 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 07:59:49 ---> Running in f1a1572a1389 07:59:49 Removing intermediate container f1a1572a1389 07:59:49 ---> 5bacef9bf29c 07:59:49 Step 16/20 : ENTRYPOINT ["/device-modbus"] 07:59:49 ---> Running in ba975098140c 07:59:49 Removing intermediate container ba975098140c 07:59:49 ---> 9808ec91be4b 07:59:49 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:59:49 ---> Running in 3c9b93fb376e 07:59:49 Removing intermediate container 3c9b93fb376e 07:59:49 ---> ac13f4779c32 07:59:49 Step 18/20 : LABEL arch=amd64 07:59:49 ---> Running in 94ea96bd0dd4 07:59:50 Removing intermediate container 94ea96bd0dd4 07:59:50 ---> 5069150d3129 07:59:50 Step 19/20 : LABEL git_sha=416b042f5817cb4804ca998bdf32c73a7cceafc6 07:59:50 ---> Running in 7bd362040636 07:59:50 Removing intermediate container 7bd362040636 07:59:50 ---> 759b3949ad84 07:59:50 Step 20/20 : LABEL version=0.0.0 07:59:50 ---> Running in 8f023792e6a3 07:59:50 Removing intermediate container 8f023792e6a3 07:59:50 ---> bee908a39fef 07:59:50 [Warning] One or more build-args [ARCH] were not consumed 07:59:50 Successfully built bee908a39fef 07:59:50 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] node 08:00:06 Still waiting to schedule task 08:00:06 All nodes of label ‘centos7-docker-8c-8g’ are offline 08:01:10 Running on prd-centos7-docker-8c-8g-1151 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 08:01:10 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 08:01:12 using credential edgex-jenkins-ssh 08:01:12 Cloning the remote Git repository 08:01:12 Cloning with configured refspecs honoured and without tags 08:01:12 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:01:12 > git init /w/workspace/device-modbus-go/8 # timeout=10 08:01:12 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:01:12 > git --version # timeout=10 08:01:12 > git --version # 'git version 2.16.5' 08:01:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:12 > 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 08:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:01:13 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 08:01:13 Fetching without tags 08:01:13 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit 416b042f5817cb4804ca998bdf32c73a7cceafc6 08:01:13 Merge succeeded, producing 416b042f5817cb4804ca998bdf32c73a7cceafc6 08:01:13 Checking out Revision 416b042f5817cb4804ca998bdf32c73a7cceafc6 (PR-162) 08:01:13 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:01:13 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:01:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:13 > 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 08:01:13 > git config core.sparsecheckout # timeout=10 08:01:13 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 08:01:13 > git remote # timeout=10 08:01:13 > git config --get remote.origin.url # timeout=10 08:01:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:13 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 08:01:13 > git rev-parse HEAD^{commit} # timeout=10 08:01:13 > git config core.sparsecheckout # timeout=10 08:01:13 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 08:01:17 Commit message: "feat: Modify Modbus simulator to support device scaling" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:18 ++ find /w/workspace/device-modbus-go/8 08:01:18 ++ grep snapcraft.yaml 08:01:18 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/8/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:18 provisioning config files... 08:01:18 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/8@tmp/config30380992561444918tmp [Pipeline] { [Pipeline] sh 08:01:19 + cp /w/workspace/device-modbus-go/8@tmp/config30380992561444918tmp /w/workspace/device-modbus-go/8/edgex-snap-store-login [Pipeline] sh 08:01:19 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/8:/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:01:19 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 08:01:19 latest: Pulling from edgex-devops/edgex-snap-builder 08:01:19 f08d8e2a3ba1: Pulling fs layer 08:01:19 3baa9cb2483b: Pulling fs layer 08:01:19 94e5ff4c0b15: Pulling fs layer 08:01:19 1860925334f9: Pulling fs layer 08:01:19 2daf38717194: Pulling fs layer 08:01:19 309017e8d7a4: Pulling fs layer 08:01:19 f7790dc9fd0f: Pulling fs layer 08:01:19 cac0ae9282c2: Pulling fs layer 08:01:19 1f4cadf9a1ed: Pulling fs layer 08:01:19 2daf38717194: Waiting 08:01:19 309017e8d7a4: Waiting 08:01:19 f7790dc9fd0f: Waiting 08:01:19 cac0ae9282c2: Waiting 08:01:19 1f4cadf9a1ed: Waiting 08:01:19 1860925334f9: Waiting 08:01:19 3baa9cb2483b: Download complete 08:01:19 94e5ff4c0b15: Verifying Checksum 08:01:19 94e5ff4c0b15: Download complete 08:01:19 1860925334f9: Verifying Checksum 08:01:19 1860925334f9: Download complete 08:01:19 309017e8d7a4: Download complete 08:01:19 f7790dc9fd0f: Verifying Checksum 08:01:19 f7790dc9fd0f: Download complete 08:01:19 cac0ae9282c2: Verifying Checksum 08:01:19 cac0ae9282c2: Download complete 08:01:19 1f4cadf9a1ed: Verifying Checksum 08:01:19 1f4cadf9a1ed: Download complete 08:01:19 f08d8e2a3ba1: Verifying Checksum 08:01:19 f08d8e2a3ba1: Download complete 08:01:20 f08d8e2a3ba1: Pull complete 08:01:21 3baa9cb2483b: Pull complete 08:01:21 94e5ff4c0b15: Pull complete 08:01:21 1860925334f9: Pull complete 08:01:23 2daf38717194: Verifying Checksum 08:01:23 2daf38717194: Download complete 08:01:30 Running on prd-ubuntu18.04-docker-arm64-16c-16g-1150 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 08:01:31 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 08:01:35 using credential edgex-jenkins-ssh 08:01:35 Cloning the remote Git repository 08:01:35 Cloning with configured refspecs honoured and without tags 08:01:35 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:01:35 > git init /w/workspace/device-modbus-go/8 # timeout=10 08:01:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:01:35 > git --version # timeout=10 08:01:35 > git --version # 'git version 2.17.1' 08:01:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:35 > 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 08:01:36 Fetching without tags 08:01:37 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit 416b042f5817cb4804ca998bdf32c73a7cceafc6 08:01:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:01:36 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 08:01:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:01:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:01:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:01:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:36 > 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 08:01:37 > git config core.sparsecheckout # timeout=10 08:01:37 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 08:01:37 Merge succeeded, producing 416b042f5817cb4804ca998bdf32c73a7cceafc6 08:01:37 Checking out Revision 416b042f5817cb4804ca998bdf32c73a7cceafc6 (PR-162) 08:01:37 > git remote # timeout=10 08:01:37 > git config --get remote.origin.url # timeout=10 08:01:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:37 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 08:01:37 > git rev-parse HEAD^{commit} # timeout=10 08:01:37 > git config core.sparsecheckout # timeout=10 08:01:37 > git checkout -f 416b042f5817cb4804ca998bdf32c73a7cceafc6 # timeout=10 08:01:41 Commit message: "feat: Modify Modbus simulator to support device scaling" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:42 + find /w/workspace/device-modbus-go/8 08:01:42 + grep snapcraft.yaml 08:01:42 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/8/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:43 provisioning config files... 08:01:43 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/8@tmp/config18414137984529216tmp [Pipeline] { [Pipeline] sh 08:01:43 + cp /w/workspace/device-modbus-go/8@tmp/config18414137984529216tmp /w/workspace/device-modbus-go/8/edgex-snap-store-login [Pipeline] sh 08:01:43 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/8:/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 08:01:44 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 08:01:44 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 08:01:44 237528ba509b: Pulling fs layer 08:01:44 393b96f31d8b: Pulling fs layer 08:01:44 4d82b0e39008: Pulling fs layer 08:01:44 e7ca375b8d34: Pulling fs layer 08:01:44 418f656485bb: Pulling fs layer 08:01:44 aebe8db9254c: Pulling fs layer 08:01:44 4f5f7b207d3f: Pulling fs layer 08:01:44 aebe8db9254c: Waiting 08:01:44 e7ca375b8d34: Waiting 08:01:44 4f5f7b207d3f: Waiting 08:01:44 d19ca6af091a: Pulling fs layer 08:01:44 418f656485bb: Waiting 08:01:44 16b5a0711add: Pulling fs layer 08:01:44 d19ca6af091a: Waiting 08:01:44 16b5a0711add: Waiting 08:01:44 4d82b0e39008: Download complete 08:01:44 393b96f31d8b: Verifying Checksum 08:01:44 393b96f31d8b: Download complete 08:01:44 e7ca375b8d34: Verifying Checksum 08:01:44 e7ca375b8d34: Download complete 08:01:44 aebe8db9254c: Verifying Checksum 08:01:44 aebe8db9254c: Download complete 08:01:44 4f5f7b207d3f: Verifying Checksum 08:01:44 4f5f7b207d3f: Download complete 08:01:45 d19ca6af091a: Verifying Checksum 08:01:45 d19ca6af091a: Download complete 08:01:45 16b5a0711add: Download complete 08:01:45 2daf38717194: Pull complete 08:01:45 309017e8d7a4: Pull complete 08:01:45 f7790dc9fd0f: Pull complete 08:01:45 cac0ae9282c2: Pull complete 08:01:45 1f4cadf9a1ed: Pull complete 08:01:45 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 08:01:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 08:01:45 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 08:01:45 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:01:45 Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1050 kB] 08:01:45 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 08:01:45 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [891 kB] 08:01:45 Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [102 kB] 08:01:45 Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 08:01:45 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1421 kB] 08:01:45 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1359 kB] 08:01:45 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [123 kB] 08:01:45 Fetched 5199 kB in 1s (4021 kB/s) 08:01:45 Reading package lists... 08:01:46 237528ba509b: Verifying Checksum 08:01:46 237528ba509b: Download complete 08:01:48 237528ba509b: Pull complete 08:01:48 0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 08:01:48 0% [Waiting for headers] Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease 08:01:48 393b96f31d8b: Pull complete 08:01:49 0% [Waiting for headers] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 08:01:49 0% [1 InRelease gpgv 242 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 08:01:49 4d82b0e39008: Pull complete 08:01:49 e7ca375b8d34: Pull complete 08:01:50 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 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... 62% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 74% Reading package lists... 74% 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... 85% Reading package lists... 85% 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:52 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:53 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... 63% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 74% Reading package lists... 74% 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... 85% Reading package lists... 85% 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:53 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 08:01:53 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:01:53 The following packages were automatically installed and are no longer required: 08:01:53 libjq1 libonig4 08:01:53 Use 'sudo apt autoremove' to remove them. 08:01:53 Suggested packages: 08:01:53 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:01:53 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:01:53 diffutils-doc perl-doc libterm-readline-gnu-perl 08:01:53 | libterm-readline-perl-perl 08:01:53 The following NEW packages will be installed: 08:01:53 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:01:53 libperl5.26 make netbase patch perl perl-modules-5.26 08:01:53 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 08:01:53 Need to get 12.0 MB of archives. 08:01:53 After this operation, 77.5 MB of additional disk space will be used. 08:01:54 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:54 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 605 kB/2763 kB 22%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 08:01:54 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] 21% [Working] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 08:01:54 21% [3 libgdbm-compat4 4096 B/6084 B 67%] 23% [Working] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 08:01:55 23% [4 libperl5.26 0 B/3527 kB 0%] 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:55 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:55 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:55 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:55 54% [8 curl 34.7 kB/159 kB 22%] 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:55 57% [9 libcurl3-gnutls 6834 B/213 kB 3%] 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:55 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Working] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 08:01:55 61% [11 git-man 0 B/804 kB 0%] 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:55 68% [12 git 0 B/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:55 96% [13 make 32.7 kB/154 kB 21%] 98% [Working] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 08:01:55 98% [14 patch 0 B/102 kB 0%] 100% [Working] Fetched 12.0 MB in 1s (8970 kB/s) 08:01:55 418f656485bb: Verifying Checksum 08:01:55 418f656485bb: Download complete 08:01:55 debconf: delaying package configuration, since apt-utils is not installed 08:01:55 Selecting previously unselected package perl-modules-5.26. 08:01: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 ... 9889 files and directories currently installed.) 08:01:55 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:01:55 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:01:56 Selecting previously unselected package libgdbm5:amd64. 08:01:56 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 08:01:56 Unpacking libgdbm5:amd64 (1.14.1-6) ... 08:01:56 Selecting previously unselected package libgdbm-compat4:amd64. 08:01:56 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 08:01:56 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 08:01:56 Selecting previously unselected package libperl5.26:amd64. 08:01:56 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 08:01:56 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:01:56 Selecting previously unselected package perl. 08:01:56 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 08:01:56 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:01:57 Selecting previously unselected package less. 08:01:57 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 08:01:57 Unpacking less (487-0.1) ... 08:01:57 Selecting previously unselected package netbase. 08:01:57 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:01:57 Unpacking netbase (5.4) ... 08:01:57 Selecting previously unselected package curl. 08:01:57 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 08:01:57 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:01:57 Selecting previously unselected package libcurl3-gnutls:amd64. 08:01:57 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 08:01:57 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:01:57 Selecting previously unselected package liberror-perl. 08:01:57 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:01:57 Unpacking liberror-perl (0.17025-1) ... 08:01:57 Selecting previously unselected package git-man. 08:01:57 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:01:57 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:01:57 Selecting previously unselected package git. 08:01:57 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 08:01:57 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:01:58 Selecting previously unselected package make. 08:01:58 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 08:01:58 Unpacking make (4.1-9.1ubuntu1) ... 08:01:58 Selecting previously unselected package patch. 08:01:58 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 08:01:58 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:01:58 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:01:58 Setting up less (487-0.1) ... 08:01:58 Setting up make (4.1-9.1ubuntu1) ... 08:01:58 Setting up curl (7.58.0-2ubuntu3.10) ... 08:01:58 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:01:58 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:01:58 Setting up libgdbm5:amd64 (1.14.1-6) ... 08:01:58 Setting up patch (2.7.6-2ubuntu1.1) ... 08:01:58 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 08:01:58 Setting up netbase (5.4) ... 08:01:58 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:01:58 Setting up perl (5.26.1-6ubuntu0.3) ... 08:01:58 Setting up liberror-perl (0.17025-1) ... 08:01:58 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:01:59 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:01:59 Processing triggers for mime-support (3.60ubuntu1) ... 08:02:00 curl set to automatically installed. 08:02:00 git set to automatically installed. 08:02:00 git-man set to automatically installed. 08:02:00 less set to automatically installed. 08:02:00 libcurl3-gnutls set to automatically installed. 08:02:00 liberror-perl set to automatically installed. 08:02:00 libgdbm-compat4 set to automatically installed. 08:02:00 libgdbm5 set to automatically installed. 08:02:00 libperl5.26 set to automatically installed. 08:02:00 make set to automatically installed. 08:02:00 netbase set to automatically installed. 08:02:00 patch set to automatically installed. 08:02:00 perl set to automatically installed. 08:02:00 perl-modules-5.26 set to automatically installed. 08:02:00 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:02:00 Please ensure the environment is properly setup before continuing. 08:02:00 Ignore this message if the appropriate measures have already been taken 08:02:01 Pulling go  08:02:01 'device-modbus' has dependencies that need to be staged: go 08:02:01 Skipping pull go (already ran) 08:02:01 Building go  08:02:01 % Total % Received % Xferd Average Speed Time Time Time Current 08:02:01 Dload Upload Total Spent Left Speed 08:02:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 27662 0 0 126k 0 0:15:24 --:--:-- 0:15:24 126k 40 114M 40 46.5M 0 0 37.5M 0 0:00:03 0:00:01 0:00:02 37.5M 94 114M 94 108M 0 0 49.0M 0 0:00:02 0:00:02 --:--:-- 49.0M 100 114M 100 114M 0 0 49.0M 0 0:00:02 0:00:02 --:--:-- 49.0M 08:02:05 go1.13.5.linux-amd64.tar.gz: OK 08:02:11 Staging go  08:02:11 Pulling device-modbus  08:02:12 Skipping build go (already ran) 08:02:12 Building device-modbus  08:02:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 08:02:14 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:02:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:02:14 go: downloading github.com/goburrow/modbus v0.1.0 08:02:14 go: extracting github.com/goburrow/modbus v0.1.0 08:02:14 go: downloading github.com/goburrow/serial v0.1.0 08:02:14 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:02:14 go: extracting github.com/goburrow/serial v0.1.0 08:02:14 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 08:02:14 go: downloading github.com/go-kit/kit v0.8.0 08:02:14 go: downloading github.com/google/uuid v1.1.1 08:02:14 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:02:14 go: downloading github.com/gorilla/mux v1.7.1 08:02:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:02:14 go: downloading github.com/pkg/errors v0.8.1 08:02:14 go: extracting github.com/google/uuid v1.1.1 08:02:14 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:02:14 go: extracting github.com/pkg/errors v0.8.1 08:02:14 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:02:14 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 08:02:14 go: extracting github.com/gorilla/mux v1.7.1 08:02:14 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:02:14 go: downloading gopkg.in/yaml.v2 v2.2.8 08:02:14 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:02:14 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:02:14 go: downloading github.com/BurntSushi/toml v0.3.1 08:02:14 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 08:02:14 go: downloading github.com/hashicorp/consul/api v1.1.0 08:02:14 go: downloading github.com/pelletier/go-toml v1.2.0 08:02:14 go: extracting github.com/go-kit/kit v0.8.0 08:02:14 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 08:02:14 go: downloading github.com/x448/float16 v0.8.4 08:02:14 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 08:02:14 go: extracting gopkg.in/yaml.v2 v2.2.8 08:02:14 go: extracting github.com/pelletier/go-toml v1.2.0 08:02:14 go: extracting github.com/BurntSushi/toml v0.3.1 08:02:14 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:02:14 go: extracting github.com/OneOfOne/xxhash v1.2.6 08:02:14 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:02:14 go: extracting github.com/hashicorp/consul/api v1.1.0 08:02:14 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:02:14 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:02:14 go: downloading github.com/hashicorp/serf v0.8.2 08:02:14 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:02:14 go: extracting github.com/x448/float16 v0.8.4 08:02:14 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:02:14 go: extracting github.com/go-logfmt/logfmt v0.4.0 08:02:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:02:14 go: downloading github.com/mitchellh/copystructure v1.0.0 08:02:14 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 08:02:14 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 08:02:14 go: extracting github.com/mitchellh/mapstructure v1.1.2 08:02:14 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 08:02:14 go: extracting github.com/mitchellh/copystructure v1.0.0 08:02:14 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:02:14 go: extracting github.com/hashicorp/serf v0.8.2 08:02:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:02:14 go: extracting github.com/mitchellh/reflectwalk v1.0.0 08:02:14 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:02:14 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:02:14 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 08:02:14 go: downloading github.com/hashicorp/golang-lru v0.5.1 08:02:14 go: extracting github.com/hashicorp/golang-lru v0.5.1 08:02:14 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:02:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:02:14 go: finding github.com/goburrow/modbus v0.1.0 08:02:14 go: finding github.com/gorilla/mux v1.7.1 08:02:14 go: finding github.com/OneOfOne/xxhash v1.2.6 08:02:14 go: finding github.com/goburrow/serial v0.1.0 08:02:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:02:14 go: finding github.com/google/uuid v1.1.1 08:02:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:02:14 go: finding github.com/go-kit/kit v0.8.0 08:02:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:02:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:02:14 go: finding gopkg.in/yaml.v2 v2.2.8 08:02:14 go: finding github.com/pkg/errors v0.8.1 08:02:14 go: finding github.com/BurntSushi/toml v0.3.1 08:02:14 go: finding github.com/x448/float16 v0.8.4 08:02:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:02:14 go: finding github.com/go-logfmt/logfmt v0.4.0 08:02:14 go: finding github.com/pelletier/go-toml v1.2.0 08:02:14 go: finding github.com/hashicorp/consul/api v1.1.0 08:02:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:02:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:02:14 go: finding github.com/mitchellh/mapstructure v1.1.2 08:02:14 go: finding github.com/hashicorp/serf v0.8.2 08:02:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:02:14 go: finding github.com/mitchellh/copystructure v1.0.0 08:02:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:02:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:02:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:02:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:02:14 go: finding github.com/hashicorp/golang-lru v0.5.1 08:02:20 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:02:23 Skipping stage go (already ran) 08:02:23 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:25 The version has been set to '1.2.1-20200902+416b042' 08:02:26 Snapping | Snapping / Snapping - Snapping | 08:02:26 Snapped edgex-device-modbus_1.2.1-20200902+416b042_amd64.snap [Pipeline] } 08:02:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:02:42 418f656485bb: Pull complete 08:02:42 aebe8db9254c: Pull complete 08:02:42 4f5f7b207d3f: Pull complete 08:02:42 d19ca6af091a: Pull complete 08:02:42 16b5a0711add: Pull complete 08:02:42 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 08:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 08:02:44 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 08:02:44 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 08:02:44 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 08:02:44 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 08:02:44 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [930 kB] 08:02:45 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1257 kB] 08:02:45 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [779 kB] 08:02:45 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [651 kB] 08:02:45 Fetched 3869 kB in 2s (1759 kB/s) 08:02:50 Reading package lists... 08:03:02 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 08:03:02 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 08:03:02 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 08:03:02 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 08:03:08 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... 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 08:03:15 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:03:18 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... 26% Reading package lists... 46% Reading package lists... 66% 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... 86% 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 08:03:19 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 65% Building dependency tree 08:03:19 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:03:20 The following packages were automatically installed and are no longer required: 08:03:20 libjq1 libonig4 08:03:20 Use 'sudo apt autoremove' to remove them. 08:03:20 Suggested packages: 08:03:20 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:03:20 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:03:20 diffutils-doc perl-doc libterm-readline-gnu-perl 08:03:20 | libterm-readline-perl-perl 08:03:20 The following NEW packages will be installed: 08:03:20 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:03:20 libperl5.26 make netbase patch perl perl-modules-5.26 08:03:20 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 08:03:20 Need to get 10.8 MB of archives. 08:03:20 After this operation, 73.6 MB of additional disk space will be used. 08:03:20 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] 08:03:21 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 5% [1 perl-modules-5.26 740 kB/2763 kB 27%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 08:03:21 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 08:03:21 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] 08:03:21 25% [4 libperl5.26 8192 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 08:03:21 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 08:03:21 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 08:03:21 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] 08:03:21 58% [8 curl 55.4 kB/152 kB 36%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 08:03:21 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 08:03:21 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 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] 08:03:21 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 08:03:21 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] 08:03:21 96% [13 make 65.5 kB/139 kB 47%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 08:03:21 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (8236 kB/s) 08:03:22 debconf: delaying package configuration, since apt-utils is not installed 08:03:22 Selecting previously unselected package perl-modules-5.26. 08:03:22 (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.) 08:03:22 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:03:22 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:03:24 Selecting previously unselected package libgdbm5:arm64. 08:03:24 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 08:03:24 Unpacking libgdbm5:arm64 (1.14.1-6) ... 08:03:24 Selecting previously unselected package libgdbm-compat4:arm64. 08:03:24 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 08:03:24 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 08:03:24 Selecting previously unselected package libperl5.26:arm64. 08:03:24 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 08:03:24 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 08:03:25 Selecting previously unselected package perl. 08:03:25 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 08:03:25 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:03:25 Selecting previously unselected package less. 08:03:25 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 08:03:25 Unpacking less (487-0.1) ... 08:03:26 Selecting previously unselected package netbase. 08:03:26 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:03:26 Unpacking netbase (5.4) ... 08:03:26 Selecting previously unselected package curl. 08:03:26 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 08:03:26 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:03:26 Selecting previously unselected package libcurl3-gnutls:arm64. 08:03:26 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 08:03:26 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 08:03:26 Selecting previously unselected package liberror-perl. 08:03:26 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:03:26 Unpacking liberror-perl (0.17025-1) ... 08:03:26 Selecting previously unselected package git-man. 08:03:26 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:03:26 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:03:27 Selecting previously unselected package git. 08:03:27 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 08:03:27 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:03:28 Selecting previously unselected package make. 08:03:28 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 08:03:28 Unpacking make (4.1-9.1ubuntu1) ... 08:03:28 Selecting previously unselected package patch. 08:03:28 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 08:03:28 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:03:28 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:03:28 Setting up less (487-0.1) ... 08:03:29 Setting up make (4.1-9.1ubuntu1) ... 08:03:29 Setting up curl (7.58.0-2ubuntu3.10) ... 08:03:29 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 08:03:29 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:03:29 Setting up libgdbm5:arm64 (1.14.1-6) ... 08:03:29 Setting up patch (2.7.6-2ubuntu1.1) ... 08:03:29 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 08:03:29 Setting up netbase (5.4) ... 08:03:29 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 08:03:29 Setting up perl (5.26.1-6ubuntu0.3) ... 08:03:29 Setting up liberror-perl (0.17025-1) ... 08:03:29 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:03:29 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:03:29 Processing triggers for mime-support (3.60ubuntu1) ... 08:03:35 curl set to automatically installed. 08:03:35 git set to automatically installed. 08:03:35 git-man set to automatically installed. 08:03:35 less set to automatically installed. 08:03:35 libcurl3-gnutls set to automatically installed. 08:03:35 liberror-perl set to automatically installed. 08:03:35 libgdbm-compat4 set to automatically installed. 08:03:35 libgdbm5 set to automatically installed. 08:03:35 libperl5.26 set to automatically installed. 08:03:35 make set to automatically installed. 08:03:35 netbase set to automatically installed. 08:03:35 patch set to automatically installed. 08:03:35 perl set to automatically installed. 08:03:35 perl-modules-5.26 set to automatically installed. 08:03:35 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:03:35 Please ensure the environment is properly setup before continuing. 08:03:35 Ignore this message if the appropriate measures have already been taken 08:03:36 Pulling go  08:03:41 'device-modbus' has dependencies that need to be staged: go 08:03:41 Skipping pull go (already ran) 08:03:41 Building go  08:03:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:03:41 Dload Upload Total Spent Left Speed 08:03:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 14 93.0M 14 13.4M 0 0 17.9M 0 0:00:05 --:--:-- 0:00:05 17.9M 64 93.0M 64 60.2M 0 0 34.5M 0 0:00:02 0:00:01 0:00:01 34.4M 100 93.0M 100 93.0M 0 0 38.2M 0 0:00:02 0:00:02 --:--:-- 38.2M 08:03:44 go1.13.5.linux-arm64.tar.gz: OK 08:04:02 Staging go  08:04:04 Pulling device-modbus  08:04:07 Skipping build go (already ran) 08:04:07 Building device-modbus  08:04:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 08:04:10 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:04:10 go: downloading github.com/goburrow/modbus v0.1.0 08:04:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:04:10 go: extracting github.com/goburrow/modbus v0.1.0 08:04:10 go: downloading github.com/goburrow/serial v0.1.0 08:04:10 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 08:04:10 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:04:10 go: extracting github.com/goburrow/serial v0.1.0 08:04:10 go: downloading github.com/gorilla/mux v1.7.1 08:04:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:04:10 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:04:10 go: downloading github.com/google/uuid v1.1.1 08:04:10 go: downloading github.com/go-kit/kit v0.8.0 08:04:10 go: extracting github.com/OneOfOne/xxhash v1.2.6 08:04:10 go: extracting github.com/gorilla/mux v1.7.1 08:04:10 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:04:10 go: extracting github.com/google/uuid v1.1.1 08:04:10 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:04:10 go: downloading github.com/pkg/errors v0.8.1 08:04:10 go: downloading gopkg.in/yaml.v2 v2.2.8 08:04:10 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:04:10 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:04:10 go: downloading github.com/pelletier/go-toml v1.2.0 08:04:10 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:04:10 go: downloading github.com/BurntSushi/toml v0.3.1 08:04:10 go: extracting github.com/pkg/errors v0.8.1 08:04:10 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 08:04:10 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 08:04:10 go: extracting gopkg.in/yaml.v2 v2.2.8 08:04:10 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 08:04:10 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 08:04:10 go: extracting github.com/pelletier/go-toml v1.2.0 08:04:10 go: downloading github.com/hashicorp/consul/api v1.1.0 08:04:10 go: downloading github.com/x448/float16 v0.8.4 08:04:10 go: extracting github.com/BurntSushi/toml v0.3.1 08:04:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:04:10 go: extracting github.com/go-kit/kit v0.8.0 08:04:10 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:04:10 go: extracting github.com/x448/float16 v0.8.4 08:04:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:04:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:04:10 go: downloading github.com/mitchellh/copystructure v1.0.0 08:04:10 go: extracting github.com/hashicorp/consul/api v1.1.0 08:04:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:04:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:04:10 go: downloading github.com/hashicorp/serf v0.8.2 08:04:10 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 08:04:10 go: extracting github.com/mitchellh/mapstructure v1.1.2 08:04:10 go: extracting github.com/mitchellh/copystructure v1.0.0 08:04:10 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:04:10 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 08:04:10 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 08:04:10 go: extracting github.com/mitchellh/reflectwalk v1.0.0 08:04:10 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:04:10 go: extracting github.com/hashicorp/serf v0.8.2 08:04:10 go: extracting github.com/go-logfmt/logfmt v0.4.0 08:04:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:04:10 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:04:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:04:10 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 08:04:11 go: downloading github.com/hashicorp/golang-lru v0.5.1 08:04:11 go: extracting github.com/hashicorp/golang-lru v0.5.1 08:04:11 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 08:04:11 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:04:11 go: finding github.com/goburrow/modbus v0.1.0 08:04:11 go: finding github.com/gorilla/mux v1.7.1 08:04:11 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:04:11 go: finding github.com/OneOfOne/xxhash v1.2.6 08:04:11 go: finding github.com/go-kit/kit v0.8.0 08:04:11 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:04:11 go: finding github.com/google/uuid v1.1.1 08:04:11 go: finding github.com/goburrow/serial v0.1.0 08:04:11 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 08:04:11 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:04:11 go: finding github.com/pkg/errors v0.8.1 08:04:11 go: finding github.com/go-logfmt/logfmt v0.4.0 08:04:11 go: finding gopkg.in/yaml.v2 v2.2.8 08:04:11 go: finding github.com/x448/float16 v0.8.4 08:04:11 go: finding github.com/BurntSushi/toml v0.3.1 08:04:11 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:04:11 go: finding github.com/pelletier/go-toml v1.2.0 08:04:11 go: finding github.com/hashicorp/consul/api v1.1.0 08:04:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:04:11 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:04:11 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:04:11 go: finding github.com/hashicorp/serf v0.8.2 08:04:11 go: finding github.com/mitchellh/mapstructure v1.1.2 08:04:11 go: finding github.com/mitchellh/copystructure v1.0.0 08:04:11 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:04:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:04:11 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:04:11 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:04:11 go: finding github.com/hashicorp/golang-lru v0.5.1 08:04:29 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:04:44 Skipping stage go (already ran) 08:04:44 Staging device-modbus  08:04:47 Priming go  08:04:50 Priming device-modbus  08:04:54 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:04:54 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:04:54 Determining the version from the project repo (version-script). 08:04:54 The version has been set to '1.2.1-20200902+416b042' 08:04:55 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 08:04:55 Snapped edgex-device-modbus_1.2.1-20200902+416b042_arm64.snap [Pipeline] } 08:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [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) [Pipeline] unstash [Pipeline] wrap 08:04:58 provisioning config files... 08:04:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config6782542911131495033tmp [Pipeline] { [Pipeline] sh 08:04:58 + curl -s https://codecov.io/bash 08:04:58 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config6782542911131495033tmp [Pipeline] } 08:04:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:05:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:01 ---> package-listing.sh 08:05:01 ++ facter osfamily 08:05:01 ++ tr '[:upper:]' '[:lower:]' 08:05:01 + OS_FAMILY=redhat 08:05:01 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-162 08:05:01 + START_PACKAGES=/tmp/packages_start.txt 08:05:01 + END_PACKAGES=/tmp/packages_end.txt 08:05:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:01 + PACKAGES=/tmp/packages_start.txt 08:05:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' 08:05:01 + PACKAGES=/tmp/packages_end.txt 08:05:01 + case "${OS_FAMILY}" in 08:05:01 + rpm -qa 08:05:01 + sort 08:05:06 + '[' -f /tmp/packages_start.txt ']' 08:05:06 + '[' -f /tmp/packages_end.txt ']' 08:05:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' 08:05:06 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ 08:05:06 + 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 08:05:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:07 08:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:07 alpine: Pulling from edgex-lftools-log-publisher 08:05:07 c9b1b535fdd9: Pulling fs layer 08:05:07 2cc5ad85d9ab: Pulling fs layer 08:05:07 756a868c4378: Pulling fs layer 08:05:07 444b2fc9a129: Pulling fs layer 08:05:07 ea15f1150254: Pulling fs layer 08:05:07 41b27a9f41bf: Pulling fs layer 08:05:07 28c525ee5125: Pulling fs layer 08:05:07 094b1ea09ed8: Pulling fs layer 08:05:07 138eaada9080: Pulling fs layer 08:05:07 0622d0fa9048: Pulling fs layer 08:05:07 ea15f1150254: Waiting 08:05:07 41b27a9f41bf: Waiting 08:05:07 28c525ee5125: Waiting 08:05:07 094b1ea09ed8: Waiting 08:05:07 0622d0fa9048: Waiting 08:05:07 138eaada9080: Waiting 08:05:07 444b2fc9a129: Waiting 08:05:07 2cc5ad85d9ab: Verifying Checksum 08:05:07 2cc5ad85d9ab: Download complete 08:05:07 444b2fc9a129: Verifying Checksum 08:05:07 444b2fc9a129: Download complete 08:05:07 c9b1b535fdd9: Verifying Checksum 08:05:07 c9b1b535fdd9: Download complete 08:05:07 ea15f1150254: Verifying Checksum 08:05:07 ea15f1150254: Download complete 08:05:07 28c525ee5125: Verifying Checksum 08:05:07 28c525ee5125: Download complete 08:05:08 756a868c4378: Verifying Checksum 08:05:08 756a868c4378: Download complete 08:05:08 c9b1b535fdd9: Pull complete 08:05:08 138eaada9080: Verifying Checksum 08:05:08 138eaada9080: Download complete 08:05:08 0622d0fa9048: Verifying Checksum 08:05:08 0622d0fa9048: Download complete 08:05:08 094b1ea09ed8: Verifying Checksum 08:05:08 094b1ea09ed8: Download complete 08:05:08 41b27a9f41bf: Verifying Checksum 08:05:08 41b27a9f41bf: Download complete 08:05:08 2cc5ad85d9ab: Pull complete 08:05:10 756a868c4378: Pull complete 08:05:10 444b2fc9a129: Pull complete 08:05:10 ea15f1150254: Pull complete 08:05:14 41b27a9f41bf: Pull complete 08:05:14 28c525ee5125: Pull complete 08:05:18 094b1ea09ed8: Pull complete 08:05:18 138eaada9080: Pull complete 08:05:18 0622d0fa9048: Pull complete 08:05:18 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:05:18 prd-centos7-docker-4c-2g-1147 does not seem to be running inside a container 08:05:18 $ 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 08:05:22 $ docker top 83d983cec43d3dbbe314e667418ddd9f172a5c4f19c9bc33dcbe22e2609c38cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:22 provisioning config files... 08:05:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config6469997877870011416tmp [Pipeline] { [Pipeline] echo 08:05:22 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:22 ---> create-netrc.sh [Pipeline] echo 08:05:22 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:23 ---> logs-deploy.sh 08:05:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/8 08:05:23 INFO: archiving workspace using pattern(s): 08:05:24 Archives upload complete. 08:05:24 INFO: archiving logs to Nexus 08:05:25 ---> uname -a: 08:05:25 Linux 83d983cec43d 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 08:05:25 08:05:25 08:05:25 ---> lscpu: 08:05:25 Architecture: x86_64 08:05:25 CPU op-mode(s): 32-bit, 64-bit 08:05:25 Byte Order: Little Endian 08:05:25 Address sizes: 40 bits physical, 48 bits virtual 08:05:25 CPU(s): 4 08:05:25 On-line CPU(s) list: 0-3 08:05:25 Thread(s) per core: 1 08:05:25 Core(s) per socket: 1 08:05:25 Socket(s): 4 08:05:25 NUMA node(s): 1 08:05:25 Vendor ID: GenuineIntel 08:05:25 CPU family: 6 08:05:25 Model: 44 08:05:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:05:25 Stepping: 1 08:05:25 CPU MHz: 2933.438 08:05:25 BogoMIPS: 5866.87 08:05:25 Virtualization: VT-x 08:05:25 Hypervisor vendor: KVM 08:05:25 Virtualization type: full 08:05:25 L1d cache: 128 KiB 08:05:25 L1i cache: 128 KiB 08:05:25 L2 cache: 16 MiB 08:05:25 L3 cache: 64 MiB 08:05:25 NUMA node0 CPU(s): 0-3 08:05:25 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:05:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:05:25 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:05:25 Vulnerability Meltdown: Mitigation; PTI 08:05:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:05:25 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:05:25 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:05:25 Vulnerability Tsx async abort: Not affected 08:05:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:05:25 08:05:25 08:05:25 ---> nproc: 08:05:25 4 08:05:25 08:05:25 08:05:25 ---> df -h: 08:05:25 Filesystem Size Used Available Use% Mounted on 08:05:25 overlay 50.0G 7.2G 42.8G 14% / 08:05:25 tmpfs 64.0M 0 64.0M 0% /dev 08:05:25 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:05:25 shm 64.0M 0 64.0M 0% /dev/shm 08:05:25 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 08:05:25 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 08:05:25 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 08:05:25 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-162 08:05:25 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-162@tmp 08:05:25 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa 08:05:25 08:05:25 08:05:25 ---> free -m: 08:05:25 total used free shared buff/cache available 08:05:25 Mem: 1837 633 123 0 1079 1098 08:05:25 Swap: 1023 1 1022 08:05:25 08:05:25 08:05:25 ---> ip addr: 08:05:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:05:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:05:25 inet 127.0.0.1/8 scope host lo 08:05:25 valid_lft forever preferred_lft forever 08:05:25 6: eth0@if7: mtu 1458 qdisc noqueue state UP 08:05:25 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 08:05:25 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 08:05:25 valid_lft forever preferred_lft forever 08:05:25 08:05:25 08:05:25 ---> sar -b -r -n DEV: 08:05:25 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/02/20 _x86_64_ (4 CPU) 08:05:25 08:05:25 07:53:21 LINUX RESTART 08:05:25 08:05:25 07:54:01 tps rtps wtps bread/s bwrtn/s 08:05:25 07:55:01 56.39 15.05 41.34 4932.22 4676.33 08:05:25 07:56:01 1.67 0.00 1.67 0.00 28.56 08:05:25 07:57:01 0.42 0.00 0.42 0.00 6.40 08:05:25 07:58:01 0.23 0.00 0.23 0.00 2.83 08:05:25 07:59:01 0.23 0.00 0.23 0.00 3.30 08:05:25 08:00:01 0.33 0.00 0.33 0.00 4.23 08:05:25 08:01:01 0.27 0.03 0.23 0.27 2.16 08:05:25 08:02:01 0.42 0.08 0.33 1.60 6.21 08:05:25 08:03:01 0.27 0.00 0.27 0.00 3.30 08:05:25 08:04:02 0.18 0.00 0.18 0.00 2.03 08:05:25 08:05:01 0.42 0.20 0.22 15.72 3.00 08:05:25 Average: 5.54 1.40 4.14 450.89 431.64 08:05:25 08:05:25 07:54:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:05:25 07:55:01 168828 1712728 91.03 2620 1160092 1115960 38.09 415312 1137604 20 08:05:25 07:56:01 173220 1708336 90.79 2620 1160096 1084232 37.00 413736 1134936 8 08:05:25 07:57:01 172568 1708988 90.83 2620 1160104 1084448 37.01 415016 1134940 8 08:05:25 07:58:01 171592 1709964 90.88 2620 1160104 1084424 37.01 416488 1134332 8 08:05:25 07:59:01 172412 1709144 90.84 2620 1160108 1084316 37.01 423236 1127120 16 08:05:25 08:00:01 172836 1708720 90.81 2620 1160116 1084280 37.00 423084 1127120 12 08:05:25 08:01:01 171776 1709780 90.87 2620 1160124 1086704 37.09 423584 1127120 8 08:05:25 08:02:01 171348 1710208 90.89 2620 1160252 1084932 37.03 416360 1135020 8 08:05:25 08:03:01 172652 1708904 90.82 2620 1160260 1084740 37.02 415216 1135024 12 08:05:25 08:04:02 169828 1711728 90.97 2620 1160264 1084812 37.02 415088 1138308 16 08:05:25 08:05:01 161684 1719872 91.41 2620 1160752 1086532 37.08 417372 1138668 44 08:05:25 Average: 170795 1710761 90.92 2620 1160207 1087762 37.12 417681 1133654 15 08:05:25 08:05:25 07:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 08:05:25 07:55:01 eth0 249.52 162.13 648.36 70.17 0.00 0.00 0.00 08:05:25 07:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:55:01 docker0 3.18 2.06 0.41 3.69 0.00 0.00 0.00 08:05:25 07:56:01 eth0 0.72 0.00 0.06 0.00 0.00 0.00 0.00 08:05:25 07:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:57:01 eth0 0.78 0.40 0.33 0.21 0.00 0.00 0.00 08:05:25 07:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:58:01 eth0 0.65 0.38 0.29 0.20 0.00 0.00 0.00 08:05:25 07:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:59:01 eth0 0.18 0.15 0.08 0.04 0.00 0.00 0.00 08:05:25 07:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 07:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:00:01 eth0 0.23 0.22 0.09 0.04 0.00 0.00 0.00 08:05:25 08:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:01:01 eth0 1.28 0.08 0.12 0.01 0.00 0.00 0.00 08:05:25 08:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:02:01 eth0 0.85 0.65 0.53 0.37 0.00 0.00 0.00 08:05:25 08:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:03:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 08:05:25 08:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:04:02 eth0 0.70 0.15 0.13 0.04 0.00 0.00 0.00 08:05:25 08:04:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:04:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:05:01 eth0 3.52 2.24 3.76 1.16 0.00 0.00 0.00 08:05:25 08:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 08:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 Average: eth0 23.55 15.16 59.55 6.58 0.00 0.00 0.00 08:05:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:25 Average: docker0 0.29 0.19 0.04 0.34 0.00 0.00 0.00 08:05:25 08:05:25 08:05:25 ---> sar -P ALL: 08:05:25 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/02/20 _x86_64_ (4 CPU) 08:05:25 08:05:25 07:53:21 LINUX RESTART 08:05:25 08:05:25 07:54:01 CPU %user %nice %system %iowait %steal %idle 08:05:25 07:55:01 all 5.07 0.00 2.78 2.53 0.01 89.61 08:05:25 07:55:01 0 4.98 0.00 2.65 0.70 0.02 91.66 08:05:25 07:55:01 1 5.67 0.00 3.04 3.90 0.00 87.40 08:05:25 07:55:01 2 5.02 0.00 2.98 1.92 0.02 90.07 08:05:25 07:55:01 3 4.63 0.00 2.45 3.59 0.02 89.32 08:05:25 07:56:01 all 0.12 0.00 0.05 0.00 0.00 99.84 08:05:25 07:56:01 0 0.05 0.00 0.05 0.00 0.00 99.90 08:05:25 07:56:01 1 0.38 0.00 0.05 0.00 0.00 99.57 08:05:25 07:56:01 2 0.02 0.00 0.03 0.00 0.00 99.95 08:05:25 07:56:01 3 0.02 0.00 0.03 0.00 0.00 99.95 08:05:25 07:57:01 all 0.15 0.00 0.03 0.00 0.00 99.81 08:05:25 07:57:01 0 0.07 0.00 0.03 0.00 0.00 99.90 08:05:25 07:57:01 1 0.48 0.00 0.02 0.00 0.00 99.50 08:05:25 07:57:01 2 0.02 0.00 0.03 0.00 0.00 99.95 08:05:25 07:57:01 3 0.05 0.00 0.02 0.00 0.00 99.93 08:05:25 07:58:01 all 0.15 0.00 0.03 0.00 0.00 99.82 08:05:25 07:58:01 0 0.03 0.00 0.05 0.00 0.00 99.92 08:05:25 07:58:01 1 0.52 0.00 0.03 0.00 0.00 99.45 08:05:25 07:58:01 2 0.05 0.00 0.03 0.00 0.00 99.92 08:05:25 07:58:01 3 0.00 0.00 0.03 0.00 0.00 99.97 08:05:25 07:59:01 all 0.16 0.00 0.05 0.00 0.00 99.78 08:05:25 07:59:01 0 0.05 0.00 0.13 0.00 0.00 99.82 08:05:25 07:59:01 1 0.52 0.00 0.03 0.00 0.00 99.45 08:05:25 07:59:01 2 0.03 0.00 0.02 0.00 0.00 99.95 08:05:25 07:59:01 3 0.05 0.00 0.02 0.00 0.00 99.93 08:05:25 08:00:01 all 0.10 0.00 0.05 0.00 0.00 99.85 08:05:25 08:00:01 0 0.02 0.00 0.07 0.00 0.00 99.92 08:05:25 08:00:01 1 0.33 0.00 0.08 0.00 0.00 99.58 08:05:25 08:00:01 2 0.03 0.00 0.05 0.00 0.00 99.92 08:05:25 08:00:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:05:25 08:01:01 all 0.04 0.00 0.05 0.00 0.00 99.92 08:05:25 08:01:01 0 0.02 0.00 0.05 0.00 0.00 99.93 08:05:25 08:01:01 1 0.03 0.00 0.05 0.00 0.00 99.92 08:05:25 08:01:01 2 0.07 0.00 0.05 0.00 0.00 99.88 08:05:25 08:01:01 3 0.03 0.00 0.05 0.00 0.00 99.92 08:05:25 08:02:01 all 0.16 0.00 0.04 0.00 0.00 99.79 08:05:25 08:02:01 0 0.05 0.00 0.02 0.00 0.00 99.93 08:05:25 08:02:01 1 0.55 0.00 0.05 0.00 0.00 99.40 08:05:25 08:02:01 2 0.03 0.00 0.05 0.00 0.00 99.92 08:05:25 08:02:01 3 0.02 0.00 0.03 0.02 0.00 99.93 08:05:25 08:03:01 all 0.15 0.00 0.02 0.00 0.00 99.83 08:05:25 08:03:01 0 0.03 0.00 0.02 0.00 0.00 99.95 08:05:25 08:03:01 1 0.53 0.00 0.02 0.00 0.02 99.43 08:05:25 08:03:01 2 0.03 0.00 0.03 0.00 0.00 99.93 08:05:25 08:03:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:05:25 08:04:02 all 0.15 0.00 0.03 0.00 0.00 99.81 08:05:25 08:04:02 0 0.02 0.00 0.03 0.00 0.00 99.95 08:05:25 08:04:02 1 0.50 0.00 0.02 0.00 0.00 99.48 08:05:25 08:04:02 2 0.03 0.00 0.05 0.00 0.00 99.92 08:05:25 08:04:02 3 0.02 0.00 0.03 0.00 0.00 99.95 08:05:25 08:05:01 all 0.23 0.00 0.09 0.00 0.00 99.67 08:05:25 08:05:01 0 0.14 0.00 0.10 0.00 0.00 99.76 08:05:25 08:05:01 1 0.56 0.00 0.07 0.00 0.00 99.37 08:05:25 08:05:01 2 0.12 0.00 0.07 0.02 0.00 99.80 08:05:25 08:05:01 3 0.12 0.00 0.12 0.00 0.00 99.76 08:05:25 Average: all 0.59 0.00 0.29 0.23 0.00 98.89 08:05:25 Average: 0 0.49 0.00 0.29 0.06 0.00 99.15 08:05:25 Average: 1 0.92 0.00 0.31 0.35 0.00 98.42 08:05:25 Average: 2 0.49 0.00 0.31 0.18 0.00 99.02 08:05:25 Average: 3 0.45 0.00 0.26 0.33 0.00 98.97 08:05:25 08:05:25 08:05:25